38 ms·
Looks like the default VS Online dotnet sdk is set to LTS[1] which breaks my ASP.NET Core 3.0 project in an interesting way. The initial startup Oryx build succ
by gmaster1440 7y ago
Looks like the default VS Online dotnet sdk is set to LTS[1] which breaks my ASP.NET Core 3.0 project in an interesting way. The initial startup Oryx build succeeds[2] but the Omnisharp dotnet restore command fails[3].
[1] In ~/.bashrc: PATH=$PATH:/opt/oryx:/opt/nodejs/lts/bin:/opt/dotnet/sdks/lts
[2]
```
Source directory : /home/vsonline/workspace
Using .NET Core SDK Version: 3.0.100
Restoring packages...
Welcome to .NET Core 3.0!
```
[3]
```
/opt/dotnet/sdks/2.1.802/sdk/2.1.802/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(137,5): error NETSDK1045: The current .NET SDK does not support targeting .NET Core 3.0. Either target .NET Core 2.1 or lower, or use a version of the .NET SDK that supports .NET Core 3.0
```