Unit testing c# code in a ScriptSharp project

后端 未结 1 1526
隐瞒了意图╮
隐瞒了意图╮ 2021-01-13 16:49

Im using ScriptSharp to create a RIA app. Works nice besides some oddities.

However finding and fixing problems using Firebug isn\'t really convinient.

Since

相关标签:
1条回答
  • 2021-01-13 17:34

    You might try using assembly binding redirects

    You would put something like this in the app.config on your testproject. Havent tested this particular configuration, so you will need to adjust it.

    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v1.0.3705">
         <dependentAssembly>
            <assemblyIdentity name="mscorlib" publicKeyToken="b77a5c561934e089" culture="neutral"/>
            <bindingRedirect oldVersion="0.7.0.0" newVersion="4.0.0.0"/>
         </dependentAssembly>
        </assemblyBinding>
    </runtime> 
    
    0 讨论(0)
提交回复
热议问题