Skip to content
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

Can't go to line with error from problems tab #1519

Closed
roblourens opened this issue May 26, 2017 · 4 comments
Closed

Can't go to line with error from problems tab #1519

roblourens opened this issue May 26, 2017 · 4 comments

Comments

@roblourens
Copy link

From @DavoBR on May 26, 2017 14:56

  • VSCode Version: Code 1.12.2 (19222cdc84ce72202478ba1cec5cb557b71163de, 2017-05-10T13:20:36.315Z)
  • OS Version: Windows_NT ia32 10.0.14393
  • Extensions:
Extension Author Version
html-snippets abusaidm 0.1.0
ng-template Angular 0.1.3
python donjayamanne 0.6.4
xml DotJoshJohnson 1.7.0
code-runner formulahendry 0.6.17
vscode-csproj lucasazzola 0.6.6
csharp ms-vscode 1.10.0
debugger-for-chrome msjsdiag 3.1.2
vscode-icons robertohuertasm 7.7.0

Steps to Reproduce:

  1. Go to Debug Tab
  2. Click Start Debugging Button
  3. Click at the error show it in problems tab
  4. Get error Unable to open file 'AccountController.cs': File not found (\Controllers\AccountController.cs)
  5. Click Create File

So the problem is that the file is created in C:\Controllers\AccountController.cs, but there is not my project folder and i cant go to error line by clicking the error in the problems tab.

2017-05-26_10-54-40

Copied from original issue: microsoft/vscode#27339

@bernardbr
Copy link

Hello @roblourens
Try to add this tag:

<PropertyGroup>
    <GenerateFullPaths>true</GenerateFullPaths>
</PropertyGroup>

to your .csproj

It was solved this problem for me!

@DavoBR
Copy link

DavoBR commented May 26, 2017

Thanks, its work.

@bernardbr
Copy link

Don't mention it!

@DustinCampbell
Copy link
Member

Thanks @bernardbr! This is a duplicate of #1197.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants