Per Bjurström
May 13, 2014
  6975
(5 votes)

New version of Visual Studio extension available

A few weeks ago we released an update to the Visual Studio extension to create new sites without using Deployment Center. With that update we made it possible to create new sites configured with all the required NuGet packages, much like how ASP.NET projects are working in Visual Studio.

Today we are releasing another update to include the Alloy demo sites in the Visual Studio extension, both the MVC and the WebForms version. 

We  combined the project templates to a single option in the “New Project” dialog to avoid having too many combinations and alternatives:

image

 

Instead we show an options dialog where you can select project templates, and a new option to add the built-in search capability (the EPiServer.Search NuGet package).

image

 

A nice aspect for sites created based on the Alloy templates is that you get custom namespaces which was not previously possible:

image

 

Another requested feature was the possibility to use some item templates in class libraries so we added that feature as well:

image

 

How do I download this update?

Under Tools –> “Extensions and updates” inside Visual Studio 2012 or 2013, search for “EPiServer” in the “Online”-section. Or the “Updates”-section if you already have it installed. As part of this release we are also in the process of updating the Getting Started guide and releasing an updated SDK. Release notes available on Visual Studio gallery.

May 13, 2014

Comments

Mari Jørgensen
Mari Jørgensen May 13, 2014 12:54 PM

Nice!

Eric
Eric May 13, 2014 02:23 PM

This looks great..Love your colors in vs btw ;)

Petter Klang
Petter Klang May 13, 2014 03:13 PM

Sweet!

So no magical access to EPiServer namespace with out using usings in the templates now! =)

janaka.podiralahamy
janaka.podiralahamy May 14, 2014 01:02 PM

i am getting this error,

Adding binding redirect for EPiServer.Packaging.CmdAPI .
Adding binding redirect for EPiServer.Packaging .
Processing C:\EPiServer\Sites\EPiServerSite2\packages\EPiServer.Packaging.3.1.4\tools\webconfig-baseline.config
Starting Deploy into EPiServerSite2
Processing C:\EPiServer\Sites\EPiServerSite2\packages\EPiServer.CMS.7.7.1\tools\EPiServer.Cms.Config
Copying EPiServerDB_2f65dbfa To EPiServerSite2 -> App_Data
Running C:\EPiServer\Sites\EPiServerSite2\packages\EPiServer.CMS.7.7.1\..\EPiServer.CMS.Core.7.7.1\tools\EPiServer.Cms.Core.sql into EPiServerDB_2f65dbfa
Database operation failed, will do retry 1 of 3 [Could not open new database 'EPiServerDB_2f65dbfa'. CREATE DATABASE is
aborted.
Cannot attach the file 'C:\EPiServer\Sites\EPiServerSite2\EPiServerSite2\App_Data\EPiServerDB_2f65dbfa.mdf' as database
'EPiServerDB_2f65dbfa'.
File activation failure. The physical file name "C:\EPiServer\Sites\EPiServerSite2\EPiServerSite2\App_Data\EPiServerDB_
2f65dbfa_log.ldf" may be incorrect.
The log cannot be rebuilt when the primary file is read-only.]


i used to be able to create a new site without a problem.

per
per May 14, 2014 01:34 PM

Janaka, that error means SQL LocalDB which runs under your account does not have access to that path. Make sure you give explicit access to that folder ("C:\EPiServer") to the account you are logged in as. Since LocalDB does not run elevated it is not enough to give access to a group such as Administrators, you have to give explicit access to the account you are logged in as. You should get the same problem when creating an ordinary ASP.NET site with a local database and then hitting F5. If this does not solve the problem please contact support.

steve@vividgroup.com.au
steve@vividgroup.com.au Dec 27, 2014 08:21 AM

How do you create a new CMS7 project rather than default 7.5? Release notes suggest that Changes in 7.5.394.2 have Support for both 7.0 and 7.5 projects.

per
per Jan 7, 2015 08:48 AM

The version you are refering to automatically picks the latest version so you would have to have only CMS 7 installed on the machine for it to work. It is probably easier to create a new web site using Deployment Center if you need to setup CMS 7.

Oct 5, 2015 11:52 AM

I installed 8.1.0.75 version of the plugin. 

When I created new project with alloytech content I am missing ldf file. There is only mdf file in AppData folder.

Is that ok ?

Also, I am getting the following error:

[Win32Exception (0x80004005): The system cannot find the file specified]

[SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled.)]
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +92

Please login to comment.
Latest blogs
Creating an admin tool - unused assets

Let's make an admin tool to clean unused assets and see how to extend your favorite CMS with custom tools and menues! We will build a tool step by...

Daniel Ovaska | Apr 15, 2026

Running Optimizely CMS on .NET 11 Preview

Learn how to run Optimizely CMS on the .NET 11 preview with a single-line change. Explore performance gains, PGO improvements, and future-proofing...

Stuart | Apr 15, 2026 |

Your Optimizely Opal Is Probably Burning Carbon It Doesn't Need To

Four patterns Optimizely practitioners could be getting wrong with Opal agents: inference levels, oversized tool responses, missing output...

Andy Blyth | Apr 15, 2026 |

Optimizely CMS 13: A Strategic Reset for Content, AI, and Composable Marketing

Optimizely CMS 13 is not just another version upgrade—it represents a deliberate shift toward a connected, AI-enabled, and API-driven content...

Augusto Davalos | Apr 14, 2026

The 74% Problem: Why Most Companies Are Getting AI Wrong

I’ve seen this before… The pattern. The rush, the excitement, the scramble to adopt something new before anyone has stopped to ask what problem it...

Mark Welland | Apr 14, 2026

Scheduled jobs with parameters

Scheduled jobs is an integral part of most Optimizely solution but the UI has, in my opinon, always been lacking in usability and features. Earlier...

Per Nergård (MVP) | Apr 14, 2026