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

Non managed dlls in a bin folder are causing a build error #316

Closed
kowalgta opened this issue Jan 7, 2015 · 1 comment
Closed

Non managed dlls in a bin folder are causing a build error #316

kowalgta opened this issue Jan 7, 2015 · 1 comment

Comments

@kowalgta
Copy link

kowalgta commented Jan 7, 2015

Function Unpack from WebSharperTask.fs assumes that all files in a bin folder with the extension .dll and .exe are managed. Unfortunately if there are any files that are not managed (with the extension .dll or .exe) it is going to end up with an error "Format of the executable (.exe) or library (.dll) is invalid.".

In my particular case SqLite is causing it to break as it comes with SQLite.Interop.dll that is unmanaged.

I've raised an issue about that previously, but back than I had not realized why this is happening:
http://websharper.com/question/77603/websharper-msbuild-problem

@Tarmil
Copy link
Member

Tarmil commented Jan 8, 2015

Fixed in 69911dd

@Tarmil Tarmil closed this as completed Jan 8, 2015
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