From 1e19936f0e7c83360f9690e105246f6b009f5568 Mon Sep 17 00:00:00 2001 From: Steve Molloy Date: Fri, 11 May 2018 12:54:44 -0700 Subject: [PATCH 1/7] Update references and rev to 1.0 RTM. --- clean.cmd | 3 + samples/SampleWebApp/SampleWebApp.csproj | 12 +-- samples/SampleWebApp/Web.config | 77 +++++++++++-------- samples/SampleWebApp/packages.config | 4 +- src/Azure/Azure.csproj | 7 +- src/Azure/packages.config | 2 +- .../Test/Test.csproj | 18 ++--- .../Test/packages.config | 4 +- ...softConfigurationBuilders.settings.targets | 4 +- 9 files changed, 74 insertions(+), 57 deletions(-) diff --git a/clean.cmd b/clean.cmd index 7377063..f5ff54c 100644 --- a/clean.cmd +++ b/clean.cmd @@ -38,5 +38,8 @@ if not defined MSBUILDEXE ( :BUILD REM %MSBUILDEXE% "%~dp0\MicrosoftConfigurationBuilders.msbuild" /t:Clean %logOptions% /v:d /maxcpucount /nodeReuse:false %* %MSBUILDEXE% "%~dp0\MicrosoftConfigurationBuilders.msbuild" /t:Clean %logOptions% /v:diag /maxcpucount /nodeReuse:false %* + del /F msbuild.log + del /F msbuild.wrn + del /F msbuild.err endlocal diff --git a/samples/SampleWebApp/SampleWebApp.csproj b/samples/SampleWebApp/SampleWebApp.csproj index c117a8a..290c7fe 100644 --- a/samples/SampleWebApp/SampleWebApp.csproj +++ b/samples/SampleWebApp/SampleWebApp.csproj @@ -1,6 +1,6 @@  - - + + Debug @@ -44,8 +44,8 @@ 4 - - ..\..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.7\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll + + ..\..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.8\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll @@ -134,8 +134,8 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + -
+
- + - - + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - + + + + - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + diff --git a/samples/SampleWebApp/packages.config b/samples/SampleWebApp/packages.config index 7597903..dbdad58 100644 --- a/samples/SampleWebApp/packages.config +++ b/samples/SampleWebApp/packages.config @@ -1,5 +1,5 @@  - - + + \ No newline at end of file diff --git a/src/Azure/Azure.csproj b/src/Azure/Azure.csproj index 9913306..98b9d78 100644 --- a/src/Azure/Azure.csproj +++ b/src/Azure/Azure.csproj @@ -42,8 +42,8 @@ ..\..\packages\Microsoft.Azure.KeyVault.WebKey.2.0.7\lib\net452\Microsoft.Azure.KeyVault.WebKey.dll - - ..\..\packages\Microsoft.Azure.Services.AppAuthentication.1.0.0\lib\net452\Microsoft.Azure.Services.AppAuthentication.dll + + ..\..\packages\Microsoft.Azure.Services.AppAuthentication.1.0.1\lib\net452\Microsoft.Azure.Services.AppAuthentication.dll ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.19.2\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll @@ -75,6 +75,7 @@ + @@ -83,5 +84,7 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + \ No newline at end of file diff --git a/src/Azure/packages.config b/src/Azure/packages.config index 87eef07..be01044 100644 --- a/src/Azure/packages.config +++ b/src/Azure/packages.config @@ -2,7 +2,7 @@ - + diff --git a/test/Microsoft.Configuration.ConfigurationBuilders.Test/Test/Test.csproj b/test/Microsoft.Configuration.ConfigurationBuilders.Test/Test/Test.csproj index fa0a652..baaff8b 100644 --- a/test/Microsoft.Configuration.ConfigurationBuilders.Test/Test/Test.csproj +++ b/test/Microsoft.Configuration.ConfigurationBuilders.Test/Test/Test.csproj @@ -1,6 +1,6 @@  - + Debug AnyCPU @@ -40,10 +40,10 @@ - ..\..\..\packages\MSTest.TestFramework.1.1.18\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll + ..\..\..\packages\MSTest.TestFramework.1.3.0\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll - ..\..\..\packages\MSTest.TestFramework.1.1.18\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + ..\..\..\packages\MSTest.TestFramework.1.3.0\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll @@ -59,9 +59,6 @@ - - - {f382fbf8-146d-4968-a199-90d37f9ef9a7} @@ -80,14 +77,17 @@ UserSecrets + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + - + \ No newline at end of file diff --git a/test/Microsoft.Configuration.ConfigurationBuilders.Test/Test/packages.config b/test/Microsoft.Configuration.ConfigurationBuilders.Test/Test/packages.config index a4b6ae9..4dce40a 100644 --- a/test/Microsoft.Configuration.ConfigurationBuilders.Test/Test/packages.config +++ b/test/Microsoft.Configuration.ConfigurationBuilders.Test/Test/packages.config @@ -1,5 +1,5 @@  - - + + \ No newline at end of file diff --git a/tools/MicrosoftConfigurationBuilders.settings.targets b/tools/MicrosoftConfigurationBuilders.settings.targets index d0c3b93..e1dc379 100644 --- a/tools/MicrosoftConfigurationBuilders.settings.targets +++ b/tools/MicrosoftConfigurationBuilders.settings.targets @@ -7,7 +7,7 @@ - preview3 + rtm 2016 1 0 @@ -16,7 +16,7 @@ - 1.0.0-preview3 + $(VersionMajor).$(VersionMinor).$(VersionRelease) From b81f88c7a1733cf8763a7868b7f3398cf6cd5e55 Mon Sep 17 00:00:00 2001 From: Steve Molloy Date: Fri, 11 May 2018 12:58:05 -0700 Subject: [PATCH 2/7] ASAL config file for Azure project. --- src/Azure/app.config | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/Azure/app.config diff --git a/src/Azure/app.config b/src/Azure/app.config new file mode 100644 index 0000000..2de3c5c --- /dev/null +++ b/src/Azure/app.config @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file From b077d01a7336ce3f86b212ab948886a28d8f2b21 Mon Sep 17 00:00:00 2001 From: Steve Molloy Date: Tue, 15 May 2018 16:50:54 -0700 Subject: [PATCH 3/7] Make config handling consistent on install/uninstall across all providers. --- .../content/Net471/config.uninstall.xdt | 4 ++-- .../content/Net471/config.uninstall.xdt | 4 ++-- .../content/Net471/config.install.xdt | 6 ++++++ .../content/Net471/config.uninstall.xdt | 6 ++++++ .../content/Net471/config.uninstall.xdt | 4 ++-- .../content/Net471/config.install.xdt | 7 ++++++- .../content/Net471/config.uninstall.xdt | 6 ++++++ 7 files changed, 30 insertions(+), 7 deletions(-) diff --git a/src/packages/ConfigurationBuilders.Azure.nupkg/content/Net471/config.uninstall.xdt b/src/packages/ConfigurationBuilders.Azure.nupkg/content/Net471/config.uninstall.xdt index e819a78..6f46c21 100644 --- a/src/packages/ConfigurationBuilders.Azure.nupkg/content/Net471/config.uninstall.xdt +++ b/src/packages/ConfigurationBuilders.Azure.nupkg/content/Net471/config.uninstall.xdt @@ -7,12 +7,12 @@ - -
+ + \ No newline at end of file diff --git a/src/packages/ConfigurationBuilders.Base.nupkg/content/Net471/config.uninstall.xdt b/src/packages/ConfigurationBuilders.Base.nupkg/content/Net471/config.uninstall.xdt index 930a600..dab1571 100644 --- a/src/packages/ConfigurationBuilders.Base.nupkg/content/Net471/config.uninstall.xdt +++ b/src/packages/ConfigurationBuilders.Base.nupkg/content/Net471/config.uninstall.xdt @@ -1,12 +1,12 @@ - -
+ + \ No newline at end of file diff --git a/src/packages/ConfigurationBuilders.Environment.nupkg/content/Net471/config.install.xdt b/src/packages/ConfigurationBuilders.Environment.nupkg/content/Net471/config.install.xdt index 52a07f9..839136e 100644 --- a/src/packages/ConfigurationBuilders.Environment.nupkg/content/Net471/config.install.xdt +++ b/src/packages/ConfigurationBuilders.Environment.nupkg/content/Net471/config.install.xdt @@ -1,6 +1,12 @@ + + +
+ + + diff --git a/src/packages/ConfigurationBuilders.Environment.nupkg/content/Net471/config.uninstall.xdt b/src/packages/ConfigurationBuilders.Environment.nupkg/content/Net471/config.uninstall.xdt index b7efb86..bb9224a 100644 --- a/src/packages/ConfigurationBuilders.Environment.nupkg/content/Net471/config.uninstall.xdt +++ b/src/packages/ConfigurationBuilders.Environment.nupkg/content/Net471/config.uninstall.xdt @@ -7,6 +7,12 @@ + +
+ + + + \ No newline at end of file diff --git a/src/packages/ConfigurationBuilders.Json.nupkg/content/Net471/config.uninstall.xdt b/src/packages/ConfigurationBuilders.Json.nupkg/content/Net471/config.uninstall.xdt index cee4015..16a32e0 100644 --- a/src/packages/ConfigurationBuilders.Json.nupkg/content/Net471/config.uninstall.xdt +++ b/src/packages/ConfigurationBuilders.Json.nupkg/content/Net471/config.uninstall.xdt @@ -7,12 +7,12 @@ - -
+ + \ No newline at end of file diff --git a/src/packages/ConfigurationBuilders.UserSecrets.nupkg/content/Net471/config.install.xdt b/src/packages/ConfigurationBuilders.UserSecrets.nupkg/content/Net471/config.install.xdt index 5b6865a..4bd2b40 100644 --- a/src/packages/ConfigurationBuilders.UserSecrets.nupkg/content/Net471/config.install.xdt +++ b/src/packages/ConfigurationBuilders.UserSecrets.nupkg/content/Net471/config.install.xdt @@ -1,9 +1,14 @@ - + + +
+ + + diff --git a/src/packages/ConfigurationBuilders.UserSecrets.nupkg/content/Net471/config.uninstall.xdt b/src/packages/ConfigurationBuilders.UserSecrets.nupkg/content/Net471/config.uninstall.xdt index 89b0ee6..75038f9 100644 --- a/src/packages/ConfigurationBuilders.UserSecrets.nupkg/content/Net471/config.uninstall.xdt +++ b/src/packages/ConfigurationBuilders.UserSecrets.nupkg/content/Net471/config.uninstall.xdt @@ -7,6 +7,12 @@ + +
+ + + + \ No newline at end of file From a1c4397949675c534a5bbebab8a28e52a62e4bc4 Mon Sep 17 00:00:00 2001 From: Steve Molloy Date: Wed, 16 May 2018 11:19:33 -0700 Subject: [PATCH 4/7] Update ASAL dependency to match referenced assembly. --- .../Microsoft.Configuration.ConfigurationBuilders.Azure.nuspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/ConfigurationBuilders.Azure.nupkg/Microsoft.Configuration.ConfigurationBuilders.Azure.nuspec b/src/packages/ConfigurationBuilders.Azure.nupkg/Microsoft.Configuration.ConfigurationBuilders.Azure.nuspec index 9dfe320..fa3c2b8 100644 --- a/src/packages/ConfigurationBuilders.Azure.nupkg/Microsoft.Configuration.ConfigurationBuilders.Azure.nuspec +++ b/src/packages/ConfigurationBuilders.Azure.nupkg/Microsoft.Configuration.ConfigurationBuilders.Azure.nuspec @@ -19,7 +19,7 @@ - + From f1517b029e759a0e1569ec80593792cd8d2614f3 Mon Sep 17 00:00:00 2001 From: Steve Molloy Date: Wed, 16 May 2018 11:25:25 -0700 Subject: [PATCH 5/7] Update AKV dependency to match referenced assembly. --- .../Microsoft.Configuration.ConfigurationBuilders.Azure.nuspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/ConfigurationBuilders.Azure.nupkg/Microsoft.Configuration.ConfigurationBuilders.Azure.nuspec b/src/packages/ConfigurationBuilders.Azure.nupkg/Microsoft.Configuration.ConfigurationBuilders.Azure.nuspec index fa3c2b8..cc0e884 100644 --- a/src/packages/ConfigurationBuilders.Azure.nupkg/Microsoft.Configuration.ConfigurationBuilders.Azure.nuspec +++ b/src/packages/ConfigurationBuilders.Azure.nupkg/Microsoft.Configuration.ConfigurationBuilders.Azure.nuspec @@ -18,7 +18,7 @@ - + From 39e9081a0023847a5c95ba9e6db5db5883151060 Mon Sep 17 00:00:00 2001 From: Steve Molloy Date: Wed, 16 May 2018 12:04:27 -0700 Subject: [PATCH 6/7] Bring solution-wide settings into Solution Items for better visibility in VS. --- MicrosoftConfigurationBuilders.sln | 1 + 1 file changed, 1 insertion(+) diff --git a/MicrosoftConfigurationBuilders.sln b/MicrosoftConfigurationBuilders.sln index 7f1f465..2bc702f 100644 --- a/MicrosoftConfigurationBuilders.sln +++ b/MicrosoftConfigurationBuilders.sln @@ -33,6 +33,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test", "test\Microsoft.Conf EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{91E7BC05-1980-48F2-B3F4-CE56EB3D114F}" ProjectSection(SolutionItems) = preProject + tools\MicrosoftConfigurationBuilders.settings.targets = tools\MicrosoftConfigurationBuilders.settings.targets README.md = README.md EndProjectSection EndProject From 4887033a65376f724b0f3a48576983b5c4885b23 Mon Sep 17 00:00:00 2001 From: Steve Molloy Date: Mon, 21 May 2018 09:03:17 -0700 Subject: [PATCH 7/7] Switch over to microbuild signing. --- MicrosoftConfigurationBuilders.msbuild | 2 -- src/Azure/Azure.csproj | 8 ++++++ src/Base/Base.csproj | 8 ++++++ src/Environment/Environment.csproj | 8 ++++++ src/Json/Json.csproj | 8 ++++++ src/UserSecrets/UserSecrets.csproj | 8 ++++++ ...uration.ConfigurationBuilders.Azure.nuproj | 10 +++++++ ...guration.ConfigurationBuilders.Base.nuproj | 10 +++++++ ...n.ConfigurationBuilders.Environment.nuproj | 10 +++++++ ...guration.ConfigurationBuilders.Json.nuproj | 10 +++++++ ...n.ConfigurationBuilders.UserSecrets.nuproj | 28 ++++++++++++++++++- ...softConfigurationBuilders.settings.targets | 6 ++++ tools/NuGetProj.targets | 4 ++- 13 files changed, 116 insertions(+), 4 deletions(-) diff --git a/MicrosoftConfigurationBuilders.msbuild b/MicrosoftConfigurationBuilders.msbuild index 2e04097..ec43f96 100644 --- a/MicrosoftConfigurationBuilders.msbuild +++ b/MicrosoftConfigurationBuilders.msbuild @@ -1,6 +1,4 @@ - - diff --git a/src/Azure/Azure.csproj b/src/Azure/Azure.csproj index 98b9d78..14a7c1f 100644 --- a/src/Azure/Azure.csproj +++ b/src/Azure/Azure.csproj @@ -87,4 +87,12 @@ + + + + Microsoft + MsSharedLib72 + + + \ No newline at end of file diff --git a/src/Base/Base.csproj b/src/Base/Base.csproj index f0bc6c4..f1af37b 100644 --- a/src/Base/Base.csproj +++ b/src/Base/Base.csproj @@ -47,4 +47,12 @@ + + + + Microsoft + MsSharedLib72 + + + \ No newline at end of file diff --git a/src/Environment/Environment.csproj b/src/Environment/Environment.csproj index d6f57e0..d2f161c 100644 --- a/src/Environment/Environment.csproj +++ b/src/Environment/Environment.csproj @@ -51,4 +51,12 @@ + + + + Microsoft + MsSharedLib72 + + + \ No newline at end of file diff --git a/src/Json/Json.csproj b/src/Json/Json.csproj index 0f464ae..36877bd 100644 --- a/src/Json/Json.csproj +++ b/src/Json/Json.csproj @@ -57,4 +57,12 @@ + + + + Microsoft + MsSharedLib72 + + + \ No newline at end of file diff --git a/src/UserSecrets/UserSecrets.csproj b/src/UserSecrets/UserSecrets.csproj index 5f05fea..f2c3c48 100644 --- a/src/UserSecrets/UserSecrets.csproj +++ b/src/UserSecrets/UserSecrets.csproj @@ -51,4 +51,12 @@ + + + + Microsoft + MsSharedLib72 + + + \ No newline at end of file diff --git a/src/packages/ConfigurationBuilders.Azure.nupkg/Microsoft.Configuration.ConfigurationBuilders.Azure.nuproj b/src/packages/ConfigurationBuilders.Azure.nupkg/Microsoft.Configuration.ConfigurationBuilders.Azure.nuproj index a8a813a..df90762 100644 --- a/src/packages/ConfigurationBuilders.Azure.nupkg/Microsoft.Configuration.ConfigurationBuilders.Azure.nuproj +++ b/src/packages/ConfigurationBuilders.Azure.nupkg/Microsoft.Configuration.ConfigurationBuilders.Azure.nuproj @@ -36,4 +36,14 @@ + + + $(PackageOutputDir) + + + + NuGet + + + \ No newline at end of file diff --git a/src/packages/ConfigurationBuilders.Base.nupkg/Microsoft.Configuration.ConfigurationBuilders.Base.nuproj b/src/packages/ConfigurationBuilders.Base.nupkg/Microsoft.Configuration.ConfigurationBuilders.Base.nuproj index 2aa9510..2b7b90a 100644 --- a/src/packages/ConfigurationBuilders.Base.nupkg/Microsoft.Configuration.ConfigurationBuilders.Base.nuproj +++ b/src/packages/ConfigurationBuilders.Base.nupkg/Microsoft.Configuration.ConfigurationBuilders.Base.nuproj @@ -36,4 +36,14 @@ + + + $(PackageOutputDir) + + + + NuGet + + + \ No newline at end of file diff --git a/src/packages/ConfigurationBuilders.Environment.nupkg/Microsoft.Configuration.ConfigurationBuilders.Environment.nuproj b/src/packages/ConfigurationBuilders.Environment.nupkg/Microsoft.Configuration.ConfigurationBuilders.Environment.nuproj index 13ec77c..88c7b63 100644 --- a/src/packages/ConfigurationBuilders.Environment.nupkg/Microsoft.Configuration.ConfigurationBuilders.Environment.nuproj +++ b/src/packages/ConfigurationBuilders.Environment.nupkg/Microsoft.Configuration.ConfigurationBuilders.Environment.nuproj @@ -36,4 +36,14 @@ + + + $(PackageOutputDir) + + + + NuGet + + + \ No newline at end of file diff --git a/src/packages/ConfigurationBuilders.Json.nupkg/Microsoft.Configuration.ConfigurationBuilders.Json.nuproj b/src/packages/ConfigurationBuilders.Json.nupkg/Microsoft.Configuration.ConfigurationBuilders.Json.nuproj index 7e994d1..17fa9e1 100644 --- a/src/packages/ConfigurationBuilders.Json.nupkg/Microsoft.Configuration.ConfigurationBuilders.Json.nuproj +++ b/src/packages/ConfigurationBuilders.Json.nupkg/Microsoft.Configuration.ConfigurationBuilders.Json.nuproj @@ -36,4 +36,14 @@ + + + $(PackageOutputDir) + + + + NuGet + + + \ No newline at end of file diff --git a/src/packages/ConfigurationBuilders.UserSecrets.nupkg/Microsoft.Configuration.ConfigurationBuilders.UserSecrets.nuproj b/src/packages/ConfigurationBuilders.UserSecrets.nupkg/Microsoft.Configuration.ConfigurationBuilders.UserSecrets.nuproj index 9b5bea7..272d14a 100644 --- a/src/packages/ConfigurationBuilders.UserSecrets.nupkg/Microsoft.Configuration.ConfigurationBuilders.UserSecrets.nuproj +++ b/src/packages/ConfigurationBuilders.UserSecrets.nupkg/Microsoft.Configuration.ConfigurationBuilders.UserSecrets.nuproj @@ -43,9 +43,35 @@ build\Net471\$(NuGetPackageId).targets - + + tools\Net471\ + + tools\Net471\ + + + + + + + + Microsoft400 + + + + + + + $(PackageOutputDir) + + + + NuGet + + + \ No newline at end of file diff --git a/tools/MicrosoftConfigurationBuilders.settings.targets b/tools/MicrosoftConfigurationBuilders.settings.targets index e1dc379..54088dd 100644 --- a/tools/MicrosoftConfigurationBuilders.settings.targets +++ b/tools/MicrosoftConfigurationBuilders.settings.targets @@ -1,7 +1,13 @@ $(MSBuildThisFileDirectory)MicrosoftConfigurationBuilders.Extensions.settings.targets + $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'MicrosoftConfigurationBuilders.sln'))\ + + + diff --git a/tools/NuGetProj.targets b/tools/NuGetProj.targets index 70e9d99..d8ddc72 100644 --- a/tools/NuGetProj.targets +++ b/tools/NuGetProj.targets @@ -304,10 +304,12 @@ GetNuGetProjectOutputs: Reads build-generated files from outputs file. $(PackageOutputDir)\$(NuGetPackageId).$(NuGetPackageVersion).nupkg - $(PackageOutputDir)\$(NuGetPackageId).$(NuGetPackageVersion).symbols.nupkg + $(PackageOutputDir)\$(NuGetPackageId).$(NuGetPackageVersion).symbols.nupkg + +