Visual Studio 2017 - 阅读在VS2015中创建的窗体 [英] Visual studio 2017 - reading windows forms created in VS2015

查看:205
本文介绍了Visual Studio 2017 - 阅读在VS2015中创建的窗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚升级到VS2017 R3(我的VS2015已经死了,所有重建它的尝试都失败了)。我曾尝试打开在VS2015中创建的旧VB和C#窗体项目,但它们无法打开。看起来问题出在GridView和ToolStripMenuItems上 - .NET中的方法和属性仍然存在,我可以在新表单上创建新的GridView;它只是现有的制造形式不可开启的。



我有大量正在进行的项目已经停止。



非常感谢您提供的任何帮助。理想情况下,我希望能够在表单设计器中打开表单而无需重新创建表单 - 特别是因为许多表单非常复杂而且不是我创建的表单。



我尝试过:



。使用GridViews创建新项目(这些似乎没问题)

。搜索网络(甚至没有接近匹配的症状)

。进入Visual Studio安装实时聊天 - 在最近几个小时被困在队列中的第2位

I have just upgraded to VS2017 R3 (my VS2015 had died and all attempts to rebuild it failed). I have tried opening old VB and C# windows forms projects created in VS2015 but they will not open. It looks like the problem is with GridView and ToolStripMenuItems - the methods and properties in the .NET are still there and I can create new GridViews on new forms; it is just existing ones the make forms unopenable.

I have a load of on-going projects that have ground to a halt.

Any help that you can give would be very gratefully received. Ideally, I'd like to be able to open the forms in form designer without having to recreate them - especially as many of the forms are very convoluted and are not ones that I have created.

What I have tried:

. Created new projects with GridViews (these seem to be OK)
. Search the web (nothing even close to matching the symptoms)
. Gone on to the Visual Studio Installation Live Chat - been stuck at position 2 in the queue for the last couple of hours

推荐答案

我的耳朵之间发现了错误。



我正在测试非生产代码,作为预防措施,我选择的示例应用程序是一个旧的VB程序(用于显示和管理MS-Edge中的cookie)已使用VB转换为C#转换器转换为C#。这些问题与转换器中的故障有关。加载旧的VB版本成功运行;所以我复制了一个复杂的实时程序,其中包含导致测试用例无法加载的表单控件的示例。这完全没有问题。



感谢@VinodJangle的回复。
Fault found between my ears.

I was testing non-production code just as a precaution and the sample application that I had picked was an old VB program (for displaying and managing cookies in MS-Edge) that had been converted to C# using a VB to C# convertor. The issues were associated with failings in the converter. Loading the old VB version worked successfully; so I took a copy of a complicated 'live' program that included examples of the form controls that had caused the test case to not load. That worked with no issues at all.

Thank you @VinodJangle for your response.


这篇关于Visual Studio 2017 - 阅读在VS2015中创建的窗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