如何在nuget包中包含单独添加的system.configuration dll

Neo*_*Neo 2 c# nuget nuget-package nugetgallery nuget-spec

我正在创建我已经单独demo.csproj添加system.configuration到这个项目中的nuget 包,

我知道我可以system.configuration.dll通过在file 中使用添加<dependencies>标签或 y<file>标签 将其添加到我的 nuget 中.nuspec,但是有没有其他类似的方法copy local=true来代替使用<dependencies>或 '' 标签?

Kil*_*man 5

要引用标准 .NET Framework 程序集,请将以下内容添加到.nu​​spec文件中:

<frameworkAssemblies>
  <frameworkAssembly assemblyName="System.Configuration" />
</frameworkAssemblies>
Run Code Online (Sandbox Code Playgroud)

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