Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Build failing with error MSB4062 (gets fixed with cache clean) #417
Actual behavior: Build output:
E:\repos\winforms.dotnet\sdk\3.0.100-preview-010024\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.targets(127,5): error MSB4062: The "CheckIfPackageReferenceShouldBeFrameworkReference" task could not be loaded from the assembly E:\repos\winforms.dotnet\sdk\3.0.100-preview-010024
Expected behavior: Build is successful.
It got fixed after these caches cleaned:
I have no idea about this specific issue, but note that buildtools was never incremental with respect to the build tools, and I assume this did not change in the move to arcade tools. In other words, if your build pulls down updated tools, there is always a chance you need to do