Visual Studio 2017 未打开.modelproj

Visual Studio 2017 not opening .modelproj

需要安装什么 workload/component 才能让 Visual Studio 2017 Enterprise 打开现有的 .modelproj(基于 UML 的设计项目)?

选择.NET桌面开发工作负载后,一定要添加可选的架构和分析工具 组件添加到安装列表。

我也遇到这个错误。我解释一下我是如何修复的;

  1. 打开Visual Studio安装程序
  2. 点击修改
  3. 转到单个组件选项卡
  4. 然后选中 Code Tools
  5. 中的所有复选框

编辑03/03/2018

来自评论的@Ben 解决方案:

  1. 打开 Visual Studio 2017
  2. 工具菜单
  3. 获取工具和功能... 选择
  4. 单个组件 选项卡
  5. 代码工具组,然后勾选里面的所有复选框

当你重新启动visual studio 2017 时,它必须被修复。希望对某人有所帮助

以下内容在 Visual Studio 2017(版本 15.4.2)中对我有用:

  1. 打开Visual Studio安装程序
  2. 转到选项卡单个组件
  3. 代码工具部分勾选实时依赖验证。虽然这是一个不同的功能,但它为我安装了所需的依赖项。

要打开项目,您必须如上所述执行操作并在代码工具中安装 Live Dependency 验证,但是...

“UML 设计器已被删除

UML 设计器已从 Visual Studio 中删除。

UML diagrams are now presented as XML files
The UML Model Explorer no longer exists
Modeling project references are no longer used for dependency validation
The "Layer References" node in Solution Explorer is no longer displayed
The "Validate" build action on a Dependency (Layer) diagram is no longer used - the Build task has been removed
The project structure is maintained for round-tripping between versions
You can still open, create, edit, and save a Dependency (Layer) diagram as XML
TFS work items linked to a Dependency (Layer) diagram are not accessible on the design surface
Back linking from to DSL or a Layer is no longer supported
UML extensibility in the Modeling SDK is no longer supported"

https://docs.microsoft.com/is-is/visualstudio/modeling/what-s-new-for-design-in-visual-studio?view=vs-2017