dotnet-sdk Questions

4

Solved

While building this open source C# project in AppVeyor, I get the error: CSC : error CS1617: Invalid option '10' for /langversion. Use '/langversion:?' to list supported values. See the build log...
Tarrsus asked 2/8, 2022 at 13:10

2

I've successfully installed the latest .NET SDK, but Windows doesn't recognize it. This is manifested by one of the following failures: dotnet --list-sdks doesn't include the latest .NET SDK. Wind...
Moureaux asked 11/4, 2021 at 19:37

6

I've had a solution with a large number of projects in that has built fine since we switched to .NET6 then suddenly I am getting for every project this warning in Visual studio, however it does not...
Rarotonga asked 4/4, 2022 at 12:45

2

I am in a slow process of moving to .NET5 but one of the steps before that was converting all our WinForms projects to NET-SDK Project format. This conversion has been completed, everything appears...
Harrietteharrigan asked 28/5, 2021 at 20:18

2

I follow these instructions to install dotnet on Ubuntu 20.04. Install the sdk Ubuntu 20.04 These instruction is at this time: wget https://packages.microsoft.com/config/ubuntu/20.04/packages-micro...
Autobiographical asked 24/2, 2023 at 13:56

3

Solved

I am finding a problem with Newtonsoft.Json library throwing a System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=3...
Mesoglea asked 1/10, 2021 at 15:54

6

Solved

I am getting an issue with installing the .NET SDK, at first when I went into visual studio 2019 it said that I was missing the dotnet runtime sdk so I installed it like it asked and restarted my c...
Breakup asked 4/9, 2020 at 19:10

1

Solved

I have an MVC 5 web project (referencing Microsoft.AspNet.Mvc (5.2.8) and Microsoft.AspNet.WebApi.WebHost (5.2.8)) and I would like to convert the project file to SDK style. I know this is not offi...
Dement asked 4/5, 2022 at 10:14

2

Solved

I recently installed Visual Studio 2022 preview. Today I was in a workshop and there was some feature that didn't work, and it turned out it was because I had the preview version of .NET 6 installe...
Beals asked 14/9, 2021 at 12:41

3

Solved

I am facing an issue with some sonarcloud warnings that will not be fixed in the nearest future (and should be disabled for now). The warnings are raised by sonarcloud during build on CI. There are...
Unbacked asked 31/7, 2020 at 11:38

0

I use Docker to build my .NET apps, using a base image provided by Microsoft (mcr.microsoft.com/dotnet/core/sdk:3.1). In addition to .NET Core SDK 3.1, I also need .NET Core SDK 2.2 inside the sam...
Reiff asked 31/3, 2020 at 8:53

2

Solved

I have a dotnet SDK .sln (and a build.proj) with <TargetFrameworks>netcoreapp2.1;net461</TargetFrameworks>. It builds on Windows using Visual Studio and dotnet build, but I'd also like ...
Isolate asked 6/8, 2019 at 18:29

1

Solved

I know Since the release of msbuild 15 (vs 2017) that NuGet is now fully integrated into MSBuild. I have a nuspec file with defining variables of package properties like: <metadata> <i...
Fussbudget asked 18/10, 2018 at 19:53
1

© 2022 - 2024 — McMap. All rights reserved.