excubo-ag / WebCompiler

Apache License 2.0
148 stars 29 forks source link

Linux Build Server and net SDK 7 rc2 #67

Closed mikes-gh closed 1 year ago

mikes-gh commented 1 year ago

Whats the best way to get webcompiler working with net7

Tool 'excubo.webcompiler' (version '2.7.12') was restored. Available commands: webcompiler

  Restore was successful.
  You must install or update .NET to run this application.

  App: /home/runner/.nuget/packages/excubo.webcompiler/2.7.12/tools/net6.0/any/Excubo.WebCompiler.dll
  Architecture: x64
  Framework: 'Microsoft.NETCore.App', version '6.0.0-preview.5.21301.5' (x64)
  .NET location: /home/runner/.dotnet/

  The following frameworks were found:
    7.0.0-rc.2.224[72](https://github.com/MudBlazor/MudBlazor/actions/runs/3290409662/jobs/5423286934#step:7:73).3 at [/home/runner/.dotnet/shared/Microsoft.NETCore.App]

  Learn about framework resolution:
  https://aka.ms/dotnet/app-launch-failed

  To install missing framework, download:
  https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=6.0.0-preview.5.21301.5&arch=x64&rid=ubuntu.20.04-x64
/home/runner/work/MudBlazor/MudBlazor/src/MudBlazor/MudBlazor.csproj(83,5): error MSB30[73](https://github.com/MudBlazor/MudBlazor/actions/runs/3290409662/jobs/5423286934#step:7:74): The command "dotnet webcompiler ./Styles/MudBlazor.scss -c excubowebcompiler.json" exited with code 150.
/home/runner/work/MudBlazor/MudBlazor/src/MudBlazor/MudBlazor.csproj([83](https://github.com/MudBlazor/MudBlazor/actions/runs/3290409662/jobs/5423286934#step:7:84),5): error MSB3073: The command "dotnet webcompiler ./Styles/MudBlazor.scss -c excubowebcompiler.json" exited with code 150. [/home/runner/work/MudBlazor/MudBlazor/src/MudBlazor.Docs/MudBlazor.Docs.csproj]

  The build failed. Fix the build errors and run again.
mikes-gh commented 1 year ago

Maybe its as easy as adding net7.0 to target frameworks?

stefanloerwald commented 1 year ago

Hi @mikes-gh,

That should suffice, yes. Could you please create a PR?

Thanks Stefan