World is now on Opti ID! Learn more

smithsson68@gmail.com
Dec 5, 2008
  9459
(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

Comments

Please login to comment.
Latest blogs
Commerce 14.41 delisted from Nuget feed

We have decided to delist version 14.41 of the Commerce packages as we have discovered a bug that prevents current carts to be saved into...

Shahrukh Ikhtear | Jul 8, 2025

How Optimizely SaaS CMS Isn’t Just Another Commodity

CMS platforms these days are becoming commoditised. The modelling of most systems lends itself to automation. Giving marketers more flexibility wit...

Chuhukon | Jul 4, 2025 |

How to Set Up CI/CD Pipeline for Optimizely Frontend Hosting Using GitHub Actions

As I promised in my previous blog post about getting started with Optimizely Frontend Hosting, today I’m delivering on that promise by sharing how ...

Szymon Uryga | Jul 2, 2025

Environment-specific badges in the Optimizely CMS

Step 1: Add Environment Info to the UI Create a custom UIDescriptor and a ComponentDefinition to inject a badge into the CMS UI. using EPiServer.Sh...

Rajveer Singh | Jul 1, 2025