-
Notifications
You must be signed in to change notification settings - Fork 1.2k
MSBuild Server dogfood (#12120) #50389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
a61619f
0d1f82a
36f41dc
87b020c
a0fcb47
298ec6d
c30fb9d
31792b1
21fe293
34f0f66
bd81fb1
b22554d
3dc49cf
6336597
5af53ff
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,8 @@ function CreateBuildEnvScripts() | |
$scriptContents = @" | ||
@echo off | ||
title SDK Build ($RepoRoot) | ||
set DOTNET_CLI_USE_MSBUILD_SERVER=1 | ||
set MSBUILDUSESERVER=1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be added to the That might explain why only linux legs are currently failing and windows ones are not. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So I'm dogfooding this while investigating the failures that happen in CI. I cannot repro them so far but I noticed something: When I run dotnet test ./test/dotnet.Tests/ --filter "FullyQualifiedName~RunFileTests.Pack" I normally see all the test results in the stdout. But when I set There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I noticed this while debugging and I agree it is annoying and problematic.
vs
so maybe these are working differently? |
||
set DOTNET_MULTILEVEL_LOOKUP=0 | ||
REM https://aka.ms/vs/unsigned-dotnet-debugger-lib | ||
set VSDebugger_ValidateDotnetDebugLibSignatures=0 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,8 @@ public class GivenThatWeWantToPublishIncrementally : SdkTest | |
{ | ||
public GivenThatWeWantToPublishIncrementally(ITestOutputHelper log) : base(log) | ||
{ | ||
// During the dogfood, we want the MSBuild server on for build of the pipeline. Not for the tests - it breaks outputs. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Even though I cannot repro the failures locally, could the problem with |
||
Environment.SetEnvironmentVariable("DOTNET_CLI_USE_MSBUILD_SERVER", "0"); | ||
} | ||
|
||
[Fact] | ||
|
@@ -151,7 +153,6 @@ public void It_cleans_before_trimmed_single_file_publish() | |
|
||
// Publish trimmed | ||
var publishCommand = new PublishCommand(testAsset); | ||
|
||
publishCommand | ||
.Execute() | ||
.Should() | ||
|
Uh oh!
There was an error while loading. Please reload this page.