安装
安装 Aspose.Diagram for .NET 至 NuGet
NuGet is a free, open source developer-focused package management system for the .NET platform intent on simplifying the process of incorporating third party libraries into a .NET application during development. It is a Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects that use the .NET Framework. A library or tool can easily be shared with other developers by creating a NuGet package and storing it inside a NuGet repository. When you install the package, NuGet copies files to your solution and automatically makes the necessary changes, such as adding references and changing your app.config or web.config files. If you decide to remove the library, NuGet removes files and reverses whatever changes it made to your project so that no clutter is left.
参考 Aspose.Diagram for .NET
利用这个奇妙的功能,我们捆绑了Aspose.Diagram for .NET libraries into a NuGet package and uploaded it into a NuGet repository. With this option, you benefit from using Aspose.Diagram for .NET without installing this component on your system. NuGet runs in Visual Studio 2010 and higher version(s), Visual Web Developer 2010, and Windows Phone Developer Tools 7.1. In our tests, we have tested it with Visual Studio 2015 Ultimate.
开始:
- Open your solution or project in Visual Studio.
- Add NuGet Package Manager as a Visual Studio extension:
- 选择工具菜单后跟推广经理.
- 选择在线画廊获取在线可用软件包的完整列表。
- 选择NuGet 包管理器.
1.点击下载.
- Once the package Manager is installed, restart Visual Studio to bring the changes into effect. 安装 NuGet 包管理器后,您可以从中查找、安装、删除和更新包管理 NuGet 包窗口,或通过在包管理器控制台 dedicated Visual Studio window. You can find both options if you select the 工具其次是库包管理器.
使用包管理器控制台安装包
要使用包管理器控制台引用组件:
- Open your .NET application in Visual Studio.
- 在工具菜单,选择库包管理器接着包管理器控制台.
- 键入命令“Install-Package Aspose.Diagram”以安装最新的完整版本,或键入命令“Install-Package Aspose.Diagram -prerelease”以安装包括修补程序在内的最新版本。
- 按进入.
使用包管理器控制台更新包
如果您已经通过 NuGet 引用了该组件,请按照以下步骤将引用更新为最新版本:
- Open you .NET application in Visual Studio.
- 来自工具菜单,选择库包管理器, 其次是包管理器控制台打开包管理器控制台。
- 键入命令“Update-Package Aspose.Diagram”以引用最新的完整版本,或键入命令“Update-Package Aspose.Diagram -prerelease”以安装包括修补程序在内的最新版本。
- 按进入.
使用包管理器 GUI 安装包
按照以下步骤使用包管理器 GUI 引用组件:
- Open you .NET application in Visual Studio.
- 来自工具菜单,选择库包管理器和管理 NuGet 包来自解决方案选项。 您还可以从解决方案资源管理器中获得类似的选项:
- 右击项目名称。
- 选择管理 NuGet 包.
- 选择在线的从左侧菜单。
- 类型Aspose.Diagram进入搜索框查找 Aspose.Diagram for .NET。
- 点击安装更新Aspose.Diagram for .NET 最新版旁边