Merge pull request #7128 from wli3/dotetdefault-path2

Correct tool path append
This commit is contained in:
William Li 2020-04-13 14:03:28 -07:00 committed by GitHub
commit faf89df487
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,7 @@
<Feature Id="MainFeature" Title="Main Feature" Level="1">
<ComponentGroupRef Id="InstallFiles" />
<ComponentGroupRef Id="AuthoredRegistryKeys_x86node"/>
<ComponentGroupRef Id="DotnetToolSetup"/>
</Feature>
<Feature Id="Provider" Absent="disallow" AllowAdvertise="no" Description="Used for Ref Counting" Display="hidden" Level="1" InstallDefault="local" Title="RefCounting" TypicalDefault="install">
<ComponentRef Id="$(var.DependencyKeyId)" />
@ -59,4 +60,11 @@
</Directory>
</Directory>
</Fragment>
<Fragment>
<ComponentGroup Id="DotnetToolSetup">
<Component Id="AppendDotnetToolShimPath" Directory="TARGETDIR" Guid="{241B7B8D-7817-41C1-807F-5F4010BF583A}">
<Environment Id="E_PATH" Name="PATH" Value="%USERPROFILE%\.dotnet\tools" Part="last" Action="set" System="no" />
</Component>
</ComponentGroup>
</Fragment>
</Wix>