From 54d51a340698b6883dd3e47be372c07e0acf75bc Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Tue, 4 Jun 2019 12:10:55 -0700 Subject: [PATCH] Set AssemblyVersion and prevent hosting tests from rebuilding the product code (#1791) --- src/Hosting/IntegrationTesting/src/ApplicationPublisher.cs | 2 ++ version.props | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/src/Hosting/IntegrationTesting/src/ApplicationPublisher.cs b/src/Hosting/IntegrationTesting/src/ApplicationPublisher.cs index 283ce65cb82..dc2589ca4da 100644 --- a/src/Hosting/IntegrationTesting/src/ApplicationPublisher.cs +++ b/src/Hosting/IntegrationTesting/src/ApplicationPublisher.cs @@ -35,6 +35,8 @@ public virtual Task Publish(DeploymentParameters deploymen + $" --output \"{publishDirectory.FullName}\"" + $" --framework {deploymentParameters.TargetFramework}" + $" --configuration {deploymentParameters.Configuration}" + // avoids triggering builds of dependencies of the test app which could cause issues like https://github.com/dotnet/arcade/issues/2941 + + $" --no-dependencies" + $" /p:TargetArchitecture={deploymentParameters.RuntimeArchitecture}" + " --no-restore"; diff --git a/version.props b/version.props index 571b00ab0dc..8d2112975cf 100644 --- a/version.props +++ b/version.props @@ -5,6 +5,13 @@ 0 $(MajorVersion).$(MinorVersion).$(PatchVersion) preview6 + $(VersionPrefix).0 + + $(MajorVersion).$(MinorVersion).0.0