Canvas
Canvas copied to clipboard
Building failed by `Error CS8034: Unable to load Analyzer assembly`
Dev environment:
Mac OS 10.14.6 VsCode 1.45.1
Reproduce:
dotnet clean
dotnet build
Expect:
Build success
Result
Build failed. Get error:
CSC : error CS8034: Unable to load Analyzer assembly /Users/forrrest/.nuget/packages/microsoft.aspnetcore.components.analyzers/3.1.0-preview1.19508.20/analyzers/dotnet/cs/Microsoft.AspNetCore.Components.Analyzers.dll : Assembly with same name is already loaded [/Users/forrrest/projects/BlazorCanvas/test/Blazor.Extensions.Canvas.Test.ServerSide/Blazor.Extensions.Canvas.Test.ServerSide.csproj]
0 Warning(s)
1 Error(s)
Tried another build tool
Build success by Virtual Studio Mac
Walk around and reference:
https://github.com/dotnet/aspnetcore/issues/18563
Add followings in Directory.Build.propos:
<PropertyGroup>
<DisableImplicitComponentsAnalyzers>true</DisableImplicitComponentsAnalyzers>
</PropertyGroup>
Different from the above referenced issue, it is not a warning but a build error on my side.
As a starter of dot net I am not sure if it is a bug of dot net sdk or a bug of this project. Hopefully this issue could be a refernce to other user who encounter this error. Appreciated it if some one could adivce me alternative solution. any update to fix, or documentation which could help me understand more details of it.
Are there any news on this one?
Also no response?
Another new user. Same error trying to learn VB 2019. Unable to see debug work on a simple app such as tutorial MyApp.
Maybe a picture is worth a thousand words