Author Topic: Migrating to VS2019  (Read 1304 times)

Arvanoss

  • Newbie
  • *
  • Posts: 30
    • View Profile
Migrating to VS2019
« on: April 24, 2019, 09:30:52 AM »
To the Brain Trust...

I have installed Visual Studio 2019.
When I open one of Visual Studio 2017 programs and re-build the solution Every Connection and Every device has been wiped off the screen.  The only thing left in the MainForm.Designer.vb file is the Protected Overrides Sub Dispose(ByVal disposing As Boolean) subroutine and the Friend WithEvents data.

How do I Migrate my programs to VS2019 without losing all the screen components??

Thanks
Arv

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Migrating to VS2019
« Reply #1 on: April 24, 2019, 10:09:58 AM »
When you installed VS2019 did you select the Desktop application option? I'm thinking it didn't install the WinForm development environment.

Arvanoss

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: Migrating to VS2019
« Reply #2 on: April 24, 2019, 10:46:02 AM »
Archie,

I think I did, how would I check and how do I install that option?

Thanks
Arv

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Migrating to VS2019
« Reply #3 on: April 24, 2019, 11:21:43 AM »
From the Start Menu, find Visual Studio Installer and open that application. Select the Modify option of VS2019. Then see if .NET Desktop Development option is selected. if not, select then click the Modify button

Arvanoss

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: Migrating to VS2019
« Reply #4 on: April 25, 2019, 09:23:51 AM »
Archie,

The .Net Desktop Development is installed.

Not sure what happened but i'm sure I did something wrong.

Thanks
Arv

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Migrating to VS2019
« Reply #5 on: April 25, 2019, 09:35:17 AM »
I have opened several projects in 2019 without issue. I have noticed it doesn't like a form displaying in design view when it first opens. By closing all documents then exiting VS and re-opening has solved it every time for me.

Arvanoss

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: Migrating to VS2019
« Reply #6 on: April 29, 2019, 09:06:33 AM »
Archie,

I did find that if I open a program that had an open screen it would fail.
If I close all of the screens then reopen them the problem was gone.

Thanks for all your help.

Thanks
Arv