nuget为什么不添加我的文件? netcoreapp2.2

时间:2019-12-25 08:51:01

标签: nuget-package nuget-spec

我有这个nuspec文件:

<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
  <metadata>
    <id>test</id>
    <version>1.0.0</version>
    <authors>Dejana Tesic, Rajeev Dey</authors>
    <owners>dejanatc, rjdey</owners>
    <projectUrl>http://github.com/contoso/UsefulStuff</projectUrl>
    <license type="expression">Apache-2.0</license>
    <iconUrl>http://github.com/contoso/UsefulStuff/nuget_icon.png</iconUrl>
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <releaseNotes>Bug fixes and performance improvements</releaseNotes>
    <description>Core utility functions for web applications</description>
    <copyright>Copyright ©2016 Contoso Corporation</copyright>
    <tags>web utility http json url parsing</tags>
  </metadata>
  <files>
    <file src="a.txt" target="content" />
  </files>
</package>

我安装此软件包时,未将a.txt添加到解决方案中。

我在这里想念什么?

0 个答案:

没有答案