dotnet-campus / SourceYard

Add a NuGet package only for dll reference? By using dotnetCampus.SourceYard, you can pack a NuGet package with source code. By installing the new source code package, all source codes behaviors just like it is in your project.
MIT License
51 stars 12 forks source link

开发者设置文件放在NuGet包的路径 #93

Closed lindexi closed 4 years ago

lindexi commented 4 years ago

Fixes #75

Fixes dotnet-campus/SourceFusion#13

存在问题是,开发者设置了 此时想要更改文件放在 NuGet 包的路径,是不支持的

<ItemGroup>
    <SourceYardCompile Include="Foo\a.cs" SourcePackagePath="analyzer\a.cs" />
</ItemGroup>
walterlv commented 4 years ago

附 ** 的用法

  <ItemGroup>
    <SourceYardNone Include="..\dotnetCampus.CommandLine.Analyzer\bin\$(Configuration)\netstandard2.0\**" SourcePackagePath="..\analyzer\dotnet\cs\%(RecursiveDir)%(FileName)%(Extension)" />
  </ItemGroup>