I made my own web.config conversion, we will call it CustomTransform, following the appharbor example here . As in the example, mine inherits from Transform. I also committed to import my custom conversion as follows:
<xdt: import path = ". \ bin \ CustomTransformAssembly.dll" namespace = "CustomTransformAssembly.Build.Transforms" />
I can start the assembly at this point without any problems. It is only when I try to use CustomTransform that I have problems. Conversion is used this way
<add name = "AConfigElement" connectionString = "a-connection-string" xdt: Transform = "CustomTransform" />
But when I run msbuild in this project, I get the following error:
Error: Failed to resolve "CustomTransform" as type Transform
How can I reference CustomTransform so that msbuild finds it?
source
share