C
C#

help

Unable to resolve the .NET SDK version as specified

Llux9/26/2022
hi all, im trying to build an asp net project but got this message
Unable to resolve the .NET SDK version as specified in the global.json located at ...
Unable to resolve the .NET SDK version as specified in the global.json located at ...
i try to list down the net version in my system, i have the version 3.xx, 5.xx, and 6.xx and i checked the project require net 6.xx version, but why is it still giving me this error message? does anybody know why?
WWz9/26/2022
What's in the global.json
Llux9/26/2022
inside the global.json it's this version 6.0.302 and in my system it's 6.0.300, do i have to install the 6.0.4xx version? bcs i saw in the microsoft download page there's no 6.0.302 one..
Llux9/26/2022
WWz9/26/2022
304 is the latest https://dotnet.microsoft.com/en-us/download/dotnet/6.0 for the 300 band the global json is requiring 302 at minimum, I think the default allows patch increments or you can just change the entry in the json to 300
Llux9/26/2022
ohhh... that works!! thank you! 🙏

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
Is there a way to call generic methods through Type (from typeof or GetType) (without reflection)like T Create<T>(); Type a = typeof(xxx);Dotnet code generator web api questionI've been trying out the API code generator in visual studio/dotnet, and I had a question about someMessagePack erroringclient sending data ```cs var sendData = new SocketSendData(new InitialConnectionData(HeConverting id's to entitiesI have this kind of request: BookRequest( string name, string description, **ICollection<long> authoHow to deal with stack overflow error [Answered]So when doing some programming competitions, i often get stack overflow, when doing recursion and thwhat is wrong with this code?```using System.Collections; using System.Collections.Generic; using UnityEngine; public class UkkeShould you assert input arguments insWhy am I getting a null-reference error here? ```csharp namespace Joust_.Manager { public statASP.NET Core Web API that also controls hardware devices and interacts with a databaseHello, I'm currently creating an application that controls multiple hardware devices (they run on FTGetStreamAsync() Stream Always Null [Answered]I'm getting a URI from json on my computer and trying to download an image from it. Everything worksSocket Identification Help & Sending Bitmaps```cs private static void SendScreen() { MemoryStream ms = new MemoryStrCannot find Microsoft.Bcl.AsyncInterfacesGetting an error `Unhandled exception. System.IO.FileNotFoundException: Could not load file or assemCoding on the go?i've been thinking about getting some coding on my projects done during my free periods at school siAccess user claims + set attributes of called method in Global Query filterHello! I was wondering whether it is possible to access what API Controller & what method is called Type cannot be found (CS7069) [Answered]I'm getting an error `Reference to type 'ITypeRegistrar' claims it is defined in 'Spectre.Console', REST? DTOsI have two entities: Book, Author And two DTOs for both of them. I want to receive a BookDTO in my Write a method that finds the product of an array or set of numbers sent as a parameter and printsi can't wrote thisWPF cannot capture custom event using Microsoft.Xaml.Behaviors.Wpf (solved)Suppose i have a project that raise an event. When i click on a button, obviously "Click" event willHost custom control with handle in WPF or WinUI?Hi, I am just wondering if it is possible to have a control that is hosted inside of a WPF or WinUI DGV Filteringevening all ive got a DGV thats reading from a text file. ive setup a filter using a combo box andBeginner at C sharp, Having problems with ExponentiationSo it states do Math.Pow() but what do i do after that