相关疑难解决方法(0)

x64中的Visual Studio设计器不起作用

在Visual Studio 2010 64位中,我无法设计我的表单.
我一直收到这个警告(和错误):

Warning 18  
The designer could not be shown for this file because none of the classes within it can be designed.  The designer inspected the following classes in the file: 
MainForm --- The base class 'Blah' could not be loaded.  Ensure the assembly has been referenced and that all projects have been built.
Run Code Online (Sandbox Code Playgroud)

这只发生在我为x64编译时......在x86中,设计师运行良好.

只是想明确我需要项目在x64上工作,因为很多项目的组件都是用x64编译的,如果表单是在x86中则无法工作.

有没有其他人遇到这个并找到了解决方案?

c# 64-bit designer visual-studio-2010

29
推荐指数
3
解决办法
2万
查看次数

在Visual Studio 2017中``找不到类型或名称空间''

每次我从远程执行git pull更新我的分支时,在打开文件时,Visual Studio 2017都会在许多文件中显示“找不到类型或名称空间”错误。有趣的是,对于相同的项目/存储库,我在Visual Studio 2015中看不到该问题。该软件在两个版本的Visual Studio中都可以正常运行,因此是错误的。进行清理或重建不能解决问题。我最终从远程重新克隆了存储库,然后Visual Studio 2017感到高兴。有谁知道如何解决这个烦人的问题?

c# git visual-studio-2017

4
推荐指数
2
解决办法
1906
查看次数