From f4ca51b1505c8bb85c83b153ccba8edb31929768 Mon Sep 17 00:00:00 2001 From: Alexander Imra Date: Thu, 23 Jul 2020 16:20:10 -0700 Subject: [PATCH 1/2] Use the user name and password for publishing packages instead of an API key --- Publish/NuGetPublish.csproj | 8 +++++--- User.Directory.Build.props.example | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Publish/NuGetPublish.csproj b/Publish/NuGetPublish.csproj index 5d39353dbe..801af7dc46 100644 --- a/Publish/NuGetPublish.csproj +++ b/Publish/NuGetPublish.csproj @@ -1,4 +1,4 @@ - + true @@ -20,7 +20,8 @@ - + + @@ -51,6 +52,7 @@ - + + \ No newline at end of file diff --git a/User.Directory.Build.props.example b/User.Directory.Build.props.example index 34a2b57189..b2dbd69797 100644 --- a/User.Directory.Build.props.example +++ b/User.Directory.Build.props.example @@ -1,7 +1,8 @@ - Put key Here + Put username here + Put password here Put url here From a71049c07002ec36f21415111deb98d5fd892e2b Mon Sep 17 00:00:00 2001 From: Alexander Imra Date: Fri, 24 Jul 2020 00:14:01 -0700 Subject: [PATCH 2/2] Create/overwrite NuGet.Config file before publishing and delete after this. --- Publish/NuGetPublish.csproj | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Publish/NuGetPublish.csproj b/Publish/NuGetPublish.csproj index 801af7dc46..8d2919c184 100644 --- a/Publish/NuGetPublish.csproj +++ b/Publish/NuGetPublish.csproj @@ -52,7 +52,11 @@ - + + + + + \ No newline at end of file