Attempt to fix tests when building in ProdCon
This commit is contained in:
commit
122b07bb1c
|
|
@ -97,7 +97,9 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting
|
|||
var targetFramework = DeploymentParameters.TargetFramework ?? (DeploymentParameters.RuntimeFlavor == RuntimeFlavor.Clr ? "net461" : "netcoreapp2.0");
|
||||
|
||||
executableName = DotnetCommandName;
|
||||
executableArgs = $"run --no-restore --framework {targetFramework} {DotnetArgumentSeparator}";
|
||||
// Set VerifyMatchingImplicitPackageVersion to disable errors when Microsoft.NETCore.App's version is overridden externally
|
||||
// This verification doesn't matter if we are skipping restore during tests.
|
||||
executableArgs = $"run --no-restore --framework {targetFramework} /p:VerifyMatchingImplicitPackageVersion=false {DotnetArgumentSeparator}";
|
||||
}
|
||||
|
||||
executableArgs += $" --server.urls {hintUrl} "
|
||||
|
|
|
|||
Loading…
Reference in New Issue