Visual Studio 2008 C ++ CLI表单问题 [英] Visual Studio 2008 C++ CLI form questions

查看:96
本文介绍了Visual Studio 2008 C ++ CLI表单问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用VS2008以及进行一般编程时,我仍然是绿色的.我一直在编写C ++ CLI表单应用程序.昨天,设计者停止显示该表单.我收到以下消息

无法显示该文件的设计器,因为无法设计其中的所有类.

I am still Green at using VS2008 and at programing in general. I have been writing a C++ CLI forms application. Yesterday the deseigner stops displaying the form. I get the following message

The designer could not be shown for this file because none of the classes within it can be designed.

Instances of this error (1)

1.   Hide Call Stack

at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)




我没有提供我的项目代码,这很长.我正在寻找的是帮助理解这种情况的发生原因.我不知道我在代码中进行了任何更改以实现此目标.




I have not provided my project code, It is pretty long. What I am looking for is help understanding why this is happening. I am not aware of any changes I made in the code to make this happen.

推荐答案

似乎是软件故障,仍然不确定发生了什么.从头开始重建程序,一次复制代码部分.在项目中,它工作正常.
Seems Like it was some software glitch, Still not sure what happened. Rebuilt the program from scratch, Copying sections of code at a time. In the project it is working fine.


这篇关于Visual Studio 2008 C ++ CLI表单问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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