Fix local builds of src/DataProtection/build.cmd

This commit is contained in:
Nate McMaster 2018-10-17 17:35:01 -07:00
parent 6994c4fc48
commit 674401235b
No known key found for this signature in database
GPG Key ID: A778D9601BD78810
2 changed files with 10 additions and 0 deletions

View File

@ -21,5 +21,10 @@
https://vside.myget.org/F/vssdk/api/v3/index.json;
https://vside.myget.org/F/vsmac/api/v3/index.json
</RestoreSources>
<!-- Temporary until we can replace PackageRef with ProjectRef -->
<RestoreSources Condition=" '$(SubFolderRepoBuild)' == 'true' AND '$(DotNetBuildOffline)' != 'true' AND '$(DisableMyGetRestoreSources)' != 'true' ">
$(RestoreSources);
https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json;
</RestoreSources>
</PropertyGroup>
</Project>

View File

@ -1,5 +1,10 @@
<Project>
<PropertyGroup>
<!-- Temporary until we can replace PackageRef with ProjectRef -->
<SubFolderRepoBuild>true</SubFolderRepoBuild>
</PropertyGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.props))\Directory.Build.props" />
<Import Project="version.props" />