Skip to content

Commit

Permalink
Restoring from root as when trying to build scopes, dependent project…
Browse files Browse the repository at this point in the history
…s are not restored successfully
  • Loading branch information
shahabhijeet committed Jan 26, 2017
1 parent b6addd6 commit a1493da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@

<!-- Restoring everyting from the root folder wipes out Storage nuget references and adds Storage project reference to all projects. -->
<!-- Restoring from root directory when publishing scope packages -->
<Exec Command="dotnet restore" WorkingDirectory="$(LibrarySourceFolder)\$(Scope)" Condition="Exists('$(LibrarySourceFolder)\$(Scope)') AND '$(Scope)' != 'all'"/>
<Exec Command="dotnet restore" WorkingDirectory="$(LibraryRoot)" />

<Exec Command="dotnet restore" WorkingDirectory="%(NetCore_AutoRestLibraries.Library)" Condition=" @(NetCore_AutoRestLibraries) != '' "/>
<Exec Command="dotnet restore" WorkingDirectory="%(NetCore_AutoRestLibraries.Test)" Condition=" @(NetCore_AutoRestLibraries) != '' and '%(NetCore_AutoRestLibraries.Test)' != '' and '$(Configuration)' != 'Release' "/>
Expand Down

0 comments on commit a1493da

Please sign in to comment.