Dec 5, 2008
(0 votes)

New Install Public Templates PowerShell script for EPiServer CMS R2

Those of you who have used the new Installation Manager in EPiServer CMS 5 R2 to install a site with the EPiServer Public Templates may have noticed an annoying "feature". The feature is that is doesn't update the PublicTemplates.proj file installed on the site with the URL you chose for the site. This means that when you open the project in Visual Studio you need to remember to update the URL in the project properties in order to use F5 debugging. The root cause of this is basically because the proj file is not in place when you think it is and therefore cannot be updated. The problem is described in more detail here.

Anyway, the problem is fixed in the next version of the Installation Manager (which has been renamed to Deployment Center, more of that to come soon), which will soon be released with our exciting new Relate+ product and the next version of the EPiServer Community product.

Here you will find a new version of the Public Templates PowerShell script for CMS R2 that updates the proj file with the site URL. All you need to do is download it and replace the existing one in your Program Files\EPiServer\CMS\5.2.375.7\Install\Modules\PublicTemplates folder. It's probably a good idea to copy the old one out first, just in case you need to revert back to it anytime.

Dec 05, 2008


Please login to comment.
Latest blogs
IDX21323 - RequireNonce is true, Nonce was null

We have multiple clients configured with Azure Active Directory (Microsoft Entra) for requiring authentication when accessing their website. The...

David Drouin-Prince | Oct 1, 2023 | Syndicated blog

Minimum Detectable Effect in Optimizely Web Experimentation

Understanding Minimum Detectable Effect Minimum Detectable Effect (MDE) is a core statistical calculation in Optimizely Web Experimentation. In...

Matthew Dunn | Oct 1, 2023 | Syndicated blog

Configured Commerce - Introduction to Long-Term Support (LTS) Releases

First off, for those who have not had a chance to meet me yet, my name is John McCarroll, and I am the Technical Product Manager for the Optimizely...

John McCarroll | Sep 29, 2023

Auto-translate with OpenAI in Optimizely CMS

You can now auto-translate content using your favorite online AI service, inside the old trustworthy Episerver.Labs.LanguageManager!

Tomas Hensrud Gulla | Sep 29, 2023 | Syndicated blog