Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 07, 2012 12:06 AM by CPrakash82
Participant
1521 Points
783 Posts
Dec 05, 2012 04:51 PM|LINK
I want my unit test project to use System.Web.MVC version 4.0.0.0 always, if any of the referenced assemblies are using earlier versions..
I know how we do it in web.config.
But when I am doing following in app.config of my unit test project, it still doesn't work:
<runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /> </dependentAssembly> </assemblyBinding> </runtime>
Any idea what could be the possible issue?
Dec 06, 2012 04:38 PM|LINK
anyone having any idea?
All-Star
18722 Points
2900 Posts
Dec 07, 2012 12:06 AM|LINK
Possibly this is a bug. Please see
nirman.doshi
Participant
1521 Points
783 Posts
how to set binding redirect in app.config file?
Dec 05, 2012 04:51 PM|LINK
I want my unit test project to use System.Web.MVC version 4.0.0.0 always, if any of the referenced assemblies are using earlier versions..
I know how we do it in web.config.
But when I am doing following in app.config of my unit test project, it still doesn't work:
<runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /> </dependentAssembly> </assemblyBinding> </runtime>Any idea what could be the possible issue?
Software Developer
Vadodara, India
nirman.doshi
Participant
1521 Points
783 Posts
Re: how to set binding redirect in app.config file?
Dec 06, 2012 04:38 PM|LINK
anyone having any idea?
Software Developer
Vadodara, India
CPrakash82
All-Star
18722 Points
2900 Posts
Re: how to set binding redirect in app.config file?
Dec 07, 2012 12:06 AM|LINK
Possibly this is a bug. Please see