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

Referencing Paket.Core / Exe problems. #1958

Closed
isaacabraham opened this issue Oct 11, 2016 · 15 comments
Closed

Referencing Paket.Core / Exe problems. #1958

isaacabraham opened this issue Oct 11, 2016 · 15 comments

Comments

@isaacabraham
Copy link
Contributor

Referencing both Paket.Core or Paket from the NuGet feed has issues related to (I believe) the fact that we ILMerge stuff in to both versions.

With Paket.Core, you'll get errors regarding Chessie. With Paket.exe, you have issues with FSharp.Core duplicates and invalid casts.

Perhaps someone can better explain this than me :-) What's the best way to solve this though?

@forki
Copy link
Member

forki commented Oct 11, 2016

Would you want to have a special package? Without ILMerged stuff?

@forki
Copy link
Member

forki commented Oct 11, 2016

but paket.core is not ILMerged. What issue do you see with chessie?

@isaacabraham
Copy link
Contributor Author

#r @"packages\Paket.Core.3.23.1\lib\net45\Paket.Core.dll"
#r @"packages\Chessie.0.0.1\lib\net40\Chessie.dll"
open Paket
open Chessie
let dependenciesFile = Dependencies(@"paket.dependencies")

gives an error

error FS0074: The type referenced through 'Chessie.ErrorHandling.Result`2' is defined in an assembly that is not referenced. You must add a reference to assembly
 'Chessie'.

Although in the editor window it does not show any errors.

@forki
Copy link
Member

forki commented Oct 11, 2016

is that the correct chessie version?

@isaacabraham
Copy link
Contributor Author

That's the one that Nuget pulled down. ;-)

@isaacabraham
Copy link
Contributor Author

Perhaps there's a minimum required version of Chessie that should be specified in Paket.Core?

@forki
Copy link
Member

forki commented Oct 11, 2016

I guess that's the root cause. https://www.nuget.org/packages/Paket.Core doesn't specify a version.

brb

@forki
Copy link
Member

forki commented Oct 11, 2016

please retry

@isaacabraham
Copy link
Contributor Author

Same.

@forki
Copy link
Member

forki commented Oct 11, 2016

against chessie 0.6?

@isaacabraham
Copy link
Contributor Author

Correct

@forki
Copy link
Member

forki commented Oct 11, 2016

wtf

@forki
Copy link
Member

forki commented Oct 12, 2016

can you zip that sampe and add it here?

@isaacabraham
Copy link
Contributor Author

@forki let's review tomorrow / over the weekend together.

@enricosada
Copy link
Collaborator

Closing, nupkg now specify Chessie version

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

3 participants