Permalink
Browse files

Switched solution to use NuGet package restore. More info at http://d…

  • Loading branch information...
1 parent 03961bf commit 44379a710ebc8768d9961783e5a69e858472de73 @nikmd23 nikmd23 committed Aug 20, 2012
Showing with 183 additions and 233,233 deletions.
  1. +2 −1 .gitignore
  2. +6 −0 .nuget/NuGet.Config
  3. BIN .nuget/NuGet.exe
  4. +143 −0 .nuget/NuGet.targets
  5. +8 −0 Glimpse.All.sln
  6. BIN packages/AntiXSS.4.2.1/AntiXSS.4.2.1.nupkg
  7. BIN packages/AntiXSS.4.2.1/lib/net20/AntiXssLibrary.dll
  8. +0 −3,668 packages/AntiXSS.4.2.1/lib/net20/AntiXssLibrary.xml
  9. BIN packages/AntiXSS.4.2.1/lib/net35/AntiXssLibrary.dll
  10. +0 −3,623 packages/AntiXSS.4.2.1/lib/net35/AntiXssLibrary.xml
  11. BIN packages/AntiXSS.4.2.1/lib/net35/HtmlSanitizationLibrary.dll
  12. +0 −3,462 packages/AntiXSS.4.2.1/lib/net35/HtmlSanitizationLibrary.xml
  13. BIN packages/AntiXSS.4.2.1/lib/net40/AntiXssLibrary.dll
  14. +0 −3,666 packages/AntiXSS.4.2.1/lib/net40/AntiXssLibrary.xml
  15. BIN packages/AntiXSS.4.2.1/lib/net40/HtmlSanitizationLibrary.dll
  16. +0 −3,462 packages/AntiXSS.4.2.1/lib/net40/HtmlSanitizationLibrary.xml
  17. +0 −57 packages/Castle.Core.3.0.0.4001/ASL - Apache Software Foundation License.txt
  18. +0 −70 packages/Castle.Core.3.0.0.4001/BreakingChanges.txt
  19. BIN packages/Castle.Core.3.0.0.4001/Castle.Core.3.0.0.4001.nupkg
  20. +0 −171 packages/Castle.Core.3.0.0.4001/Changes.txt
  21. +0 −80 packages/Castle.Core.3.0.0.4001/Committers.txt
  22. BIN packages/Castle.Core.3.0.0.4001/lib/net35/Castle.Core.dll
  23. +0 −4,820 packages/Castle.Core.3.0.0.4001/lib/net35/Castle.Core.xml
  24. BIN packages/Castle.Core.3.0.0.4001/lib/net40-client/Castle.Core.dll
  25. +0 −4,820 packages/Castle.Core.3.0.0.4001/lib/net40-client/Castle.Core.xml
  26. BIN packages/Castle.Core.3.0.0.4001/lib/sl4/Castle.Core.dll
  27. +0 −4,287 packages/Castle.Core.3.0.0.4001/lib/sl4/Castle.Core.xml
  28. +0 −9 packages/Castle.Core.3.0.0.4001/readme.txt
  29. +0 −6 packages/EntityFramework.4.3.0/Content/App.config.transform
  30. +0 −6 packages/EntityFramework.4.3.0/Content/Web.config.transform
  31. BIN packages/EntityFramework.4.3.0/EntityFramework.4.3.0.nupkg
  32. BIN packages/EntityFramework.4.3.0/lib/net40/EntityFramework.dll
  33. +0 −17,531 packages/EntityFramework.4.3.0/lib/net40/EntityFramework.xml
  34. BIN packages/EntityFramework.4.3.0/tools/EntityFramework.PowerShell.dll
  35. BIN packages/EntityFramework.4.3.0/tools/EntityFramework.psd1
  36. +0 −485 packages/EntityFramework.4.3.0/tools/EntityFramework.psm1
  37. +0 −13 packages/EntityFramework.4.3.0/tools/init.ps1
  38. BIN packages/EntityFramework.4.3.0/tools/migrate.exe
  39. +0 −39 packages/Moq.4.0.10827/License.txt
  40. BIN packages/Moq.4.0.10827/Moq.4.0.10827.nupkg
  41. BIN packages/Moq.4.0.10827/Moq.chm
  42. BIN packages/Moq.4.0.10827/lib/NET35/Moq.dll
  43. BIN packages/Moq.4.0.10827/lib/NET35/Moq.pdb
  44. +0 −5,768 packages/Moq.4.0.10827/lib/NET35/Moq.xml
  45. BIN packages/Moq.4.0.10827/lib/NET40/Moq.dll
  46. BIN packages/Moq.4.0.10827/lib/NET40/Moq.pdb
  47. +0 −5,120 packages/Moq.4.0.10827/lib/NET40/Moq.xml
  48. BIN packages/Moq.4.0.10827/lib/Silverlight4/Castle.Core.dll
  49. BIN packages/Moq.4.0.10827/lib/Silverlight4/Moq.Silverlight.dll
  50. BIN packages/Moq.4.0.10827/lib/Silverlight4/Moq.Silverlight.pdb
  51. +0 −5,101 packages/Moq.4.0.10827/lib/Silverlight4/Moq.Silverlight.xml
  52. BIN packages/NLog.2.0.0.2000/NLog.2.0.0.2000.nupkg
  53. BIN packages/NLog.2.0.0.2000/lib/net20/NLog.dll
  54. +0 −14,286 packages/NLog.2.0.0.2000/lib/net20/NLog.xml
  55. BIN packages/NLog.2.0.0.2000/lib/net35/NLog.dll
  56. +0 −14,403 packages/NLog.2.0.0.2000/lib/net35/NLog.xml
  57. BIN packages/NLog.2.0.0.2000/lib/net40/NLog.dll
  58. +0 −14,353 packages/NLog.2.0.0.2000/lib/net40/NLog.xml
  59. BIN packages/NLog.2.0.0.2000/lib/sl2/NLog.dll
  60. +0 −9,119 packages/NLog.2.0.0.2000/lib/sl2/NLog.xml
  61. BIN packages/NLog.2.0.0.2000/lib/sl3-wp/NLog.dll
  62. +0 −8,978 packages/NLog.2.0.0.2000/lib/sl3-wp/NLog.xml
  63. BIN packages/NLog.2.0.0.2000/lib/sl3/NLog.dll
  64. +0 −9,141 packages/NLog.2.0.0.2000/lib/sl3/NLog.xml
  65. BIN packages/NLog.2.0.0.2000/lib/sl4-windowsphone71/NLog.dll
  66. +0 −9,135 packages/NLog.2.0.0.2000/lib/sl4-windowsphone71/NLog.xml
  67. BIN packages/NLog.2.0.0.2000/lib/sl4/NLog.dll
  68. +0 −9,542 packages/NLog.2.0.0.2000/lib/sl4/NLog.xml
  69. BIN packages/Newtonsoft.Json.4.0.8/Newtonsoft.Json.4.0.8.nupkg
  70. BIN packages/Newtonsoft.Json.4.0.8/lib/net20/Newtonsoft.Json.dll
  71. BIN packages/Newtonsoft.Json.4.0.8/lib/net20/Newtonsoft.Json.pdb
  72. +0 −7,722 packages/Newtonsoft.Json.4.0.8/lib/net20/Newtonsoft.Json.xml
  73. BIN packages/Newtonsoft.Json.4.0.8/lib/net35/Newtonsoft.Json.dll
  74. BIN packages/Newtonsoft.Json.4.0.8/lib/net35/Newtonsoft.Json.pdb
  75. +0 −6,845 packages/Newtonsoft.Json.4.0.8/lib/net35/Newtonsoft.Json.xml
  76. BIN packages/Newtonsoft.Json.4.0.8/lib/net40/Newtonsoft.Json.dll
  77. BIN packages/Newtonsoft.Json.4.0.8/lib/net40/Newtonsoft.Json.pdb
  78. +0 −7,004 packages/Newtonsoft.Json.4.0.8/lib/net40/Newtonsoft.Json.xml
  79. BIN packages/Newtonsoft.Json.4.0.8/lib/sl3-wp/Newtonsoft.Json.dll
  80. BIN packages/Newtonsoft.Json.4.0.8/lib/sl3-wp/Newtonsoft.Json.pdb
  81. +0 −6,437 packages/Newtonsoft.Json.4.0.8/lib/sl3-wp/Newtonsoft.Json.xml
  82. BIN packages/Newtonsoft.Json.4.0.8/lib/sl4-windowsphone71/Newtonsoft.Json.dll
  83. BIN packages/Newtonsoft.Json.4.0.8/lib/sl4-windowsphone71/Newtonsoft.Json.pdb
  84. +0 −6,437 packages/Newtonsoft.Json.4.0.8/lib/sl4-windowsphone71/Newtonsoft.Json.xml
  85. BIN packages/Newtonsoft.Json.4.0.8/lib/sl4/Newtonsoft.Json.dll
  86. BIN packages/Newtonsoft.Json.4.0.8/lib/sl4/Newtonsoft.Json.pdb
  87. +0 −6,467 packages/Newtonsoft.Json.4.0.8/lib/sl4/Newtonsoft.Json.xml
  88. BIN packages/NuGet.CommandLine.1.6.0/NuGet.CommandLine.1.6.0.nupkg
  89. BIN packages/NuGet.CommandLine.1.6.0/tools/NuGet.exe
  90. BIN packages/SharpZipLib.0.86.0/SharpZipLib.0.86.0.nupkg
  91. BIN packages/SharpZipLib.0.86.0/lib/11/ICSharpCode.SharpZipLib.dll
  92. BIN packages/SharpZipLib.0.86.0/lib/20/ICSharpCode.SharpZipLib.dll
  93. BIN packages/SharpZipLib.0.86.0/lib/SL3/SharpZipLib.Silverlight3.dll
  94. BIN packages/SharpZipLib.0.86.0/lib/SL4/SharpZipLib.Silverlight4.dll
  95. BIN packages/Tavis.UriTemplates.0.1.1/Tavis.UriTemplates.0.1.1.nupkg
  96. BIN packages/Tavis.UriTemplates.0.1.1/lib/NET35/Tavis.UriTemplates.dll
  97. BIN packages/Tavis.UriTemplates.0.1.1/lib/NET40/Tavis.UriTemplates.dll
  98. +0 −7,153 packages/jQuery.1.7.1/Content/Scripts/jquery-1.7.1-vsdoc.js
  99. +0 −9,266 packages/jQuery.1.7.1/Content/Scripts/jquery-1.7.1.js
  100. +0 −4 packages/jQuery.1.7.1/Content/Scripts/jquery-1.7.1.min.js
  101. +0 −20 packages/jQuery.1.7.1/Tools/install.ps1
  102. +0 −7,153 packages/jQuery.1.7.1/Tools/jquery-1.7.1-vsdoc-para.js
  103. +0 −46 packages/jQuery.1.7.1/Tools/uninstall.ps1
  104. BIN packages/jQuery.1.7.1/jQuery.1.7.1.nupkg
  105. +0 −1,291 packages/jQuery.Validation.1.9/Content/Scripts/jquery.validate-vsdoc.js
  106. +0 −1,188 packages/jQuery.Validation.1.9/Content/Scripts/jquery.validate.js
  107. +0 −51 packages/jQuery.Validation.1.9/Content/Scripts/jquery.validate.min.js
  108. BIN packages/jQuery.Validation.1.9/jQuery.Validation.1.9.nupkg
  109. BIN packages/psake.4.0.1.0/psake.4.0.1.0.nupkg
  110. +0 −54 packages/psake.4.0.1.0/tools/README.markdown
  111. +0 −14 packages/psake.4.0.1.0/tools/chocolateyInstall.ps1
  112. +0 −1,919 packages/psake.4.0.1.0/tools/en-US/psake.psm1-help.xml
  113. +0 −34 packages/psake.4.0.1.0/tools/examples/checkvariables.ps1
  114. +0 −14 packages/psake.4.0.1.0/tools/examples/continueonerror.ps1
  115. +0 −23 packages/psake.4.0.1.0/tools/examples/default.ps1
  116. +0 −24 packages/psake.4.0.1.0/tools/examples/formattaskname_scriptblock.ps1
  117. +0 −21 packages/psake.4.0.1.0/tools/examples/formattaskname_string.ps1
  118. +0 −17 packages/psake.4.0.1.0/tools/examples/nested.ps1
  119. +0 −1 packages/psake.4.0.1.0/tools/examples/nested/nested1.ps1
  120. +0 −1 packages/psake.4.0.1.0/tools/examples/nested/nested2.ps1
  121. +0 −9 packages/psake.4.0.1.0/tools/examples/parameters.ps1
  122. +0 −3 packages/psake.4.0.1.0/tools/examples/passingParametersString/build.Release.Version.bat
  123. +0 −22 packages/psake.4.0.1.0/tools/examples/passingParametersString/parameters.ps1
  124. +0 −13 packages/psake.4.0.1.0/tools/examples/preandpostaction.ps1
  125. +0 −13 packages/psake.4.0.1.0/tools/examples/properties.ps1
  126. BIN packages/psake.4.0.1.0/tools/images/SakeBottle.jpg
  127. +0 −4 packages/psake.4.0.1.0/tools/images/SakeBottleLicense.txt
  128. BIN packages/psake.4.0.1.0/tools/images/psake.pdn
  129. BIN packages/psake.4.0.1.0/tools/images/psake.png
  130. +0 −10 packages/psake.4.0.1.0/tools/init.ps1
  131. +0 −85 packages/psake.4.0.1.0/tools/psake-buildTester.ps1
  132. +0 −49 packages/psake.4.0.1.0/tools/psake-config.ps1
  133. +0 −7 packages/psake.4.0.1.0/tools/psake-help.ps1
  134. +0 −15 packages/psake.4.0.1.0/tools/psake.cmd
  135. +0 −30 packages/psake.4.0.1.0/tools/psake.ps1
  136. +0 −646 packages/psake.4.0.1.0/tools/psake.psm1
  137. +0 −11 packages/psake.4.0.1.0/tools/specs/bad_PreAndPostActions_should_fail.ps1
  138. +0 −13 packages/psake.4.0.1.0/tools/specs/calling_invoke-task_should_pass.ps1
  139. +0 −3 packages/psake.4.0.1.0/tools/specs/circular_dependency_in_tasks_should_fail.ps1
  140. +0 −5 packages/psake.4.0.1.0/tools/specs/default_task_with_action_should_fail.ps1
  141. +0 −7 packages/psake.4.0.1.0/tools/specs/dotNet4_should_pass.ps1
  142. +0 −3 packages/psake.4.0.1.0/tools/specs/duplicate_tasks_should_fail.ps1
  143. +0 −7 packages/psake.4.0.1.0/tools/specs/explicitly_specified_32bit_build_should_pass.ps1
  144. +0 −13 packages/psake.4.0.1.0/tools/specs/failing_postcondition_should_fail.ps1
  145. +0 −5 packages/psake.4.0.1.0/tools/specs/missing_task_should_fail.ps1
  146. +0 −6 packages/psake.4.0.1.0/tools/specs/multiline_blocks_should_pass.ps1
  147. +0 −1 packages/psake.4.0.1.0/tools/specs/nested/nested1.ps1
  148. +0 −1 packages/psake.4.0.1.0/tools/specs/nested/nested2.ps1
  149. +0 −17 packages/psake.4.0.1.0/tools/specs/nested_builds_should_pass.ps1
  150. +0 −10 packages/psake.4.0.1.0/tools/specs/running_aspnet_compiler_under_dotNet35_should_pass.ps1
  151. +0 −19 packages/psake.4.0.1.0/tools/specs/simple_properties_and_tasks_should_pass.ps1
  152. +0 −17 packages/psake.4.0.1.0/tools/specs/tasksetup_should_pass.ps1
  153. +0 −13 packages/psake.4.0.1.0/tools/specs/using_PreAndPostActions_should_pass.ps1
  154. +0 −4 packages/psake.4.0.1.0/tools/specs/using_msbuild_should_pass.ps1
  155. +0 −9 packages/psake.4.0.1.0/tools/specs/using_parameters_should_pass.ps1
  156. +0 −13 packages/psake.4.0.1.0/tools/specs/using_postcondition_should_pass.ps1
  157. +0 −13 packages/psake.4.0.1.0/tools/specs/using_precondition_should_pass.ps1
  158. +0 −13 packages/psake.4.0.1.0/tools/specs/using_properties_should_pass.ps1
  159. +0 −36 packages/psake.4.0.1.0/tools/specs/writing_psake_variables_should_pass.ps1
  160. +0 −31 packages/psake.4.0.1.0/tools/tabexpansion/PsakeTabExpansion.ps1
  161. +0 −39 packages/psake.4.0.1.0/tools/tabexpansion/Readme.PsakeTab.txt
  162. +0 −11 packages/repositories.config
  163. BIN packages/xunit.1.9.0.1566/lib/xunit.dll
  164. +0 −5 packages/xunit.1.9.0.1566/lib/xunit.dll.tdnet
  165. BIN packages/xunit.1.9.0.1566/lib/xunit.runner.msbuild.dll
  166. BIN packages/xunit.1.9.0.1566/lib/xunit.runner.tdnet.dll
  167. BIN packages/xunit.1.9.0.1566/lib/xunit.runner.utility.dll
  168. +0 −2,604 packages/xunit.1.9.0.1566/lib/xunit.xml
  169. BIN packages/xunit.1.9.0.1566/xunit.1.9.0.1566.nupkg
  170. BIN packages/xunit.1.9.1/lib/net20/xunit.dll
  171. +0 −5 packages/xunit.1.9.1/lib/net20/xunit.dll.tdnet
  172. BIN packages/xunit.1.9.1/lib/net20/xunit.runner.msbuild.dll
  173. BIN packages/xunit.1.9.1/lib/net20/xunit.runner.tdnet.dll
  174. BIN packages/xunit.1.9.1/lib/net20/xunit.runner.utility.dll
  175. +0 −2,611 packages/xunit.1.9.1/lib/net20/xunit.xml
  176. BIN packages/xunit.1.9.1/xunit.1.9.1.nupkg
  177. BIN packages/xunit.extensions.1.9.1/lib/net20/xunit.extensions.dll
  178. +0 −811 packages/xunit.extensions.1.9.1/lib/net20/xunit.extensions.xml
  179. BIN packages/xunit.extensions.1.9.1/xunit.extensions.1.9.1.nupkg
  180. +0 −126 packages/xunit.runners.1.9.0.1566/tools/HTML.xslt
  181. +0 −121 packages/xunit.runners.1.9.0.1566/tools/NUnitXml.xslt
  182. BIN packages/xunit.runners.1.9.0.1566/tools/xunit.console.clr4.exe
  183. +0 −21 packages/xunit.runners.1.9.0.1566/tools/xunit.console.clr4.exe.config
  184. BIN packages/xunit.runners.1.9.0.1566/tools/xunit.console.clr4.x86.exe
  185. +0 −21 packages/xunit.runners.1.9.0.1566/tools/xunit.console.clr4.x86.exe.config
  186. BIN packages/xunit.runners.1.9.0.1566/tools/xunit.console.exe
  187. +0 −21 packages/xunit.runners.1.9.0.1566/tools/xunit.console.exe.config
  188. BIN packages/xunit.runners.1.9.0.1566/tools/xunit.console.x86.exe
  189. +0 −21 packages/xunit.runners.1.9.0.1566/tools/xunit.console.x86.exe.config
  190. BIN packages/xunit.runners.1.9.0.1566/tools/xunit.gui.clr4.exe
  191. BIN packages/xunit.runners.1.9.0.1566/tools/xunit.gui.clr4.x86.exe
  192. BIN packages/xunit.runners.1.9.0.1566/tools/xunit.gui.exe
  193. BIN packages/xunit.runners.1.9.0.1566/tools/xunit.gui.x86.exe
  194. BIN packages/xunit.runners.1.9.0.1566/tools/xunit.runner.msbuild.dll
  195. BIN packages/xunit.runners.1.9.0.1566/tools/xunit.runner.utility.dll
  196. +0 −1,212 packages/xunit.runners.1.9.0.1566/tools/xunit.runner.utility.xml
  197. BIN packages/xunit.runners.1.9.0.1566/xunit.runners.1.9.0.1566.nupkg
  198. +3 −0 source/Glimpse.Core.Net35/Glimpse.Core.Net35.csproj
  199. +3 −0 source/Glimpse.Core/Glimpse.Core.csproj
  200. +3 −0 source/Glimpse.Mvc3.MusicStore.Sample/Glimpse.Mvc3.MusicStore.Sample.csproj
  201. +3 −0 source/Glimpse.Test.AspNet.Net35/Glimpse.Test.AspNet.Net35.csproj
  202. +3 −0 source/Glimpse.Test.AspNet/Glimpse.Test.AspNet.csproj
  203. +3 −0 source/Glimpse.Test.Core.Net35/Glimpse.Test.Core.Net35.csproj
  204. +3 −0 source/Glimpse.Test.Core/Glimpse.Test.Core.csproj
  205. +3 −0 source/Glimpse.Test.Mvc3/Glimpse.Test.Mvc3.csproj
