NewBie help.

  • Thread starter Thread starter archana
  • Start date Start date
A

archana

Hi all,

I am having one confusion regarding strong naming.

What i did is, i have two dlls with same version but different public
key. Both the dll contains same functions and same classes.

So i build application using first dll i.e with version 1.0.0.0. I have
added dll of version 1.0.0.0 into GAC. My app is working properly.

What i want to ask if if i uninstall this dll from gac and try to use
second dll by setting same version and same public key as that of first
one. will my app work? as version and snk file for second dll is same
as that of first dll. Because curretly my app is not working. And i am
not getting whats going wrong.

If i am wrong please correct me.

Thans in advance.
 
I'd suggest to perform such kind of tunnig with <bindingRedirect> param of
your config. See MSDN for more details.
With this param you can specify which version of assebly you app need to use
I am having one confusion regarding strong naming.

What i did is, i have two dlls with same version but different public
key. Both the dll contains same functions and same classes.

So i build application using first dll i.e with version 1.0.0.0. I have
added dll of version 1.0.0.0 into GAC. My app is working properly.

What i want to ask if if i uninstall this dll from gac and try to use
second dll by setting same version and same public key as that of first
one. will my app work? as version and snk file for second dll is same
as that of first dll. Because curretly my app is not working. And i am
not getting whats going wrong.

If i am wrong please correct me.

--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top