question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to Paket in a batch file [solved]

See original GitHub issue

Description

I had to work this out myself. I thought it would work like Nuget does nuget.exe restore path\to\yr\VisualStudio.sln but no.

Repro steps

Please provide the steps required to reproduce the problem

  1. Look on the Internets

Expected behavior

find an example of how to use paket in a batch file eg. restore

Actual behavior

I got nuthin

Known workarounds

keep trying different things until it works

Related information

  • Operating system: Windows

Solution

pushd your\paket\working\folder\with\paket\in\it
paket.exe restore
popd

It would be handy if you could add this to pages like https://fsprojects.github.io/Paket/paket-restore.html

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
smoothdevelopercommented, Apr 19, 2016

@CADbloke thanks, we now all understand why Santa would be sad not being able to install all the pakets 😃

1reaction
forkicommented, Apr 19, 2016

ok. let’s clarify. you need to sta in the folder with the paket.dependencies file, but you can do P:\ath\to\Paket\paket.exe restore` from there

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to execute an SSIS package from the command line ...
How to execute an SSIS package from the command line or a batch file ... Right click in Solution Explorer to get the...
Read more >
Package a batch file within a jar file
place the batch file somewhere in the source tree so that it becomes a "resource" included in the .jar. then either. use java.lang.Class....
Read more >
Batch Script - Quick Guide
This is the simplest tool for creation of batch files. Next is the execution environment for the batch scripts. On Windows systems, this...
Read more >
Writing a Windows batch script
After saving it with a .bat extension. Double click it to run the file. It prints shows: In the above script, ECHO off...
Read more >
Basics of Batch Scripting
Type the batch script in the command prompt. Write the code of script in a file and execute it through the command prompt....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found