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

C# debugging output does not allow to click and jump into the error (Windows?) #1463

Closed
zeroskyx opened this issue May 7, 2017 · 1 comment

Comments

@zeroskyx
Copy link

zeroskyx commented May 7, 2017

Back in the project.json days, the debugging output allowed you to click onto errors/ warnings/ messages in the output dialog since messages contained: C:\Path\To\Project\And\File.cs(100,16)
At least on windows, csproj only displays relative paths that are not picked up by VSCode as links

Microsoft (R) Build Engine version 15.1.548.43366
Copyright (C) Microsoft Corporation. All rights reserved.

Implementations\SingleInstance\FiveRings\DataService.cs(179,42): error CS7036: There is no argument given that corresponds to the required formal parameter 'TechnologyExcitement' of 'MatrixDepartment.MatrixDepartment(Guid, Guid, Guid, string, string, double, double, double, double)' [c:\Project\Project.csproj]
Implementations\SingleInstance\FiveRings\DataService.cs(190,34): error CS7036: There is no argument given that corresponds to the required formal parameter 'TechnologyExcitementForUser' of 'MatrixPerson.MatrixPerson(Guid, Guid, Guid, string, string, double, double, double, double, ImmutableDictionary<Guid, double>, ImmutableDictionary<Guid, double>, ImmutableDictionary<Guid, double>, ImmutableDictionary<Guid, double>)' [c:\Project\Project.csproj]
Build FAILED.

Implementations\SingleInstance\FiveRings\DataService.cs(179,42): error CS7036: There is no argument given that corresponds to the required formal parameter 'TechnologyExcitement' of 'MatrixDepartment.MatrixDepartment(Guid, Guid, Guid, string, string, double, double, double, double)' [c:\Project\Project.csproj]
Implementations\SingleInstance\FiveRings\DataService.cs(190,34): error CS7036: There is no argument given that corresponds to the required formal parameter 'TechnologyExcitementForUser' of 'MatrixPerson.MatrixPerson(Guid, Guid, Guid, string, string, double, double, double, double, ImmutableDictionary<Guid, double>, ImmutableDictionary<Guid, double>, ImmutableDictionary<Guid, double>, ImmutableDictionary<Guid, double>)' [c:\Project\Project.csproj]
0 Warning(s)
2 Error(s)

The project file (c:\Project\Project.csproj) can be clicked which doesn't really help.
Are there plans to change this behavior back to the old pattern by
a) either prefixing the project path, or
b) making VSCode a bit smarter to pick up the paths as links on its own.

Keep up the amazing work!

Thanks in advance and best regards
-Simon

Environment data:
VSCode 1.12.1
.NET Command Line Tools (1.0.1)
Product Information:
Version: 1.0.1
Commit SHA-1 hash: 005db40cd1
Runtime Environment:
OS Name: Windows
OS Version: 10.0.16188
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\1.0.1

@DustinCampbell
Copy link
Member

Thanks for the report! This is a duplicate of an issue we're tracking with #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

2 participants