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

MSBuild Build Artefacts references

$
0
0

The ask is simple. When msbuild generates the dll/exe for a project, does it store any reference to the NuGet packages in the generated artefacts?

I have an application that refers to, for example, Newtonsoft.Json. I manage the version of the NuGet package to be used using Directory.Build.props, where I define a variable for storing the NuGet package version number.This variable in turn is used in the csproj file to point to the correct NuGet package.

Now, say for instance, my project refers to Newtonsoft.Json version 13.2.0 whereas on my server Newtonsoft.Json version 13.3.0 is present. The Build succeeds, and I deploy my dll to the server.

Will the dll fail to recognize the present Newtonsoft dll? Or if it does recognize, will the code behave unexpectedly?

Insights?Thanks,Yogesh H


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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