Using ASP.NET 5 MVC6
Using ASP.NET 5 MVC6
Hello Stimulsoft,
is the Stimulsoft Reports.Web compatible with the new ASP.NET 5 MVC 6 ?
is the Stimulsoft Reports.Web compatible with the new ASP.NET 5 MVC 6 ?
Re: Using ASP.NET 5 MVC6
Hello,
Must be compatible, you can download the Trial version and check the compatibility with your project.
Thank you.
Must be compatible, you can download the Trial version and check the compatibility with your project.
Thank you.
Re: Using ASP.NET 5 MVC6
I am using the HTML 5 Viewer of the Stimulsoft Reports.Web 2014.3 Trial version the StiMvcMobileViewer.GetReportSnapshotResult() and other StiMvcMobileViewer functions raises exceptions.
Exception:
"The type 'ActionResult' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'."
The problem is in the new ASP.NET 5 System.Web.Mvc is unavailable and replaced with Microsoft.AspNet.Mvc
Exception:
"The type 'ActionResult' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'."
The problem is in the new ASP.NET 5 System.Web.Mvc is unavailable and replaced with Microsoft.AspNet.Mvc
Re: Using ASP.NET 5 MVC6
Hello,
Please try to add the following code to Web.Config file:
Thank you.
Please try to add the following code to Web.Config file:
Code: Select all
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="2.0.0.0" newVersion="6.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
Re: Using ASP.NET 5 MVC6
I am sorry, but in ASP.NET vNext there is no Web.config
And when i adding System.Web.Mvc to the project.json i got a new warning:
"Warning CS1701 Assuming assembly reference 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' used by 'Stimulsoft.Report.MvcMobile' matches identity 'System.Web.Mvc, Version=4.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' of 'System.Web.Mvc', you may need to supply runtime policy"
And when i adding System.Web.Mvc to the project.json i got a new warning:
"Warning CS1701 Assuming assembly reference 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' used by 'Stimulsoft.Report.MvcMobile' matches identity 'System.Web.Mvc, Version=4.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' of 'System.Web.Mvc', you may need to supply runtime policy"
- Attachments
-
- projectJson.png (5.36 KiB) Viewed 4003 times
-
- missing.png (15.06 KiB) Viewed 4003 times
Re: Using ASP.NET 5 MVC6
Hello,
Unfortunately at the moment we have no quick answer, as we are currently testing a new release 2015.1
We are interested in adapting our product to vNext, please send us a request to support@stimulsoft.com, after the release we will deal with that issue.
Thank you.
Unfortunately at the moment we have no quick answer, as we are currently testing a new release 2015.1
We are interested in adapting our product to vNext, please send us a request to support@stimulsoft.com, after the release we will deal with that issue.
Thank you.
-
- Posts: 1
- Joined: Sun Feb 28, 2016 9:11 pm
Re: Using ASP.NET 5 MVC6
And when i adding System.Web.Mvc to the project.json i got a new warning:
"Warning CS1701 Assuming assembly reference 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' used by 'Stimulsoft.Report.MvcMobile' matches identity 'System.Web.Mvc, Version=4.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' of 'System.Web.Mvc', you may need to supply runtime policy"
"Warning CS1701 Assuming assembly reference 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' used by 'Stimulsoft.Report.MvcMobile' matches identity 'System.Web.Mvc, Version=4.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' of 'System.Web.Mvc', you may need to supply runtime policy"
Re: Using ASP.NET 5 MVC6
Hello.
You should use MVC 4.0.0.1 and later.
Sorry, but our latest builds don't support older versions of MVC.
Thank you.
You should use MVC 4.0.0.1 and later.
Sorry, but our latest builds don't support older versions of MVC.
Thank you.