Slowcheetah installed but there's no transform

2019-02-24 08:40发布

I have a .NET 4.5 project with MVC 5 and EF 6, in Visual Studio 2013. I want to have transforms for app.config.

I've installed the SlowCheetah project via NuGet, and (supposedly)[https://visualstudiogallery.msdn.microsoft.com/69023d00-a4f9-4a34-a6cd-7e854ba318b5] now I should be able to right-click on App.config and see the option Add Transform. But I don't. This is what I see when I right-click the app.config

Does anyone know what are the possible reasons for this?

I've checked that the package is installed in both projects in my solution, restarted, rebuilt, etc.

3条回答
等我变得足够好
2楼-- · 2019-02-24 09:16

The above answers did not work for me as it supports only VS2015. but I found the solution for my VS2013.

  1. You need to download it here and install it
  2. Restart VS
查看更多
【Aperson】
3楼-- · 2019-02-24 09:25

My conditions:

  • Visual Studio Professional 2017
  • SlowCheetah, v 2.5.48 installed in a C# project
  • When I selected [Right-Click]-->App.config, there was no Add Transform option

My solution:

查看更多
Lonely孤独者°
4楼-- · 2019-02-24 09:27

I had to do the following before it worked:

  1. Install the package from their site instead of from NuGet
  2. Restart VS

Then the Add Transform option started showing up in the drop-down menu.

查看更多
登录 后发表回答