Skip to content
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

No instances of MSBuild could be detected #933

Closed
ep0x opened this issue Jun 2, 2022 · 5 comments
Closed

No instances of MSBuild could be detected #933

ep0x opened this issue Jun 2, 2022 · 5 comments

Comments

@ep0x
Copy link

ep0x commented Jun 2, 2022

Usage Information

Nuke Version: v6.0.3 / Dotnet Version: 6.0.301 / Operation System : Mac Os Monyerey 12.4, M1 (CPU)

Description

When i try to init setup in solution folder of i got this problem. I did try different solutions and project but result is same.

Reproduction Steps

Type command nuke :setup in your terminal on mac os with m1 cpu

output from terminal:

NUKE Global Tool version 6.0.3 (OSX,.NETCoreApp,Version=v3.1)
No instances of MSBuild could be detected.
Try calling RegisterInstance or RegisterMSBuildPath to manually register one.

Expected Behavior

Should init Nuke without problem.

Actual Behavior

Throwing error in terminal :
No instances of MSBuild could be detected.
Try calling RegisterInstance or RegisterMSBuildPath to manually register one.

Regression?

No response

Known Workarounds

For now i didn't find any workaround.

@ep0x ep0x added the bug 🪲 label Jun 2, 2022
@ep0x
Copy link
Author

ep0x commented Jun 2, 2022

Maybe this is the case? microsoft/MSBuildLocator#153

@matkoch
Copy link
Member

matkoch commented Jun 2, 2022

would you be able to test a couple of private builds that i send you? and maybe chat besides so we can get it done more quickly? slakc would be good

@ep0x
Copy link
Author

ep0x commented Jun 2, 2022

Sure, ill be available after 21:00h UTC+2 time

@matkoch
Copy link
Member

matkoch commented Jun 2, 2022

ping me next week plz

@ep0x
Copy link
Author

ep0x commented Jun 3, 2022

I can confirm your working solution @matkoch, in commit [c4a17d4] i already tested ur fix.
Works normally without complaining about "No instances of MSBuild".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants