Visual Studio 2017无法打开.modelproj

时间:2017-03-10 20:45:58

标签: visual-studio-2017

为了使Visual Studio 2017 Enterprise能够打开现有的.modelproj(基于UML的设计项目),需要安装哪些工作负载/组件?

4 个答案:

答案 0 :(得分:23)

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

答案 1 :(得分:11)

我也遇到了这个错误。我解释了我的修复方法;

  1. 打开 Visual Studio Installer
  2. 点击修改
  3. 转到个别组件标签
  4. 然后选中代码工具
  5. 中的所有复选框

    编辑 03/03/2018

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

    1. 打开 Visual Studio 2017
    2. 工具菜单
    3. 获取工具和功能... 选择
    4. 个别组件标签
    5. 代码工具组,然后选中
    6. 中的所有复选框

      重新启动Visual Studio 2017时,必须修复它。希望它会帮助某人

答案 2 :(得分:3)

以下在Visual Studio 2017(版本15.4.2)中为我工作:

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

答案 3 :(得分:0)

要打开如上所述的项目,并在代码工具BUT中安装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