-
Notifications
You must be signed in to change notification settings - Fork 684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Could not locate .NET Core project. Assets were not generated." #1425
Comments
@Jonathan34: C# for VS Code doesn't provide |
Also, the "Could not locate .NET Core project. Assets were not generated." is produced by C# for VS Code, but it doesn't have anything to do with It might be helpful if you could provide a project with precise steps that reproduce the issue. Thanks! |
Yes, it is a bit annoying that it makes you pick projects. It in fact does just do a "Generate Assets for Build and Debug" simply generates a build task in a tasks.json file (if one doesn't already exist) and debug configurations in a launch.json file (if one doesn't already exist). If these are already there, you won't get a prompt and the command won't do anything. The point of the command is to generate the assets if you've clicked "Don't Ask Again" on the prompt for this project. |
yes i use dotnet restore right now from terminal. we can close this ticket except if we want to improve the experience on restore with .sln. |
How about I just repurpose this to track improving the experience? |
Actually, nevermind. I had forgotten that I already have an issue tracking this: #240. |
Environment data
dotnet --info
output:VS Code version:
C# Extension version:
C# 1.9.0
Steps to reproduce
sometimes .net restore only finds the .net standard project (depending the active tab i guess?)
Expected behavior
.net restore acts the same as
dotnet restore
when ran in main folder (reads the sln)Actual behavior
Could not locate .NET Core project. Assets were not generated.
The text was updated successfully, but these errors were encountered: