Skip to content

dotnet paket restore fails MSB3073  #5

Description

@surfmuggle

After following these steps

  1. Clone: git clone https://github.com/dsyme/guido-learns-fsharp and cd guido-learns-fsharp
  2. Install dotnet "local tools" with: dotnet tool restore
  3. Build and run in watch mode use the following command: dotnet run

I did run into this issue

image

the output below is translated by me and may not be the exact error message.

PS C:\dev\fsharp\guido-learns-fsharp> dotnet run
C:\dev\fsharp\guido-learns-fsharp\.paket\Paket.Restore.targets(171,5): error MSB3073: 
         Command "dotnet paket restore" returned code 1. 
         [C:\dev\fsharp\guido-learns-fsharp\Build.fsproj]
The build failed. Fix the build errors and run again.

The line 171 contains this

<Exec Command='$(PaketCommand) 
                               restore' Condition=" '$(PaketRestoreRequired)' == 'true' 
                               AND '$(PaketDisableGlobalRestore)' != 'true' " 
ContinueOnError="false" />

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions