.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,230 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have an app that compiles the full suite of my projects using MSBuild and since updating to 17.12.6 and net9, any project referencing an SDK (custom or Microsoft.Net.Sdk) is failing with the error
The SDK resolver assembly "C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\Microsoft.DotNet.MSBuildSdkResolver.dll" could not be loaded
Here's a snippet of the code I'm trying to execute:
try
{
var options = new ProjectOptions()
{
GlobalProperties = new Dictionary<string, string>()
{
{ "SolutionPath", slnPath },
{ "SolutionName", slnName }
}
};
var defaultProject = Project.FromFile(projectPath.Value, options);
}