C
C#17mo ago
georgemcsteel

❔ Visual Studio not producing templates?

Hey everyone, I'm attempting to teach myself C# via this website " https://www.w3schools.com/cs/cs_getstarted.php " (Link included since I'm following the steps listed in it) One of the steps states that you must install the " Console App (.NET Core) ". Yet, I don't see any option to do that. When I click the link to install more tools and features it just re-directs me to the Visual Studios installer for more languages. I saw on the VS website forums post that Microsoft says to just install the .Net SDK from the individual components tab (The Microsoft employee never specified which SDK so I have 4.8 and 4.8.1 installed) but that a patch should be coming "soon". Does anyone know a workaround?
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
15 Replies
Scottek utek
Scottek utek17mo ago
Then click on the "Install more tools and features" button:
Scottek utek
Scottek utek17mo ago
You mean this? yeah, is's kinda stupidly described, they mean you just intall .net desktop development and then just select ConsoleApp from list on Create a new project tab
Scottek utek
Scottek utek17mo ago
Scottek utek
Scottek utek17mo ago
Like this
ACiDCA7
ACiDCA717mo ago
when you installed VS did you select the .net desktop workload? you can open the visual studio installer -> change to add/remove workloads
georgemcsteel
georgemcsteel17mo ago
Pics included to reference. I already have the .NET desktop development installed. When I click on "create a new project" I'm brought to Pic 1. I don't see any dropdowns for templates and when I search for console app in the search bar nothing appears. When I click install more toold and features I'm brought to pic 2. I'm not entirely sure if I'm overlooking something insanely simple or what 😅 😅
georgemcsteel
georgemcsteel17mo ago
Yup
Accord
Accord17mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
georgemcsteel
georgemcsteel17mo ago
No
SpicyCatGames
SpicyCatGames17mo ago
Do you have dotnet core sdk installed?
georgemcsteel
georgemcsteel17mo ago
I'm not seeing what you typed in the sidebar. I don't think I have it installed? Maybe I'm looking in the wrong location though
SpicyCatGames
SpicyCatGames17mo ago
Go to the individual components tab from top, choose .net 6 or 7
MODiX
MODiX17mo ago
When creating a new project, prefer using .NET over .NET Framework, unless you have a very specific reason to be using .NET Framework. .NET Framework is now legacy code and only get security fix updates, it no longer gets new features and is not recommended. https://cdn.discordapp.com/attachments/569261465463160900/899381236617855016/unknown.png
Accord
Accord17mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
❔ Confusing ClientWebSocket.ReceiveAsync() behaviorPicture the following class: ```cs private ClientWebSocket _ws = new(); private Memory<byte> _buffe❔ Better way to do this random password generation programThis program generates a random password then removes duplicates and excludes some chars. I need sug✅ Validation Error with Discord.Addons.HostingI'm trying to use Discord.Addons.Hosting, but it throws an OptionsValidationException . My main look❔ Need help with zooming a user control.I want to zoom a control based on the current cursor location. I have attached two files: In Form2✅ stateful versus stateless methods?Could someone please give me a simple example of these 2 methods as I don't really get what they do❔ IL weaving with Mono.Cecil in Unity isn't affecting Unity's assembly.Hello, I wrote a simple program that finds methods decorated with an [Rpc] attributes, which works a❔ can't access anonymous object properties by namein this https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/types/anonymous-types the first❔ Which should I use for windows application net framework 4.8 or net 5.0I currently need to use a tool called WinAPIDriver it supports currently pre release 5.0 net core an❔ Streams BinaryData Base64 differencesMay I ask the difference between BinaryData, Base64, Stream? Stream is an abstraction for stream lik❔ Update of runtime and restarting application (Windows service)There seems to be some issue for us when the runtime updates. We dynamically load some libraries and