Switch to use MSWebBrowser as default lib display#11957
Conversation
Switch to use MSWebBrowser as default: 1. LibraryViewExtensionMSWebBrowser will build to Dynamo build folder 2. LIbraryViewExtension will build to its own bin folder
src/LibraryViewExtensionMSWebBrowser/LibraryViewExtensionMSWebBrowser.csproj
Outdated
Show resolved
Hide resolved
|
are you concerned about the missing files for patch installers? Will you be manually copying them back in after build? |
Since this would be for Global launch, I am not worried about the missing files for patch installers yet. I do remember Civil3D may back port updated Dynamo there but since they were already using |
|
@QilongTang I'm not sure why I didn't do this in the past - maybe there is a reason - but can you checkout why layoutspec.json is duplicated in both projects? It would be nice if one was a link to the other so we only had to update it once in one spot when adding new nodes - or do you intend to drop the CEF project completely? I mean adding existing item to project, and then using |
@mjkkirschner I found that using linked layoutSpec will break the library display so I left it untouched |
yeah - odd, the file needs to be embedded into the binary for it to be found at runtime, but maybe that doesn't make sense with a linked file - anyhow lets worry about it later - eventually we'll only have one of these projects anyway. |
|
@QilongTang I'm confused - in your image above you show a bunch of CEF dependencies in the bin folder, I thought you were getting rid of them as per this comment: |
| "elementType": "section", | ||
| "showHeader": false, | ||
| "include": [ ], | ||
| "include": [], |
There was a problem hiding this comment.
what are these changes about?
There was a problem hiding this comment.
Visual Studio Code Json formatting
Yeah, please check the path, these are under LibraryViewExtension sub folder for future nuget wrapping |
| } | ||
|
|
||
| public static readonly string ExtensionName = "LibraryUI2"; | ||
| public static readonly string ExtensionName = "LibraryUI - MSWebBrowser"; |
There was a problem hiding this comment.
my reasoning for this funny naming was to avoid exposing the implementation in the name - not a big deal either way.
There was a problem hiding this comment.
I can revert this or do you have an alternative naming option?
mjkkirschner
left a comment
There was a problem hiding this comment.
looks good - just a few questions.
|
There are lots of regressions, investigating |
|
The previous failures all pass locally for me. Merging. |
Please Note:
DynamoRevitrepo will need to be cherry-picked into all the DynamoRevit Release branches that Dynamo supports. Contributors will be responsible for cherry-picking their reviewed commits to the other branches after aLGTMlabel is added to the PR.Purpose
Switch to use MSWebBrowser as default:
What it looks like, notice the scroll bar

What the build contains for

LibraryViewExtensionwhich is no longer part of DynamoCore:Declarations
Check these if you believe they are true
*.resxfilesReviewers
@DynamoDS/dynamo
FYIs
(FILL ME IN, Optional) Names of anyone else you wish to be notified of