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
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
oh boy did i ,gitignore it?
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 ityeah thats what i just did
Yes, apparently you ignored both project and solution files
For future reference,
dotnet new gitignore
creates a .gitignore
catered to .NET projectsThis is so helpful thanks