Permalink
Browse files

Investigating .NET3.5 dependencies (Compilation for .NET 2.0/Unity)

  • Loading branch information...
peterfoot committed Apr 4, 2017
1 parent 47b9fdc commit 684c3d8ca4d9c051ff61e5fd886c049b6c76e3ea
View
@@ -250,3 +250,4 @@ paket-files/
# JetBrains Rider
.idea/
*.sln.iml
+/Widcomm
@@ -0,0 +1,34 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Testing", "Testing", "{13D6492B-E7C6-40F0-8BC5-9BA6D7D5F2C2}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AndroidMenuTesting", "..\Testing\AndroidMenuTesting\AndroidMenuTesting.csproj", "{6B1ECD21-2A6F-4EEA-B15A-993014A857E6}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Unit-Testing", "Unit-Testing", "{0F83506F-8B20-43F7-AC87-72A19D16A7E6}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ITH.Net.Android", "..\ITH.Net.Android\ITH.Net.Android.csproj", "{5BD43A74-91E4-4A35-A3C7-26C07C38CFEB}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {5BD43A74-91E4-4A35-A3C7-26C07C38CFEB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5BD43A74-91E4-4A35-A3C7-26C07C38CFEB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5BD43A74-91E4-4A35-A3C7-26C07C38CFEB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5BD43A74-91E4-4A35-A3C7-26C07C38CFEB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6B1ECD21-2A6F-4EEA-B15A-993014A857E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6B1ECD21-2A6F-4EEA-B15A-993014A857E6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6B1ECD21-2A6F-4EEA-B15A-993014A857E6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6B1ECD21-2A6F-4EEA-B15A-993014A857E6}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {6B1ECD21-2A6F-4EEA-B15A-993014A857E6} = {13D6492B-E7C6-40F0-8BC5-9BA6D7D5F2C2}
+ {0F83506F-8B20-43F7-AC87-72A19D16A7E6} = {13D6492B-E7C6-40F0-8BC5-9BA6D7D5F2C2}
+ EndGlobalSection
+ GlobalSection(MonoDevelopProperties) = preSolution
+ StartupItem = ..\Testing\AndroidMenuTesting\AndroidMenuTesting.csproj
+ EndGlobalSection
+EndGlobal
@@ -1,4 +1,5 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -17,7 +18,7 @@
<AssemblyOriginatorKeyFile>Alan32feetTestKey.snk</AssemblyOriginatorKeyFile>
<FileUpgradeFlags>
</FileUpgradeFlags>
- <OldToolsVersion>2.0</OldToolsVersion>
+ <OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<IsWebBootstrapper>false</IsWebBootstrapper>
View

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -12,7 +12,9 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Net.Sockets;
+#if FX3_5
using System.Linq;
+#endif
namespace InTheHand.Net.Bluetooth.BlueZ
{
@@ -6,7 +6,9 @@
using System;
using System.Collections.Generic;
+#if FX3_5
using System.Linq;
+#endif
using System.Text;
using System.Net.Sockets;
#if !NETCF
@@ -97,7 +99,7 @@ public override string Message
protected abstract string ErrorCodeAndDescription { get; }
//----
- #region Serializable
+#region Serializable
#if !NETCF
private const string SzName_location = "_location";
@@ -114,7 +116,7 @@ public override void GetObjectData(SerializationInfo info, StreamingContext cont
info.AddValue(SzName_location, m_location);
}
#endif
- #endregion
+#endregion
}
@@ -133,13 +135,13 @@ protected override string ErrorCodeAndDescription
}
//----
- #region Serializable
+#region Serializable
#if !NETCF
protected NoResultCodeWidcommSocketException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
#endif
- #endregion
+#endregion
}
}
@@ -9,7 +9,9 @@
using System.Collections;
using InTheHand.Net.Bluetooth.Factory;
using System.Diagnostics;
+#if FX3_5
using System.Linq;
+#endif
using System.Collections.Generic;
namespace InTheHand.Net.Bluetooth
@@ -5,7 +5,9 @@
using System;
using System.Diagnostics;
-//using InTheHand.SystemCore;
+#if !FX3_5
+using InTheHand.SystemCore;
+#endif
using System.Diagnostics.CodeAnalysis;

0 comments on commit 684c3d8

Please sign in to comment.