question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't push newest Roslyn build to .NET 5 Preview 3

See original GitHub issue
  • This issue is blocking
  • This issue is causing unreasonable pain

Trying to push the latest build to .NET 5 Preview 3. This is blocking source generators from being included in .NET 5 Preview 3.

Assigning build '50041' to the following channel(s):
        .NET 5 Preview 3

Repository:    https://github.com/dotnet/roslyn
Branch:        release/dev16.6-vs-deps
Commit:        3d85b48dd5e533c7d47e916e2cff417f46bdce10
Build Number:  20200424.5
Date Produced: 4/24/2020 3:43 PM
Build Link:    https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=3673940
BAR Build Id:  50041
Released:      False
Channels:
- .NET Core SDK 3.1.3xx
fail: Microsoft.DotNet.Darc.Operations.Operation[0]
id":"1","customProperties":{"ValidationResults":[{"result":"error","message":"An error occurred while loading the YAML build pipeline. Could not find /eng/promote-build.yml in repository self hosted on http://github.com/ using commit f6dc83c016f91377a2f3f3d44f08f326652a0337. GitHub reported the error, \"Not Found\""}]},"innerException":null,"message":"Could not queue the build because there were validation errors or warnings.","typeName":"Microsoft.TeamFoundation.Build.WebApi.BuildRequestValidationFailedException, Microsoft.TeamFoundation.Build2.WebApi","typeKey":"BuildRequestValidationFailedException","errorCode":0,"eventId":3000}
fail: Microsoft.DotNet.Darc.Operations.Operation[0]
      There was an error executing method 'POST' against URI '_apis/build/builds/' after 0 attempts. Exception: System.N         at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
         at Microsoft.DotNet.DarcLib.HttpRequestManager.ExecuteAsync(Int32 retryCount) in /_/src/Microsoft.DotNet.Darc/src/DarcLib/Helpers/HttpRequestManager.cs:line 85
fail: Microsoft.DotNet.Darc.Operations.Operation[0]
      Error: Failed to assign build '50041' to channel '.NET 5 Preview 3'.
System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Microsoft.DotNet.DarcLib.HttpRequestManager.ExecuteAsync(Int32 retryCount) in /_/src/Microsoft.DotNet.Darc/src/DarcLib/Helpers/HttpRequestManager.cs:line 85
   at Microsoft.DotNet.DarcLib.AzureDevOpsClient.ExecuteAzureDevOpsAPIRequestAsync(HttpMethod method, String accountName, String projectName, String requestPath, ILogger logger, String body, String versionOverride, Boolean logFailure, String baseAddressSubpath, Int32 retryCount) in /_/src/Microsoft.DotNet.Darc/src/DarcLib.AzDev/AzureDevOpsClient.cs:line 789
   at Microsoft.DotNet.DarcLib.AzureDevOpsClient.StartNewBuildAsync(String accountName, String projectName, Int32 azdoDefinitionId, String sourceBranch, String sourceVersion, String queueTimeVariables) in /_/src/Microsoft.DotNet.Darc/src/DarcLib.AzDev/AzureDevOpsClient.cs:line 1117
   at Microsoft.DotNet.Darc.Operations.AddBuildToChannelOperation.PromoteBuildAsync(Build build, List`1 targetChannels, IRemote remote) in /_/src/Microsoft.DotNet.Darc/src/Darc/Operations/AddBuildToChannelOperation.cs:line 211
   at Microsoft.DotNet.Darc.Operations.AddBuildToChannelOperation.ExecuteAsync() in /_/src/Microsoft.DotNet.Darc/src/Darc/Operations/AddBuildToChannelOperation.cs:line 113
PS C:\Users\andy\Code\roslyn> darc authenticate
fail: Microsoft.DotNet.Darc.Operations.Operation[0]
      Cannot start editor 'C:\Program'. Please verify that your git settings (`git config core.editor`) specify the path correctly.
System.ComponentModel.Win32Exception (2): The system cannot find the file specified
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at Microsoft.DotNet.Darc.Helpers.UxManager.PopUp(EditorPopUp popUp) in /_/src/Microsoft.DotNet.Darc/src/Darc/Helpers/UxManager.cs:line 140

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
agockecommented, May 4, 2020

Note: we are on Arcade 3.x, and need to stay on it until .NET 5 GA

0reactions
JohnTortugocommented, May 7, 2020
  • Improvements were made to Darc to support the scenario where the user wants to promote a build that uses Arcade 3.x.
  • YAML files for the 3.1.3 channels were included in Arcade master branch so that Darc can use Arcade master branch to promote 3.x builds to those channels.
  • Additional validation was implemented in Darc to let the user know that some channels don’t support promotion via Darc.
Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Can not get Roslyn to work with .NET 5 project
Add reference to Microsoft.Build.Locator. I used the next packages: <ItemGroup> <PackageReference Include="Microsoft.Build.
Read more >
Build is not working after installing .Net5 #24135
I need to migrate some .NET Core 3.1 projects to .NET 5 but unfortunately, after installing Net 5 SDK my projects won't build....
Read more >
Cannot debug net6.0-macos Apps - Developer Community
When I hit debug, the following error is shown in the Terminal: Possible reasons for this include: * You misspelled a built-in dotnet...
Read more >
Visual Studio 2022 17.5 Preview 3 is here!
Visual Studio 2022 17.5 Preview 3 is out and ready to install! This release continues to bring new productivity improvements for all ...
Read more >
Source Generators
This article provides an overview of Source Generators that ships as part of the .NET Compiler Platform ("Roslyn") SDK.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found