diff --git a/.vsts-ci.yml b/.vsts-ci.yml index 69a774fc2..d03c66ea7 100644 --- a/.vsts-ci.yml +++ b/.vsts-ci.yml @@ -103,7 +103,7 @@ stages: _DOTNET_CLI_UI_LANGUAGE: '' # This is a very specific build process and MUST be built using .NET Framework MSBuild # because of build task dependencies for Visual Studio. - _AdditionalBuildParameters: '-project src\workloads\workloads.csproj -msbuildEngine vs' + _AdditionalBuildParameters: '-project src\workloads\workloads.csproj -msbuildEngine vs /p:OptionalWorkloads=true' # Never run tests for workloads _TestArg: '' diff --git a/eng/Publishing.props b/eng/Publishing.props index d4f6a188e..a23162faf 100644 --- a/eng/Publishing.props +++ b/eng/Publishing.props @@ -75,13 +75,17 @@ + Condition=" '$(PublishBinariesAndBadge)' == 'true' and '$(OS)' == 'Windows_NT' and '$(Architecture)' == 'x64' and '$(PgoInstrument)' != 'true' and '$(OptionalWorkloads)' != 'true'" /> + Condition=" '$(PublishBinariesAndBadge)' == 'true' and '$(OS)' == 'Windows_NT' and '$(Architecture)' == 'x64' and '$(PgoInstrument)' != 'true' and '$(OptionalWorkloads)' != 'true'" /> + + @@ -125,6 +129,7 @@ + diff --git a/src/workloads/workloads.csproj b/src/workloads/workloads.csproj index b74190a8c..c775088a7 100644 --- a/src/workloads/workloads.csproj +++ b/src/workloads/workloads.csproj @@ -22,8 +22,6 @@ $(ArtifactsObjDir)workloads\ $(ArtifactsBinDir)workloads\ - $(ArtifactsDir)VSSetup\$(Configuration)\Insertion\ - $(WorkloadIntermediateOutputPath)packages\ @@ -110,7 +108,7 @@ - + @@ -120,7 +118,7 @@ - + @@ -154,7 +152,7 @@ - + @@ -162,7 +160,7 @@ - +