Neo
Neo

Reputation: 16239

how to include separately added system.configuration dll in nuget package

I'm creating nuget package of my demo.csproj I have added system.configuration separatly into this project,

I know that I can add this system.configuration.dll into my nuget by using either of adding <dependencies> tag or y <file> tag inside .nuspec file , but is there any other way around like copy local=true for this instead using <dependencies> or '' tag?

Upvotes: 2

Views: 1969

Answers (1)

Kiliman
Kiliman

Reputation: 20322

To reference standard .NET Framework assemblies, add the following to your .nuspec file:

<frameworkAssemblies>
  <frameworkAssembly assemblyName="System.Configuration" />
</frameworkAssemblies>

https://docs.nuget.org/create/nuspec-reference

Upvotes: 5

Related Questions