-
Notifications
You must be signed in to change notification settings - Fork 86
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
System.InvalidOperationException: No instances of MSBuild could be detected #245
Comments
Which versions of .NET SDK are installed? |
.NET 8.
|
More information...
My local machine environment where I test different versions:
|
I am making progress after some debugging and test:
|
Now I am seeing following errors on one of our build machines:
|
I could at least solve the "Preset not supported" error by going back all the way to version 0.1.70. I just jumped back 10 version at a time until the error went away, so I have no idea on which version the error was introduced, and I don't frankly care, I just care about the .deb package. Edit: Celebrated too early, turns out that the package has unmet dependencies. But it doesn't say which. |
Try completely uninstall .NET and .NET SDK with everything, purge all its configuration files and registry entries, and then install back (also complete OS reinstall may be useful, if there is something broken by a buggy update previously installed). I'm using latest dotnet-packaging, and all is working on all machines where I'm doing my development process. Seems that this is .NET SDK-caused error, so, the old well default tip for every Microsoft product may be useful.
It is bug of older versions of dotnet-packaging, which are producing packages for now obsolete versions of distributions. Every Linux distro update the |
I am getting the following error when running "dotnet rpm" command:
What does that mean and how do I get around it? Thanks in advance for any suggestion.
I am on dotnet-rpm version 0.1.220.
The text was updated successfully, but these errors were encountered: