Ensure there's a separator between nuget cache and storage tools paths in Common.Netcore.Dependencies.targets #12132
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
If you have custom NuGet cache path defined in env variable NUGET_PACKAGES that doesn't end with
\
the path inStorageToolsPath
would be incorrect and result in an error like this:CSC : error CS2001: Source file 'C:\Users\linxyang.nugetmicrosoft.azure.powershell.storage\1.3.13-preview\tools\Adapters\ARM.Storage.6\ARMStorageProvider.cs' could not be found. [C:\git\azure-powershell\src\Storage\Storage.Management\Storage.Management.csproj] [C:\git\azure-powershell\build.proj]
Notice
\.nugetmicrosoft.azure.powershell.storage\
This PR would fix that.
Checklist
CONTRIBUTING.md
ChangeLog.md
file(s) has been updated:ChangeLog.md
file can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
## Upcoming Release
header -- no new version header should be added