✅ App building problem
I am new to that stuff and asked Gemini for help. But a few steps further there the problem came:
Gemini said to install dotnet from https://dotnet.microsoft.com/download/dotnet/8.0 and then opened a new Folder for the App and Gemini said to open that folder in VS Code and write in the Terminal that Code:
dotnet new wpf -n AppNameOfFolder
That command didn't work, it should make WPF-Projekt and the folder should contain these:
MainWindow.xaml, AppNameOfFolder.csproj
Spoiler they didn't, so what should I do?
Microsoft
Download .NET 8.0 (Linux, macOS, and Windows) | .NET
.NET 8.0 downloads for Linux, macOS, and Windows. .NET is a free, cross-platform, open-source developer platform for building many different types of applications.
35 Replies
Right, so, AI garbage strikes again.
First of all, .NET 9 is latest
Need more info though:
* Did you install the runtime or the SDK?
* What OS are you using?
* What error did you get from
dotnet new
?I am on Windows and got that message:
The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application 'new' does not exist.
* You intended to execute a .NET SDK command:
No .NET SDKs were found.
Download a .NET SDK:
https://aka.ms/dotnet-download
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
Microsoft
Browse all .NET versions to download | .NET
Official .NET downloads for Linux, macOS, and Windows. .NET is a free, cross-platform, open-source developer platform for building many different types of applications.
Select which .NET version to use - .NET
Learn how .NET automatically finds and chooses runtime versions for your program. Additionally, this article teaches you how to force a specific version.
i'll try the 9th version
Same answer
should the .NET SDK be in the folder, where the App is?
Seems like you got the runtime, not the SDK?
See what
dotnet info
and dotnet --list-sdks
showwheres that?
In whatever console
Like the
dotnet new
that you didboth read answers, it seas that i wrote it wrong, i didnt
+ dodnet --list.sdks
+ ~~
+ CategoryInfo : ObjectNotFound: (dodnet:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
dotnet
Not dodnet
The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application 'info' does not exist.
* You intended to execute a .NET SDK command:
No .NET SDKs were found.
Download a .NET SDK:
https: //aka.ms/dotnet-download
Learn about SDK resolution:
https: //aka.ms/dotnet/sdk-not-found
same there
Also,
--list-sdks
Not --list.sdks
dotnet --list-sdks
And dotnet info
Just copy those commands from here--list-sdks
The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application '--list.sdks' does not exist.
* You intended to execute a .NET SDK command:
No .NET SDKs were found.
Download a .NET SDK:
https:/ /aka.ms/dotnet-download
Learn about SDK resolution:
https:/ /aka.ms/dotnet/sdk-not-found

should the installer be in the App folder?
Seems you typed
dotnet --list.sdks
againwith dotnet --list-sdks is no responce
.NET SDK is installed globally, it doesn't need to have any bits of it in the app folder
Okay, and
dotnet info
?says that 'info' does not exxist
and .NET SDK commands wasnt found
Right... How did you install the SDK, exactly? Which link did you click to download it?
Maybe a stupid question, but did you run the downloaded installer?
yeah
https://dotnet.microsoft.com/en-us/download/dotnet/9.0 with that link 9.0.7 the SDK 9.0.303 the Windows x86 Version
Microsoft
Download .NET 9.0 (Linux, macOS, and Windows) | .NET
.NET 9.0 downloads for Linux, macOS, and Windows. .NET is a free, cross-platform, open-source developer platform for building many different types of applications.
Why x86?
dont know
Are you using a 32-bit OS, somehow, in the year of our lord 2025?
Right. Uninstall any 32-bit SDKs you installed first
i dont know. just Windows 10 Pro
The, install the 64-bit one
Yeah, regular user-facing OSes don't really come in 32 bits anymore
So it's safe to say you should uninstall the 32-bit SDKs and install the 64-bit one
ok
So, in Settings in the System Info says 64-Bit-System, x64-based processor
Now with Version 9.0.303 it answered with: Welcome to .NET 9.0? ....
it didä

Nice
finally i can do the App, but with no expierince at all.
$helloworld
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
* Open
powershell
in a terminal in admin mode as in the following video:
https://cdn.discordapp.com/attachments/569261465463160900/1157744344183341156/20230930-1822-10.7436061.mp4
* copy/paste the following script:
in case of an invalid setup detected, it will:
* tell you that it did (or not) detected an invalid Path
setup
* in case some action are require it will ask you to Press Enter to confirm
x86 SDKs have been removed, x64 installed, not a path issue anymore
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View