There's now a pre-release of 2.2.0 available at NuGet for those who wants to try out Piranha CMS with ASP.NET MVC 5.1 & EF 6
For those who have been waiting to run Piranha CMS with ASP.NET MVC 5 we're happy to announce that we've released a pre-release of version 2.2.0 on NuGet. This version is exactly the same as 2.1.6 except for that all NuGet-packages have been updated to the latest version.
If you're using WebPages there's no changes in how you create a new project than it was in the previous version. For more information on how to get started please refer to the page Getting started. The package can be installed from:
PM> Install-Package PiranhaCMS -Pre
If you're using MVC you now use the new project templates provided with ASP.NET MVC 5 (or Visual Studio 2013). To create a new project you should choose:
New project > Web > ASP.NET Web Applicaton > Empty
Make sure that you check to Add folders and core references for MVC before clicking on ok. Other than this the same procedure applies that is outlined on the page Getting started. The package can be installed from:
PM> Install-Package PiranhaCMSMvc -Pre
Since the Microsoft team decided to remove the provider for SqlCompact from Entity framework as of version 6.0 the NuGet-packages can no longer be shipped with an empty compact database as before. The default connection string now points to LocalDb and should look like this:
<add name="piranha" connectionString="data source=(localdb)\v11.0;initial catalog=piranha-testdb;integrated security=true" providerName="System.Data.SqlClient" />
The only problem however is that the internal datamapper that is currently used does not create the database on install, it only installs the schema in an existing database. This means that if you create a blank installation, compile, run and start the installation you will get an exception saying that the database does not exist.
This issue will be resolved before the version is considered to be stable.
As always, if you have other issues please let us know, either by adding an issue on GitHub or sending us a mail. Please state the current version of Piranha CMS that you're using.
blog comments powered by Disqus