Skip to content

Commit 90669b6

Browse files
committed
Update common.props to generate symbols packages and use DebugType=full on Windows
1 parent 9de8719 commit 90669b6

File tree

44 files changed

+68
-56
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+68
-56
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.Providers</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.Providers</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.Providers</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.Providers</RepositoryUrl>
21+
</PropertyGroup>
22+
23+
</Project>

samples/Mvc.Client/Mvc.Client.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
<PropertyGroup>
66
<TargetFrameworks>net451;netcoreapp1.0</TargetFrameworks>
7-
<PreserveCompilationContext>true</PreserveCompilationContext>
8-
<OutputType>Exe</OutputType>
97
</PropertyGroup>
108

119
<ItemGroup>

src/AspNet.Security.OAuth.ArcGIS/AspNet.Security.OAuth.ArcGIS.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/AspNet.Security.OAuth.Asana/AspNet.Security.OAuth.Asana.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/AspNet.Security.OAuth.Autodesk/AspNet.Security.OAuth.Autodesk.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/AspNet.Security.OAuth.Automatic/AspNet.Security.OAuth.Automatic.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/AspNet.Security.OAuth.BattleNet/AspNet.Security.OAuth.BattleNet.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/AspNet.Security.OAuth.Beam/AspNet.Security.OAuth.Beam.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/AspNet.Security.OAuth.Buffer/AspNet.Security.OAuth.Buffer.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>

0 commit comments

Comments
 (0)