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 f08713b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
21 changes: 21 additions & 0 deletions workload/src/Samsung.NET.Sdk.Tizen/WorkloadManifest.in.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,27 @@
"kind": "sdk",
"version": "@TIZEN_WORKLOAD_VERSION@"
},
"Samsung.Tizen.Sdk.net7": {
"kind": "sdk",
"version": "7.0.123",
"alias-to": {
"any": "Samsung.Tizen.Sdk"
}
},
"Samsung.Tizen.Sdk.net8": {
"kind": "sdk",
"version": "8.0.130",
"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
4 changes: 3 additions & 1 deletion workload/src/Samsung.NET.Sdk.Tizen/WorkloadManifest.targets
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<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')))" />

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

0 comments on commit f08713b

Please sign in to comment.