Windows .net窗体未在设计视图中打开 [英] Windows .net form Not opening in Design view

查看:83
本文介绍了Windows .net窗体未在设计视图中打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我正在一个项目上..它已经被另一个项目开发了..问题是当我尝试在设计视图中打开它时,它们是一种无法打开的形式..当我运行该应用程序时,它运行得很好没有任何错误..所以任何人都可以告诉我可能是什么问题

Thanks

Hello every one ,
I am working on one project..which has been devloped by some one else..the problem is their is one form that is not opening when i try to open it in design view..when i am running that application it is runnig fine with out any error.. so can any one tell me what could be the problem

thanks

推荐答案

首先进行构建,然后尝试打开表单.

可能是表单正在使用未安装的组件,或者您没有该组件的设计时许可证.
Do a build first then try to open the form.

It could be that the form is using a component that is not installed, or you do not have a design time license for it.


清理解决方案,检查.aspx.cs名称和.aspx页面具有相同的名称?再次尝试并检查它是否工作正常.如果不工作,

最好采用另一种形式,只需复制设计并粘贴为新形式,即可.
clean the solution, check whether .aspx.cs name and .aspx page have same name ? buid again and check whether it works fine .if not working then,

it is better to take another form ,simply copy the design and paste in new form ,


注意:不清楚是在WinForms,ASP.NET还是...中工作? br/>
在大多数情况下,我在WinForms中遇到此问题时,Designer.cs文件中存在一些损坏.

如果您具有可以打开的旧文件,而这是WinForms,建议您在无法打开的新窗体和旧窗体之间进行Designer.cs文件的比较.

寻找任何差异.

最好,比尔
Note: not clear if you are working in WinForms, ASP.NET, or ... ?

Most of the time I''ve had this problem, in WinForms, there was some corruption in the Designer.cs file.

If you have the older file you can open, and this is WinForms, suggest you do a comparison of the Designer.cs files between the new Form you can''t open and the old Form.

Look for any differences.

best, Bill


这篇关于Windows .net窗体未在设计视图中打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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