Skip to main content

I am trying to create a Visual Cobol WinForm .NetCore project using VS 2019.  When I click on the form to view the designer, I am getting the following error.

"The language for this file does not support the necessary code parsing and generation services.  Please ensure the file you are opening is a member of a project and then try to open the file again."

Any help on this would be greatly appreciated. 


#VisualCobolWinForm.NetCore

I am trying to create a Visual Cobol WinForm .NetCore project using VS 2019.  When I click on the form to view the designer, I am getting the following error.

"The language for this file does not support the necessary code parsing and generation services.  Please ensure the file you are opening is a member of a project and then try to open the file again."

Any help on this would be greatly appreciated. 


#VisualCobolWinForm.NetCore

Hi Anthony Downs

This is a documented restriction so unfortunately it cannot be done. See

 https://www.microfocus.com/documentation/visual-cobol/vc70/VS2019/GUID-354B6F0A-728D-4DA8-8B62-BBD1371704C2.html

If you want to create a Winform in COBOL you will have to target .NET Framework rather than ..NET Core. In the filters on the new project dialog if you select 'All project types' or 'Desktop' the 'Windows Forms Application (.NET Framework)' will allow you to do so.