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

Include both 32 bit and 64 bit runtimes in .NET Framework builds #60

Merged
merged 1 commit into from
Nov 24, 2021

Conversation

mathlang
Copy link

Updated the build process to copy both x86 and x64 runtimes when building .NET Framework projects. Having only the x86 DLL linked in the project root does not work for AnyCPU assemblies that can run in both 32 bit and 64 bit and needs the proper version of the DLL.

Instead the runtimes folder is copied with only win-x86 and win-x64 runtimes (the others platforms are not supported by .NET Framework)

I believe this will fix issue #58

@HakanL
Copy link
Owner

HakanL commented Nov 23, 2021

There was an issue with the Github build actions, which are fixed in master now. Can you please rebase and update your PR so we can make sure it builds fine before I merge?

@HakanL HakanL merged commit 6399d7e into HakanL:master Nov 24, 2021
@HakanL
Copy link
Owner

HakanL commented Nov 24, 2021

@mathlang Thanks for this commit, I think this fixed the issue with the dll in the root as well. I've added some test projects as well to the main solution to test the various platforms, after this PR it looks pretty good!

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

Successfully merging this pull request may close these issues.

None yet

2 participants