You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Visual Studio apparently tries to load GenAPI into its .NET Framework-based (?) MSBuild process:
3>W:\Projects\wpf-math\src\WpfMath.ApiTest\WpfMath.ApiTest.csproj(38,9): error MSB4062: The "Microsoft.DotNet.GenAPI.GenAPITask" task could not be loaded from the assembly C:\Users\fried\.nuget\packages\microsoft.dotnet.genapi\7.0.0-beta.23060.4\build\\..\tools\net472\Microsoft.DotNet.GenAPI.exe. Could not load file or assembly 'file:///C:\Users\fried\.nuget\packages\microsoft.dotnet.genapi\7.0.0-beta.23060.4\tools\net472\Microsoft.DotNet.GenAPI.exe' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
For now, I have no idea how to fix this. GenAPI is a Microsoft-produced task, how come it's broken in VS?
The text was updated successfully, but these errors were encountered:
which doesn't even exist. Changing this to .dll makes the build work again.
Also combined with the build being slightly weird in Visual Studio (e.g. the Lc task also exists for .NET, even though it shouldn't – but only when building in VS). And yes, the check for .NET Core vs. Framework in the build target then assumes .NET Framework.
Visual Studio apparently tries to load
GenAPI
into its .NET Framework-based (?) MSBuild process:For now, I have no idea how to fix this.
GenAPI
is a Microsoft-produced task, how come it's broken in VS?The text was updated successfully, but these errors were encountered: