Commits

Devin Martin  committed 71acba8

Add a build project for nuget package restore. Remove nuget packages from source.

  • Participants
  • Parent commits 7c1c257

Comments (0)

Files changed (12)

 *.suo
 *.user
 *.orig
-TestResults
+TestResults
+packages/
+!packages/repositories.config
+msbuild.log

File Build/Build.proj

+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0"
+         DefaultTargets="Build"
+         xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration>Release</Configuration>
+    <ProjectProperties>
+      Configuration=$(Configuration);
+    </ProjectProperties>
+  </PropertyGroup>
+
+  <ItemGroup>
+    <Solution Include="$(MSBuildThisFileDirectory)..\KeeCloud.sln" />
+  </ItemGroup>
+
+  <Target Name="RestorePackages">
+    <Exec Command="&quot;$(MSBuildThisFileDirectory)NuGet.exe&quot; restore &quot;%(Solution.Identity)&quot;" />
+  </Target>
+
+  <Target Name="Clean">
+    <MSBuild Targets="Clean"
+             Projects="@(Solution)"
+             Properties="$(ProjectProperties)" />
+  </Target>
+
+  <Target Name="Build" DependsOnTargets="RestorePackages">
+    <MSBuild Targets="Build"
+             Projects="@(Solution)"
+             Properties="$(ProjectProperties)" />
+  </Target>
+
+  <Target Name="Rebuild" DependsOnTargets="RestorePackages">
+    <MSBuild Targets="Rebuild"
+             Projects="@(Solution)"
+             Properties="$(ProjectProperties)" />
+  </Target>
+
+</Project>

File Build/nuget.exe

Binary file added.

File KeeCloud.sln

 # Visual Studio 2012
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KeeCloud", "KeeCloud\KeeCloud.csproj", "{967E2FA7-FB8F-4578-9A90-8D32B476671A}"
 EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{DD8647EB-033A-4558-9CA8-0D2CAEAE2CB0}"
+	ProjectSection(SolutionItems) = preProject
+		Build\Build.proj = Build\Build.proj
+	EndProjectSection
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
+@echo Off
+SETLOCAL
+set config=%1
+
+if "%config%" == "" (
+   set config=debug
+)
+
+set EnableNuGetPackageRestore=true 
+%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild Build\Build.proj /p:Configuration="%config%" /p:Platform="Any CPU" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Detailed /nr:false 
+ENDLOCAL

File packages/AWSSDK.1.5.12.0/AWSSDK.1.5.12.0.nupkg

Binary file removed.

File packages/AWSSDK.1.5.12.0/lib/AWSSDK.dll

Binary file removed.

File packages/DropNet.1.9.3/DropNet.1.9.3.nupkg

Binary file removed.

File packages/DropNet.1.9.3/lib/net35/DropNet.dll

Binary file removed.

File packages/DropNet.1.9.3/lib/net35/RestSharp.dll

Binary file removed.

File packages/DropNet.1.9.3/lib/sl4-wp71/DropNet.WindowsPhone.dll

Binary file removed.

File packages/DropNet.1.9.3/lib/sl4-wp71/RestSharp.WindowsPhone.dll

Binary file removed.