Activity overview
Latest activity by muz
Thanks for getting back to me Alex. Yes this is one of the things I tried to do to follow your casting recommendation. I down-graded the assembly of the Work class to satisfy the type. But I found that the assembly I down-graded depends/links on another old assembly, so I down-graded that too, and this happened again. I ended up reverting back all of my original dlls (so reverted the application back to version 7). Please let me know if there is a way around this issue. Regards, Muz / comments
Thanks for getting back to me Alex. Yes this is one of the things I tried to do to follow your casting recommendation. I down-graded the assembly of the Work class to satisfy the type. But I found ...
Can someone please have a look at the above query please? Thanks, Muz / comments
Can someone please have a look at the above query please?Thanks, 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...
Work Around SQL Packager Retirement
Hi there,We bought a license to upgrade our SQL Data Compare from version 7 to version 13. All of the code involved in the upgrade has been completed, except for updating RedGate.SQLPackager.Engine...
Can someone please look into my query above? Regards, Muz / comments
Can someone please look into my query above?Regards, Muz
Work Around SQL Packager Retirement
Hi there,We bought a license to upgrade our SQL Data Compare from version 7 to version 13. All of the code involved in the upgrade has been completed, except for updating RedGate.SQLPackager.Engine...