View
@@ -45,4 +45,5 @@ Glimpse.5.1.ReSharper.user
/source/Glimpse.Mvc3.MusicStore.Sample/App_Data/MvcMusicStore.sdf
/source/Glimpse.Mvc3.MusicStore.Sample/Glimpse.log
/Packages.dgml
-/source/Glimpse.Core2/NuSpec/lib/net35/Glimpse.Core2.dll
+/source/Glimpse.Core2/NuSpec/lib/net35/Glimpse.Core2.dll
+/packages
View
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <solution>
+ <add key="disableSourceControlIntegration" value="true" />
+ </solution>
+</configuration>
View
Binary file not shown.
View
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
+
+ <!-- Enable the restore command to run before builds -->
+ <RestorePackages Condition=" '$(RestorePackages)' == '' ">false</RestorePackages>
+
+ <!-- Property that enables building a package from a project -->
+ <BuildPackage Condition=" '$(BuildPackage)' == '' ">false</BuildPackage>
+
+ <!-- Determines if package restore consent is required to restore packages -->
+ <RequireRestoreConsent Condition=" '$(RequireRestoreConsent)' != 'false' ">true</RequireRestoreConsent>
+
+ <!-- Download NuGet.exe if it does not already exist -->
+ <DownloadNuGetExe Condition=" '$(DownloadNuGetExe)' == '' ">false</DownloadNuGetExe>
+ </PropertyGroup>
+
+ <ItemGroup Condition=" '$(PackageSources)' == '' ">
+ <!-- Package sources used to restore packages. By default will used the registered sources under %APPDATA%\NuGet\NuGet.Config -->
+ <!--
+ <PackageSource Include="https://nuget.org/api/v2/" />
+ <PackageSource Include="https://my-nuget-source/nuget/" />
+ -->
+ </ItemGroup>
+
+ <PropertyGroup Condition=" '$(OS)' == 'Windows_NT'">
+ <!-- Windows specific commands -->
+ <NuGetToolsPath>$([System.IO.Path]::Combine($(SolutionDir), ".nuget"))</NuGetToolsPath>
+ <PackagesConfig>$([System.IO.Path]::Combine($(ProjectDir), "packages.config"))</PackagesConfig>
+ <PackagesDir>$([System.IO.Path]::Combine($(SolutionDir), "packages"))</PackagesDir>
+ </PropertyGroup>
+
+ <PropertyGroup Condition=" '$(OS)' != 'Windows_NT'">
+ <!-- We need to launch nuget.exe with the mono command if we're not on windows -->
+ <NuGetToolsPath>$(SolutionDir).nuget</NuGetToolsPath>
+ <PackagesConfig>packages.config</PackagesConfig>
+ <PackagesDir>$(SolutionDir)packages</PackagesDir>
+ </PropertyGroup>
+
+ <PropertyGroup>
+ <!-- NuGet command -->
+ <NuGetExePath Condition=" '$(NuGetExePath)' == '' ">$(NuGetToolsPath)\nuget.exe</NuGetExePath>
+ <PackageSources Condition=" $(PackageSources) == '' ">@(PackageSource)</PackageSources>
+
+ <NuGetCommand Condition=" '$(OS)' == 'Windows_NT'">"$(NuGetExePath)"</NuGetCommand>
+ <NuGetCommand Condition=" '$(OS)' != 'Windows_NT' ">mono --runtime=v4.0.30319 $(NuGetExePath)</NuGetCommand>
+
+ <PackageOutputDir Condition="$(PackageOutputDir) == ''">$(TargetDir.Trim('\\'))</PackageOutputDir>
+
+ <RequireConsentSwitch Condition=" $(RequireRestoreConsent) == 'true' ">-RequireConsent</RequireConsentSwitch>
+ <!-- Commands -->
+ <RestoreCommand>$(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(RequireConsentSwitch) -o "$(PackagesDir)"</RestoreCommand>
+ <BuildCommand>$(NuGetCommand) pack "$(ProjectPath)" -p Configuration=$(Configuration) -o "$(PackageOutputDir)" -symbols</BuildCommand>
+
+ <!-- Make the build depend on restore packages -->
+ <BuildDependsOn Condition="$(RestorePackages) == 'true'">
+ RestorePackages;
+ $(BuildDependsOn);
+ </BuildDependsOn>
+
+ <!-- Make the build depend on restore packages -->
+ <BuildDependsOn Condition="$(BuildPackage) == 'true'">
+ $(BuildDependsOn);
+ BuildPackage;
+ </BuildDependsOn>
+ </PropertyGroup>
+
+ <Target Name="CheckPrerequisites">
+ <!-- Raise an error if we're unable to locate nuget.exe -->
+ <Error Condition="'$(DownloadNuGetExe)' != 'true' AND !Exists('$(NuGetExePath)')" Text="Unable to locate '$(NuGetExePath)'" />
+ <SetEnvironmentVariable EnvKey="VisualStudioVersion" EnvValue="$(VisualStudioVersion)" Condition=" '$(VisualStudioVersion)' != '' AND '$(OS)' == 'Windows_NT' " />
+ <DownloadNuGet OutputFilename="$(NuGetExePath)" Condition=" '$(DownloadNuGetExe)' == 'true' AND !Exists('$(NuGetExePath)')" />
+ </Target>
+
+ <Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
+ <Exec Command="$(RestoreCommand)"
+ Condition="'$(OS)' != 'Windows_NT' And Exists('$(PackagesConfig)')" />
+
+ <Exec Command="$(RestoreCommand)"
+ LogStandardErrorAsError="true"
+ Condition="'$(OS)' == 'Windows_NT' And Exists('$(PackagesConfig)')" />
+ </Target>
+
+ <Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites">
+ <Exec Command="$(BuildCommand)"
+ Condition=" '$(OS)' != 'Windows_NT' " />
+
+ <Exec Command="$(BuildCommand)"
+ LogStandardErrorAsError="true"
+ Condition=" '$(OS)' == 'Windows_NT' " />
+ </Target>
+
+ <UsingTask TaskName="DownloadNuGet" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
+ <ParameterGroup>
+ <OutputFilename ParameterType="System.String" Required="true" />
+ </ParameterGroup>
+ <Task>
+ <Reference Include="System.Core" />
+ <Using Namespace="System" />
+ <Using Namespace="System.IO" />
+ <Using Namespace="System.Net" />
+ <Using Namespace="Microsoft.Build.Framework" />
+ <Using Namespace="Microsoft.Build.Utilities" />
+ <Code Type="Fragment" Language="cs">
+ <![CDATA[
+ try {
+ OutputFilename = Path.GetFullPath(OutputFilename);
+
+ Log.LogMessage("Downloading latest version of NuGet.exe...");
+ WebClient webClient = new WebClient();
+ webClient.DownloadFile("https://nuget.org/nuget.exe", OutputFilename);
+
+ return true;
+ }
+ catch (Exception ex) {
+ Log.LogErrorFromException(ex);
+ return false;
+ }
+ ]]>
+ </Code>
+ </Task>
+ </UsingTask>
+
+ <UsingTask TaskName="SetEnvironmentVariable" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
+ <ParameterGroup>
+ <EnvKey ParameterType="System.String" Required="true" />
+ <EnvValue ParameterType="System.String" Required="true" />
+ </ParameterGroup>
+ <Task>
+ <Using Namespace="System" />
+ <Code Type="Fragment" Language="cs">
+ <![CDATA[
+ try {
+ Environment.SetEnvironmentVariable(EnvKey, EnvValue, System.EnvironmentVariableTarget.Process);
+ }
+ catch {
+ }
+ ]]>
+ </Code>
+ </Task>
+ </UsingTask>
+</Project>
View
@@ -36,6 +36,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Glimpse.Test.AspNet.Net35",
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Glimpse.JavaScript", "source\Glimpse.JavaScript\Glimpse.JavaScript.csproj", "{2C80D03B-32DC-4D52-9200-0B7598D9D1FF}"
EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{0352975D-08B7-435E-B444-A77292D4F6E1}"
+ ProjectSection(SolutionItems) = preProject
+ .nuget\NuGet.Config = .nuget\NuGet.Config
+ .nuget\NuGet.exe = .nuget\NuGet.exe
+ .nuget\NuGet.targets = .nuget\NuGet.targets
+ .nuget\packages.config = .nuget\packages.config
+ EndProjectSection
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Binary file not shown.
Binary file not shown.
Oops, something went wrong.

0 comments on commit 44379a7

Please sign in to comment.