Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3116

Visual Studio Package Tab vs. Package Properties in .csproj

$
0
0

What is the relationship between the fields in the VS package tab and the XML package properties in the .csproj file for a given project?

I ask because when I change something like Generate NuGet package on build in the tab it directly changes the <GeneratePackageOnBuild> node in the backing .csproj file. For some projects, the tab fields will be blank even though the corresponding .csproj node is not blank (e.g. Description is blank and <Description> is not).

It gets worse. Changing one in the tab sometimes changes the one in the file, and vice versa, but sometimes the one in the tab resets to blank leaving the one in the file as is.

So what is the relationship and how do these interact? For now, I default to modifying the file and treating it as the gold copy as I can't seem to find out where the other (if they are other) settings are stored.


Viewing all articles
Browse latest Browse all 3116

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>