Skip to content

Commit

Permalink
Put filenames in `
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Sep 18, 2014
1 parent 1bb2c39 commit 3dd8c47
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/content/convert_from_nuget.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

If you are already using `NuGet.exe` for package restore then it should be easy to convert to Paket.

1. Analyse your `packages.config` files and extract the referenced packages into a [paket.dependencies](dependencies_file.html) file.
2. Convert every `packages.config` file to [paket.references](references_files.html) syntax. This is very easy - you just have to remove all the XML and keep the package names.
3. Run [paket install](paket_install.html) with the `--hard` flag. This will analyze the dependencies, generate a [paket.lock](lock_file.html) file and remove all the old package references from your project files and install new references in Paket's syntax.
1. Analyse your `packages.config` files and extract the referenced packages into a [`paket.dependencies` file](dependencies_file.html).
2. Convert every `packages.config` file to [`paket.references`](references_files.html) syntax. This is very easy - you just have to remove all the XML and keep the package names.
3. Run [paket install](paket_install.html) with the `--hard` flag. This will analyze the dependencies, generate a [`paket.lock` file](lock_file.html) and remove all the old package references from your project files and install new references in Paket's syntax.

<div id="automatic"></div>
## Automatic process

Paket can assist you with the conversion. The `convert-from-nuget` command finds all `packages.config` files and converts them to [paket.references](references_files.html) and generates a [paket.dependencies](dependencies_file.html) file.
If the `packages.config` is solution-level, then its dependencies will be written to [paket.dependencies](dependencies_file.html) and it will be removed.
Afterwards it will run the [paket install](paket_install.html) process with the `--hard` flag. This will analyze the dependencies, generate a [paket.lock](lock_file.html) file and remove all the old package references from your project files and install new references in Paket's syntax.
Paket can assist you with the conversion. The `convert-from-nuget` command finds all `packages.config` files and converts them to [`paket.references`](references_files.html) and generates a [`paket.dependencies` file](dependencies_file.html).
If the `packages.config` is solution-level, then its dependencies will be written to [`paket.dependencies`](dependencies_file.html) and it will be removed.
Afterwards it will run the [paket install](paket_install.html) process with the `--hard` flag. This will analyze the dependencies, generate a [`paket.lock` file](lock_file.html) and remove all the old package references from your project files and install new references in Paket's syntax.

[lang=batchfile]
$ paket convert-from-nuget

0 comments on commit 3dd8c47

Please sign in to comment.