在Visual Studio中无法加载ClassDiagram.cd。 " URI格式不支持" [英] Cannot load ClassDiagram.cd on Visual Studio. "URI formats are not supported"

查看:1358
本文介绍了在Visual Studio中无法加载ClassDiagram.cd。 " URI格式不支持"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试打开类图我的 asp.net web表单的项目,我碰到下面的错误。类图(.CD)文件会产生的,但我不能打开它们。

When I try to open a class diagram for my asp.net webforms project I get the following error. The Class Diagram (.cd) files get generated but I can't open them.

我确实有使用URI类的一些类,但我真的不认为这可能是问题。对?为什么一个类图在乎使用URI数据类型我的班级约一?

I do have some classes that use the URI class but i don't really think that could be the issue. Right? Why would a class diagram care about one of my classes using a URI datatype?

我使用vb.net的Visual Studio 2012,该项目的目标是.NET 4.0。我知道有<一个href=\"http://stackoverflow.com/questions/12639904/cannot-load-classdiagram-cd-uri-formats-are-not-supported\">another在堆栈溢出问题的问同样的问题,但没有公布它的答案,这是接近一岁。
帮助将大大AP preciated,谢谢你。

I'm using vb.net Visual Studio 2012 and the project is targeting .net 4.0. I'm aware there is another question in stack overflow asked about the same issue, however there were no answers posted to it and it's close to a year old. Help will be greatly appreciated, thank you.

推荐答案

我有同样的问题,并能解决它在Visual Studio 2012中的专业只是现在的一个网站,我与我的团队工作。

I had the same problem and was able to fix it in Visual Studio 2012 Professional just now for a website I am working on with my team.

这是不是使用URI数据类型的类之一。

This is not about one of your classes using the URI data type.

我在Visual Studio中的网站的设置是previously设置为使用IIS前preSS。当它设置这种方式,您可以选择的替代选项,再在网站,这是使用Visual Studio开发服务器。我不能肯定,但我认为这是其他海报描述,当他们说打开网站在文件系统模式上面。当我不使用IIS防爆preSS,类图生成,不为空,并打开罚款查看在IDE中。

My setting under "WEBSITE" in Visual Studio was previously set to "Use IIS Express". When it is set this way, you can select the alternative option, again under "WEBSITE" which is "Use Visual Studio Development Server". I'm not certain, but I think this is what the other posters describe above when they say "open web site in file system mode". When I am not using IIS Express, the class diagram generates, is not blank, and opens fine for viewing in the IDE.

这篇关于在Visual Studio中无法加载ClassDiagram.cd。 &QUOT; URI格式不支持&QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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