No option to preview transformation
Asked Answered
R

2

6

I'm using Visual Studio 2013 and at one time I was able to right click on a web.config transformation file and there was a 'Preview Transformation' option that I could click on and see the result of the transform on the file. It is no longer there for any solution I have.

How can I get this option back or is another way to get to the transformation preview?

I did update to Update 3 recently.

Regrate answered 28/8, 2014 at 18:41 Comment(0)
H
7

For anyone else coming to this post I ran into the same issue in VS 2019. The problem appears to be that the name of the environment in the file name, i.e. web.<environment>.config must exist as a Build configuration. Since Release and Debug exist by default when you name your transformation web.Release.config the menu option should appear. If you want to add different transformation file names, Development/Staging/Production, then add new configurations from the Configuration Manager. In this case I'd create three named Development, Staging, and Production. Once you add those configurations on the project run a Rebuild against it and then right click on the transformation file. You should see the Preview Transformation option near the top of the menu.

Hein answered 1/2, 2021 at 15:37 Comment(0)
R
1

I found a Visual Studio extension called SlowCheetah that allows me to preview transformations. I am still not sure what happened to Visual Studio's transformation preview, but I can do what I need to now.

Regrate answered 29/8, 2014 at 15:26 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.