diff --git a/.gitignore b/.gitignore index a74e88d0..827d62a9 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ TestResults GitTfs/GitVersionInfo pkg GitTfs.sln.* -*.dotCover \ No newline at end of file +*.dotCover +packages/ diff --git a/.nuget/NuGet.Config b/.nuget/NuGet.Config new file mode 100644 index 00000000..67f8ea04 --- /dev/null +++ b/.nuget/NuGet.Config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.nuget/NuGet.exe b/.nuget/NuGet.exe new file mode 100644 index 00000000..f4fe4abd Binary files /dev/null and b/.nuget/NuGet.exe differ diff --git a/.nuget/NuGet.targets b/.nuget/NuGet.targets new file mode 100644 index 00000000..bda5bea3 --- /dev/null +++ b/.nuget/NuGet.targets @@ -0,0 +1,143 @@ + + + + $(MSBuildProjectDirectory)\..\ + + + false + + + false + + + true + + + false + + + + + + + + + + $([System.IO.Path]::Combine($(SolutionDir), ".nuget")) + $([System.IO.Path]::Combine($(ProjectDir), "packages.config")) + $([System.IO.Path]::Combine($(SolutionDir), "packages")) + + + + + $(SolutionDir).nuget + packages.config + $(SolutionDir)packages + + + + + $(NuGetToolsPath)\nuget.exe + @(PackageSource) + + "$(NuGetExePath)" + mono --runtime=v4.0.30319 $(NuGetExePath) + + $(TargetDir.Trim('\\')) + + -RequireConsent + + $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(RequireConsentSwitch) -o "$(PackagesDir)" + $(NuGetCommand) pack "$(ProjectPath)" -p Configuration=$(Configuration) -o "$(PackageOutputDir)" -symbols + + + + RestorePackages; + $(BuildDependsOn); + + + + + $(BuildDependsOn); + BuildPackage; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GitTfs.Vs11/GitTfs.Vs11.csproj b/GitTfs.Vs11/GitTfs.Vs11.csproj index cbeed3f8..69550f9e 100644 --- a/GitTfs.Vs11/GitTfs.Vs11.csproj +++ b/GitTfs.Vs11/GitTfs.Vs11.csproj @@ -12,6 +12,8 @@ GitTfs.Vs11 v4.0 512 + ..\ + true true @@ -87,6 +89,7 @@ xcopy /y "$(TargetDir)*.dll" "$(SolutionDir)GitTfs\$(OutDir)" +