Migrate MSBuild-Integrated solutions to use Automatic Package Restore

http://docs.nuget.org/consume/package-restore/migrating-to-automatic-package-restore
This commit is contained in:
bao-qian
2015-10-31 19:15:58 +00:00
parent 4a95dd8ba3
commit ca8293ebdb
20 changed files with 29 additions and 281 deletions

View File

@@ -12,7 +12,6 @@
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -84,7 +83,6 @@
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
@@ -92,4 +90,5 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>