You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose I have M:\Project\src\Project.csproj and I want to create M:\Project\Project.sln. I expect, that solution file will contain relative path src\Project.csproj, but due to usage GetFinalPathNameByHandle here:
the path expanded to C:\Some\Other\Path\Project\src\Project.csproj. That prevent SlnGen to see it as relative to solution file M:\Project\Project.sln and full path included in solution. That in turn prevent VS Code C# extension to recognize M:\Project\src\Project.csproj as part of solution and provide proper syntax highlighting, completion, etc.
The text was updated successfully, but these errors were encountered:
I have my work folder on
subst
drive:Suppose I have
M:\Project\src\Project.csproj
and I want to createM:\Project\Project.sln
. I expect, that solution file will contain relative pathsrc\Project.csproj
, but due to usageGetFinalPathNameByHandle
here:slngen/src/Shared/ExtensionMethods.Shared.cs
Lines 42 to 44 in 7b1ac24
the path expanded to
C:\Some\Other\Path\Project\src\Project.csproj
. That preventSlnGen
to see it as relative to solution fileM:\Project\Project.sln
and full path included in solution. That in turn prevent VS Code C# extension to recognizeM:\Project\src\Project.csproj
as part of solution and provide proper syntax highlighting, completion, etc.The text was updated successfully, but these errors were encountered: