SlowCheetah not transforming file on build

后端 未结 7 2012
青春惊慌失措
青春惊慌失措 2020-12-25 11:35

I have a project I am trying to use SlowCheetah for. I have created my config file (Test.web.config) and all the transformations I want to use (Debug_Mock.config, Debug_SQL.

7条回答
  •  生来不讨喜
    2020-12-25 12:09

    With SlowCheetah 2.5.15 and Visual Studio 2015, I had to uninstall the nuget package and then manually remove the following from the relevant .csproj file:

    
    

    and

    
      $([System.IO.Path]::GetFullPath( $(MSBuildProjectDirectory)\..\packages\SlowCheetah.2.5.15\tools\))
      true
      $([System.IO.Path]::GetFullPath( $(MSBuildProjectDirectory)\Properties\SlowCheetah\SlowCheetah.Transforms.targets ))
      $(SlowCheetah_NuGetImportPath)
    
    

    Once this was done and the SlowCheetah nuget package was reinstalled, my problem was resolved.

提交回复
热议问题