简体   繁体   English

如何将自动生成的类图从VS 2012导出到VS 2015

[英]How to export auto-generated class diagram from VS 2012 to VS 2015

Microsoft has removed class diagram generation from codes using reverse engineering.I want to move an auto-generated class diagram using VS2012 to VS2015 project but I didn't find a solution doing that.Saving generated class diagram in an .classdiagram file and then import that to another project will fail with error : 微软已经使用逆向工程从代码中删除了类图的生成。我想将使用VS2012的自动生成的类图移动到VS2015项目中,但是我没有找到解决方案。将生成的类图保存在.classdiagram文件中,然后导入到另一个项目将失败并显示错误:

Cannot Load 'D:\...\ClassDiagram1.classdiagram': You must open this UML diagram inside the Visual Studio modeling project that was used to create it"

Any suggestion for doing that? 有什么建议吗?

我自己找到了解决方案。我保存了完整的UML项目,然后在VS2015中打开该项目,然后将类图复制粘贴到我的VS2015项目中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 VS 2015,类图 - VS 2015, class diagram VS 自动生成的类错误:类型已包含定义 - VS auto-generated class error: Type already contains definition ChannelFactory 与自动生成的代理中的错误处理 - Error handling in ChannelFactory vs auto-generated proxies 循环进入类元数据中的自定义属性(以避免通过实体框架工作图修改自动生成的类) - Looping into custom attributes in class Metadata (to avoid modifying auto-generated class by Entity FrameWork diagram) 从EF6自动生成的类以实现自定义界面 - Auto-generated class from EF6 to implement custom interface 如何在Entity Framework中为自动生成的类添加自定义方法? - How to add custom method to auto-generated class in Entity Framework? vs2015架构比较不部署自动生成的xmlserializer程序集 - vs2015 schema compare not deploying auto generated xmlserializer assembly WCF 自动生成的代理与自定义代理:go 的哪种方式,何时以及为什么? - WCF auto-generated proxies Vs custom proxies: which way to go, when and why? 自定义自动生成的类的显示 - Customise the display of a auto-generated class 派生自动生成的实体类 - Derive Auto-Generated Entity Class
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM