Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Slowcheetah Transforms for Azure Webjobs

In my experience, Slowcheetah does not work with Azure Webjobs.

I'm just looking for confirmation as to whether this is the case (or not).

Cheers

like image 285
onefootswill Avatar asked Dec 29 '25 01:12

onefootswill


1 Answers

I've used this tutorial and it work fine : SlowCheetah VS 2015. Keep in mind that a webjob is just a console app (and more...)

  1. Add the slowcheetah nuget package to your webjob project.
  2. Add the app.config transform to your project, for example app.Debug.config and app.Release.config
  3. Edit your *.csproj file and add these lines (depending on the name and number of transformation you want :

    <None Include="App.Release.config">
        <DependentUpon>App.config</DependentUpon>
        <TransformOnBuild>True</TransformOnBuild>
    </None>
    <None Include="App.Debug.config">
        <DependentUpon>App.config</DependentUpon>
        <TransformOnBuild>True</TransformOnBuild>
    </None>
    

above these lines :

    <None Include="App.config">
        <TransformOnBuild>true</TransformOnBuild>
        <SubType>Designer</SubType>
    </None>

4. Reload your project and it should work.

like image 80
Thomas Avatar answered Dec 30 '25 17:12

Thomas



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!