publisher policy in .NET 2.0 ???

C

cmrchs

Hi,

I'm having problems using publisher policy in .NET 2.0.
whereas I didn't in .NET 1.1

Scenario :
I have a version3.0 component against which a client is compiled.
Then creating version3.1 component and the policy-file.
(The policy-file states a binding-redirect from 3.0 to 3.1.)

I install both the policy-file and 3.1-component in the GAC, then run the client again but I get an error stating that the client doesn't find 3.1-component ???

I repeat : .NET 1.1, I didn't have any problems

Summary:
If I compile the client directly against 3.0-component then no problem
If I compile the client directly against 3.1-component then no problem
If I compile the client against 3.0-component but with the
policy-file in the GAC then crash
And i have verified the correctness of the policy-file !!!

What is wrong then ?
What has changed in .NET 2.0 ?

thanks
Chris


**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
P

Peter van der Goes

Chris C said:
Hi,

I'm having problems using publisher policy in .NET 2.0.
whereas I didn't in .NET 1.1

Scenario :
I have a version3.0 component against which a client is compiled.
Then creating version3.1 component and the policy-file.
(The policy-file states a binding-redirect from 3.0 to 3.1.)

I install both the policy-file and 3.1-component in the GAC, then run the
client again but I get an error stating that the client doesn't find
3.1-component ???

I repeat : .NET 1.1, I didn't have any problems

Summary:
If I compile the client directly against 3.0-component then no problem
If I compile the client directly against 3.1-component then no problem
If I compile the client against 3.0-component but with the
policy-file in the GAC then crash
And i have verified the correctness of the policy-file !!!

What is wrong then ?
What has changed in .NET 2.0 ?

thanks
Chris


**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...

If you need to post an article in multiple groups, please crosspost instead
of multiposting.
If you don't get responses here, I suggest you search through/post in the
forums dedicated to the Beta:

http://forums.microsoft.com/msdn/
 

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

Top