Master branch fails to build
See original GitHub issueDescription
I’m unable to build current master tagged 5.0.0-beta003
.
λ build
Paket version 5.0.0-beta003
1 second - ready.
Building project with version: LocalBuild
Shortened DependencyGraph for Target All:
<== All
<== GenerateDocs
<== GenerateReferenceDocs
<== RunTests
<== Build
<== Clean
<== MSBuildRestore
<== AssemblyInfo
<== BuildCore
<== DotnetPackage
<== DotnetBuild
<== DotnetRestore
<== InstallDotNetCore
<== GenerateHelp
<== CleanDocs
The running order is:
- Clean
- AssemblyInfo
- MSBuildRestore
- Build
- InstallDotNetCore
- DotnetRestore
- DotnetBuild
- DotnetPackage
- BuildCore
- RunTests
- CleanDocs
- GenerateHelp
- GenerateReferenceDocs
- GenerateDocs
- All
Running build with 1 worker
Starting Target: Clean
Deleting contents of C:\github\Paket\src\Paket\obj
Deleting contents of C:\github\Paket\src\Paket.Bootstrapper\obj
Deleting contents of C:\github\Paket\src\Paket.Core\obj
Deleting contents of C:\github\Paket\tests\Paket.Bootstrapper.Tests\obj
Deleting contents of C:\github\Paket\tests\Paket.Tests\obj
Deleting contents of C:\github\Paket\tests\Paket.Bootstrapper.Tests\bin
Deleting contents of C:\github\Paket\tests\Paket.Tests\bin
Deleting contents of C:\github\Paket\bin
Finished Target: Clean
Starting Target: AssemblyInfo (==> Clean)
Created AssemblyInfo file "src\Paket\AssemblyInfo.fs".
Created AssemblyInfo file "src\Paket.Core\AssemblyInfo.fs".
Created AssemblyInfo file "C:\github\Paket\src\Paket.Bootstrapper\Properties\AssemblyInfo.cs".
Finished Target: AssemblyInfo
Starting Target: MSBuildRestore (==> AssemblyInfo)
Building project: C:\github\Paket\Paket.sln
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe C:\github\Paket\Paket.sln /t:Restore /m /p:RestorePackages="True" /logger:Fake.MsBuildLogger+ErrorLogger,"C:\github\Paket\packages\build\FAKE\tools\FakeLib.dll"
Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 5/17/2017 8:35:41 PM.
1>Project "C:\github\Paket\Paket.sln" on node 1 (Restore target(s)).
1>ValidateSolutionConfiguration:
Building solution configuration "Debug|Any CPU".
1>Project "C:\github\Paket\Paket.sln" (1) is building "C:\github\Paket\tests\Paket.Tests\Paket.Tests.fsproj" (2) on node 1 (Restore target(s)).
2>C:\github\Paket\tests\Paket.Tests\Paket.Tests.fsproj : error MSB4057: The target "Restore" does not exist in the project.
2>Done Building Project "C:\github\Paket\tests\Paket.Tests\Paket.Tests.fsproj" (Restore target(s)) -- FAILED.
1>Project "C:\github\Paket\Paket.sln" (1) is building "C:\github\Paket\src\Paket.Core\Paket.Core.fsproj" (3) on node 4 (Restore target(s)).
3>C:\github\Paket\src\Paket.Core\Paket.Core.fsproj : error MSB4057: The target "Restore" does not exist in the project.
3>Done Building Project "C:\github\Paket\src\Paket.Core\Paket.Core.fsproj" (Restore target(s)) -- FAILED.
1>Project "C:\github\Paket\Paket.sln" (1) is building "C:\github\Paket\src\Paket\Paket.fsproj" (4) on node 2 (Restore target(s)).
4>C:\github\Paket\src\Paket\Paket.fsproj : error MSB4057: The target "Restore" does not exist in the project.
4>Done Building Project "C:\github\Paket\src\Paket\Paket.fsproj" (Restore target(s)) -- FAILED.
1>Project "C:\github\Paket\Paket.sln" (1) is building "C:\github\Paket\integrationtests\Paket.IntegrationTests\Paket.IntegrationTests.fsproj" (5) on node 6 (Restore target(s)).
5>C:\github\Paket\integrationtests\Paket.IntegrationTests\Paket.IntegrationTests.fsproj : error MSB4057: The target "Restore" does not exist in the project.
5>Done Building Project "C:\github\Paket\integrationtests\Paket.IntegrationTests\Paket.IntegrationTests.fsproj" (Restore target(s)) -- FAILED.
1>Project "C:\github\Paket\Paket.sln" (1) is building "C:\github\Paket\tests\Paket.Bootstrapper.Tests\Paket.Bootstrapper.Tests.csproj" (6) on node 5 (Restore target(s)).
6>C:\github\Paket\tests\Paket.Bootstrapper.Tests\Paket.Bootstrapper.Tests.csproj : error MSB4057: The target "Restore" does not exist in the project.
1>Project "C:\github\Paket\Paket.sln" (1) is building "C:\github\Paket\src\Paket.Bootstrapper\Paket.Bootstrapper.csproj" (7) on node 3 (Restore target(s)).
7>C:\github\Paket\src\Paket.Bootstrapper\Paket.Bootstrapper.csproj : error MSB4057: The target "Restore" does not exist in the project.
6>Done Building Project "C:\github\Paket\tests\Paket.Bootstrapper.Tests\Paket.Bootstrapper.Tests.csproj" (Restore target(s)) -- FAILED.
7>Done Building Project "C:\github\Paket\src\Paket.Bootstrapper\Paket.Bootstrapper.csproj" (Restore target(s)) -- FAILED.
1>Done Building Project "C:\github\Paket\Paket.sln" (Restore target(s)) -- FAILED.
Build FAILED.
"C:\github\Paket\Paket.sln" (Restore target) (1) ->
"C:\github\Paket\tests\Paket.Tests\Paket.Tests.fsproj" (Restore target) (2) ->
C:\github\Paket\tests\Paket.Tests\Paket.Tests.fsproj : error MSB4057: The target "Restore" does not exist in the project.
"C:\github\Paket\Paket.sln" (Restore target) (1) ->
"C:\github\Paket\src\Paket.Core\Paket.Core.fsproj" (Restore target) (3) ->
C:\github\Paket\src\Paket.Core\Paket.Core.fsproj : error MSB4057: The target "Restore" does not exist in the project.
"C:\github\Paket\Paket.sln" (Restore target) (1) ->
"C:\github\Paket\src\Paket\Paket.fsproj" (Restore target) (4) ->
C:\github\Paket\src\Paket\Paket.fsproj : error MSB4057: The target "Restore" does not exist in the project.
"C:\github\Paket\Paket.sln" (Restore target) (1) ->
"C:\github\Paket\integrationtests\Paket.IntegrationTests\Paket.IntegrationTests.fsproj" (Restore target) (5) ->
C:\github\Paket\integrationtests\Paket.IntegrationTests\Paket.IntegrationTests.fsproj : error MSB4057: The target "Restore" does not exist in the project.
"C:\github\Paket\Paket.sln" (Restore target) (1) ->
"C:\github\Paket\tests\Paket.Bootstrapper.Tests\Paket.Bootstrapper.Tests.csproj" (Restore target) (6) ->
C:\github\Paket\tests\Paket.Bootstrapper.Tests\Paket.Bootstrapper.Tests.csproj : error MSB4057: The target "Restore" does not exist in the project.
"C:\github\Paket\Paket.sln" (Restore target) (1) ->
"C:\github\Paket\src\Paket.Bootstrapper\Paket.Bootstrapper.csproj" (Restore target) (7) ->
C:\github\Paket\src\Paket.Bootstrapper\Paket.Bootstrapper.csproj : error MSB4057: The target "Restore" does not exist in the project.
0 Warning(s)
6 Error(s)
Time Elapsed 00:00:00.14
---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target Duration
------ --------
Clean 00:00:00.0248614
AssemblyInfo 00:00:00.0347605
Total: 00:00:00.7780143
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
I have dotnet preview2 installed and in path:
λ dotnet --version
2.0.0-preview2-006067
Invoking dotnet restore
results in:
λ dotnet restore
C:\github\Paket\tests\Paket.Tests\Paket.Tests.fsproj : error MSB4057: The target "_GenerateRestoreProjectPathWalk" does not exist in the project.
C:\github\Paket\src\Paket\Paket.fsproj : error MSB4057: The target "_GenerateRestoreProjectPathWalk" does not exist in the project.
C:\github\Paket\src\Paket.Core\Paket.Core.fsproj : error MSB4057: The target "_GenerateRestoreProjectPathWalk" does not exist in the project.
C:\github\Paket\integrationtests\Paket.IntegrationTests\Paket.IntegrationTests.fsproj : error MSB4057: The target "_GenerateRestoreProjectPathWalk" does not exist in the project.
Restoring packages for C:\github\Paket\src\Paket.Bootstrapper\Paket.Bootstrapper.csproj...
Generating MSBuild file C:\github\Paket\src\Paket.Bootstrapper\obj\Paket.Bootstrapper.csproj.nuget.g.props.
Generating MSBuild file C:\github\Paket\src\Paket.Bootstrapper\obj\Paket.Bootstrapper.csproj.nuget.g.targets.
Writing lock file to disk. Path: C:\github\Paket\src\Paket.Bootstrapper\obj\project.assets.json
Restore completed in 81.76 ms for C:\github\Paket\src\Paket.Bootstrapper\Paket.Bootstrapper.csproj.
NuGet Config files used:
C:\github\Paket\NuGet.Config
C:\Users\BRE44821\AppData\Roaming\NuGet\NuGet.Config
Feeds used:
https://api.nuget.org/v3/index.json
Any tips?
Issue Analytics
- State:
- Created 6 years ago
- Comments:26 (25 by maintainers)
Top Results From Across the Web
git - Master builds ok, but taking a clean branch from ...
I'm using git and I have a remote repo with master branch. This branch currently builds perfectly on my local machine and our...
Read more >Git failed to build in master branch (#6761) · Issues
An error occurred while fetching participants. Git failed to build in master branch. Issue actions.
Read more >Master branch won't build after develop ...
I was just wondering if this an amplify console issue since I am not getting the frontend build error when I deploy on...
Read more >PR Build Fails but Branch Build Succeeds
I am having trouble understanding why my PR build is failing while the exact same code in the branch build is succeeding.
Read more >Failing on the master branch instead of failing on...
My question is why is it showing 'Failing on the master branch when i'm running on BatchA, i'm expecting 'Failing on the BatchA...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@theimowski can you try again with latest master (where we updated FAKE)?
Thanks @matthid works like a charm now