C
C#9mo ago
naH_4oxa

✅ I'm new to csharp and I wanted to setup a new project and it says "unable to find the project"

here's the full message/error
No description
26 Replies
Anton
Anton9mo ago
show the file tree
naH_4oxa
naH_4oxaOP9mo ago
No description
naH_4oxa
naH_4oxaOP9mo ago
it's a default console app example
The Fog from Human Resources
Balls. For C# it's recommended to use Visual Studio instead of Visual Studio Code VSC is nothing compared to what VS gives you
Anton
Anton9mo ago
Show what's in ConsoleApp1.csproj You'll be fine with VS Code for most things
The Fog from Human Resources
the issue is that its not beginner friendly for this stuff
Anton
Anton9mo ago
imo configuration is one of the first things you should learn. At least some basics you'll struggle in VS just as well if you don't know the very basics what I mean is dotnet cli tool, csproj, sln and bin and obj directories
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
naH_4oxa
naH_4oxaOP9mo ago
like file's contents?
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
naH_4oxa
naH_4oxaOP9mo ago
like xml file?
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX9mo ago
If your code is too long, you can post to https://paste.mod.gg/, save, and copy the link into chat for others to see your shared code!
naH_4oxa
naH_4oxaOP9mo ago
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
naH_4oxa
naH_4oxaOP9mo ago
{
"dotnet.defaultSolution": "ConsoleApp1.sln"
}
{
"dotnet.defaultSolution": "ConsoleApp1.sln"
}
also it works now for some reason
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
naH_4oxa
naH_4oxaOP9mo ago
No description
naH_4oxa
naH_4oxaOP9mo ago
nope
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
naH_4oxa
naH_4oxaOP9mo ago
yes and i have no idea why
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
naH_4oxa
naH_4oxaOP9mo ago
no
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
naH_4oxa
naH_4oxaOP9mo ago
okay
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?