Updated message when paket.dependencies cannot be found #1519

Merged
merged 2 commits into from Mar 16, 2016

Conversation

Projects
None yet
2 participants
@philcleveland
Contributor

philcleveland commented Mar 15, 2016

The new message would look like:

"Could not find 'paket.dependencies'. To use Paket with this solution, please run 'paket init' first.
If you have already run 'packet.init' then ensure that 'paket.dependencies' is located in the source directory.
Like this:
MySourceDir
.paket
paket.dependencies"

src/Paket.Core/PublicAPI.fs
@@ -45,7 +45,7 @@ type Dependencies(dependenciesFileName: string) =
match parent with
| null ->
if withError then
- failwithf "Could not find '%s'. To use Paket with this solution, please run 'paket init' first." Constants.DependenciesFileName
+ failwithf "Could not find '%s'. To use Paket with this solution, please run 'paket init' first.\nIf you have already run 'packet.init' then ensure that '%s' is located in the source directory.\nLike this:\nMySourceDir\n .paket\n paket.dependencies" Constants.DependenciesFileName Constants.DependenciesFileName

This comment has been minimized.

@forki

forki Mar 15, 2016

Member

it's "paket" not "packet". Sorry ;-)

@forki

forki Mar 15, 2016

Member

it's "paket" not "packet". Sorry ;-)

@philcleveland

This comment has been minimized.

Show comment
Hide comment
@philcleveland

philcleveland Mar 15, 2016

Contributor

Oops. Spelling habits. Should be fixed now.

Contributor

philcleveland commented Mar 15, 2016

Oops. Spelling habits. Should be fixed now.

forki added a commit that referenced this pull request Mar 16, 2016

Merge pull request #1519 from pdoh00/master
Updated message when paket.dependencies cannot be found

@forki forki merged commit 7bb1718 into fsprojects:master Mar 16, 2016

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@forki

This comment has been minimized.

Show comment
Hide comment
@forki

forki Mar 16, 2016

Member

thanks

thanks

Member

forki commented Mar 16, 2016

thanks

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment