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..daf22c836 100644
--- a/CI/build.msbuild
+++ b/CI/build.msbuild
@@ -17,6 +17,9 @@
Overwrite="true" />
+
+
+
diff --git a/Lib/CustomBuildTasks/CustomBuildTasks.csproj b/Lib/CustomBuildTasks/CustomBuildTasks.csproj
index 1c50a44aa..900452acc 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,9 @@
-
+
+
+
@@ -41,3 +45,4 @@
+
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/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..3d7bd312d 100644
--- a/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj
+++ b/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj
@@ -12,6 +12,13 @@
LibGit2Sharp.Tests
LibGit2Sharp.Tests
v4.0
+
+
+
+
+
+
+
512
@@ -24,6 +31,13 @@
prompt
4
true
+
+
+
+
+
+
+
pdbonly
@@ -33,6 +47,13 @@
prompt
4
true
+
+
+
+
+
+
+
diff --git a/LibGit2Sharp/LibGit2Sharp.csproj b/LibGit2Sharp/LibGit2Sharp.csproj
index 6e952be2e..efec326bb 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,8 +42,14 @@
prompt
4
true
- false
bin\Release\LibGit2Sharp.xml
+
+
+
+
+
+
+
@@ -382,8 +394,8 @@
-
-
+
+