Questions tagged [.net-sdk]
16 questions
5
votes
3 answers
Ubuntu .Net 7 Install Can't Find SDK
I am running Ubuntu 22.04 and trying to install .NET 7.0.5
I have tried multiple different methods of installing .NET 7, none of them seem to allow me to use the dotnet build or dotnet publish command.
It appears to be some kind of issue with Ubuntu…

Scottish Smile
- 455
- 7
- 22
3
votes
0 answers
Install of .net SDK not being recognized?
Check this:
I download the sdk from MS source, ran the SH script, it reports that the SDK is already installed, but then, no SDK listed, or dotnet tool available...
what am I missing?

Leonardo
- 10,737
- 10
- 62
- 155
2
votes
0 answers
How to fix VS2022 17.4.3 Bug "The current .NET SDK does not support targeting .NET 7.0."?
I've been trying to begin development with .Net 7.0 in Visual Studio 17.4.3 (the latest version) and the option .NET 7.0 is not in the framework selection in the IDE.
I've installed the .NET 7.0.101 SDK and verified it from the command…

MC9000
- 2,076
- 7
- 45
- 80
1
vote
0 answers
How to apply security updates for Microsoft .NET core (August 2023) to update Microsoft.netcore.app from 6.0.2 to 6.0.21
I have "Visual Studio Community 2022 Preview" - 17.2.0 Preview 1.0 version installed. The server also has "Microsoft .NET SDK 6.0.200 (x64) from Visual Studio" installed in control panel.
The Tenable has reported a security vulnerability "Apply…

GMN
- 13
- 6
1
vote
0 answers
Synchronous operations are disallowed. When adding HTML to Page file in Blazor Webapp
I have a very basic webapp made from the dotnet new blazor template. I added another file to Pages folder, called it Services.razor and the content is as follows
@page "/services"
Services
- 315
- 4
- 16

edgar_wideman
1
vote
0 answers
How to use Nuke.Build to install a .NET Sdk in GitHub Actions?
How to use Nuke.Build to install a .NET Sdk in GitHub Actions?
Basically, I try to use Nuke.Build to setup GitHub Actions to build and test a Blazor project. The project uses the .NET 8 preview SDK. So, I will need to install the new SDK…

Hieu Le
- 1,042
- 8
- 18
1
vote
1 answer
Is Microsoft Bot Framework Composer compatible with Dot Net 6.0 or Dot Net 7.0 SDK Installations?
I have installed Dot Net 6.0 & 7.0 SDK versions in my computer. I have also installed Bot Framework Composer 2.1.2. I just created an empty bot and started it for testing. But the build is always failing.
Error Message: You must install or update…

Kiran2405
- 11
- 2
1
vote
0 answers
How to create F# Console Application targeting .Net Framework 4.5.2. in Visual Studio 2019
Q: How to create F# Console Application targeting .NET Framework 4.5.2. in Visual Studio 2019? Is that even possible?
Selected F# + Windows + Console:
Selected .NET Framework 4.5.2.:
When then project gets created it has no target…

Daniel Dušek
- 13,683
- 5
- 36
- 51
0
votes
0 answers
Azure Pipeline .NET Core Build task uses higher MSBuild version than specified in global json SDK
I have used "Use .Net Core" task in azure to install SDK using below global json.
{
"sdk": {
"version": "6.0.410",
"rollForward": "disable",
"allowPrerelease": false
}
}
But after that in the next .Net Core - "Build" command pipeline task, while…
0
votes
0 answers
How to get test case execution of a test case with context of a Test Suite..?
How to get test case execution of a test case with context of a Test Suite..?? if the same test case is present in another test suite, I do not want it, its information is irrelevant to me.
I am using the code, but it is not behaved as expected.
I…

Jalees
- 23
- 5
0
votes
0 answers
Dotnet sdk coulndt found
I'm tring to set my bitbucket runner. I did my all settings on bitbucket and looks correct. The problem is my project. I can run and build my stuff without problem. But when I run my build script in the yaml file this error shows up.
Error…
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
0 answers
SN.EXE error Failed to install key pair -- Bad Version of provider
Recently I moved from Visual Studio Enterprise 2019 with .NET framework SDK 4.8 to VS2022 with .NET SDK 6.0. I'm no longer able to install *.snk becouse I'm getting an error:
*Microsoft (R) .NET Framework Strong Name Utility Version…

Jan01999
- 1
0
votes
2 answers
Solution builds fine in Visual Studio but remote build failing in Azure DevOps failing with 'Error MSB406'
My team recently migrated to .NET 6.0 and after adding one of our projects back to the solution it was found that while it is building and running locally in Visual Studio just fine, in our Azure DevOps pipeline it fails with the…

Someone455354
- 1
- 1
0
votes
1 answer
Dotnet tool Nuget pack not listing Dependencies
When I package a dotnet 6 app as a tool
that is, with the following project setting...
true
the list of dependencies is empty in the generated Nuspec (and so in the package)
I am not sure what the rationale for this is, but…

Sebastian Slutzky
- 382
- 1
- 5
- 22