WebCompiler icon indicating copy to clipboard operation
WebCompiler copied to clipboard

Error when running against .Net Core 6.0.6

Open ifflanb opened this issue 2 years ago • 2 comments

I am trying to run this on an AWS Ubuntu Code Build server that has a maximum available .net version of 6.0.6.

I am getting the following error:

The framework 'Microsoft.AspNetCore.App', version '6.0.7' (x64) was not found.

133 | - The following frameworks were found: 134 | 6.0.6 at [/root/.dotnet/shared/Microsoft.AspNetCore.App] 135 |   136 | You can resolve the problem by installing the specified framework and/or SDK. 137 |   138 | The specified framework can be found at: 139 | - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=6.0.7&arch=x64&rid=ubuntu.22.04-x64 140 |   141 | [Container] 2022/07/27 05:21:21 Command did not exit successfully dotnet run tool webcompiler -r wwroot --project ./Source/IntelligenceReporting.WebApp/IntelligenceReporting.WebApp.csproj exit status 150

ifflanb avatar Jul 27 '22 05:07 ifflanb

Does the tool rely on 6.0.7?

ifflanb avatar Jul 27 '22 06:07 ifflanb

Hi @ifflanb,

To the best of my knowledge, there's no direct dependency on a particular net6.0 version, but it might be due to one of the packages this tool depends on. You can try using a slightly older version of the tool and see whether that works. There's not much changing in the minor releases other than bringing dependencies up-to-date, so there's little risk in going back.

Hope that helps Stefan

stefanloerwald avatar Jul 27 '22 09:07 stefanloerwald