-
Notifications
You must be signed in to change notification settings - Fork 685
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
Paths to included files gets messed up in MVC #1083
Comments
Hmmm... is this a working directory issue? cc @gregg-miskelly |
@JerkerPihl this sounds like a dupe of #799. If so, this isn't a bug in the extension but rather some combination of by design/a documentation issue with the template. Either way, if this is the same issue -- run |
Tried bower.. was installed but wanted to updated. Updated didnt help |
I had to update the cwd property in the launch.json file so my config file (/src/web/appsettings.json) could be found when debugging. |
@davidsk @sayedihashimi does this sound like a bug with the 'yo aspnet' generator? Or with the default launch.json that we generate, or neither and just something that we document? |
The default launch.json sets the cwd to ${workspaceRoot} which I imagine is fine when running a HelloWorld console app but not when nesting your projects in folders e.g src/web. I suppose it should be documented, not sure there's anything else that can be done. My launch.json was created by the extension, not yeoman. |
@davidsk In that case, I think we could fix the launch.json generation code to default cwd to the workspace-relative directory of the project. (ex: ${workspaceRoot}/src/web). |
If you can determine the correct path then I'm sure that'd save some confusion. |
From @JerkerPihl on December 21, 2016 22:58
Steps to Reproduce:
Copied from original issue: microsoft/vscode#17704
The text was updated successfully, but these errors were encountered: