Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FieldWorks: Test using the designer with VS 2019 16.8 #1032

Closed
Tracked by #1005
tombogle opened this issue Dec 8, 2020 · 4 comments
Closed
Tracked by #1005

FieldWorks: Test using the designer with VS 2019 16.8 #1032

tombogle opened this issue Dec 8, 2020 · 4 comments
Assignees

Comments

@tombogle
Copy link
Contributor

tombogle commented Dec 8, 2020

No description provided.

@tombogle
Copy link
Contributor Author

tombogle commented Dec 8, 2020

@ermshiperete, which branch should this be done on, or does it not matter? I'm not yet seeing any extra csproj files that were added to work with Designer.

@tombogle
Copy link
Contributor Author

I have managed to get 7 projects to build. Can't get most of the solution to build because of this error:
1>IDL Import threw an exception: An entry with the same key already exists.
1>C:\Projects\FieldWorks\Src\ViewsInterfaces\ViewsInterfaces.csproj(54,5): error MSB4181: The "IdlImp" task returned false but did not log an error.
1>Done building project "ViewsInterfaces.csproj" -- FAILED.
I have successfully opened several controls and dialogs in FwCoreDlgs using Designer.
Some that fail include:
ComboTextBox (The base class 'SIL.FieldWorks.FwCoreDlgs.Controls.InnerFwTextBox' could not be loaded)
DefaultFontsControl (Could not find type 'SIL.FieldWorks.FwCoreDlgs.FwOverrideComboBox')
InnerFwTextBox (The base class 'SIL.FieldWorks.Common.RootSites.SimpleRootSite' could not be loaded.)
AddCnvrtrDlg (Could not find type 'SIL.FieldWorks.FwCoreDlgs.CnvtrPropertiesCtrl)
CharContextCtrl (Could not find type 'SIL.FieldWorks.FwCoreDlgs.FwPanel'.)
FwWritingSystemSetupDlg (The designer loader did not provide a root component but has not indicated why.)

Probably not worth trying to go any further unless/until I can figure out how to get everything to build.

@tombogle
Copy link
Contributor Author

All the controls in the Controls folder now open correctly in Designer. However, the last three items in the above list still fail.

@tombogle
Copy link
Contributor Author

After changing several properties in FwPanel/FwTextPanel to either be non-browsable and hidden in Designer or making them public instead of internal, I was able to open CharContextCtrl in Designer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants