Skip to content

Commit a7b48f7

Browse files
authored
refactor: use xamarin.mac framework for reactiveui/reactiveui-testing/microsoft-reactive-testing (#1185)
1 parent 20c7db9 commit a7b48f7

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/Microsoft.Reactive.Testing/Microsoft.Reactive.Testing_Mac.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
<ProductVersion>8.0.30703</ProductVersion>
77
<SchemaVersion>2.0</SchemaVersion>
88
<ProjectGuid>{AA27F817-FAD2-4622-B68A-651A8AA9E076}</ProjectGuid>
9+
<ProjectTypeGuids>{A3F8F2AB-B479-4A4A-A458-A89E7DC349F1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
910
<OutputType>Library</OutputType>
1011
<RootNamespace>Microsoft.Reactive.Testing</RootNamespace>
1112
<AssemblyName>Microsoft.Reactive.Testing</AssemblyName>
12-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13+
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
14+
<TargetFrameworkIdentifier>Xamarin.Mac</TargetFrameworkIdentifier>
1315
</PropertyGroup>
1416
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1517
<DebugSymbols>true</DebugSymbols>

src/ReactiveUI.Testing/ReactiveUI.Testing_Mac.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
54
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
65
<ProductVersion>8.0.30703</ProductVersion>
76
<SchemaVersion>2.0</SchemaVersion>
87
<ProjectGuid>{E1F2AD19-276E-4D05-A41A-89AA133CECFC}</ProjectGuid>
8+
<ProjectTypeGuids>{A3F8F2AB-B479-4A4A-A458-A89E7DC349F1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
99
<OutputType>Library</OutputType>
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>ReactiveUI.Testing</RootNamespace>
1212
<AssemblyName>ReactiveUI.Testing</AssemblyName>
1313
<FileAlignment>512</FileAlignment>
14+
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
15+
<TargetFrameworkIdentifier>Xamarin.Mac</TargetFrameworkIdentifier>
1416
<SccProjectName>
1517
</SccProjectName>
1618
<SccLocalPath>
@@ -19,7 +21,6 @@
1921
</SccAuxPath>
2022
<SccProvider>
2123
</SccProvider>
22-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
2324
</PropertyGroup>
2425
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2526
<DebugSymbols>True</DebugSymbols>
@@ -46,7 +47,6 @@
4647
<Reference Include="System.ComponentModel.DataAnnotations" />
4748
<Reference Include="System.Core" />
4849
<Reference Include="System.Runtime.Serialization" />
49-
<Reference Include="System.Xaml" />
5050
<Reference Include="System.Xml.Linq" />
5151
<Reference Include="Microsoft.CSharp" />
5252
<Reference Include="System.Xml" />
@@ -91,4 +91,4 @@
9191
<Name>Microsoft.Reactive.Testing_Mac</Name>
9292
</ProjectReference>
9393
</ItemGroup>
94-
</Project>
94+
</Project>

src/ReactiveUI/ReactiveUI_Mac.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,5 +159,4 @@
159159
<None Include="packages.ReactiveUI_Mac.config" />
160160
</ItemGroup>
161161
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Mac\Xamarin.Mac.CSharp.targets" Condition=" '$(OS)' == 'Windows_NT' " />
162-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" Condition=" '$(OS)' == 'Windows_NT' " />
163162
</Project>

0 commit comments

Comments
 (0)