diff --git a/samples/AntiforgerySample/AntiforgerySample.xproj b/samples/AntiforgerySample/AntiforgerySample.xproj
index 254d0c3d03..df07bd9b50 100644
--- a/samples/AntiforgerySample/AntiforgerySample.xproj
+++ b/samples/AntiforgerySample/AntiforgerySample.xproj
@@ -7,8 +7,8 @@
af9e0784-5edb-494f-b46c-1a8da785c49c
- ..\..\artifacts\obj\$(MSBuildProjectName)
- ..\..\artifacts\bin\
+ .\obj
+ .\bin\
2.0
diff --git a/src/Microsoft.AspNetCore.Antiforgery/Microsoft.AspNetCore.Antiforgery.xproj b/src/Microsoft.AspNetCore.Antiforgery/Microsoft.AspNetCore.Antiforgery.xproj
index cfd5f9890c..3799efa7b6 100644
--- a/src/Microsoft.AspNetCore.Antiforgery/Microsoft.AspNetCore.Antiforgery.xproj
+++ b/src/Microsoft.AspNetCore.Antiforgery/Microsoft.AspNetCore.Antiforgery.xproj
@@ -7,8 +7,8 @@
46fb03fb-7a44-4106-bdde-d6f5417544ab
- ..\..\artifacts\obj\$(MSBuildProjectName)
- ..\..\artifacts\bin\
+ .\obj
+ .\bin\
2.0
diff --git a/test/Microsoft.AspNetCore.Antiforgery.FunctionalTests/Microsoft.AspNetCore.Antiforgery.FunctionalTests.xproj b/test/Microsoft.AspNetCore.Antiforgery.FunctionalTests/Microsoft.AspNetCore.Antiforgery.FunctionalTests.xproj
index 8ecb47ec07..1901f0cc82 100644
--- a/test/Microsoft.AspNetCore.Antiforgery.FunctionalTests/Microsoft.AspNetCore.Antiforgery.FunctionalTests.xproj
+++ b/test/Microsoft.AspNetCore.Antiforgery.FunctionalTests/Microsoft.AspNetCore.Antiforgery.FunctionalTests.xproj
@@ -7,8 +7,8 @@
8b288810-5a96-4af5-9836-8ba2d2953203
- ..\..\artifacts\obj\$(MSBuildProjectName)
- ..\..\artifacts\bin\
+ .\obj
+ .\bin\
2.0
diff --git a/test/Microsoft.AspNetCore.Antiforgery.Test/Microsoft.AspNetCore.Antiforgery.Test.xproj b/test/Microsoft.AspNetCore.Antiforgery.Test/Microsoft.AspNetCore.Antiforgery.Test.xproj
index b016f46aac..87bf4fd855 100644
--- a/test/Microsoft.AspNetCore.Antiforgery.Test/Microsoft.AspNetCore.Antiforgery.Test.xproj
+++ b/test/Microsoft.AspNetCore.Antiforgery.Test/Microsoft.AspNetCore.Antiforgery.Test.xproj
@@ -7,8 +7,8 @@
415e83f8-6002-47e4-aa8e-cd5169c06f28
- ..\..\artifacts\obj\$(MSBuildProjectName)
- ..\..\artifacts\bin\
+ .\obj
+ .\bin\
2.0