Added associated files

Added associated files
This commit is contained in:
Donald Joyce 2022-08-12 10:25:26 -05:00
parent 98e44dca5e
commit 72e976ccb7
8 changed files with 95 additions and 0 deletions

View File

@ -0,0 +1,5 @@
Namespace MauiLibTest
' All the code in this file is only included on Android.
Public Class PlatformClass1
End Class
End Namespace

View File

@ -0,0 +1,5 @@
Namespace MauiLibTest
' All the code in this file is only included on Mac Catalyst.
Public Class PlatformClass1
End Class
End Namespace

View File

@ -0,0 +1,5 @@
Namespace MauiLibTest
' All the code in this file is only included on Tizen.
Public Class PlatformClass1
End Class
End Namespace

View File

@ -0,0 +1,5 @@
Namespace MauiLibTest
' All the code in this file is only included on Windows.
Public Class PlatformClass1
End Class
End Namespace

View File

@ -0,0 +1,5 @@
Namespace MauiLibTest
' All the code in this file is only included on iOS.
Public Class PlatformClass1
End Class
End Namespace

4
Required Files/Read.me Normal file
View File

@ -0,0 +1,4 @@
Copy these files:
Xamarin.iOS.VB.targets to C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\15.4.446-ci.-release-6-0-4xx.446\tools\msbuild\iOS\
Xamarin.MacCatalyst.VB.targets to C:\Program Files\dotnet\packs\Microsoft.MacCatalyst.Sdk\15.4.446-ci.-release-6-0-4xx.446\tools\msbuild\MacCatalyst

View File

@ -0,0 +1,32 @@
<!--
***********************************************************************************************
Xamarin.MacCatalyst.VB.targets
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.
This file imports the version- and platform-specific targets for the project importing
this file. This file also defines targets to produce an error if the specified targets
file does not exist, but the project is built anyway (command-line or IDE build).
Copyright (C) 2015-2016 Xamarin. All rights reserved.
***********************************************************************************************
-->
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).Before.targets"
Condition="Exists('$(MSBuildThisFileDirectory)$(MSBuildThisFileName).Before.targets')"/>
<PropertyGroup>
<!-- Version/fx properties -->
<TargetFrameworkIdentifier Condition="'$(TargetFrameworkIdentifier)' == ''">Xamarin.MacCatalyst</TargetFrameworkIdentifier>
<TargetFrameworkVersion Condition="'$(TargetFrameworkVersion)' == ''">v1.0</TargetFrameworkVersion>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.VB.targets" Condition="'$(UsingAppleNETSdk)' != 'true'" />
<Import Project="Xamarin.MacCatalyst.Common.targets" />
<Import Project="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).After.targets"
Condition="Exists('$(MSBuildThisFileDirectory)$(MSBuildThisFileName).After.targets')"/>
</Project>

View File

@ -0,0 +1,34 @@
<!--
***********************************************************************************************
Xamarin.iOS.CSharp.targets
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.
This file imports the version- and platform-specific targets for the project importing
this file. This file also defines targets to produce an error if the specified targets
file does not exist, but the project is built anyway (command-line or IDE build).
Copyright (C) 2013-2016 Xamarin. All rights reserved.
***********************************************************************************************
-->
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).Before.targets"
Condition="Exists('$(MSBuildThisFileDirectory)$(MSBuildThisFileName).Before.targets')"/>
<PropertyGroup>
<!-- Version/fx properties -->
<TargetFrameworkIdentifier Condition="'$(TargetFrameworkIdentifier)' == ''">Xamarin.iOS</TargetFrameworkIdentifier>
<TargetFrameworkVersion Condition="'$(TargetFrameworkVersion)' == ''">v1.0</TargetFrameworkVersion>
<!-- Enable nuget package conflict resolution -->
<!-- This must be set before importing Microsoft.VB.targets -->
<ResolveAssemblyConflicts>true</ResolveAssemblyConflicts>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.VB.targets" Condition="'$(UsingAppleNETSdk)' != 'true'" />
<Import Project="Xamarin.iOS.Common.targets" />
<Import Project="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).After.targets"
Condition="Exists('$(MSBuildThisFileDirectory)$(MSBuildThisFileName).After.targets')"/>
</Project>