-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: johnsonsmithy2k2
Message 3 in Discussion




  
    
    New Message on MumbaiUserGroup
  
  





      GAC version (Side-By-Side Execution)

    
  
    
      Reply

          
            
                
               
                  Reply to Sender
                    Recommend
                  
                  Message 2 in Discussion
                                                
            
          
        
                    
        
            
              From: 
              johnsonsmithy2k2
            
            
              

              


  
    
    New Message on MumbaiUserGroup
  
  





      GAC version (Side-By-Side Execution)

    
  
    
      Reply

          
            
                
               
                  Reply to Sender
                    Recommend
                  
                  Message 1 in Discussion
                                                
            
          
        
                    
        
            
              From: 
              johnsonsmithy2k2
            
            
              

              Asmitha:

        First of all thanx for your comment, You can achive this in
two ways. one professional way is Config file, another one is
Tips(shortcut) from my experience  for empathizing concept.   Config
File(Professional Method):    B4 tat, i would
like to explain how CLR takes when you call code from a shared assembly:      
The CLR determines the correct version of the assembly to load by examining the 
applicable configuration files.         The CLR checks to see whether the 
requested assembly has already been loaded. If it has, then the CLR binds to 
the loaded copy and stops searching.     The CLR then checks for the requested 
assembly in the Global Assembly Cache (GAC). If the assembly is in the GAC, 
then the CLR uses that copy and stops searching.      The CLR next looks for a 
<CodeBase> element in the application's configuration file. If one is present, 
it checks that path for the assembly, loading it if found.      If the 
requested assembly hasn't been located yet, the CLR proceeds to search for it 
as if it were a private assembly, following the rules from the previous 
section.  
the following one is used for this purpose, see the <bindredirect>, you can 
toggle your Assemblies. 
<?xml version="1.0"?>
<configuration>
  <runtime>
    <assemblyBinding
     xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="MyCalledAssembly"
         publicKeyToken="0556152c9715d60f" />
        <bindingRedirect oldVersion="1.0.0.0"
         newVersion="1.1.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration> 

Second Method(For empathize): 
Step #1: first unregister shfusion.dll  using RegSvr32 -u shfusion.dll. 
Step #2: I hope, you installed your Two versions into GAC(for example., 
SampleTest.dll 1.0.0.1 and 1.0.0.2) 
Step #3: from Your first application, you can add refernce SampleTest.dll from 
the following path. 
 c:\windows\assembly\GAC\SampleTest\1.0.0.1__e177fbe137b531e5\SampleTest.dll 
Note: 
Under this path, you can find Two folders., say.. 
1.0.0.1__e177fbe137b531e5, 1.0.0.2__e177fbe137b531e5 
Step #4: from Your Second application, you can add refernce SampleTest.dll from 
the following path. 
 c:\windows\assembly\GAC\SampleTest\1.0.0.2__e177fbe137b531e5\SampleTest.dll 
  
I hope, this method will help you to understand the Side-By-Side Execution 
concept. but please prefer Config. file method for your development 

Thanx,
Smith
----- Original Message ----- 
From: "Asmitha Santhiyar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: July 22, 2005 6:31 PM


> Hi Smith,
> 
> 
> I seen your post on "Side-By-Side Execution" on BDOTNET, it was really 
> superb, i want to implement the same in my project. 
> 
> Your inputs highly appreciated.
> 
> 
> regards
> Asmitha
> 
> 
>

          
        
      
          
  

    View other groups in this category.
  

  

      



          
        
      
          
  

    View other groups in this category.
  

  

      




-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to