BlueSpire/Durandal — pull request #195 by dotnetwise (2013-06-18 19:23:54+00:00)
Title: Nuget pakcage builders + Added VS2012 intellisense by naming all modules and corrected their dependinces

With this pull request, everyone using VS2012 will gonna love Durandal!

100% intellisense, that is. Everywhere. Period.

Before
![Before](http://content.screencast.com/users/softer/folders/Jing/media/799fe02b-fee6-422e-971d-ba74f216cd85/before.png)

After
![After](http://content.screencast.com/users/softer/folders/Jing/media/79b429c8-16e3-48a8-a513-e455004cd639/2013-06-18_1418.png)

Currently it is enabled to the `Durandal.Samples` project as well as the `Nuget packages`.

In order to add it to the VS template, I need to know how you are building it so I can test it.

## Important:
In order for this to work, due a [knockout bug](https://github.com/knockout/knockout/issues/938) you still need to go and edit one line in knockout.debug.js
around line 16, because it is always enforcing anonymous module which triggers an error in VS2012
```js
define(['exports'], factory);
```

->

```js
define('ko', ['exports'], factory);
```

#Nuget package builders
After you run `powershell .\build.ps1` you can go into `build` folder and run `nupack`
If you want to post the `nuget packages` to your own nuget feed server in order to be able to test them, you should create a file `build/apiKey.txt` and place whatever arguments you want that would go to `nuget push`
For example:
```
-Source http://nuget.yourServer.com 2C486EBC-8349-4308-A671-9E97000F1B1A
```

You can have as many servers you want, one per line and the script `nupush` will push to everyone of them in parallell.
The underline script is done under node, and it should be pretty easy to be updated.

Please let me know your thoughts.