Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotnet paket restore fails MSB3073 #5

Open
surfmuggle opened this issue Nov 12, 2022 · 1 comment
Open

dotnet paket restore fails MSB3073 #5

surfmuggle opened this issue Nov 12, 2022 · 1 comment

Comments

@surfmuggle
Copy link

surfmuggle commented Nov 12, 2022

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?

@daveyostcom
Copy link

Having the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants