[英]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, 我创建我的NuGet包demo.csproj
我已经加入system.configuration
separatly到这个项目中,
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 likecopy local=true
for this instead using<dependencies>
or '' tag? 我知道我可以通过在.nuspec
文件内添加<dependencies>
标记或y<file>
标记来将此system.configuration.dll
添加到我的nuget中,但是是否还有其他方法可以像copy local=true
一样使用<dependencies>
或''标签?
To reference standard .NET Framework assemblies, add the following to your .nuspec file: 若要引用标准.NET Framework程序集,请将以下内容添加到您的.nuspec文件中:
<frameworkAssemblies>
<frameworkAssembly assemblyName="System.Configuration" />
</frameworkAssemblies>
https://docs.nuget.org/create/nuspec-reference https://docs.nuget.org/create/nuspec-reference
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.