From ab2730ea4f63deb1a945258d724a8d91249277a6 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Mon, 28 Aug 2017 10:37:05 -0700 Subject: [PATCH] Use Directory.Build.targets/props --- build/common.props => Directory.Build.props | 8 ++++---- Directory.Build.targets | 2 ++ .../Microsoft.AspNetCore.Antiforgery.csproj | 2 -- .../Microsoft.AspNetCore.Antiforgery.Test.csproj | 4 +--- 4 files changed, 7 insertions(+), 9 deletions(-) rename build/common.props => Directory.Build.props (76%) create mode 100644 Directory.Build.targets diff --git a/build/common.props b/Directory.Build.props similarity index 76% rename from build/common.props rename to Directory.Build.props index 69a42f2736..236b23f856 100644 --- a/build/common.props +++ b/Directory.Build.props @@ -1,12 +1,12 @@ - - - + + + Microsoft ASP.NET Core https://github.com/aspnet/Antiforgery git - $(MSBuildThisFileDirectory)Key.snk + $(MSBuildThisFileDirectory)build\Key.snk true true $(VersionSuffix)-$(BuildNumber) diff --git a/Directory.Build.targets b/Directory.Build.targets new file mode 100644 index 0000000000..f75adf7e4d --- /dev/null +++ b/Directory.Build.targets @@ -0,0 +1,2 @@ + + diff --git a/src/Microsoft.AspNetCore.Antiforgery/Microsoft.AspNetCore.Antiforgery.csproj b/src/Microsoft.AspNetCore.Antiforgery/Microsoft.AspNetCore.Antiforgery.csproj index 2e8ce21e1a..b349eb9496 100644 --- a/src/Microsoft.AspNetCore.Antiforgery/Microsoft.AspNetCore.Antiforgery.csproj +++ b/src/Microsoft.AspNetCore.Antiforgery/Microsoft.AspNetCore.Antiforgery.csproj @@ -1,7 +1,5 @@  - - An antiforgery system for ASP.NET Core designed to generate and validate tokens to prevent Cross-Site Request Forgery attacks. netstandard2.0 diff --git a/test/Microsoft.AspNetCore.Antiforgery.Test/Microsoft.AspNetCore.Antiforgery.Test.csproj b/test/Microsoft.AspNetCore.Antiforgery.Test/Microsoft.AspNetCore.Antiforgery.Test.csproj index 021d56162a..1f8826d6ee 100644 --- a/test/Microsoft.AspNetCore.Antiforgery.Test/Microsoft.AspNetCore.Antiforgery.Test.csproj +++ b/test/Microsoft.AspNetCore.Antiforgery.Test/Microsoft.AspNetCore.Antiforgery.Test.csproj @@ -1,6 +1,4 @@ - - - + netcoreapp2.0;net461