-
Notifications
You must be signed in to change notification settings - Fork 79
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
Projects are not loaded when the code is in network mapped drive #305
Comments
@viveknuna is there a way to share the generated solution file? I think its because of this code: slngen/src/Shared/ExtensionMethods.Shared.cs Lines 38 to 46 in 4858f5a
This is trying to determine the "real" path of a file if the casing is wrong which can happen when people manually type in the path to a project in a |
@jeffkl sure, thank you for responding, I'll wait for the update. |
On Windows, the GetFinalPathNameByHandle function returns the UNC path if the specified path is from a mapped network drive. These paths break Visual Studio so they can't be used. This change detects if the path was normalized and isn't from a network drive, otherwise the original path is used. Fixes microsoft#305
On Windows, the GetFinalPathNameByHandle function returns the UNC path if the specified path is from a mapped network drive. These paths break Visual Studio so they can't be used. This change detects if the path was normalized and isn't from a network drive, otherwise the original path is used. Fixes microsoft#305
On Windows, the GetFinalPathNameByHandle function returns the UNC path if the specified path is from a mapped network drive. These paths break Visual Studio so they can't be used. This change detects if the path was normalized and isn't from a network drive, otherwise the original path is used. Fixes microsoft#305
On Windows, the GetFinalPathNameByHandle function returns the UNC path if the specified path is from a mapped network drive. These paths break Visual Studio so they can't be used. This change detects if the path was normalized and isn't from a network drive, otherwise the original path is used. Fixes #305
@jeffkl It's working as expected. Thank you |
Thanks for reporting the issue, luckily the fix was easy! |
I have installed the tool by running the below command yesterday.
dotnet tool install --global Microsoft.VisualStudio.SlnGen.Tool
Then I run the below command to generate the solution.
It works as expected when my code is in C drive, But when my code is in J drive which is a network drive. It gives the below errors when I open the solution in Vishal Studio 2019.
Error in the output window.
How to fix it? I have to use the J drive, It's required.
The text was updated successfully, but these errors were encountered: