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

pack fails for f# projects using ReflectedDefinition attributes #1601

Closed
haraldsteinlechner opened this issue Apr 12, 2016 · 4 comments
Closed

Comments

@haraldsteinlechner
Copy link
Contributor

This issue is related to a problem in FSharp.Data, where our pull request is in review (seealso: fsprojects/FSharp.Data#919)
However, since the problem occurs in paket and testing is difficult i created this issue, serving as solid test case as well as documentation for the problem.

Description

pack fails internally in AssemblyReader.fs when parsing assembly metadata.

Repro steps

#1596 in my fork haraldsteinlechner@7b0680a shows the problem.

Expected behavior

packing simply works

Actual behavior

System.Exception : Paket failed with:
decodeILCustomAttribData: error parsing type in custom attribute blob: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)

Known workarounds

my FSharp.Data fork fixes the problem: haraldsteinlechner/FSharp.Data@d4a3075

@forki
Copy link
Member

forki commented Apr 12, 2016

we could point https://github.com/fsprojects/Paket/blob/master/paket.dependencies#L9 to your fork if you need a quick fix

@haraldsteinlechner
Copy link
Contributor Author

i did this here: https://github.com/haraldsteinlechner/Paket/tree/assemblyMetadataFix
but still waiting for integration tests to complete. Although the involved code is tricky, we could give it a try and use my fix.
(pull request after test completion)

@forki
Copy link
Member

forki commented Apr 13, 2016

this is released. Please set it back to FSharp.Data when they merged your PR

@forki forki closed this as completed Apr 13, 2016
@forki
Copy link
Member

forki commented Apr 13, 2016

and thanks!

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