Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't add config transforms

Tags:

asp.net

config

I have created a build configuration but the "Add Config transforms" option doesn't show up for me. I've tried currently being on that build configuration or not. I've tried to add the file manually, but then it doesn't stack with the original Web.config file.

like image 996
MrFox Avatar asked Mar 04 '17 17:03

MrFox


People also ask

How add config transform?

Release. config transformation files that are created by default for the two default build configurations. You can create transformation files for custom build configurations by right-clicking the Web. config file and choosing Add Config Transforms from the context menu.

How does web config transform work?

Switching configuration based on configuration is a perfect use of transformations. Web. config transformations are implemented using a markup language called XML Document Transform - XDT for short. XDT is an XML-based document format invented by Microsoft and used to describe changes to a Web.

What is Slowcheetah?

This package allows you to automatically transform your app. config (or any file) when you press F5 in Visual Studio. You can have different transformations based on the build configuration. This will enable you to easily have different app settings, connection strings, etc for Debug versus Release.


1 Answers

Install "Configuration Transform" extension. And this option will show up.

Tools -> Extension and updates... -> (select "Online" and type "transform" into search box)

like image 55
eocron Avatar answered Sep 21 '22 00:09

eocron