|
3 | 3 | <Import Project="..\VsixProjectBefore.settings" /> |
4 | 4 | <PropertyGroup> |
5 | 5 | <MinimumVisualStudioVersion>16.0</MinimumVisualStudioVersion> |
6 | | - <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> |
| 6 | + <VsVersion Condition="'$(VsVersion)' == ''">$(VisualStudioVersion)</VsVersion> |
| 7 | + <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualS/$(VisualStudioVersion)</VSToolsPath> |
7 | 8 | </PropertyGroup> |
8 | 9 | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
9 | 10 | <PropertyGroup> |
|
53 | 54 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
54 | 55 | <IncludeInVSIX>true</IncludeInVSIX> |
55 | 56 | <InstallRoot>MSBuild</InstallRoot> |
56 | | - <VSIXSubPath>Microsoft\VisualStudio\v17.0\Node.js Tools</VSIXSubPath> |
| 57 | + <VSIXSubPath>Microsoft\VisualStudio\v$(VsVersion)\Node.js Tools</VSIXSubPath> |
57 | 58 | </Content> |
58 | 59 | <Content Include="Microsoft.NodejsToolsV2.targets"> |
59 | 60 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
60 | 61 | <IncludeInVSIX>true</IncludeInVSIX> |
61 | 62 | <InstallRoot>MSBuild</InstallRoot> |
62 | | - <VSIXSubPath>Microsoft\VisualStudio\v17.0\Node.js Tools</VSIXSubPath> |
| 63 | + <VSIXSubPath>Microsoft\VisualStudio\v$(VsVersion)\Node.js Tools</VSIXSubPath> |
63 | 64 | </Content> |
64 | 65 | <None Include="source.extension.vsixmanifest"> |
65 | 66 | <SubType>Designer</SubType> |
|
73 | 74 | <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup%3bBuiltProjectOutputGroupDependencies%3bGetCopyToOutputDirectoryItems%3bSatelliteDllsProjectOutputGroup%3b</IncludeOutputGroupsInVSIX> |
74 | 75 | <IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup%3b</IncludeOutputGroupsInVSIXLocalOnly> |
75 | 76 | <InstallRoot>MSBuild</InstallRoot> |
76 | | - <VSIXSubPath>Microsoft\VisualStudio\v17.0\Node.js Tools</VSIXSubPath> |
| 77 | + <VSIXSubPath>Microsoft\VisualStudio\v$(VsVersion)\Node.js Tools</VSIXSubPath> |
77 | 78 | <Private>True</Private> |
78 | 79 | </ProjectReference> |
79 | 80 | </ItemGroup> |
|
0 commit comments