-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[dotnet-sdk-9.0.100-preview.3.24175.24] Microsoft.CSharp.Core.targets thrown errors when using "dotnet build" #72753
Comments
@jcouv Could you help check this issue and confirm whether it is a blocker for .NET 9.0 Preview3 validation? Please help move to the right area if it was assigned incorrect. Thanks. |
|
I've narrowed down a repro, but it doesn't seem a regression of the
|
Looks like a regression from #72273 (the test no longer crashes after reverting that change) |
Filed devdiv issue for QB mode: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2014915 |
Verified this issue with the latest build 9.0.100-preview.3.24204.13, it has been fixed. Hence closing it. Thank you. |
Application Name: Dapper
OS: Windows 10 21H2
CPU: X64
.NET Build Number: dotnet-sdk-9.0.100-preview.3.24175.24
App Source Location checking from: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2010200
Github Link:
https://github.com/DapperLib/Dapper
Verify Scenarios:
Description:
When building Dapper app with dotnet-sdk-9.0.100-preview.3.24175.24, the build failed with errors come from Microsoft.CSharp.Core.targets. And this issue occurs when using "dotnet build" command. If we use Visual Studio or MSBuild command, the build can successful.
Minimal Repro steps (Demo attached):
DotNetBuildIssue.zip
The machine has dotnet-sdk-9.0.100-preview.3.24175.24 installed.
Open command prompt windows and navigate to this project file folder.
Run "
dotnet build
".Expected Result:
"
dotnet build
" command build project successfully.Actual Result:
Build failed with errors come from Microsoft.CSharp.Core.targets.
Detailed errors:(Or Please refer to more details from the attached binlog from https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2010200)
@dotnet-actwx-bot @dotnet/compat
The text was updated successfully, but these errors were encountered: