Questions tagged [slowcheetah]
SlowCheetah is an XML Transforms package for Visual Studio
182
questions
-2
votes
1
answer
105
views
ASP.NET Core 7 Web API - SlowCheetah
Solution
That one line in .csproj file solved the problem.
<Import Project="..\packages\Microsoft.VisualStudio.SlowCheetah.3.0.61\build\Microsoft.VisualStudio.SlowCheetah.targets" ...
1
vote
1
answer
502
views
Can you run Microsoft.VisualStudio.SlowCheetah from powershell?
I would like to run a powershell build script where I have some config files (xml/json) that are not app.config, appsettings.json nor web.config files that I would like to transform based on the build ...
1
vote
1
answer
1k
views
JDT transform to modify N-th array element
I am trying to apply a JDT transform to a JSON document in order to modify a property in a N-th array element. Is that possible without having to replace the entire element or even the entire array?
{...
2
votes
1
answer
199
views
Transform app.config entries only if a flag in app.debug.config is true
I would like to perform an xdt:Transform when in Debug configuration but only if the value of an entry in app.debug.config is a certain value, lets say true to keep it simple. For example:
App.config:...
0
votes
2
answers
121
views
How to get SlowCheetah to transform SQL files
The Microsoft Slowcheetah website states
This package allows you to automatically transform your app.config (or any file) when you press F5 in Visual Studio.
I have a SQL Server VS solution ...
0
votes
0
answers
285
views
Use local transformed appsettings.json, but exclude it from deployment to Azure
When using SlowCheetah to transform appsettings.json you must use the option to Copy to Output Directory for the transforms to actually be transformed.
This works just fine during local testing. The ...
6
votes
3
answers
2k
views
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 ...
0
votes
1
answer
124
views
Insert into config if child node is missing
I am trying to use Microsoft.Web.XmlTransform.dll to update an xml doc. I need to insert a new assembly element if one with the child element does not have a matching attribute name.
Transform:
<...
1
vote
1
answer
196
views
c# App.Config file not transforming when building for Test deployment
I am using slow cheetah in my app such that I can have app.config files that will transform in the same manner as web.config transforms. I have used this in other projects with no issue, but for some ...
0
votes
1
answer
2k
views
slowcheetah.transformtask task failed unexpectedly.system.unauthorizedaccessexception
Getting following error when using custom json configuration file.
Severity Code Description Project File Line Suppression State
Error The "SlowCheetah.TransformTask" task failed ...
0
votes
1
answer
207
views
Replacing with values read from file or generated from code?
In SlowCheetah, I would like to transform some elements of my config file not with hard-coded values in a transform file, but either with the contents of another file or (preferably) a value generated ...
3
votes
1
answer
316
views
Calling different environment configurations at runtime using Katalon
I have something in .net visual studio called slowcheetah that allows me to store multiple app.configs for environment URLs and call them depending on the test environment I'm running against for my ...
4
votes
0
answers
1k
views
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 ...
0
votes
1
answer
351
views
SlowCheetah transform config
I am confused about where SlowCheetah looks to determine which transforms to add.
When I go to build/Configuration Manager, I can add new profiles, then go to appsettings.json, right-click, Add ...
0
votes
1
answer
604
views
Web.config is not transformed when published
I am trying to apply config transformation in one of my C# projects. I can see the transformation applied when I do "Preview transform" on my QA config file but when I do publish with QA profile, I ...
0
votes
1
answer
597
views
SlowCheetah not transforming file after removing App.Config from Source Control
I have a solution with 5 projects and am using Visual Studio 2017. The latest version of SlowCheetah (v3.0.61) is installed and transformations in all but one projects are working (meaning the output ...
0
votes
1
answer
462
views
SlowCheetah Could not write destination file access denied using TFS
I'm trying to use SlowCheetah to transform a Web.config and a App.config. Now when I check these files out for edit with TFS all works well. If however I do not check out for edit I get:
Could not ...
0
votes
1
answer
155
views
slowcheetah copys all reference dll's config file to target bin directory
I am new to SlowCheetah. Just installed it today as I need to add more config files to one of my console application to allow different settings for alpha test environment.
So I added a transform ...
0
votes
1
answer
739
views
Perform Slowcheetah transformation only
Hi I have a bunch of csproj visual studio projects.
These includedes alot of slowcheetah transformation files and alot of normal c# code files.
In order to optimize my build process, I would like to ...
3
votes
1
answer
1k
views
slowcheetah not working for app.config
Im using slowcheetah to transform my web.config file for various environments and this all works as expected. I want to do the same on app.config files but despite having slowcheetah available for ...
0
votes
1
answer
2k
views
Why does my SlowCheetah configuration not work?
I'm developing a WPF application on VS 2017 Community.
I've download SlowCheetah, so this is my
App.Debug.config
<?xml version="1.0" encoding="utf-8" ?>
<!-- For more information on using ...
1
vote
0
answers
387
views
Slow cheetah not transforming file
I have slow cheetah installed in my solution in Asp.Net application.
I have log4net.config file in library project which is included in web application and I have added transformations for it. When ...
5
votes
1
answer
3k
views
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,...
1
vote
0
answers
113
views
Custom config files(xml) not transformed with Slowcheetah Extension when publishing for Azure Web Role
I'm searching if SlowCheetah is available for Azure Web Role.
・Visual Studio 2012
・Azure SDK 2.6
When I create package(.cspkg), I found that web.config is transformed by each build settings but ...
1
vote
1
answer
1k
views
SlowCheetah "File to transform not found" when transforming json in wwwroot folder / ASP.NET Core 1.1
I wanted to add an environment.json for my Angular SPA (non angular-cli) to be transformed on build/publish.
It works for the root directory but not if the json is inside the wwwroot folder, where I ...
12
votes
6
answers
14k
views
Slow cheetah Add Transform does not appear
I want to use Slow Cheetah for transform .config file. Currently I am using Visual Studio 2017 and for this I have installed Slow Cheetah 2.5.48 from nuget but 'Add Transform' does not appear when I ...
0
votes
1
answer
465
views
.NET App.config. How to replace file attribute?
Here is short summary of current situation:
In my solution (console application) I use app.config file with entry like this:
< appSettings file="Additional.config">
On our production environment ...
2
votes
0
answers
1k
views
SlowCheetah not transforming on F5 (debug)
So I have installed the very latest version of SlowCheetah (3.0.61.18192 as of the time of this post) and I've added a "Test" build configuration alongside the "Debug" and "Release" build ...
4
votes
0
answers
1k
views
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 ...
2
votes
0
answers
411
views
How can I create development and production settings files in Visual Studio?
Does Visual Studio (or any extension) offer a way to achieve the equivalent of a configuration transform at the .settings file level? I know that there are tools such as SlowCheetah for creating ...
3
votes
1
answer
402
views
How do I get SlowCheetah to use my web config transforms when debugging locally?
I read that SlowCheetah can do this. I've installed the extension and the nuget package in my project, created a new build configuration ("Debugging with UAT db"), created a transform (replaces ...
1
vote
0
answers
488
views
SlowCheetah not transforming root XML element with multiple attributes
I'm trying to add a SlowCheetah release transformation for my NLog.config file. The NLog.Release.config looks as follows:
<?xml version="1.0" encoding="utf-8"?>
<nlog
xmlns="http://www....
1
vote
0
answers
573
views
SlowCheetah 2.5.48 not transforming web config on build
So I have downloaded the latest SlowCheetah Visual Studio Extension v2.5.48.45331 and installed the latest NuGet Package. I have a custom build configuration named XL.Production and have the according ...
1
vote
1
answer
2k
views
Teamcity - Transform web.config and password.config upon build using MSBuild SlowCheetah 2.5.48
I'm using TeamCity (TeamCity Enterprise 10.0.4 (build 42538)) as a build server and SlowCheetah for config transformations. My solution consist of one ASP.NET Web API 2 project and one Console ...
0
votes
1
answer
940
views
Why is VS2015 generating old/incorrect app.exe.config file?
I'm working on a windows service and using SlowCheetah to manage the transforms. I added some settings and therefore updated the app.config file for the first time in months, and for some reason when ...
0
votes
2
answers
73
views
Installshield Express append Config name to msi filename
Right now I am using vs 2015 and Flexera installshield for a windows service. I am also using slowcheetah for xml transformations.
Right now i am outputting a msi file like FileName.msi but I would ...
1
vote
1
answer
2k
views
MSBuild condition to prevent app.config XML transform
I am using the 'SlowCheetah' VS extension to transform our app.config with different values depending on the project configuration. So a 'Debug' configuration produces an app.config with values ...
0
votes
0
answers
187
views
Heat.exe (fro WiX library) not able to create task for SlowCheetah
I am referencing my .csproj within an script of heat.exe to generate output .wxs files but it gets to this error.
heat.exe : error HEAT5313 : Build error during harvesting: C:...\Local\Microsoft\...
0
votes
0
answers
157
views
Web.config Builds? Should I be using SlowCheetah?
I have a web api project and I want have different web.config build when I switch to say "release" and build.
In the past for window services I used on the app.config SlowCheetah and when I would ...
0
votes
1
answer
18
views
Can I prevent configs from getting deployed if there is no transform for the build target?
Is there a way with msBuild/Deploy to prevent a particular config file from getting deployed if it does not have a transform for the current build target?
I am currently using SlowCheetah to do my ...
1
vote
0
answers
37
views
Is it possible to transform DOCTYPE using SlowCheetah?
I am applying transforms to a custom XML config file using SlowCheetah, but ran into a snag. How would I go about transforming this:
<!DOCTYPE ParameterSet [ <!ENTITY someValue "10"> ]>
...
2
votes
0
answers
408
views
slowcheetah: how to add an existing file as a transform
I'm using SlowCheetah for config transforms with VS2013.
let's say I get web.config and web.debug.config files via an external source, for some reason.
How can I import both files in my solution and ...
0
votes
1
answer
432
views
Slow Cheetah stopped working in Visual Studio 2013
Suddenly, and inexplicably, Slow Cheetah has stopped working inside Visual Studio 2013. By "stopped working" I mean:
The context menus no longer appear (ie Preview Transform, Add
Transform)
Config ...
1
vote
1
answer
881
views
Web Config being ignored
I have written a web-api service and used slow cheetah to do the transforms. All is good when I compile and publish to a server with visual studio everything is transformed in many different ...
0
votes
2
answers
216
views
How can I set the logger level with xml transformation. I am using SlowCheetah
I want to set the logger level value to "WARN" in the release log4net.config file. the value in the debug config file is set to "DEBUG"
<logger name="NHibernate" additivity="false">
<...
0
votes
1
answer
385
views
Slowcheetah installed but there's no transform option in Visual Studio 2015 Update 2
I have a .NET Framework 4.5.2 console project, in Visual Studio 2015. I would like to have transforms for app.config.
Very similar to Slowcheetah installed but there's no transform option
But:
...
0
votes
2
answers
434
views
SlowCheetah not Working with Octopus
I'm using SlowCheetah with the following configurations: Debug | TeamCity | Release.
That means that I have these files on Visual Studio:
Web.config
Web.Debug.config
Web.TeamCity.config
Web.Release....
36
votes
3
answers
21k
views
Web.config is not transformed when debugging code
I have a main Web.config file, and under that there is a Web.Test.config, Web.Development.Config etc.
When I preview the transformation via SlowCheetah on the Test config, it appears to transform the ...
1
vote
1
answer
119
views
Xdt transformations in referenced class library project?
I have a solution with these three projects.
Web API
DAL
Domain
The DAL project is a class library that has a web reference. Thus, the app.config in that project has a section like this:
<...
1
vote
1
answer
246
views
XML transformation not working
I have installed the SlowCheetah extension and Nuget Package into my Console App Project. I have used the context menu to add a UAT build configuration and updated a test setting to check that the ...