Skip to content

Commit

Permalink
nuget打包修复
Browse files Browse the repository at this point in the history
  • Loading branch information
xljiulang committed Jan 29, 2021
1 parent a62fae9 commit 55d2297
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@
<ProjectReference Include="..\WebApiClientCore\WebApiClientCore.csproj" />
</ItemGroup>

<!--nuget analyzers和tools目录-->
<ItemGroup>
<None Include="NugetPackage\tools\*.*" PackagePath="tools" Pack="true" />
</ItemGroup>
<ItemGroup>
<Folder Include="NugetPackage\analyzers\" />
</ItemGroup>
<!--nuget analyzers和tools目录-->
<ItemGroup>
<None Include="NugetPackage\tools\*.*" PackagePath="tools" Pack="true" />
<None Include="NugetPackage\analyzers\dotnet\cs\**" PackagePath="analyzers\dotnet\cs" Pack="true" />
</ItemGroup>

<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="dotnet publish ../WebApiClientCore.Analyzers.SourceGenerator/WebApiClientCore.Analyzers.SourceGenerator.csproj -c Release -o NugetPackage/analyzers/dotnet/cs" />
Expand Down
1 change: 1 addition & 0 deletions WebApiClientCore/WebApiClientCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<!--nuget analyzers和tools目录-->
<ItemGroup>
<None Include="NugetPackage\tools\*.*" PackagePath="tools" Pack="true" />
<None Include="NugetPackage\analyzers\dotnet\cs\**" PackagePath="analyzers\dotnet\cs" Pack="true" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 55d2297

Please sign in to comment.