Skip to content

Commit b2bebb5

Browse files
committed
Fix the NuGet packaging step
1 parent b0d9578 commit b2bebb5

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/StyleCop.Analyzers.CodeFixes.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
<Version>1.1.0.35</Version>
99
<FileVersion>1.1.0.35</FileVersion>
1010
<InformationalVersion>1.1.0-dev</InformationalVersion>
11+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
12+
<IncludeSymbols>true</IncludeSymbols>
13+
<NuspecFile>StyleCop.Analyzers.nuspec</NuspecFile>
14+
<NuspecProperties>configuration=$(Configuration);version=$(InformationalVersion)</NuspecProperties>
1115
</PropertyGroup>
1216

1317
<Choose>
@@ -42,11 +46,7 @@
4246
</ItemGroup>
4347

4448
<ItemGroup>
45-
<NuGetManifest Include="StyleCop.Analyzers.nuspec">
46-
<SubType>Designer</SubType>
47-
<Symbols>True</Symbols>
48-
<PackageAnalysis>False</PackageAnalysis>
49-
</NuGetManifest>
49+
<None Include="StyleCop.Analyzers.nuspec" />
5050
<None Include="tools\install.ps1" />
5151
<None Include="tools\uninstall.ps1" />
5252
<None Include="ReadMe.txt" />

StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/StyleCop.Analyzers.nuspec

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
<files>
1919

2020
<!-- Binaries and symbols -->
21-
<file src="bin\$Configuration$\StyleCop.Analyzers.dll" target="analyzers\dotnet\cs" />
22-
<file src="bin\$Configuration$\**\StyleCop.Analyzers.resources.dll" target="analyzers\dotnet\cs" />
23-
<file src="bin\$Configuration$\StyleCop.Analyzers.pdb" target="analyzers\dotnet\cs" />
24-
<file src="bin\$Configuration$\StyleCop.Analyzers.CodeFixes.dll" target="analyzers\dotnet\cs" />
25-
<file src="bin\$Configuration$\**\StyleCop.Analyzers.CodeFixes.resources.dll" target="analyzers\dotnet\cs" />
26-
<file src="bin\$Configuration$\StyleCop.Analyzers.CodeFixes.pdb" target="analyzers\dotnet\cs" />
21+
<file src="bin\$Configuration$\netstandard1.1\StyleCop.Analyzers.dll" target="analyzers\dotnet\cs" />
22+
<file src="bin\$Configuration$\netstandard1.1\**\StyleCop.Analyzers.resources.dll" target="analyzers\dotnet\cs" />
23+
<file src="bin\$Configuration$\netstandard1.1\StyleCop.Analyzers.pdb" target="analyzers\dotnet\cs" />
24+
<file src="bin\$Configuration$\netstandard1.1\StyleCop.Analyzers.CodeFixes.dll" target="analyzers\dotnet\cs" />
25+
<file src="bin\$Configuration$\netstandard1.1\**\StyleCop.Analyzers.CodeFixes.resources.dll" target="analyzers\dotnet\cs" />
26+
<file src="bin\$Configuration$\netstandard1.1\StyleCop.Analyzers.CodeFixes.pdb" target="analyzers\dotnet\cs" />
2727

2828
<!-- Scripts -->
2929
<file src="tools\install.ps1" target="tools\" />

0 commit comments

Comments
 (0)