jweather / slimdx

Automatically exported from code.google.com/p/slimdx
MIT License
0 stars 0 forks source link

Documentation "Handling 32 and 64 Bit Targets" complement #888

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
hi, 
consider adding an hint to the documentation at 
http://www.slimdx.org/docs/#Handling_32_and_64_Bit_Targets which will disable 
the platform warning you will still get in visual studio when you try to set 
the target platform of your project to AnyCPU when using SlimDX references:

Add the following line to the PropertyGroup section in your csproj file:

<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWar
nOrErrorOnTargetArchitectureMismatch>

This will disable the warning, which isn't necessary, since SlimDX is looking 
for the correct platform version of its binaries and using them on runtime 
which will then fit to the runtime determined platform chosen by the .NET 
runtime for your AnyCpu project.

Original issue reported on code.google.com by tr...@posteo.de on 12 Dec 2012 at 1:03

GoogleCodeExporter commented 9 years ago
Indeed, this is useful.

Original comment by Mike.Popoloski on 13 Jan 2013 at 7:45