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

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

Open
GoogleCodeExporter opened this issue Jan 1, 2016 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 12 Dec 2012 at 1:03

@GoogleCodeExporter
Copy link
Author

Indeed, this is useful.

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

  • Changed state: Accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant