Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Publishing MVC 4 project with Mindfusion diagramming to Azure (Read 4138 times)
Martin Sher
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 4
Joined: Mar 1st, 2013
Publishing MVC 4 project with Mindfusion diagramming to Azure
Apr 6th, 2013 at 9:46pm
Print Post  
Hi,
I am upgrading to VS2012 and MVC4. I have a problem in that my application works locally but not when uploaded to Azure. I get the error in the attached file that System.Web.MVC or one of its dependencies is missing. I definitely have System.Web.Mvc included in my upload package but may have a version conflict. Any ideas>?
Martin
  

Azure_mindfusion_error.JPG (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Publishing MVC 4 project with Mindfusion diagramming to Azure
Reply #1 - Apr 8th, 2013 at 7:08am
Print Post  
Hi,

Do you have this mapping for the System.Web.Mvc.dll assembly in web.config? It's what will let you use the MvcDiagram version for ASP.NET MVC3 in MVC4 projects. We'll try to create MVC4-specific build of the diagramming.dll later today.

Code
Select All
<configuration>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration> 



Stoyan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Publishing MVC 4 project with Mindfusion diagramming to Azure
Reply #2 - Apr 8th, 2013 at 11:03am
Print Post  
Hi,

Please try that with this build, it has a reference to version 4 of System.Web.Mvc:
https://mindfusion.eu/_beta/MvcDiagram_mvc4.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint