File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 15
15
<_MauiTargetPlatformIsTizen Condition =" '$(_MauiTargetPlatformIdentifier)' == 'tizen'" >True</_MauiTargetPlatformIsTizen >
16
16
17
17
<IncludeWindowsTargetFrameworks Condition =" ($([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full') or ('$(Packing)' == 'true')" >true</IncludeWindowsTargetFrameworks >
18
- <IncludeTizenTargetFrameworks Condition =" '$(CI)' == 'true'" >true</IncludeTizenTargetFrameworks >
18
+ <IncludeTizenTargetFrameworks Condition =" '$(CI)' == 'true' or
19
+ Exists('$(DOTNET_ROOT)\sdk-manifests\$(DotNetVersionBand)\samsung.net.sdk.tizen\WorkloadManifest.json') or
20
+ Exists('$(ProgramFiles)\dotnet\sdk-manifests\$(DotNetVersionBand)\samsung.net.sdk.tizen\WorkloadManifest.json')" >true</IncludeTizenTargetFrameworks >
19
21
</PropertyGroup >
20
22
21
23
<PropertyGroup >
Original file line number Diff line number Diff line change @@ -108,8 +108,11 @@ steps:
108
108
condition: eq(variables['provisioningVS'], 'true')
109
109
110
110
- pwsh : |
111
+ [xml] $fileXml = Get-Content "eng\Versions.props"
112
+ $DotNetVersionBand = $fileXml.SelectSingleNode("Project/PropertyGroup/DotNetVersionBand").InnerText
113
+ echo "Installing .NET $DotNetVersion"
111
114
Invoke-WebRequest 'https://raw.githubusercontent.com/Samsung/Tizen.NET/main/workload/scripts/workload-install.ps1' -OutFile 'workload-install.ps1'
112
- .\workload-install.ps1 -v 7.0.100-preview.13.6
115
+ .\workload-install.ps1 -t $DotNetVersion
113
116
displayName: 'Install Tizen'
114
117
115
118
# Prepare Both
You can’t perform that action at this time.
0 commit comments