excubo-ag / WebCompiler

Apache License 2.0
148 stars 29 forks source link

Compile Error for a "Microsoft.NET.Sdk.BlazorWebAssembly" Applikation #77

Closed DominikErnst closed 9 months ago

DominikErnst commented 9 months ago

Compile Error for a "Microsoft.NET.Sdk.BlazorWebAssembly" Applikation in .Net 7.

Package 'Excubo.WebCompiler 3.5.78' has a package type 'DotnetTool' that is not supported by project 'src\Frontend\???.App'. NU1202 Package Excubo.WebCompiler 3.5.78 is not compatible with net7.0 (.NETCoreApp,Version=v7.0). Package Excubo.WebCompiler 3.5.78 supports:

U1212 Invalid project-package combination for Excubo.WebCompiler 3.5.78. DotnetToolReference project style can only contain references of the DotnetTool type

stefanloerwald commented 9 months ago

Sounds like you're not installing the tool as a dotnet tool, but that you're trying to install it as a dependency instead. That's not possible and you can read about it at the top of the Readme