How can we help you today? How can we help you today?
muz
Thanks Alex B for getting back to me. You said: "I think Jess is right..." I can't see any message from Jess or anyone, just the message you sent above. I hope I am not missing answers to my question somewhere in the site. With regards to the suggestion above, this still doesn't work unfortunately as the property method (named ExecutionBlock) of the upgraded Work object (now provided by the assembly RedGate.SQLCompare.Engine.Deployment) returns an interface of type  RedGate.SQLCompare.Engine.IExecutionBlock, rather than RedGate.Shared.SQL.ExecutionBlock.ExecutionBlock (which is expected by the constructor of the old/retired PackagerEngine) So when I come to cast the IExecutionBlock, I will be casting of type RedGate.SQLCompare.Engine.ExecutionBlock instead of RedGate.Shared.SQL.ExecutionBlock.ExecutionBlock, which brings the same issue - please see code sample below for clarity: Work work = new Work(); ExecutionBlock block = (RedGate.SQLCompare.Engine.ExecutionBlock) work.ExecutionBlock; So now when I go: PackagerEngine engine = new PackagerEngine(                    ......,                    .......,                    .......,                    block,                    .......,                     .......,                     .......); I get the error: "Argument type 'RedGate.SQLCompare.Engine.ExecutionBlock' is not assignable to parameter type 'RedGate.Shared.SQL.ExecutionBlock.ExecutionBlock' " I hope this makes sense. Please help! Muz / comments
Thanks Alex B for getting back to me.You said: "I think Jess is right..."I can't see any message from Jess or anyone, just the message you sent above. I hope I am not missing answers to my question...
0 votes