fslaborg / zzarchive-FsLab

A collection of packages for data science with F#
http://fslab.org
Other
159 stars 42 forks source link

build fails locally on windows #151

Closed jkone27 closed 3 years ago

jkone27 commented 4 years ago

Hello, tested this on window machine with vs2017 and vs2019 installed,

Microsoft (R) Build Engine version 4.8.3752.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

build command fails with this error message (when trying to build the solution):

The running order is:
  - Clean
  - BuildProjects
  - UpdateFsLabScript
  - UpdateNuSpec
  - BuildNuGets
  - UpdateAndCheckTemplates
  - PlaceTempFiles
  - BuildZipTemplates
  - UpdateVSIXManifest
  - BuildVsTemplates
  - BuildDotnetTemplates
  - TestDotnetTemplatesNuGet
  - All
Running build with 1 worker
Starting Target: Clean
Creating C:\Git\FsLab\temp
Creating C:\Git\FsLab\nuget
Creating C:\Git\FsLab\bin
Finished Target: Clean
Starting Target: BuildProjects (==> Clean)
Building project: FsLab.sln
  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe  FsLab.sln /t:Restore /m  /nodeReuse:False    /p:RestorePackages="False" /p:Configuration="Release" /logger:Fake.MsBuildLogger+ErrorLogger,"C:\Git\FsLab\packages\FAKE\tools\FakeLib.dll"
Microsoft (R) Build Engine version 4.8.3752.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 1-3-2020 14:15:08.
     1>Project "C:\Git\FsLab\FsLab.sln" on node 1 (Restore target(s)).
     1>ValidateSolutionConfiguration:
         Building solution configuration "Release|Any CPU".
     1>C:\Git\FsLab\FsLab.sln.metaproj : error MSB4057: The target "Restore" does not exist in the project. [C:\Git\FsLab\FsLab.sln]
     1>Done Building Project "C:\Git\FsLab\FsLab.sln" (Restore target(s)) -- FAILED.

Build FAILED.

       "C:\Git\FsLab\FsLab.sln" (Restore target) (1) ->
         C:\Git\FsLab\FsLab.sln.metaproj : error MSB4057: The target "Restore" does not exist in the project. [C:\Git\FsLab\FsLab.sln]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.11
Running build failed.
Error:
Building FsLab.sln failed with exitcode 1.
dsyme commented 3 years ago

FsLab is now changing to be an incubation space for F# data science projects, per discussion in https://github.com/fslaborg/zzarchive-FsLab/issues/137#issuecomment-741093688

Closing this out as it relates to the old FsLab package collection.