Questions tagged [slowcheetah]

SlowCheetah is an XML Transforms package for Visual Studio

SlowCheetah is an XML Transforms package that allows one to automatically transform an app.config (or any file) when F5 is pressed in Visual Studio.
One can have different transformations based on the build configuration.
For example, one could have different app settings, connection strings, etc. for a Debug configuration versus a Release configuration.

183 questions
6
votes
3 answers

Starting ASP.NET Core from Visual Studio doesn't start from build folder

When you start an ASP.NET Core project from Visual Studio (2017) it assumes the working directory is where the source code is located, not where the built files are actually placed. Which means that when I run my project it reads the config file…
TheHvidsten
  • 4,028
  • 3
  • 29
  • 62
5
votes
2 answers

Is there a way to use Slow Cheetah to transform app.config in Azure Worker Role?

I am trying to use Slow Cheetah to switch between a local db connection string and a SQL Azure connection string. This is in a Azure worker role that I am pushing to Azure with TeamCity. When I look through the log file the Slow Cheetah process is…
5
votes
1 answer

How to use SlowCheetah to transform an array elements in Json config file?

It's my first time using SlowCheetah for JSON config file. I could not find a way to let it transform an array settings. For example, if my base config file has this setting: { "Settings" : [1, 2, 3] } and I want to transfer it to: { …
John Cheng
  • 197
  • 2
  • 8
5
votes
1 answer

SlowCheetah not transforming for EntityFramework Migrations

I'm using EF Code-First Migrations: https://msdn.microsoft.com/en-us/data/jj591621.aspx add-migration, update-database, etc. all called from the Package Manager Console in VS. I'm also using SlowCheetah to manage the various environments we have,…
Brondahl
  • 7,402
  • 5
  • 45
  • 74
5
votes
3 answers

Slowcheetah installed but there's no transform option

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…
levininja
  • 3,118
  • 5
  • 26
  • 41
5
votes
3 answers

Select node based on child node value in Web.config Transform

I have the following XML in my web config and I would like to select an attribute for removal using web.config transforms, but I would like to select the element for removal based on the value of one of the child elements. My web.config is something…
Matthew Dresser
  • 11,273
  • 11
  • 76
  • 120
5
votes
1 answer

Can multiple build configs share one config transformation?

I'm using SlowCheetah for XML transforming a bunch of config files in a project. However, this same solution is part of a load balanced setup, where some config values differ between the different servers (two, in this case). I have the following…
5
votes
4 answers

SlowCheetah executes after post-build events

I use SlowCheetah to transform my app.configs. I have a multi-project solution where one of the projects executes a post-build event where the output of the bin is copied elsewhere. I've found that SlowCheetah does it's transforms after the…
ScottC
  • 51
  • 1
  • 4
5
votes
2 answers

SlowCheetah not producing transformed config file on CI server

I'm using SlowCheetah to transform an XML config file in a Visual Studio web project on a CI server. In Visual Studio 2010 the XML will transform just fine when I publish, but on the CI server no transformation occures. Instead I just get the…
4
votes
2 answers

Development and Production databases

I and my team are currently doing a project, where we are using Entity Framework 4.1 (Code First). We want to write some tests, but we don't want them to run on our primary database, as we have a team in Singapore writing a client for what we do,…
Nilks
  • 446
  • 4
  • 14
4
votes
2 answers

Using SlowCheetah's app.config transformations with Setup projects

I'm using the SlowCheetah XML Transforms extension to handle web.config-like transformations with app.config. That part works great. I added a setup project and configured it to include the project output of the first project. I noticed that when I…
jrummell
  • 42,637
  • 17
  • 112
  • 171
4
votes
0 answers

Config file transformation doesn't work on build server after migration to package reference format

I am using Microsoft.VisualStudio.SLowCheetah (v3.0.61) package to transform several configuration files to the release version during the build. Recently i have migrated all projects in the solution from packages.config to package reference format.…
Eugene
  • 127
  • 1
  • 2
  • 8
4
votes
0 answers

Dotnet build fails but building works in Visual Studio / Slowcheetah

In a ASP.NET Core 1.1 (Angular SPA Template) I added slowcheetah to use the json transforms on appsettings.json. In Visual Studio, starting with debugging works, as well as building and publishing zu Azure. For working on the SPA, I prefer using Vs…
martinoss
  • 5,268
  • 2
  • 45
  • 53
4
votes
3 answers

msbuild TransformWebConfig task - doesn't work for App.configs?

I have a windows service that will need to have the same kind of transformations that the web.configs would use, but VS 2010 doesn't seem to support that. I've tried manually adding the App.Release.Config files, and then using msbuil [PROJ]…
Jeff D
  • 2,164
  • 2
  • 24
  • 39
4
votes
0 answers

SlowCheetah placing settings in app.config.deploy and not .exe.config

I'm using the latest version of SlowCheetah on an existing WPF project I have that was already using ClickOnce. I'm trying to provide different application settings (the applicationSettings node in app.config; the ones that form the…
Chris Shepherd
  • 1,436
  • 1
  • 11
  • 17
1 2
3
12 13