Skip to content

Commit

Permalink
Targets different Tizen SDK on different dotnet SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
JoonghyunCho committed Jan 10, 2024
1 parent dd647f1 commit a609b07
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
2 changes: 1 addition & 1 deletion workload/build/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
example: -preview.3.100+sha12345
-->
<PropertyGroup>
<TizenWorkloadVersion>8.0.131</TizenWorkloadVersion>
<TizenWorkloadVersion>8.0.134</TizenWorkloadVersion>
</PropertyGroup>

<!--
Expand Down
32 changes: 32 additions & 0 deletions workload/src/Samsung.NET.Sdk.Tizen/WorkloadManifest.in.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"description": ".NET SDK Workload for building Tizen applications.",
"packs": [
"Samsung.Tizen.Sdk",
"Samsung.Tizen.Sdk.net6",
"Samsung.Tizen.Sdk.net7",
"Samsung.Tizen.Sdk.net8",
"Samsung.Tizen.Sdk.net9",
"Samsung.Tizen.Ref",
"Samsung.Tizen.Templates",
"Samsung.NETCore.App.Runtime.tizen"
Expand All @@ -16,6 +20,34 @@
"kind": "sdk",
"version": "@TIZEN_WORKLOAD_VERSION@"
},
"Samsung.Tizen.Sdk.net6": {
"kind": "sdk",
"version": "7.0.119",
"alias-to": {
"any": "Samsung.Tizen.Sdk"
}
},
"Samsung.Tizen.Sdk.net7": {
"kind": "sdk",
"version": "7.0.123",
"alias-to": {
"any": "Samsung.Tizen.Sdk"
}
},
"Samsung.Tizen.Sdk.net8": {
"kind": "sdk",
"version": "7.0.125",
"alias-to": {
"any": "Samsung.Tizen.Sdk"
}
},
"Samsung.Tizen.Sdk.net9": {
"kind": "sdk",
"version": "@TIZEN_WORKLOAD_VERSION@",
"alias-to": {
"any": "Samsung.Tizen.Sdk"
}
},
"Samsung.Tizen.Ref": {
"kind": "framework",
"version": "@TIZEN_WORKLOAD_VERSION@"
Expand Down
5 changes: 4 additions & 1 deletion workload/src/Samsung.NET.Sdk.Tizen/WorkloadManifest.targets
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<Project>
<Import Project="Sdk.targets" Sdk="Samsung.Tizen.Sdk" Condition="'$(TargetPlatformIdentifier)' == 'tizen'" />
<Import Project="Sdk.targets" Sdk="Samsung.Tizen.Sdk.net9" Condition=" ('$(TargetPlatformIdentifier)' == 'tizen') and ($([MSBuild]::VersionEquals($(TargetFrameworkVersion), '9.0')))" />
<Import Project="Sdk.targets" Sdk="Samsung.Tizen.Sdk.net8" Condition=" ('$(TargetPlatformIdentifier)' == 'tizen') and ($([MSBuild]::VersionEquals($(TargetFrameworkVersion), '8.0')))" />
<Import Project="Sdk.targets" Sdk="Samsung.Tizen.Sdk.net7" Condition=" ('$(TargetPlatformIdentifier)' == 'tizen') and ($([MSBuild]::VersionEquals($(TargetFrameworkVersion), '7.0')))" />
<Import Project="Sdk.targets" Sdk="Samsung.Tizen.Sdk.net6" Condition=" ('$(TargetPlatformIdentifier)' == 'tizen') and ($([MSBuild]::VersionEquals($(TargetFrameworkVersion), '6.0')))" />

<ItemGroup Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '6.0')) ">
<SdkSupportedTargetPlatformIdentifier Include="tizen" DisplayName="Tizen" />
Expand Down

0 comments on commit a609b07

Please sign in to comment.