V6 issues: A solution

piers7piers7 Posts: 15
edited February 12, 2008 8:13AM in Scream
Ok, so while we're waiting for RedGate to release the real v6 version of scream (see http://www.red-gate.com/messageboard/viewtopic.php?t=5451), here's a hacky workaround that works for me:

Copy the following assemblies from your RedGate\Sql Compare 6 folder into your Red Gate Scream folder:

RedGate.SQL.Controls.dll
RedGate.SQL.Shared.DLL
RedGate.SQLCompare.ASTParser.dll
RedGate.SQLCompare.Engine.dll

Add the following as RedGate.Scream.exe.config to force Scream to run in Framework 2, and against the updated assemblies:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <startup>
    
        <supportedRuntime version="v2.0.50727" />
        <supportedRuntime version="v2.0.50215" />
        <supportedRuntime version="v2.0.40607" />
        <supportedRuntime version="v1.1.4322" />
        <supportedRuntime version="v1.0.3705" />
    </startup>
    <runtime>
		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
		<dependentAssembly>
         <assemblyIdentity name="RedGate.SQLCompare.Engine"
                           publicKeyToken="7f465a1c156d4d57"
                           culture="neutral" />
         <bindingRedirect oldVersion="5.0.0.0 - 6.2.0.0"
                          newVersion="6.2.1.36"/>
       </dependentAssembly>
		<dependentAssembly>
         <assemblyIdentity name="RedGate.SQL.Controls"
                           publicKeyToken="7f465a1c156d4d57"
                           culture="neutral" />
         <bindingRedirect oldVersion="5.0.0.0 - 6.2.0.0"
                          newVersion="6.2.0.25"/>
       </dependentAssembly>
		<dependentAssembly>
         <assemblyIdentity name="RedGate.SQL.Shared"
                           publicKeyToken="7f465a1c156d4d57"
                           culture="neutral" />
         <bindingRedirect oldVersion="5.0.0.0 - 6.2.0.0"
                          newVersion="6.2.0.25"/>
       </dependentAssembly>
		</assemblyBinding>
    </runtime>
</configuration>

Works for me : YMMV

Update 18/2/08: Changed oldVersion attribute to use a version range instead

Comments

  • Piers,

    Many apologies for the delay. We've just rectified this now and replaced the 0.3 version with the 0.4 version, so it should work with SQL Compare 6.2.

    Let me know if you have any further issues.

    David Atkinson
    Red Gate Software
    David Atkinson
    Product Manager
    Redgate Software
Sign In or Register to comment.