Slowcheetah installed but there's no transform option

天大地大妈咪最大 提交于 2019-12-01 19:36:03

问题


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.

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.


回答1:


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.




回答2:


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



回答3:


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:

  • Downloaded and ran this: https://marketplace.visualstudio.com/items?itemName=WillBuikMSFT.SlowCheetah-XMLTransforms

  • Restarted VS 2017 and [Right-Click]--> App.config displayed the Add Transform option



来源:https://stackoverflow.com/questions/27389862/slowcheetah-installed-but-theres-no-transform-option

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!