Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computer Certification > MCSD > Interview Questions Feb 22, 2006

Reply
Thread Tools

Interview Questions Feb 22, 2006

 
 
Jobs
Guest
Posts: n/a
 
      02-22-2006

We have two version of the same assembly in GAC? I want my client to
make choice of which assembly to choose?

You need to specify "bindingRedirect" in your config file. For
instance in the below case "ClassLibraryVersion" has two versions
"1.1.1830.10493" and "1.0.1830.10461" from which
"1.1.1830.10493" is the recent version. But using the
bindingRedirect we can specify saying "1.0.1830.10461" is the new
version. So the client will not use "1.1.1830.10493".

<configuration>
<runtime>

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

<dependentAssembly>

<assemblyIdentity name="ClassLibraryVersion"
publicKeyToken="b035c4774706cc72"
culture="neutral"/>

<bindingRedirect oldVersion= "1.1.1830.10493"
newVersion= "1.0.1830.10461"/>

</dependentAssembly>

</assemblyBinding>

</runtime>

</configuration>



Full Interview Questions for .NET and SQL Server
http://www.geocities.com/dotnetinterviews/
Help the community to make job search easier mail your questions to
http://www.velocityreviews.com/forums/(E-Mail Removed)
Looking for a onsite job mail your resumes at
(E-Mail Removed)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Interview Questions Feb 22, 2006 Jobs Microsoft Certification 0 02-22-2006 05:09 PM
Interview Questions Feb 20, 2006 Jobs MCSD 0 02-20-2006 03:36 AM
Interview Questions Feb 06, 2006 Jobs MCSD 0 02-06-2006 06:02 PM
Interview Questions Feb 01 2006 Jobs MCAD 0 01-31-2006 04:35 PM
Interview Questions Feb 01 2006 Jobs MCSD 0 01-31-2006 04:34 PM



Advertisments