davidknipe / VisualCompare

Visual comparison option for the Episerver UI
MIT License
3 stars 2 forks source link

Corrupt web.config.transform? #2

Closed petgus closed 3 years ago

petgus commented 6 years ago

Upgraded from v.1.0.2 > v.1.0.3

Got this error message when starting the site. "Required attribute 'rootPath' not found"

Fixed it by re-inserting the rootPath attribute for episerver protectedModules. `

    <protectedModules rootPath="~/EPiServer/"><!-- This rootPath attribute was removed during the transformation -->
      ...
</episerver.shell>`

Guessing it's caused by your web.config.transform file? https://github.com/davidknipe/VisualCompare/blob/master/VisualCompareMode/web.config.transform

davidknipe commented 6 years ago

Thanks for raising the issue, as far as I am aware .transforms should merge config so should not have removed the rootPath attribute as you described. Can you re-create the issue on a standard Alloy site or was it specific to your build?

davidknipe commented 3 years ago

Could not recreate this issue so closing