M
Martin Kulov [MVP]
Hi guys,
I am having this warning for quite a while and I cannot get rid of it:
(0,0): warning CS1702: Assuming assembly reference 'XXX, Version=1.1.1.4,
Culture=neutral, PublicKeyToken=xxxxxx matches 'XXX, Version=1.1.1.122,
Culture=neutral, PublicKeyToken=xxxxxx', you may need to supply runtime
policy
I know what the warning is about and its consequences and I also have a
bindingRedirect element in my web.config. Of course without the
bindingRedirect element, the site will not run. I also configured the
assembly in the Microsoft .NET Framework 2.0 Configuration tool and removed
the bindingRedirect element. At the end the site runs again, but I still get
this warning when I build my site.
Is there any way to get rid of this warning? My concern is that I want to
set Warnings as errors ON, but having this warning prevents me to do that.
Can you please help me?
Thanks,
Martin Kulov [VSTS MVP]
www.kulov.net
I am having this warning for quite a while and I cannot get rid of it:
(0,0): warning CS1702: Assuming assembly reference 'XXX, Version=1.1.1.4,
Culture=neutral, PublicKeyToken=xxxxxx matches 'XXX, Version=1.1.1.122,
Culture=neutral, PublicKeyToken=xxxxxx', you may need to supply runtime
policy
I know what the warning is about and its consequences and I also have a
bindingRedirect element in my web.config. Of course without the
bindingRedirect element, the site will not run. I also configured the
assembly in the Microsoft .NET Framework 2.0 Configuration tool and removed
the bindingRedirect element. At the end the site runs again, but I still get
this warning when I build my site.
Is there any way to get rid of this warning? My concern is that I want to
set Warnings as errors ON, but having this warning prevents me to do that.
Can you please help me?
Thanks,
Martin Kulov [VSTS MVP]
www.kulov.net