speckleworks / SpeckleUi

Base speckle ui for embedding in .net apps
MIT License
3 stars 4 forks source link

Cef v71.0.2 vs Revit Cef Sharp (v.57) #8

Open didimitrie opened 4 years ago

didimitrie commented 4 years ago

Trawled from MSTeams:

[09/01 05:56] Nic Burgers I was trying to launch the SpeckleUiWindow from within the ETABS plugin code and kept finding that the window appeared but there was no content. There were no calls at all to to the SpeckleUiApp at localhost:8080

Yamin and I spent several hours trying to work out what was going on and although we didn't definitively work out the issue, we followed our noses after reading a CefSharp exception pointing us to https://github.com/cefsharp/CefSharp/issues/1714 Feature Request - Add AnyCPU Support · Issue #1714 · cefsharp/CefSharpDoing some research on another topic I believe I've come up with a method of making AnyCPU a reality without introducing maintainable code to the framework. With 60a1e61 it's now po...github.com​[09/01 05:59] Nic Burgers

I saw that this issue seemed to have been fixed in a newer version (the one you have points to version 57). We found other issues when we tried to link the most recent stable version, but version 71.0.2 works well and only needs a couple of one-liner changes

ping @nic-burgers-arup - let's take the discussion further here :)

Summary: is how do we make it possible to build the UiBase with two cef sharp versions - one latest, that we can use in Rhino, ETABS, etc. - and v.57, which we need to stick to because of Revit.