From 4866aca471186385e7011e622a028dc39e7d66d2 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Tue, 20 Nov 2018 19:56:05 -0800 Subject: [PATCH] Fix UserSecretsIdAttribute generation when only Microsoft.AspNetCore.App is referenced --- .../pkg/Microsoft.AspNetCore.App.targets | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/Framework/pkg/Microsoft.AspNetCore.App.targets b/src/Framework/pkg/Microsoft.AspNetCore.App.targets index 9e85ffd05545..be73b09622f3 100644 --- a/src/Framework/pkg/Microsoft.AspNetCore.App.targets +++ b/src/Framework/pkg/Microsoft.AspNetCore.App.targets @@ -4,4 +4,27 @@ Text="This version of Microsoft.AspNetCore.App is only compatible with the netcoreapp3.0 target framework. Please target netcoreapp3.0 or choose a version of Microsoft.AspNetCore.App compatible with $(TargetFramework)." Condition="'$(TargetFramework)' != 'netcoreapp3.0'"/> + + + + + + + + <_Parameter1>$(UserSecretsId.Trim()) + + +