mirror of
https://github.com/inthehand/32feet.git
synced 2026-10-16 21:01:27 +08:00
net7.0 builds
This commit is contained in:
+2
-2
@@ -259,5 +259,5 @@ paket-files/
|
||||
|
||||
# macOS
|
||||
.DS_Store
|
||||
/docfx_project/_site
|
||||
/docfx_project/api
|
||||
/docs/_site
|
||||
/docs/api
|
||||
|
||||
@@ -17,11 +17,7 @@ namespace InTheHand.Bluetooth
|
||||
/// Entry point to all Bluetooth LE functionality.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Several platforms require permissions for this functionality to work:-
|
||||
/// iOS 13 (and above) - Set NSBluetoothAlwaysUsageDescription in your Info.plist to a descriptive message to be displayed to the user
|
||||
/// iOS (older versions) - Set NSBluetoothPeripheralUsageDescription in your Info.plist to a descriptive message to be displayed to the user
|
||||
/// Android - Add <uses-permission android:name="android.permission.BLUETOOTH" /> to your android manifest. To enable scanning also add <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> and <uses-permission android:name="android.permission.COARSE_LOCATION" />
|
||||
/// Windows - Add the Bluetooth permission
|
||||
/// Several platforms require permissions for this functionality to work. See <see href="https://github.com/inthehand/32feet/wiki/Permissions">Permissions</see> for more details
|
||||
/// </remarks>
|
||||
public static partial class Bluetooth
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="MSBuild.Sdk.Extras/3.0.44">
|
||||
<Sdk Name="DotNet.ReproducibleBuilds.Isolated" Version="1.1.1" />
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netstandard2.0;monoandroid10.0;xamarinios10;xamarintvos10;xamarin.watchos10;uap10.0;net6.0-windows10.0.19041.0;net6.0;net6.0-android;net6.0-ios;net6.0-maccatalyst;net7.0-windows10.0.19041.0;net7.0-android;net7.0-ios;net7.0-maccatalyst;net461</TargetFrameworks>
|
||||
<TargetFrameworks>netstandard2.0;monoandroid10.0;xamarinios10;xamarintvos10;xamarin.watchos10;uap10.0;net6.0;net6.0-windows10.0.19041.0;net6.0-android;net6.0-ios;net6.0-maccatalyst;net7.0;net7.0-windows10.0.19041.0;net7.0-android;net7.0-ios;net7.0-maccatalyst;net461</TargetFrameworks>
|
||||
<Company>In The Hand Ltd</Company>
|
||||
<Authors>Peter Foot</Authors>
|
||||
<Product>32feet.NET</Product>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// InTheHand.Net.Bluetooth.BluetoothDevicePicker
|
||||
//
|
||||
// Copyright (c) 2018-2022 In The Hand Ltd, All rights reserved.
|
||||
// Copyright (c) 2018-2023 In The Hand Ltd, All rights reserved.
|
||||
// This source code is licensed under the MIT License
|
||||
|
||||
using InTheHand.Net.Sockets;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="MSBuild.Sdk.Extras/3.0.44">
|
||||
<Sdk Name="DotNet.ReproducibleBuilds.Isolated" Version="1.1.1" />
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0;net6.0-windows7.0;net6.0-windows10.0.22000.0;net6.0-android;net6.0-ios;net461;monoandroid10.0;xamarinios10;uap10.0</TargetFrameworks>
|
||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0;net6.0-windows7.0;net6.0-windows10.0.22000.0;net6.0-android;net6.0-ios;net7.0;net7.0-windows7.0;net7.0-windows10.0.22000.0;net7.0-android;net7.0-ios;net461;monoandroid10.0;xamarinios10;uap10.0</TargetFrameworks>
|
||||
<Company>In The Hand Ltd</Company>
|
||||
<Authors>Peter Foot</Authors>
|
||||
<Product>32feet.NET</Product>
|
||||
@@ -71,16 +71,6 @@
|
||||
<SupportedOSPlatformVersion>10.0.16299.0</SupportedOSPlatformVersion>
|
||||
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
|
||||
<RuntimeIdentifiers>linux-arm64;linux-x64;linux-x86</RuntimeIdentifiers>
|
||||
<AppendRuntimeIdentifierToOutputPath>true</AppendRuntimeIdentifierToOutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
|
||||
<RuntimeIdentifiers>linux-arm64;linux-x64;linux-x86</RuntimeIdentifiers>
|
||||
<AppendRuntimeIdentifierToOutputPath>true</AppendRuntimeIdentifierToOutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(TargetFramework)' == 'net6.0-windows10.0.22000.0' ">
|
||||
<DefineConstants>WinRT</DefineConstants>
|
||||
@@ -94,12 +84,8 @@
|
||||
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.1' ">
|
||||
<Compile Include="Platforms\Standard\*.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'monoandroid10.0' ">
|
||||
<PackageReference Include="InTheHand.AndroidActivity" Version="1.0.3" />
|
||||
<PackageReference Include="InTheHand.AndroidActivity" Version="1.0.4" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Compile Include="Platforms\Android\*.cs" />
|
||||
</ItemGroup>
|
||||
@@ -142,16 +128,33 @@
|
||||
<Compile Include="Platforms\Win32\*.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0-windows7.0' ">
|
||||
<Compile Include="Platforms\Win32\*.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0-windows10.0.22000.0' ">
|
||||
<Compile Include="Platforms\Windows\*.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0-windows10.0.22000.0' ">
|
||||
<Compile Include="Platforms\Windows\*.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0-android' ">
|
||||
<PackageReference Include="InTheHand.AndroidActivity" Version="1.0.3" />
|
||||
<PackageReference Include="InTheHand.AndroidActivity" Version="1.0.4" />
|
||||
<Compile Include="Platforms\Android\*.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0-android' ">
|
||||
<PackageReference Include="InTheHand.AndroidActivity" Version="1.0.4" />
|
||||
<Compile Include="Platforms\Android\*.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0-ios' ">
|
||||
<Compile Include="Platforms\iOS\*.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0-ios' ">
|
||||
<Compile Include="Platforms\iOS\*.cs" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user