如何在 nuget 包中包含单独添加的 system.configuration dll
how to include separately added system.configuration dll in nuget package
我正在创建我的 demo.csproj
的 nuget 包 我已经将 system.configuration
单独添加到这个项目中,
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?
要引用标准 .NET Framework 程序集,请将以下内容添加到您的 .nuspec 文件中:
<frameworkAssemblies>
<frameworkAssembly assemblyName="System.Configuration" />
</frameworkAssemblies>
我正在创建我的 demo.csproj
的 nuget 包 我已经将 system.configuration
单独添加到这个项目中,
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?
要引用标准 .NET Framework 程序集,请将以下内容添加到您的 .nuspec 文件中:
<frameworkAssemblies>
<frameworkAssembly assemblyName="System.Configuration" />
</frameworkAssemblies>