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

Allow to use WinForms designer #224

Merged
merged 4 commits into from
Dec 18, 2020
Merged

Allow to use WinForms designer #224

merged 4 commits into from
Dec 18, 2020

Conversation

ermshiperete
Copy link
Member

@ermshiperete ermshiperete commented Nov 12, 2020

This change adds the missing pieces that enables the files to be opened in WinForms designer on Windows. This requires Visual Studio 2019 >= 16.8 (or JetBrains Rider). This change also removes the designer projects that were added as a temporary hack.

Part of sillsdev/libpalaso#993


This change is Reviewable

Those were added as a hack previously and are no longer necessary
now that VS learned to open files from sdk-style projects in designer.
This change adds the missing pieces that enables the files to be opened
in WinForms designer on Windows. This requires Visual Studio 2019 >= 16.8
(or JetBrains Rider).
@ermshiperete
Copy link
Member Author

Building on AppVeyor fails, maybe because the current VS version (16.8) isn't yet available there.

Copy link
Contributor

@jasonleenaylor jasonleenaylor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 31 of 31 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ermshiperete)


src/ChorusMerge/app.config, line 3 at r1 (raw file):

<?xml version="1.0"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup></configuration>

Just making sure that we don't need something else to replace this.

We have to set PlatformTarget explicitly, otherwise msbuild will make
the executables x86 because icu4c contains platform dependent native
binaries. However, our icu.net library expects to find the binaries
for both x86 and x64, so using AnyCPU for the executable is
acceptable. For similar reasons we have to set RuntimeIdentifiers
which is needed when building with .NET 5 on AppVeyor - without it
we get an error that there is no target for 'net461/win7-x86'.
@ermshiperete ermshiperete merged commit 14bf35a into sillsdev:feature/nuget Dec 18, 2020
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

Successfully merging this pull request may close these issues.

2 participants