Skip to content
This repository was archived by the owner on Dec 24, 2020. It is now read-only.

Commit 1b8742d

Browse files
committed
Update common.props to generate symbols packages and use DebugType=full on Windows
1 parent 494c40b commit 1b8742d

File tree

6 files changed

+31
-17
lines changed

6 files changed

+31
-17
lines changed

build/common.props

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,10 @@
66
<PropertyGroup>
77
<NoWarn>$(NoWarn);CS1591</NoWarn>
88
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
9-
<GenerateDocumentationFile>true</GenerateDocumentationFile>
10-
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)key.snk</AssemblyOriginatorKeyFile>
11-
<SignAssembly>true</SignAssembly>
12-
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
13-
</PropertyGroup>
14-
15-
<PropertyGroup>
16-
<Product>aspnet-contrib</Product>
17-
<PackageIconUrl>https://avatars3.githubusercontent.com/u/7998081?s=64</PackageIconUrl>
18-
<PackageProjectUrl>https://github.com/aspnet-contrib/AspNet.Security.OAuth.Extensions</PackageProjectUrl>
19-
<PackageLicenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</PackageLicenseUrl>
20-
<RepositoryType>git</RepositoryType>
21-
<RepositoryUrl>git://github.com/aspnet-contrib/AspNet.Security.OAuth.Extensions</RepositoryUrl>
9+
<DebugSymbols>true</DebugSymbols>
10+
<DebugType>full</DebugType>
11+
<DebugType Condition=" '$(Configuration)' != 'Debug' ">pdbonly</DebugType>
12+
<DebugType Condition=" '$(OS)' != 'Windows_NT' ">portable</DebugType>
2213
</PropertyGroup>
2314

2415
</Project>

build/packages.props

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<Project>
2+
3+
<Import Project="common.props" />
4+
5+
<PropertyGroup>
6+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
7+
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)key.snk</AssemblyOriginatorKeyFile>
8+
<SignAssembly>true</SignAssembly>
9+
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
10+
<IncludeSource>true</IncludeSource>
11+
<IncludeSymbols>true</IncludeSymbols>
12+
</PropertyGroup>
13+
14+
<PropertyGroup>
15+
<Product>aspnet-contrib</Product>
16+
<PackageIconUrl>https://avatars3.githubusercontent.com/u/7998081?s=64</PackageIconUrl>
17+
<PackageProjectUrl>https://github.com/aspnet-contrib/AspNet.Security.OAuth.Extensions</PackageProjectUrl>
18+
<PackageLicenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</PackageLicenseUrl>
19+
<RepositoryType>git</RepositoryType>
20+
<RepositoryUrl>git://github.com/aspnet-contrib/AspNet.Security.OAuth.Extensions</RepositoryUrl>
21+
</PropertyGroup>
22+
23+
</Project>

src/AspNet.Security.OAuth.Introspection/AspNet.Security.OAuth.Introspection.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<Import Project="..\..\build\common.props" />
3+
<Import Project="..\..\build\packages.props" />
44

55
<PropertyGroup>
66
<TargetFrameworks>net451;netstandard1.4</TargetFrameworks>

src/AspNet.Security.OAuth.Validation/AspNet.Security.OAuth.Validation.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<Import Project="..\..\build\common.props" />
3+
<Import Project="..\..\build\packages.props" />
44

55
<PropertyGroup>
66
<TargetFrameworks>net451;netstandard1.3</TargetFrameworks>

src/Owin.Security.OAuth.Introspection/Owin.Security.OAuth.Introspection.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<Import Project="..\..\build\common.props" />
3+
<Import Project="..\..\build\packages.props" />
44

55
<PropertyGroup>
66
<TargetFramework>net451</TargetFramework>

src/Owin.Security.OAuth.Validation/Owin.Security.OAuth.Validation.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<Import Project="..\..\build\common.props" />
3+
<Import Project="..\..\build\packages.props" />
44

55
<PropertyGroup>
66
<TargetFramework>net451</TargetFramework>

0 commit comments

Comments
 (0)