This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites"> | |
<!--Update the NuGet.target file that is generated when you enable NuGet package restore with the following tweak.--> | |
<!--This will make it so that everyone pulling the project from source control will automatically pull the requisite NuGet packages the first time they build.--> | |
<!--While I understand why MS put this in place, it really doesn't make sense in the context of my current team (or any other team I've ever worked on).--> | |
<SetEnvironmentVariable EnvKey="EnableNuGetPackageRestore" EnvValue="true" Condition=" '$(VisualStudioVersion)' != '' AND '$(OS)' == 'Windows_NT' " /> | |
<Exec Command="$(RestoreCommand)" | |
Condition="'$(OS)' != 'Windows_NT' And Exists('$(PackagesConfig)')" /> | |