开发者

Why does my Design view display HTML?

开发者 https://www.devze.com 2023-02-13 01:09 出处:网络
I have this simple pro开发者_Python百科ject using C#, I copied it from one computer to another. But instead of viewing the design in Design view, all I can see is some HTML (tags and text).

I have this simple pro开发者_Python百科ject using C#, I copied it from one computer to another. But instead of viewing the design in Design view, all I can see is some HTML (tags and text). Why is this happening?

Here's the contents of what I see in Design view, no matter what I do:

<html>One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.Could not find type 'ComponentFactory.Krypton.Navigator.KryptonNavigator'. Please make sure that the assembly that contains this type is referenced.</html>


Even though you're in Design view, you're probably viewing Source. Click the Design button (or the Split button for a combined view).

Why does my Design view display HTML?

Since that's still not working for you, the error message seems to indicate that ComponentFactory.Krypton.Navigator.KryptonNavigator is an assembly that was on the computer you copied the project from, but not on the new computer. The assembly is still referenced from within your project, but it's not actually on your computer -- hence the exception.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号