Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3951352
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:43:16+00:00 2026-05-20T01:43:16+00:00

It often happens that a single C# solution contains some projects that are x86-specific

  • 0

It often happens that a single C# solution contains some projects that are x86-specific (usually by having native dependencies) and others that are ‘Any CPU’.

Up until recently I’ve always gone into the configuration manager and made sure that the solution platform was ‘Any CPU’. This isn’t too much of a problem; it requires occasional tweaks like the ones mentioned here, but overall isn’t too bad.

However, I recently started wondering if these efforts are misguided. I’m clearly going against the way Visual Studio 2010 (and previously Visual Studio 2008) is designed to handle this. “Mixed Platforms” is actually an accurate description, and although it initially feels like there’s something wrong, upon further thought I have to conclude that it’s no more wrong than “Any CPU”.

So, lately I have been trying to choose between keeping “Mixed Platforms” or changing to “x86” as my Solution Platform in such cases. The latter reflects the intention: the final EXE file is x86, and runs in 32-bit mode on 64-bit OSes. The former however is what Visual Studio really wants it to be.

In your experience, is there a particular solution platform that is more suitable in any way than the others in this situation?

Note 1: in every case that I’ve encountered, ‘x86’ is justified by native dependencies and ‘Any CPU’ is justified by being an external library that is really platform-independent.

Note 2: if I understand correctly, the solution platform doesn’t make much of a difference; it’s just a name. It seems to change the default “to-build-or-not-to-build” checkbox state when new projects are added, but that’s about the only effect that it has. Right?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T01:43:16+00:00Added an answer on May 20, 2026 at 1:43 am

    Having had some more experience with this, here’s what I now think:

    • It doesn’t make any difference at all what the solution platform is called for a mixed-platform project. The behaviour of VS is exactly the same, requiring the exact same amount of clean-up after adding a project.
    • “Mixed platforms” is slightly more accurate, so I have a slight preference for this one.

    Changing everything to x86 is undesirable for two reasons:

    • Some algorithms are almost twice as fast in x64 mode.
    • Any shared library that is x86 cannot be used in a project that benefits a lot from x64 mode.
    • Maintaining shared libraries in two platforms, x86+x64, is a lot more effort than keeping them “Any CPU” and cleaning up after Visual Studio every time it sprinkles unwanted solution configurations into a solution.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It often happens that characters such as é gets transformed to é , even
This is something that happens to me really often. I have a textfield in
I manage a googlegroups with many hundreds of people, and often happens that spam
Code like this often happens: l = [] while foo: # baz l.append(bar) #
Often I find myself interacting with files in some way but after writing the
Often, programmers write code that generates other code. (The technical term is metaprogramming ,
When I write SQL queries, I find myself often thinking that there's no way
Suppose I have a function in a single threaded program that looks like this
I redefined some maths functions (so that they're faster -ie: less accurate-, or use
I am using Sphinx quite often. There is one index that calls a stored

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.