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
Fail to load the project successfully with errors about "[MSBuild]::StableStringHash..."
[error] (C:\Users\v-wakang\BlazorServer\BlazorServer.csproj): The expression "[MSBuild]::StableStringHash(BlazorServer.csproj)" cannot be evaluated. Could not load type 'Microsoft.NET.StringTools.FowlerNollVo1aHash' from assembly 'Microsoft.NET.StringTools, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[error] Failed to load project 'C:\Users\v-wakang\BlazorServer\BlazorServer.csproj'. One or more errors occurred. (The expression "[MSBuild]::StableStringHash(BlazorServer.csproj)" cannot be evaluated. Could not load type 'Microsoft.NET.StringTools.FowlerNollVo1aHash' from assembly 'Microsoft.NET.StringTools, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. C:\Program Files\dotnet\sdk\9.0.100-preview.2.24120.18\Microsoft.Common.CurrentVersion.targets)
Reason
Issue is caused by incompatible version of MSBuild binaries being loaded byt the C# Dev Kit prerelease version 1.3.10. More details: dotnet/msbuild#9765
The issue was fixed in the C# Dev Kit 1.4.2 and above.
The text was updated successfully, but these errors were encountered:
No action expected here.
This issue is just for documentation purposes (as discussed with @webreidi) - in case there would still be users on 1.3 versions, searching the web for advise on this problem.
Remedy
Upgrade to C# Dev Kit 1.4.x (any) and above
Issue Description
Fail to load the project successfully with errors about "[MSBuild]::StableStringHash..."
![image](https://private-user-images.githubusercontent.com/108645282/306524233-5d659842-7151-4a8b-ae8c-53629e3afc07.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzQ4NDY0NDAsIm5iZiI6MTczNDg0NjE0MCwicGF0aCI6Ii8xMDg2NDUyODIvMzA2NTI0MjMzLTVkNjU5ODQyLTcxNTEtNGE4Yi1hZThjLTUzNjI5ZTNhZmMwNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMjIyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTIyMlQwNTQyMjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yYzdkODUzMTIwODI1NDUzMWE2MjFhY2UwMTRhYmQ3M2E0OWRkMTAwNTk0NGVmNGIxNjM4YzU4NzA5YzQ3Mjg0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.7zylwl-4LXs3asME9QM_T3M3fPk8OZSXuiWfpEZbClg)
Reason
Issue is caused by incompatible version of MSBuild binaries being loaded byt the C# Dev Kit prerelease version 1.3.10. More details: dotnet/msbuild#9765
The issue was fixed in the C# Dev Kit 1.4.2 and above.
The text was updated successfully, but these errors were encountered: