diff --git a/test/dotnet-run3.Tests/GivenDotnetRun3RunsCsProj.cs b/test/dotnet-run3.Tests/GivenDotnetRun3RunsCsProj.cs index 5583ea382..a946e23b9 100644 --- a/test/dotnet-run3.Tests/GivenDotnetRun3RunsCsProj.cs +++ b/test/dotnet-run3.Tests/GivenDotnetRun3RunsCsProj.cs @@ -99,7 +99,7 @@ namespace Microsoft.DotNet.Cli.Run3.Tests new Restore3Command() .WithWorkingDirectory(testProjectDirectory) - .Execute() + .Execute("/p:SkipInvalidConfigurations=true") .Should() .Pass();