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 6561995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:39:24+00:00 2026-05-25T13:39:24+00:00

I understand WHY the System.Data.SQLite.dll is provided in 32 bit and 64 bit builds.

  • 0

I understand WHY the System.Data.SQLite.dll is provided in 32 bit and 64 bit builds. So lets not dwell on that and move on. 🙂

Since it is done this way it seems to make pure C# development a tad more difficult with 3 choices to make.

  1. Is to support only 32-bit and force there managed
    assembly to compile x86 and deal with that in running in 32 or 64
    bit, and there by lose advantages of when you are on a 64 bit
    environment.

  2. Is to force 64 bit and only support 64 bit and losing the
    ability to run on 32 bit but gaining all the advantages of 64 bit.

  3. Is to create two versions of their assembly one that
    compiles x86 and uses 32 bit SQLite and another that compiles x64
    and uses 64bit SQLite. It prevents using “ANY” as a compile option
    and being able to easily deploy a single build to either type. Its
    not so horrible to manage from a development point of view as we
    will need two projects. Only having the C# code officially in one,
    and the other will just use “links” to the code in the other. This
    is for compiling purposes only. Still leaves us with having to
    manage two outputs to for deployments.

With all that said I am only looking for confirmation that the above are the only correct choices.

If however there are other choices that I am overlooking please let me know. Specifically if there is way to get a single C# DLL that can compile to ANY so it can take advantage of 32 or 64 bit depending on where its run and still use System.Data.SQLite.dll.

  • 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-25T13:39:25+00:00Added an answer on May 25, 2026 at 1:39 pm

    There are 2 common solutions for keeping your main application at AnyCPU:

    • Install both the x86 and the x64 assemblies into the GAC: They can (should!) have identical assembly names and the GAC will automatically decide whether to use x86 or x64 version.

    • Hook into AppDomain.AssemblyResolve and serve the right assemblies from subdirectories using Assembly.LoadFrom

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I read that System.Drawing.Point is a value type. I do not understand. Why?
I understand that System.DirectoryServices is a layer above System.DirectoryServices.Protocols and abstracts some of the
I understand that I can specify system properties to Tomcat by passing arguments with
really can't understand, how to build correctly project that uses boost.python. I've included boost_(python/thread/system)-mt.
Here's a question that I don't quite understand: The command, system(pause); is taught to
I understand that floating point arithmetic as performed in modern computer systems is not
I'm using SQLite ( system.data.sqlite v. 1.0.60.0 ) on a Fluent NHibernate project. I
I am looking up methods of the System.Data.Objects.DataClasses.StructuralObject in Reflector and I see that
The following post relates to the System.Data.SQLite data provider by phxsoftware ( http://sqlite.phxsoftware.com )
I have an application with an Entity Data Model. I do not completely understand

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.