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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:28:23+00:00 2026-05-27T22:28:23+00:00

I have a project which using Microsoft.SqlServer.SMO.dll, which is always copying to bin directory

  • 0

I have a project which using Microsoft.SqlServer.SMO.dll, which is always copying to bin directory (CopyLocal is set to true).

However, there may be installed different versions of SQL SMO. Thay have the same assembly version (10.0.0.0), but different file versions (10.0.1600.22 and 10.50.2500.0). The end user may have installed the older version of assembly to GAC, but I need to load always 10.50 from bin.

So, I have the following situation:

Bin -> 10.50.2500.0
GAC -> 10.0.1600.22

When my app is running, the assembly from GAC is loaded, and from bin is ignored.

How can I prevent such behaviour? Many thanks.

  • 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-27T22:28:23+00:00Added an answer on May 27, 2026 at 10:28 pm

    You can provide your own manifest for the application to tell it that you want to use the ‘bin’ location explicitly. It’s a medium sized topic, but this a good link that will get you started.

    http://msdn.microsoft.com/en-us/library/1w45z383.aspx

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

Sidebar

Related Questions

I have a project which is source controlled using Subversion and VisualSVN. Since the
I have a Silverlight Project which passes data using the Data Contract to a
I have a MS Project file which I am using the Primary Interop Assemblies
I have just restarted a project in which I am using NHibernate. The project
I have a rather large (freeware) project written with Delphi 2007 which is using
I have a .net 1.1 project in VS.Net 2003 (using C#) in which I
I've searched for an answer on google using: The type 'Microsoft.SqlServer.Management.Smo.Server' is defined in
I have a standard sql server 2008 project which has been created using vs2010.
I am developing an add-in using VSTO for Microsoft project and I have a
I am using Microsoft Text-to-Text Speech feature in my project. But I have a

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.