nuget spec dependencies, get latest version?

As of Nuget 2.8 you can add the following attribute to your nuget.config <configuration> <config> <add key=”dependencyversion” value=”Highest” /> </config> </configuration> When resolving your packages, the latest version of that package will be resolved. Other attributes include HighestMinor, HighestPatch and lowest (based on semantic versioning) Source: http://docs.nuget.org/docs/release-notes/nuget-2.8

Show comments in nuget package

In Visual Studio, right-click on the project, choose “Properties”, then in the Build -> Output section of the Properties page, select the checkbox next to “Documentation file”. Leave the file path empty so that it generates the file in the default location, which is where NuGet will expect it to be located. Alternately, you can … Read more

Get a list of all NuGet packages used in a solution

PackageReference as a package management format only works on a per project basis. So you would need to “analyze” each project individually. Update: In .NET SDK versions, 2.2.100 and newer, dotnet list package. Old version: From the commandline, there “will” be a way to list all the packages. It’s the “dotnet list package” command. I … Read more

VS2015 nuget package manager not finding packages

This is a known issue with nuget version 3.4, which is included with Visual Studio 2015 Update 2: The NuGet.config file in your %AppData%\NuGet\ folder has accidentally been emptied. To fix this: Close Visual Studio 2015, delete the NuGet.config file in the %AppData%\NuGet\ folder and restart Visual Studio. A new NuGet.Config file will be generated … Read more

techhipbettruvabetnorabahisbahis forumueduedusedueduedusedusedueduedusedus