Skip to content

Commit 85d53f6

Browse files
authored
Start shipping WorkloadDependencies.json (#28149)
This will have some 'developer' dependency information that may be useful for ascertaining the compatibility/state of a development environment for the given workload version.
1 parent 4c742b9 commit 85d53f6

File tree

2 files changed

+64
-0
lines changed

2 files changed

+64
-0
lines changed

src/Workload/Microsoft.NET.Sdk.Maui.Manifest/Microsoft.NET.Sdk.Maui.Manifest.csproj

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
</ItemGroup>
2222

2323
<ItemGroup>
24+
<_JsonInputFile Include="WorkloadDependencies.in.json" OutputPath="$(IntermediateOutputPath)WorkloadDependencies.json" Pack="true" />
2425
<_JsonInputFile Include="WorkloadManifest.in.json" OutputPath="$(IntermediateOutputPath)WorkloadManifest.json" Pack="true" />
2526
<_JsonInputFile Include="WorkloadManifest.in.targets" OutputPath="$(IntermediateOutputPath)WorkloadManifest.targets" Pack="true" />
2627
<_JsonInputFile Include="Rollback.in.json" OutputPath="$(IntermediateOutputPath)Rollback.json" Pack="false" />
@@ -54,6 +55,15 @@
5455
<_VersionsToReplace Include="MicrosoftAspNetCoreComponentsWebViewPackageVersion" />
5556
<_VersionsToReplace Include="MicrosoftAspNetCoreMetadataPackageVersion" />
5657
<_VersionsToReplace Include="MicrosoftJSInteropPackageVersion" />
58+
<_VersionsToReplace Include="MicrosoftWindowsAppSDKPackageVersion" />
59+
<_VersionsToReplace Include="MicrosoftWindowsSDKBuildToolsPackageVersion" />
60+
<_VersionsToReplace Include="MicrosoftGraphicsWin2DPackageVersion" />
61+
<_VersionsToReplace Include="MicrosoftWindowsWebView2PackageVersion" />
62+
<_VersionsToReplace Include="AppiumVersion" />
63+
<_VersionsToReplace Include="AppiumWindowsDriverVersion" />
64+
<_VersionsToReplace Include="AppiumXCUITestDriverVersion" />
65+
<_VersionsToReplace Include="AppiumMac2DriverVersion" />
66+
<_VersionsToReplace Include="AppiumUIAutomator2DriverVersion" />
5767
<_VersionsToReplace Update="@(_VersionsToReplace)" PropertyName="%(Identity)" />
5868
<_VersionsToReplace Include="VERSION" PropertyName="PackageReferenceVersion" />
5969
<_VersionsToReplace Include="MAUI_DOTNET_VERSION_MAJOR" PropertyName="_MauiDotNetVersionMajor" />
@@ -129,6 +139,7 @@
129139
<Target Name="_CopyManifest" AfterTargets="Build">
130140
<ItemGroup>
131141
<_Files Include="$(OutputPath)WorkloadManifest.*" />
142+
<_Files Include="$(OutputPath)WorkloadDependencies.*" />
132143
</ItemGroup>
133144
<Copy SourceFiles="@(_Files)" DestinationFolder="$(DotNetSdkManifestsDirectory)microsoft.net.sdk.maui" />
134145
</Target>
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"microsoft.net.sdk.maui": {
3+
"workload": {
4+
"alias": [
5+
"maui"
6+
],
7+
"version": "@VERSION@"
8+
},
9+
"windowsAppSdk": {
10+
"version": "[@MicrosoftWindowsAppSDKPackageVersion@,)",
11+
"recommendedVersion": "@MicrosoftWindowsAppSDKPackageVersion@"
12+
},
13+
"windowsSdkBuildTools": {
14+
"version": "[@MicrosoftWindowsSDKBuildToolsPackageVersion@,)",
15+
"recommendedVersion": "@MicrosoftWindowsSDKBuildToolsPackageVersion@"
16+
},
17+
"win2d": {
18+
"version": "[@MicrosoftGraphicsWin2DPackageVersion@,)",
19+
"recommendedVersion": "@MicrosoftGraphicsWin2DPackageVersion@"
20+
},
21+
"webview2": {
22+
"version": "[@MicrosoftWindowsWebView2PackageVersion@,)",
23+
"recommendedVersion": "@MicrosoftWindowsWebView2PackageVersion@"
24+
},
25+
"appium": {
26+
"version": "[@AppiumVersion@,)",
27+
"recommendedVersion": "@AppiumVersion@",
28+
"drivers": [
29+
{
30+
"name": "windows",
31+
"version": "[@AppiumWindowsDriverVersion@,)",
32+
"recommendedVersion": "@AppiumWindowsDriverVersion@"
33+
},
34+
{
35+
"name": "xcuitest",
36+
"version": "[@AppiumXCUITestDriverVersion@,)",
37+
"recommendedVersion": "@AppiumXCUITestDriverVersion@"
38+
},
39+
{
40+
"name": "mac2",
41+
"version": "[@AppiumMac2DriverVersion@,)",
42+
"recommendedVersion": "@AppiumMac2DriverVersion@"
43+
},
44+
{
45+
"name": "uiautomator2",
46+
"version": "[@AppiumUIAutomator2DriverVersion@,)",
47+
"recommendedVersion": "@AppiumUIAutomator2DriverVersion@"
48+
}
49+
]
50+
}
51+
}
52+
}
53+

0 commit comments

Comments
 (0)