I've already done this and started to investigate the compiler errors; it's not too bad I hope; here is the output :
Error 1 The type or namespace name 'Concurrent' does not exist in the namespace 'System.Collections' (are you missing an assembly reference?) C:\Development\Projects\JuiceUI\Juice\Framework\JuiceWidgetState.cs 2 26 JuiceUI
Error 2 The type or namespace name 'PreApplicationStartMethodAttribute' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) C:\Development\Projects\JuiceUI\Juice\JuiceApp.cs 8 23 JuiceUI
Error 3 The type or namespace name 'PreApplicationStartMethod' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) C:\Development\Projects\JuiceUI\Juice\JuiceApp.cs 8 23 JuiceUI
Error 4 The type or namespace name 'ScriptResourceDefinition' could not be found (are you missing a using directive or an assembly reference?) C:\Development\Projects\JuiceUI\Juice\Framework\CssResourceDefinition.cs 8 39 JuiceUI
Error 5 The type or namespace name 'ScriptResourceMapping' could not be found (are you missing a using directive or an assembly reference?) C:\Development\Projects\JuiceUI\Juice\Framework\CssResourceMapping.cs 9 36 JuiceUI
Error 6 The type or namespace name 'ConcurrentDictionary' could not be found (are you missing a using directive or an assembly reference?) C:\Development\Projects\JuiceUI\Juice\Framework\JuiceWidgetState.cs 21 27 JuiceUI
This mostly seems to be related to new functionality in the ScriptManager in .Net 4.0. I was considering defining an interface which allow me to wrap functionality from the ScriptManager and then build a 3.5 implementation of the interface.
Unfortunately the ScriptManager in 3.5 the update panel and having to support both JQuery and AjaxToolkit controls at the same time was the reason I came searching for JuiceUI in the first place! And just to make it even harder all of these controls are rendered dynamically in code!
Any pointers you could give me would be much appreciated as I'm under some time pressure (aren't we all) :-)
Thanks