diff --git a/build/AzurePipelineTemplates/CsWinRT-Build-Steps.yml b/build/AzurePipelineTemplates/CsWinRT-Build-Steps.yml index 293b448a1..db5d0c9ec 100644 --- a/build/AzurePipelineTemplates/CsWinRT-Build-Steps.yml +++ b/build/AzurePipelineTemplates/CsWinRT-Build-Steps.yml @@ -121,6 +121,7 @@ steps: echo ##vso[task.setvariable variable=VersionNumber;]%VersionNumber% echo ##vso[task.setvariable variable=NugetVersion;]%NugetVersion% +- task: NuGetAuthenticate@1 # Build Prerelease Targets - task: CmdLine@2 diff --git a/nuget.config b/nuget.config new file mode 100644 index 000000000..bfbb3e36b --- /dev/null +++ b/nuget.config @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index 74d7280ea..b1682e78e 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets @@ -2,10 +2,6 @@ preview - - https://api.nuget.org/v3/index.json; - https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json; - diff --git a/src/Samples/AuthoringDemo/nuget.config b/src/Samples/AuthoringDemo/nuget.config deleted file mode 100644 index 8716547ae..000000000 --- a/src/Samples/AuthoringDemo/nuget.config +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Samples/NetProjectionSample/ConsoleAppSample/ConsoleAppSample.csproj b/src/Samples/NetProjectionSample/ConsoleAppSample/ConsoleAppSample.csproj index 177be4fec..7db76183f 100644 --- a/src/Samples/NetProjectionSample/ConsoleAppSample/ConsoleAppSample.csproj +++ b/src/Samples/NetProjectionSample/ConsoleAppSample/ConsoleAppSample.csproj @@ -9,7 +9,6 @@ - https://api.nuget.org/v3/index.json; ../SimpleMathProjection/nuget diff --git a/src/Samples/TestEmbedded/UnitTestEmbedded/UnitTestEmbedded.csproj b/src/Samples/TestEmbedded/UnitTestEmbedded/UnitTestEmbedded.csproj index af044f84c..bf4d1ae85 100644 --- a/src/Samples/TestEmbedded/UnitTestEmbedded/UnitTestEmbedded.csproj +++ b/src/Samples/TestEmbedded/UnitTestEmbedded/UnitTestEmbedded.csproj @@ -22,7 +22,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Samples/WinUIDesktopSample/WinUIDesktopSample.csproj b/src/Samples/WinUIDesktopSample/WinUIDesktopSample.csproj index 037178e62..ed63680bb 100644 --- a/src/Samples/WinUIDesktopSample/WinUIDesktopSample.csproj +++ b/src/Samples/WinUIDesktopSample/WinUIDesktopSample.csproj @@ -23,7 +23,7 @@ - + true @@ -69,7 +68,6 @@ true - - - + - - - - - + + + + - ..\AuthoringTest\bin\$(_WinMDPlatform)\$(Configuration)\net8.0\AuthoringTest.winmd @@ -136,7 +129,6 @@ -