-
Notifications
You must be signed in to change notification settings - Fork 677
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
VS Code doesn't create tasks/launch.json for projects published from VS Docker Tools #336
Comments
Are you opening the directory that actually contains the project.json? Or are you opening a directory that contains a |
@chuckries is 100% correct |
I'm opening WebApplication1\src\WebApplication1 folder where project.json contains project.json. What is the workspace root when I create a template project? |
|
Apparently this only reproduces on docker scenarios. Following are my repro steps |
Does docker alter the project.json at all? |
Step (4) is the key. after deleting that VSCode can produce launch.json and tasks.json. |
@DustinCampbell do we think the problem is that OmniSharp should be ignoring project.json's in the 'bin' directory? Or will the experience be good enough once #310 is fixed? |
#310 will certainly alleviate the problem. It might not be perfect though. |
@NCarlsonMSFT @SteveLasker is it a requirement that the Docker tools extension copies the project.json file into bin? |
@gregg-miskelly The project.json in bin is the project.json for clrdbg that is pulled in by GetClrDbg.ps1. It is not a copy of the app's project.json. @rajkumar42 please correct me if I'm wrong. |
I see. Maybe we can delete the file when we are done restoring? |
Is that something you can take care of in the GetClrDbg scripts? Or do you need us to try and clean up in the scaffolded script from VS. If the later how can we determine what in the InstallPath folder is safe to delete? |
I can modify GetClrDbg.sh to delete its project.json after successful install if we think that is best. |
I also considered doing it this way originally: the script could generate project.json/nuget.config somewhere under %TEMPDIR% and publish to the correct output directory. |
This is being fixed with microsoft/MIEngine#332 |
VSCode does not create tasks.json and launch.json files. The project could not be built or launched.
The text was updated successfully, but these errors were encountered: