delaneyj / three.net

C# port of Three.js
MIT License
79 stars 25 forks source link

Move from x86 to AnyCPU #3

Closed aloisdg closed 9 years ago

aloisdg commented 9 years ago

hello,

I try to build the project on VS2013 (W8.1) and I got this warning:

warning MSB3270: There was a mismatch between the processor architecture of the project being build "MSIL" and the processor architecture of the reference "[internal C# dll]", "x86".

The warning came from the "Pencil.Gaming" lib. It would be nice to move it to AnyCPU. We could see to fix it with @andykorth on the Pencil.Gaming repository.

If you want to close this warning, you can switch from AnyCPU to x86 in your configuration manager. For further informations see "How do I fix the Visual Studio compile error, “mismatch between processor architecture”?" on StackOverflow.

aloisdg commented 9 years ago

Pencil.Gaming handles x64 on Windows, so does the nuget package too (see release note). I think I make a mistake somewhere.

delaneyj commented 9 years ago

The NuGet didn't work, happy to move to AnyCPU. Can you submit a pull?

aloisdg commented 9 years ago

The nuget package says that it runs on x64, not that it is in x64. Just realize :)

I can submit a pull when I succeed to run the project.

delaneyj commented 9 years ago

Please try now, I just submitted changes to get working on a fresh VS2013 machine.

aloisdg commented 9 years ago

E pur si muove!

It works perfectly.