vc-platform
vc-platform copied to clipboard
Fix path to nuget packages on linux when debugging
Description
~
mean current user home folder on Linux, but doesn't expanded as such path in ASP.NET Core. Instead, Environment.SpecialFolder.UserProfile
should be used.
I also assume the same changes should be made for Windows, but I didn't made them "because it's already working" :)
Compare:
Windows https://github.com/VirtoCommerce/vc-platform/blob/69a5a094b18554cd37b33e1afbc15cea4f3a350f/src/VirtoCommerce.Platform.Modules/AssemblyLoading/PlatformInformation.cs#L31 macOS https://github.com/VirtoCommerce/vc-platform/blob/69a5a094b18554cd37b33e1afbc15cea4f3a350f/src/VirtoCommerce.Platform.Modules/AssemblyLoading/PlatformInformation.cs#L38 Linux https://github.com/VirtoCommerce/vc-platform/blob/69a5a094b18554cd37b33e1afbc15cea4f3a350f/src/VirtoCommerce.Platform.Modules/AssemblyLoading/PlatformInformation.cs#L45
References
QA-test:
Jira-link:
Artifact URL:
Image tag: 3.841.0-pr-2814-69a5-nuget-packages-on-linux-69a5a094