I'm trying to create a nuget package with content which work with different kinds of projects.
TestSource.nuspec look like this:
<contentFiles>
<files include="csanyTestSource.cs" buildAction="Compile" />
</contentFiles>
</metadata>
<files>
<file src="TestFolderTestSource.cs" target="content/TestFolder" />
</files>
(the file is available both as contentFilescsanyTestSource.cs
and TestFolderTestSource.cs
)
The created package works fine in a "normal" project but nothing happens in a packagereference project.
I assume I'm missing something simple
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…