|
45 | 45 | <WarningLevel>4</WarningLevel> |
46 | 46 | </PropertyGroup> |
47 | 47 | <ItemGroup> |
48 | | - <Content Include="..\LICENSE"> |
| 48 | + <Content Include="$(RepoRoot)LICENSE"> |
| 49 | + <Link>%(Filename)%(Extension)</Link> |
49 | 50 | <IncludeInVSIX>true</IncludeInVSIX> |
50 | 51 | </Content> |
51 | | - <Content Include="..\Microsoft.Cpp.CppWinRT.props"> |
| 52 | + <Content Include="$(VSIXRootDir)Microsoft.Cpp.CppWinRT.props"> |
52 | 53 | <VSIXSubPath>Microsoft\VC\v160</VSIXSubPath> |
53 | 54 | <InstallRoot>MSBuild</InstallRoot> |
54 | 55 | <IncludeInVSIX>true</IncludeInVSIX> |
55 | 56 | </Content> |
56 | | - <Content Include="..\Platforms\ARM\ImportAfter\Microsoft.Cpp.CppWinRT.props"> |
| 57 | + <Content Include="$(VSIXRootDir)Platforms\ARM\ImportAfter\Microsoft.Cpp.CppWinRT.props"> |
57 | 58 | <VSIXSubPath>Microsoft\VC\v160\Platforms\ARM\ImportBefore</VSIXSubPath> |
58 | 59 | <InstallRoot>MSBuild</InstallRoot> |
59 | 60 | <IncludeInVSIX>true</IncludeInVSIX> |
60 | 61 | </Content> |
61 | | - <Content Include="..\Platforms\ARM64\ImportAfter\Microsoft.Cpp.CppWinRT.props"> |
| 62 | + <Content Include="$(VSIXRootDir)Platforms\ARM64\ImportAfter\Microsoft.Cpp.CppWinRT.props"> |
62 | 63 | <VSIXSubPath>Microsoft\VC\v160\Platforms\ARM64\ImportBefore</VSIXSubPath> |
63 | 64 | <InstallRoot>MSBuild</InstallRoot> |
64 | 65 | <IncludeInVSIX>true</IncludeInVSIX> |
65 | 66 | </Content> |
66 | | - <Content Include="..\Platforms\Win32\ImportAfter\Microsoft.Cpp.CppWinRT.props"> |
| 67 | + <Content Include="$(VSIXRootDir)Platforms\Win32\ImportAfter\Microsoft.Cpp.CppWinRT.props"> |
67 | 68 | <VSIXSubPath>Microsoft\VC\v160\Platforms\Win32\ImportBefore</VSIXSubPath> |
68 | 69 | <InstallRoot>MSBuild</InstallRoot> |
69 | 70 | <IncludeInVSIX>true</IncludeInVSIX> |
70 | 71 | </Content> |
71 | | - <Content Include="..\Platforms\x64\ImportAfter\Microsoft.Cpp.CppWinRT.props"> |
| 72 | + <Content Include="$(VSIXRootDir)Platforms\x64\ImportAfter\Microsoft.Cpp.CppWinRT.props"> |
72 | 73 | <VSIXSubPath>Microsoft\VC\v160\Platforms\x64\ImportBefore</VSIXSubPath> |
73 | 74 | <InstallRoot>MSBuild</InstallRoot> |
74 | 75 | <IncludeInVSIX>true</IncludeInVSIX> |
75 | 76 | </Content> |
76 | | - <Content Include="..\Application Type\Windows Store\10.0\Platforms\ARM\ImportAfter\Microsoft.Cpp.CppWinRT.props"> |
| 77 | + <Content Include="$(VSIXRootDir)Application Type\Windows Store\10.0\Platforms\ARM\ImportAfter\Microsoft.Cpp.CppWinRT.props"> |
77 | 78 | <VSIXSubPath>Application Type\Windows Store\10.0\Platforms\ARM\ImportAfter</VSIXSubPath> |
78 | 79 | <InstallRoot>MSBuild</InstallRoot> |
79 | 80 | <IncludeInVSIX>true</IncludeInVSIX> |
80 | 81 | </Content> |
81 | | - <Content Include="..\Application Type\Windows Store\10.0\Platforms\ARM64\ImportAfter\Microsoft.Cpp.CppWinRT.props"> |
| 82 | + <Content Include="$(VSIXRootDir)Application Type\Windows Store\10.0\Platforms\ARM64\ImportAfter\Microsoft.Cpp.CppWinRT.props"> |
82 | 83 | <VSIXSubPath>Application Type\Windows Store\10.0\Platforms\ARM64\ImportAfter</VSIXSubPath> |
83 | 84 | <InstallRoot>MSBuild</InstallRoot> |
84 | 85 | <IncludeInVSIX>true</IncludeInVSIX> |
85 | 86 | </Content> |
86 | | - <Content Include="..\Application Type\Windows Store\10.0\Platforms\Win32\ImportAfter\Microsoft.Cpp.CppWinRT.props"> |
| 87 | + <Content Include="$(VSIXRootDir)Application Type\Windows Store\10.0\Platforms\Win32\ImportAfter\Microsoft.Cpp.CppWinRT.props"> |
87 | 88 | <VSIXSubPath>Application Type\Windows Store\10.0\Platforms\Win32\ImportAfter</VSIXSubPath> |
88 | 89 | <InstallRoot>MSBuild</InstallRoot> |
89 | 90 | <IncludeInVSIX>true</IncludeInVSIX> |
90 | 91 | </Content> |
91 | | - <Content Include="..\Application Type\Windows Store\10.0\Platforms\x64\ImportAfter\Microsoft.Cpp.CppWinRT.props"> |
| 92 | + <Content Include="$(VSIXRootDir)Application Type\Windows Store\10.0\Platforms\x64\ImportAfter\Microsoft.Cpp.CppWinRT.props"> |
92 | 93 | <VSIXSubPath>Application Type\Windows Store\10.0\Platforms\x64\ImportAfter</VSIXSubPath> |
93 | 94 | <InstallRoot>MSBuild</InstallRoot> |
94 | 95 | <IncludeInVSIX>true</IncludeInVSIX> |
|
97 | 98 | <Link>Packages\Microsoft.Windows.CppWinRT.$(CppWinRTVersion).nupkg</Link> |
98 | 99 | <IncludeInVSIX>true</IncludeInVSIX> |
99 | 100 | </Content> |
100 | | - <Content Include="..\..\natvis\cppwinrt.natvis"> |
| 101 | + <Content Include="$(VSIXRootDir)..\natvis\cppwinrt.natvis"> |
101 | 102 | <Link>%(Filename)%(Extension)</Link> |
102 | 103 | <IncludeInVSIX>true</IncludeInVSIX> |
103 | 104 | </Content> |
|
118 | 119 | </None> |
119 | 120 | </ItemGroup> |
120 | 121 | <ItemGroup> |
121 | | - <Content Include="..\cppwinrt.ico"> |
| 122 | + <Content Include="$(VSIXRootDir)cppwinrt.ico"> |
| 123 | + <Link>%(Filename)%(Extension)</Link> |
122 | 124 | <IncludeInVSIX>true</IncludeInVSIX> |
123 | 125 | </Content> |
124 | | - <Content Include="..\cppwinrt.png"> |
| 126 | + <Content Include="$(VSIXRootDir)cppwinrt.png"> |
| 127 | + <Link>%(Filename)%(Extension)</Link> |
125 | 128 | <IncludeInVSIX>true</IncludeInVSIX> |
126 | 129 | </Content> |
127 | 130 | </ItemGroup> |
|
132 | 135 | <PackageReference Include="Microsoft.VisualStudio.SDK" Version="17.0.0-previews-4-31709-430" ExcludeAssets="runtime"> |
133 | 136 | <IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
134 | 137 | </PackageReference> |
135 | | - <PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.0.5232"> |
| 138 | + <PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.0.4207-preview4"> |
136 | 139 | <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
137 | 140 | <PrivateAssets>all</PrivateAssets> |
138 | 141 | </PackageReference> |
|
148 | 151 | <Error Condition="'$(NatvisDirx86)' == ''" Text="The project must be supplied with a NatvisDirx86 property value" /> |
149 | 152 | <Error Condition="'$(NatvisDirx64)' == ''" Text="The project must be supplied with a NatvisDirx64 property value" /> |
150 | 153 | <Error Condition="'$(NupkgDir)' == ''" Text="The project must be supplied with a NupkgDir property value" /> |
151 | | - <Copy SourceFiles="..\LICENSE" DestinationFolder="$(MSBuildProjectDirectory)" /> |
152 | 154 | <ItemGroup> |
153 | | - <VSTemplateFiles Include="..\*Templates\*\**\*.vstemplate" /> |
154 | | - <OtherTemplateFiles Include="..\*Templates\*\**\*" /> |
| 155 | + <VSTemplateFiles Include="$(VSIXRootDir)*Templates\*\**\*.vstemplate" /> |
| 156 | + <OtherTemplateFiles Include="$(VSIXRootDir)*Templates\*\**\*" /> |
155 | 157 | <OtherTemplateFiles Remove="@(OtherTemplateFiles)" Condition="'%(Extension)' == '.vstemplate'" /> |
156 | 158 | <Templates Include="@(VSTemplateFiles)"> |
157 | 159 | <StagingFolder>$(MSBuildProjectDirectory)\$(OutDir)%(RecursiveDir)</StagingFolder> |
|
0 commit comments