You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into issues manually calling SlowCheetah.TransformTask largely in part because there is no way to disable built in targets.
Scenario
For cleaner code repository, we don't commit a App.config or Web.config. Instead we have an App.Template.config that is used for the source file. The way to do this with SlowCheetah is like this (includes Binding Redirect generation):
ScTransformAppConfig always runs and regardless of any transformations occurring will replace the AppConfig property with the App.config that was copied to the intermediate directory.
I'm running into issues manually calling
SlowCheetah.TransformTask
largely in part because there is no way to disable built in targets.Scenario
For cleaner code repository, we don't commit a App.config or Web.config. Instead we have an App.Template.config that is used for the source file. The way to do this with SlowCheetah is like this (includes Binding Redirect generation):
Problem
ScCollectAppFiles always run and tries to copy the App.config to the intermediate directory. If the App.config doesn't exists yet, it blows up.
slow-cheetah/src/Microsoft.VisualStudio.SlowCheetah/Build/Microsoft.VisualStudio.SlowCheetah.App.targets
Line 54 in d923677
ScTransformAppConfig always runs and regardless of any transformations occurring will replace the
AppConfig
property with the App.config that was copied to the intermediate directory.slow-cheetah/src/Microsoft.VisualStudio.SlowCheetah/Build/Microsoft.VisualStudio.SlowCheetah.App.targets
Line 74 in d923677
Solution
Add an "opt-out" flag that disables all SlowCheetah automation.
The text was updated successfully, but these errors were encountered: