C
C#6mo ago
Stocking

✅ 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
Anton6mo ago
show the file tree
Stocking
StockingOP6mo ago
No description
Stocking
StockingOP6mo 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
Anton6mo 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
Anton6mo 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 User6mo ago
Message Not Public
Sign In & Join Server To View
Stocking
StockingOP6mo ago
like file's contents?
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
Stocking
StockingOP6mo ago
like xml file?
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX6mo 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!
Stocking
StockingOP6mo 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 User6mo ago
Message Not Public
Sign In & Join Server To View
Stocking
StockingOP6mo ago
{
"dotnet.defaultSolution": "ConsoleApp1.sln"
}
{
"dotnet.defaultSolution": "ConsoleApp1.sln"
}
also it works now for some reason
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
Stocking
StockingOP6mo ago
No description
Stocking
StockingOP6mo ago
nope
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
Stocking
StockingOP6mo ago
yes and i have no idea why
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
Stocking
StockingOP6mo ago
no
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
Stocking
StockingOP6mo ago
okay
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server