|
77 | 77 | <OriginalNugetRepositoryId>$(_tempVsTemplateNugetRepositoryId)</OriginalNugetRepositoryId> |
78 | 78 | <!-- 'ExperimentalNugetRepositoryId' needs to match the value set by the XmlPoke query for |
79 | 79 | "/ns:PackageManifest/ns:Metadata/ns:Identity/@Id" in Extension\WindowsAppSDK.Extension.csproj --> |
80 | | - <ExperimentalNugetRepositoryId>$(_tempVsTemplateNugetRepositoryId).Experimental</ExperimentalNugetRepositoryId> |
| 80 | + <ExperimentalNugetRepositoryId>$(_tempVsTemplateNugetRepositoryId).Preview</ExperimentalNugetRepositoryId> |
81 | 81 | </AllVSTemplates> |
82 | 82 | </ItemGroup> |
83 | 83 |
|
|
108 | 108 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
109 | 109 | Query="/ns:VSTemplate/ns:WizardData/ns:packages/ns:package[@id='Microsoft.WindowsAppSDK.WinUI']/@version" |
110 | 110 | Value="$(WindowsAppSDKVersion)" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
| 111 | + <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
| 112 | + Query="/ns:VSTemplate/ns:WizardData/ns:packages/ns:package[@id='Microsoft.WindowsAppSDK.InteractiveExperiences']/@version" |
| 113 | + Value="$(WindowsAppSDKVersion)" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
111 | 114 |
|
112 | 115 | <!-- Update Assets manifest with actual Nuget package filenames --> |
113 | 116 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
|
125 | 128 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
126 | 129 | Query="/ns:VSTemplate/ns:WizardData/ns:Assets/ns:Asset[@Type='Microsoft.WindowsAppSDK.WinUI.nupkg']/@Path" |
127 | 130 | Value="Microsoft.WindowsAppSDK.WinUI.$(WindowsAppSDKVersion).nupkg" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
| 131 | + <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
| 132 | + Query="/ns:VSTemplate/ns:WizardData/ns:Assets/ns:Asset[@Type='Microsoft.WindowsAppSDK.InteractiveExperiences.nupkg']/@Path" |
| 133 | + Value="Microsoft.WindowsAppSDK.InteractiveExperiences.$(WindowsAppSDKVersion).nupkg" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
128 | 134 |
|
129 | 135 | <!-- Update custom parameters passed into subtemplates --> |
130 | 136 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
131 | 137 | Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$CppWinRTVersion$']/@Value" |
132 | 138 | Value="$(CppWinRTVersion)" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
133 | 139 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
134 | | - Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSdkNupkgVersion$']/@Value" |
| 140 | + Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSDKNupkgVersion$']/@Value" |
| 141 | + Value="$(WindowsAppSDKVersion)" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
| 142 | + <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
| 143 | + Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSDKFoundationNupkgVersion$']/@Value" |
135 | 144 | Value="$(WindowsAppSDKVersion)" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
136 | 145 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
137 | | - Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSdkFoundationNupkgVersion$']/@Value" |
| 146 | + Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSDKDWriteNupkgVersion$']/@Value" |
138 | 147 | Value="$(WindowsAppSDKVersion)" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
139 | 148 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
140 | | - Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSdkDWriteNupkgVersion$']/@Value" |
| 149 | + Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSDKWinUINupkgVersion$']/@Value" |
141 | 150 | Value="$(WindowsAppSDKVersion)" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
142 | 151 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
143 | | - Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSdkWinUINupkgVersion$']/@Value" |
| 152 | + Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSDKInteractiveExperiencesNupkgVersion$']/@Value" |
144 | 153 | Value="$(WindowsAppSDKVersion)" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
145 | 154 |
|
146 | 155 | <!-- Update .vstemplate with Experimental display name if necessary --> |
|
176 | 185 | DependsOnTargets="PrepareForVsTemplateUpdates" |
177 | 186 | Condition="'@(AllVSTemplates)' != ''"> |
178 | 187 | <PropertyGroup> |
179 | | - <DefaultVersion>1.0.0</DefaultVersion> |
| 188 | + <DefaultVersion>FIXME-Verify-Directory.Build.Targets-XmlPoke-Queries</DefaultVersion> |
180 | 189 | </PropertyGroup> |
181 | 190 |
|
182 | 191 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
|
194 | 203 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
195 | 204 | Query="/ns:VSTemplate/ns:WizardData/ns:packages/ns:package[@id='Microsoft.WindowsAppSDK.WinUI']/@version" |
196 | 205 | Value="$(DefaultVersion)" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
| 206 | + <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
| 207 | + Query="/ns:VSTemplate/ns:WizardData/ns:packages/ns:package[@id='Microsoft.WindowsAppSDK.InteractiveExperiences']/@version" |
| 208 | + Value="$(DefaultVersion)" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
197 | 209 |
|
198 | 210 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
199 | 211 | Query="/ns:VSTemplate/ns:WizardData/ns:Assets/ns:Asset[@Type='Microsoft.Windows.CppWinRT.nupkg']/@Path" |
|
210 | 222 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
211 | 223 | Query="/ns:VSTemplate/ns:WizardData/ns:Assets/ns:Asset[@Type='Microsoft.WindowsAppSDK.WinUI.nupkg']/@Path" |
212 | 224 | Value="Microsoft.WindowsAppSDK.WinUI.$(DefaultVersion).nupkg" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
| 225 | + <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
| 226 | + Query="/ns:VSTemplate/ns:WizardData/ns:Assets/ns:Asset[@Type='Microsoft.WindowsAppSDK.InteractiveExperiences.nupkg']/@Path" |
| 227 | + Value="Microsoft.WindowsAppSDK.InteractiveExperiences.$(DefaultVersion).nupkg" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
213 | 228 |
|
214 | 229 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
215 | 230 | Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$CppWinRTVersion$']/@Value" |
216 | 231 | Value="$(DefaultVersion)" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
217 | 232 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
218 | | - Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSdkNupkgVersion$']/@Value" |
| 233 | + Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSDKNupkgVersion$']/@Value" |
| 234 | + Value="$(DefaultVersion)" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
| 235 | + <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
| 236 | + Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSDKFoundationNupkgVersion$']/@Value" |
219 | 237 | Value="$(DefaultVersion)" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
220 | 238 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
221 | | - Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSdkFoundationNupkgVersion$']/@Value" |
| 239 | + Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSDKDWriteNupkgVersion$']/@Value" |
222 | 240 | Value="$(DefaultVersion)" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
223 | 241 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
224 | | - Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSdkDWriteNupkgVersion$']/@Value" |
| 242 | + Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSDKWinUINupkgVersion$']/@Value" |
225 | 243 | Value="$(DefaultVersion)" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
226 | 244 | <XmlPoke XmlInputPath="%(AllVSTemplates.Identity)" |
227 | | - Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSdkWinUINupkgVersion$']/@Value" |
| 245 | + Query="/ns:VSTemplate/ns:TemplateContent/ns:CustomParameters/ns:CustomParameter[@Name='$WindowsAppSDKInteractiveExperiencesNupkgVersion$']/@Value" |
228 | 246 | Value="$(DefaultVersion)" Namespaces="<Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' />" /> |
229 | 247 |
|
230 | 248 | <XmlPoke |
|
0 commit comments