File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 1
- <Project Sdk =" Microsoft.NET.Sdk" >
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
2
<Import Project =" ..\LLama\LLamaSharp.Runtime.targets" />
3
+
3
4
<PropertyGroup >
4
- <TargetFrameworks >net8.0-android</TargetFrameworks >
5
+ <IsSupportedPlatform Condition =" '$(OS)' == 'Windows_NT'" >true</IsSupportedPlatform >
6
+ <IsSupportedPlatform Condition =" '$(OS)' != 'Windows_NT'" >false</IsSupportedPlatform >
7
+ </PropertyGroup >
5
8
9
+ <Target Name =" SkipUnsupportedPlatformBuild" BeforeTargets =" Build" Condition =" '$(IsSupportedPlatform)' == 'false'" >
10
+ <Message Importance =" high" Text =" Skipping build of $(MSBuildProjectName): unsupported on this platform." />
11
+ <Error Text =" Skipping $(MSBuildProjectName). Not supported on this platform." Condition =" '$(BuildingInsideVisualStudio)' != 'true'" />
12
+ </Target >
13
+
14
+ <PropertyGroup >
15
+ <TargetFrameworks >net8.0-android</TargetFrameworks >
16
+
6
17
<!-- Temporarily Disable iOS and MacCatalyst until native lib support is added-->
7
18
<!-- <TargetFrameworks>$(TargetFrameworks);net8.0-ios;net8.0-maccatalyst</TargetFrameworks>-->
8
19
You can’t perform that action at this time.
0 commit comments