Questions tagged [dotnet-sdk]

81 questions
0
votes
1 answer

C# compiler option ErrorLog how to use project name or assmeblyname as log file name in msbuild or dotnet cli

There is option in c# compiler for getting code analysis log using errorlog option, refer https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/errors-warnings if we give just string it works but $(ProjectName) or…
Ramesh
  • 438
  • 4
  • 13
0
votes
0 answers

Where does runtimeconfig.json take includedFrameworks's version setting from?

I am investigating why my deployed dotnet core worker service app's runtimeconfig.json's includedFrameworks's version setting has changed from 3.1.31 to 3.1.32 for both Microsoft.NETCore.App and Microsoft.AspNetCore.App entries. What are the factors…
Veverke
  • 9,208
  • 4
  • 51
  • 95
0
votes
1 answer

Xamarin The project file cannot be opened. .NET SDK MSBulld global.json

I have an old cross platform Xamarin Solution which has the problem when i try to load the cross platform project in VS19: The project file cannot be opened. Version 7.0.304 of the .NET SDK requires at least version 17.4.0 of MSBuild. The current…
nvbnvb
  • 76
  • 5
0
votes
1 answer

sqlpackage .NET location not found

I'm trying to get sqlpackage to work on a build server (works fine in local dev environment), but keep getting the below output when trying to run it: You must install .NET to run this application. App:…
JTDotNet
  • 65
  • 11
0
votes
0 answers

Error after trying build Android test app

Severity Code Description Project File Line Suppression State Error The imported project "D:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Sdks\Microsoft.NET.Sdk\Sdk\Sdk.props" was not found. Confirm that the…
0
votes
0 answers

How to solve the error NETSDK1099 C# in vscode

Hi I have tried to publish my c# project which have the following structure C:\C-SHARP-PROJECTS | |--ProjectA | |--.vscode | |--ProjectA.sln | |--Libraries | | |-- ConsoleMsgHelper.cs | | |-- RenamerHelper.cs | | |--…
grkikes
  • 29
  • 5
0
votes
1 answer

cyclonedx-dotnet Could not execute because the specified command or file was not found

I am trying to generate an SBOM in a Azure Devops CI pipeline using a powershell task when the build agent is set to an VMSS agent. I cannot seem to run the dotnet cyclonedx command, after it has been installed using dotnet tool install --global…
0
votes
1 answer

What's the difference between the Net SDK release patch

When you go to download https://dotnet.microsoft.com/en-us/download/dotnet/6.0 the latest version of the Net SDK (for example 6.0.14) you get the option to download 6.0.406, 6.0.309, and 6.0.114. According to How the .Net Runtime SDK is versioned…
RedX
  • 14,749
  • 1
  • 53
  • 76
0
votes
0 answers

Is it possible to run one project after building another?

I want to patch dependency assemblies of my project. In solution I created PatcherProject and MainProject. Is it possible run PatcherProject after MainProject build process finished?
crashtua
  • 472
  • 2
  • 14
0
votes
1 answer

DynamoDB Conversion Schema V2

I read the little documentation that exists about the DynamoDB Conversion Schema for DotNet SDK. The V2 is now available and adds some new types and changes some type conversions. Can anybody state if the V2 Schema is backwards compatible? That is,…
Gogu CelMare
  • 699
  • 6
  • 15
0
votes
1 answer

Migrating to .NET6: Microsoft.NETCore.App.Host.win-x64 not found on TC machine

Background I want to migrate my repository form .NET5 to .NET6. As there are many projects, the plan is to do it in multiple steps. So it's an intended intermediate step to have some of the projects targeting .NET5 while some other set to .NET6. I…
LA.27
  • 1,888
  • 19
  • 35
0
votes
1 answer

How many compilers .NET Framework/Core SDK does contain?

I have read a lot of articles about difference between .NET SDK and .NET Runtime, but I still don't understand what parts of .NET SDK contain compilers. I know that .NET SDK contains: CLR (with JIT compiler) Class libraries (BCL, FLC,…
Joseph Katzman
  • 1,959
  • 6
  • 21
  • 47
0
votes
1 answer

Build / project type - Microsoft.NET.Sdk

Using try-convert on projects to the new project type/build system [Microsoft.NET.Sdk]. But I am getting issues with how it resolves dependencies i.e. we still have a few places referencing the old WPF toolkit & it has namespace collision with the…
llarsson
  • 33
  • 7
0
votes
1 answer

Dockerfile dotnet/sdk/5.0 Error - container_linux.go:380: starting container process caused: exec: "cmd": executable file not found in $PATH

DockerFile with dotnet/sdk/5 says no cmd executable in $PATH whereas with /dotnet/framework/sdk:4.8 , it works fine Our dockerfile has .net framework 4.8 (mcr.microsoft.com/dotnet/framework/sdk:4.8) and also installs VS build tools. This works…
Lakshmi
  • 81
  • 1
  • 1
  • 4
0
votes
1 answer

Dotnet CLI webapi Project Build Failure - Error MSB3021

Machine: Windows 10. SDK: 5.0.401 Project Type: webapi Issue: Running dotnet build produces the following... Things I've already tried: resmon.exe => to look for either the apphost.exe handle or the API.exe handle. None found. Reinstalled VS…