Disasmo window shows build errors
See original GitHub issueI tried disasmo but I get following failure in the disasmo window. Any idea?
Microsoft (R) Build Engine version 16.9.0-preview-20611-06+5abf1ff7b for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
All projects are up-to-date for restore.
C:\Program Files\dotnet\sdk\5.0.200-preview.20614.14\Current\SolutionFile\ImportAfter\Microsoft.NET.Sdk.Solution.targets(27,5): error NETSDK1134: Building a solution with a specific RuntimeIdentifier is not supported. If you would like to publish for a single RID, specifiy the RID at the individual project level instead. [e:\ConsoleApp1.sln]
Build FAILED.
C:\Program Files\dotnet\sdk\5.0.200-preview.20614.14\Current\SolutionFile\ImportAfter\Microsoft.NET.Sdk.Solution.targets(27,5): error NETSDK1134: Building a solution with a specific RuntimeIdentifier is not supported. If you would like to publish for a single RID, specifiy the RID at the individual project level instead. [e:\ConsoleApp1.sln]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.13
Here is the output of dotnet --info
dotnet --info
.NET SDK (reflecting any global.json):
Version: 5.0.200-preview.20614.14
Commit: 863605c8c3
Runtime Environment:
OS Name: Windows
OS Version: 10.0.19042
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\5.0.200-preview.20614.14\
Host (useful for support):
Version: 5.0.1
Commit: b02e13abab
.NET SDKs installed:
3.1.400-preview-015151 [C:\Program Files\dotnet\sdk]
5.0.101 [C:\Program Files\dotnet\sdk]
5.0.200-preview.20614.14 [C:\Program Files\dotnet\sdk]
My Console1.csproj
looks like:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
</Project>
I noticed the RID is win-x64
and not sure if that is accurate.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
EgorBo/Disasmo
GitHub - EgorBo/Disasmo: VS2022 Add-in. ... git clone git@github.com:dotnet/runtime.git cd runtime build.cmd ... See windows-requirements.md.
Read more >The option "Always show Error List if build finishes with ...
Once it's opened in Visual Studio, do a build. You should see in the status bar that the build failed. You will not...
Read more >How to find the reason for a failed Build without any error or ...
To ensure that the Output window appears each time you do a build, you can go to Tools → Options → Projects and...
Read more >Visual Studio: Can I make the Error List always appear ...
Make sure that “Always show Error List if build finishes with errors” option is selected in menu, Tools, Options, Project and Solutions, General ......
Read more >Project build errors and warnings (PRJxxxx)
To get help on a particular diagnostic message in Visual Studio, select it in the Output window and press the F1 key. Visual...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Perfect, I verified the fix works. Thank you @EgorBo !
Fixed, thanks!