diff --git a/.gitignore b/.gitignore
index 6a6337edb..a8e98b4dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@ Thumbs.db
*.obj
*.exe
*.pdb
+*.mdb
*.user
*.aps
*.pch
diff --git a/CI/build.msbuild b/CI/build.msbuild
index 89a3ead0e..166070732 100644
--- a/CI/build.msbuild
+++ b/CI/build.msbuild
@@ -20,6 +20,9 @@
+
+
+
@@ -37,7 +40,9 @@
-
+
+
+
diff --git a/CI/travis.linux.install.deps.sh b/CI/travis.linux.install.deps.sh
index 365fc51a6..271c3909a 100755
--- a/CI/travis.linux.install.deps.sh
+++ b/CI/travis.linux.install.deps.sh
@@ -3,7 +3,7 @@ set -ev
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
-echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/3.12.0 main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
+echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
diff --git a/CI/travis.osx.install.deps.sh b/CI/travis.osx.install.deps.sh
index c6621b735..796a71e4d 100755
--- a/CI/travis.osx.install.deps.sh
+++ b/CI/travis.osx.install.deps.sh
@@ -1,7 +1,7 @@
#!/bin/bash
set -ev
-MONO_VER=3.6.0
+MONO_VER=4.0.2
brew update
which cmake || brew install cmake
diff --git a/Lib/CustomBuildTasks/CustomBuildTasks.csproj b/Lib/CustomBuildTasks/CustomBuildTasks.csproj
index 1c50a44aa..c8ac691d7 100644
--- a/Lib/CustomBuildTasks/CustomBuildTasks.csproj
+++ b/Lib/CustomBuildTasks/CustomBuildTasks.csproj
@@ -9,9 +9,11 @@
Properties
CustomBuildTasks
CustomBuildTasks
- v3.5
+ v4.5
512
+ 8.0.30703
+ 2.0
true
@@ -33,7 +35,11 @@
-
+
+
+
+
+
diff --git a/Lib/CustomBuildTasks/CustomBuildTasksExe/CustomBuildTasksExe.csproj b/Lib/CustomBuildTasks/CustomBuildTasksExe/CustomBuildTasksExe.csproj
new file mode 100644
index 000000000..e957378b6
--- /dev/null
+++ b/Lib/CustomBuildTasks/CustomBuildTasksExe/CustomBuildTasksExe.csproj
@@ -0,0 +1,51 @@
+
+
+
+ Debug
+ AnyCPU
+ 8.0.30703
+ 2.0
+ {3A032B41-0FE8-411E-B60B-AD6D22B1BBFE}
+ Exe
+ CustomeBuildTasksExe
+ CustomBuildTasksExe
+ False
+ CustomeBuildTasksExe.MainClass
+ v4.5
+
+
+ true
+ full
+ false
+ .
+ DEBUG;
+ prompt
+ 4
+ true
+
+
+ true
+ .
+ prompt
+ 4
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {B6138573-A4B9-44E7-83C2-8964CAF51EDA}
+ CustomBuildTasks
+
+
+
\ No newline at end of file
diff --git a/Lib/CustomBuildTasks/CustomBuildTasksExe/CustomBuildTasksExe.sln b/Lib/CustomBuildTasks/CustomBuildTasksExe/CustomBuildTasksExe.sln
new file mode 100644
index 000000000..6a60a90cb
--- /dev/null
+++ b/Lib/CustomBuildTasks/CustomBuildTasksExe/CustomBuildTasksExe.sln
@@ -0,0 +1,23 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomBuildTasksExe", "CustomBuildTasksExe.csproj", "{3A032B41-0FE8-411E-B60B-AD6D22B1BBFE}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomBuildTasks", "..\CustomBuildTasks.csproj", "{B6138573-A4B9-44E7-83C2-8964CAF51EDA}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {3A032B41-0FE8-411E-B60B-AD6D22B1BBFE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3A032B41-0FE8-411E-B60B-AD6D22B1BBFE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3A032B41-0FE8-411E-B60B-AD6D22B1BBFE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3A032B41-0FE8-411E-B60B-AD6D22B1BBFE}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B6138573-A4B9-44E7-83C2-8964CAF51EDA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B6138573-A4B9-44E7-83C2-8964CAF51EDA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B6138573-A4B9-44E7-83C2-8964CAF51EDA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B6138573-A4B9-44E7-83C2-8964CAF51EDA}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+EndGlobal
diff --git a/Lib/CustomBuildTasks/CustomBuildTasksExe/Program.cs b/Lib/CustomBuildTasks/CustomBuildTasksExe/Program.cs
new file mode 100644
index 000000000..6265e54b1
--- /dev/null
+++ b/Lib/CustomBuildTasks/CustomBuildTasksExe/Program.cs
@@ -0,0 +1,39 @@
+using System;
+using System.IO;
+using Microsoft.Build.Utilities;
+using CustomBuildTasks;
+
+namespace CustomeBuildTasksExe
+{
+ class MainClass
+ {
+ public static void Main(string[] args)
+ {
+ if (args.Length > 0)
+ {
+ if (args[0] == "UniqueIdentifierTask")
+ {
+ var guidTask = new GenerateUniqueIdentifierTask();
+ guidTask.OutputFile = args.Length > 1 ? args[1] : Path.Combine(Environment.CurrentDirectory, "Core/UniqueIdentifier.cs");
+ guidTask.Execute();
+ Console.WriteLine("Generated: {0}", guidTask.OutputFile);
+ }
+ else if (args[0] == "NativeDllNameTask")
+ {
+ string fileName;
+ fileName = args.Length < 2 ? Directory.GetFiles("../packages", "libgit2_hash.txt", SearchOption.AllDirectories)[0] : args[1];
+ var dllNameTask = new GenerateNativeDllNameTask();
+ dllNameTask.InputHashFile = new TaskItem(fileName);
+ dllNameTask.OutputFile = args.Length > 1 ? args[2] : Path.Combine(Environment.CurrentDirectory, "Core/NativeDllName.cs");
+ dllNameTask.Execute();
+ Console.WriteLine("Generated: {0}", dllNameTask.OutputFile);
+ return;
+ }
+ else
+ {
+ Console.WriteLine("{0}: Unsupported Microsoft.Build.Utilities.Task Id supplied, no task executed.", args[0]);
+ }
+ }
+ }
+ }
+}
diff --git a/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj b/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj
index 296831989..4e9758e8a 100644
--- a/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj
+++ b/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj
@@ -35,20 +35,18 @@
true
-
- False
- ..\packages\Moq.4.2.1409.1722\lib\net40\Moq.dll
-
-
- False
- ..\packages\xunit.1.9.2\lib\net20\xunit.dll
-
..\packages\xunit.extensions.1.9.2\lib\net20\xunit.extensions.dll
+
+ ..\packages\Moq.4.2.1409.1722\lib\net40\Moq.dll
+
+
+ ..\packages\xunit.1.9.2\lib\net20\xunit.dll
+
diff --git a/LibGit2Sharp/LibGit2Sharp.csproj b/LibGit2Sharp/LibGit2Sharp.csproj
index 6e952be2e..1b6679c88 100644
--- a/LibGit2Sharp/LibGit2Sharp.csproj
+++ b/LibGit2Sharp/LibGit2Sharp.csproj
@@ -4,8 +4,6 @@
Debug
AnyCPU
- 8.0.30703
- 2.0
{EE6ED99F-CB12-4683-B055-D28FC7357A34}
Library
Properties
@@ -14,6 +12,8 @@
v4.0
512
+ 8.0.30703
+ 2.0
true
@@ -23,10 +23,16 @@
TRACE;DEBUG;NET40
prompt
4
- false
true
AllRules.ruleset
bin\Debug\LibGit2Sharp.xml
+
+
+
+
+
+
+
pdbonly
@@ -36,7 +42,6 @@
prompt
4
true
- false
bin\Release\LibGit2Sharp.xml
@@ -382,8 +387,8 @@
-
-
+
+
diff --git a/build.libgit2sharp.sh b/build.libgit2sharp.sh
index acf425a29..d15cdb04c 100755
--- a/build.libgit2sharp.sh
+++ b/build.libgit2sharp.sh
@@ -10,7 +10,7 @@ EXTRADEFINE="$1"
export LD_LIBRARY_PATH=.
# Required for NuGet package restore to run.
-mozroots --import --sync
+#mozroots --import --sync
mono Lib/NuGet/NuGet.exe restore LibGit2Sharp.sln
xbuild CI/build.msbuild /target:Deploy /property:ExtraDefine="$EXTRADEFINE"