C
C#4mo ago
Mathall

Cannot generate assets for debugging VSCode cloned repository

Hey all, was on my laptop and started a project in vscode, and uploaded it to github to finish on my PC when i got back home, however now that i'm home, I can clone the repository just fine, however when i go to debug it, it tells me I dont have debug assets, so i go to .NET generate assets for debug, but it tells me i do not have .NET core, and so I go to the terminal and run dotnet new console, but when I do that nothing changes, any help would be greatly appreciated heres the repository link, if thats needed: https://github.com/Mathall003/Minesweeper
GitHub
GitHub - Mathall003/Minesweeper
Contribute to Mathall003/Minesweeper development by creating an account on GitHub.
6 Replies
Angius
Angius4mo ago
Well, this "project" does not actually contain the project file, among others So you won't be able to run it, let alone debug it
Mathall
MathallOP4mo ago
oh boy did i ,gitignore it?
Angius
Angius4mo ago
Create a new, empty console project, copy the Board.cs file into it, and replace the Program.cs file with the one from the repo Then run it
Mathall
MathallOP4mo ago
yeah thats what i just did
Angius
Angius4mo ago
Yes, apparently you ignored both project and solution files For future reference, dotnet new gitignore creates a .gitignore catered to .NET projects
Mathall
MathallOP4mo ago
This is so helpful thanks
Want results from more Discord servers?
Add your server