使用Mono-d或Visual-d添加包依赖关系 [英] Add package dependencies with Mono-d or Visual-d

查看:138
本文介绍了使用Mono-d或Visual-d添加包依赖关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用dub可以在dub.json文件中执行此操作:

  {
name: myproject,
description:我的一点web服务,
作者:[Peter Parker],
homepage:http:// myproject
许可证:GPL-2.0,
依赖:{
vibe-d:> = 0.7.11
}
}

Mono-D或Visual-D中的等效内容是什么? p>

解决方案

我从来没有使用VisualD,但是在Mono-D中,您可以从Dub包描述符创建一个项目 - 只需创建一个package.json并在打开的项目对话框中选择它。稍后再将东西添加到package.json将导致项目自动重新加载。


With dub I can do this in the dub.json file:

{
    "name": "myproject",
    "description": "A little web service of mine.",
    "authors": ["Peter Parker"],
    "homepage": "http://myproject.com",
    "license": "GPL-2.0",
    "dependencies": {
        "vibe-d": ">=0.7.11"
    }
}

What is the equivalent thing in Mono-D or Visual-D?

解决方案

I've never used VisualD, but in Mono-D you can just create a project from a dub package descriptor - just create your package.json and select it in the open project dialogue. Adding stuff to the package.json later should cause the project to reload automatically.

这篇关于使用Mono-d或Visual-d添加包依赖关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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