Browse by Tags

All Tags » NuGet (RSS)

Persisting custom properties on a Visual Studio project using object model

It is possible to persist custom properties in your Visual Studio project. I will show how using some PowerShell code in the NuGet console. Note that VariableValue() persist in session, the call to VariablePersists() writes to the project file for persistance...
Posted by svdoever | 4 comment(s)
Filed under: ,

Set the properties on your Visual Studio project

Reminder to self: Settings properties on a Visual Studio project,like DefaultNamespace and AssemblyName. In NuGet console window: (Get-Project).Properties.Item("DefaultNamespace").Value = "HelloWorld" Available properties on a simple...
Posted by svdoever | 3 comment(s)
Filed under: ,

NuGet: refreshing NuGet packages in packages folder during development

I'm working on NuGet packages in a Visual Studio project. On build I publish a new version of my nuget package to a repository (a directory on my system). I don't increment version numbers after each change, i only want to do that on published versions...
Posted by svdoever | 5 comment(s)
Filed under:

NuGet: should you check-in packages into source control?

Interesting discussion at http://nuget.codeplex.com/discussions/230110 about checking in NuGet packages into source control. NuGet packages can contain more than a simple libraries, it can contain tools that grow quite big as well. Good example in the...
Posted by svdoever | 20 comment(s)
Filed under:

NuGet: test if a package is installed

With Get-Package you can get the list of currently installed packages. How can you test if a package is installed? Get-Package returns list of packages as follows: Id                            ...
Posted by svdoever | 28 comment(s)
Filed under:
More Posts