Skip to content

Commit 213c6bd

Browse files
Merge pull request #103 from aspnet/PortablePdbPackage
Switch to portable snupkg format.
2 parents d94d393 + 51136cc commit 213c6bd

4 files changed

Lines changed: 12 additions & 2 deletions

File tree

src/DotNetCompilerPlatformTasks/DotNetCompilerPlatformTasks.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
</PropertyGroup>
77

88
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
9+
<DebugType>full</DebugType>
910
</PropertyGroup>
1011

1112
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
13+
<DebugType>portable</DebugType>
1214
</PropertyGroup>
1315

1416
<ItemGroup>

src/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<BaseIntermediateOutputPath>..\obj\</BaseIntermediateOutputPath>
3434
</PropertyGroup>
3535
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
36-
<DebugType>pdbonly</DebugType>
36+
<DebugType>portable</DebugType>
3737
<Optimize>true</Optimize>
3838
<DefineConstants>TRACE</DefineConstants>
3939
<ErrorReport>prompt</ErrorReport>

src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.nuproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@
2121
<Destination>lib\net45</Destination>
2222
</NuGetContent>
2323
<NuGetContentProject Include="$(RepositoryRoot)\src\$(MSBuildProjectName)\$(MSBuildProjectName).csproj" Condition="'$(NuGetPackSymbols)' == 'true'" />
24+
<NuGetContent Include="DotNetCompilerPlatformTasks.dll">
25+
<Source>$(OutputPath)</Source>
26+
<Destination>tasks</Destination>
27+
</NuGetContent>
28+
<NuGetContent Include="System.Management.dll">
29+
<Source>$(OutputPath)</Source>
30+
<Destination>tasks</Destination>
31+
</NuGetContent>
2432
<NuGetContent Include="Content\net45\*">
2533
<Destination>content\net45</Destination>
2634
</NuGetContent>

tools/NuGetProj.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ NuGetPack: Creates a nuget package.
269269
<PropertyGroup>
270270
<NuSpecProperties>@(NuSpecProperties)</NuSpecProperties>
271271
<NuGetPackOptions Condition="'$(NuGetPackOptions)' == '' AND '$(NuGetPackSymbols)' != 'true'">-NoPackageAnalysis</NuGetPackOptions>
272-
<NuGetPackOptions Condition="'$(NuGetPackOptions)' == '' AND '$(NuGetPackSymbols)' == 'true'">-NoPackageAnalysis -symbols</NuGetPackOptions>
272+
<NuGetPackOptions Condition="'$(NuGetPackOptions)' == '' AND '$(NuGetPackSymbols)' == 'true'">-NoPackageAnalysis -Symbols -SymbolPackageFormat snupkg</NuGetPackOptions>
273273
<!-- BuildCommand is defined in nuget.targets file -->
274274
<BuildCommand>$(BuildCommand.Replace('-symbols', ''))</BuildCommand>
275275
<BuildCommand>$(BuildCommand.Replace('/symbols', ''))</BuildCommand>

0 commit comments

Comments
 (0)