-
Notifications
You must be signed in to change notification settings - Fork 76
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
Error MSB6006: "" exited with code 1. #267
Comments
Closed
Demo projects to reproduce the issue: |
The workaround is fine even for .NET 8 but, unlike csproj TargetFramework, you must add the minor version Not working
Working
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Attached are two demo projects. The first one (TestDotNetCore) compiles fine, however the second one (TestDotNetCoreWindows) fails with the following error:
The only difference in the two projects is that the first one targets net7.0, and the second targets net7.0-windows.
I've found that this issue is being caused by the
GetProperRtcliPath
method inReinforced.Typings.Integrate
, which does not remove the platform identifier, meaning it it looks forrtcli.exe
inC:\Users\Luke\.nuget\packages\reinforced.typings\1.6.2\tools\net7.0-windows\rtcli.dll
rather thanC:\Users\Luke\.nuget\packages\reinforced.typings\1.6.2\tools\net7.0\rtcli.dll
(where it is actually located)You can get around this by setting
<RtForceTargetFramework>net7.0</RtForceTargetFramework>
, or I've opened a PR which fixes this issue.The text was updated successfully, but these errors were encountered: