Apache NPanday(.NET Maven) 学习笔记

下载地址:

http://incubator.apache.org/npanday/docs/1.4.0-incubating/download.html

1.安装需求:

NPanday 1.4.0-incubating Mirrors Checksum Signature
NPanday 1.4.0-incubating MSI msi md5 asc
NPanday 1.4.0-incubating Binaries tar.gz md5 asc
NPanday 1.4.0-incubating Sources source zip md5 asc

下载NPanday 1.4.0-incubating MSI即可。

A)配置maven直接下载,最低为2.0.9.

配置maven环境即可(只要配置用户环境就行了,参见JAVA的相关资料)。

这里我设置的是maven 3.2.0;需要配置settings.xml

B)NPanday 1.4.0-incubating暂时支持.

Visual Studio 2010 (SP1) or the Microsoft Windows SDK for Windows 7 and .NET 4 SP1

需要安装此版本。

C)安装NUNIT环境,配置环境变量。


2.安装并下载二进制仓库

确定是否安装1.4.0,执行如下命令:

mvn help:describe -DgroupId=org.apache.npanday.plugins -DartifactId=maven-vsinstaller-plugin -Dversion=1.4.0-incubating

如果成功显示如下字样:

Name: NPanday :: Visual Studio Addin Installer Maven Plugin
Description: Maven Plugin for .NET: Installs the Visual Studio Addin
Group Id: org.apache.npanday.plugins
Artifact Id: maven-vsinstaller-plugin
Version: 1.4.0-incubating
Goal Prefix: vsinstaller

This plugin has 1 goal:

vsinstaller:install
  Description: Installs Visual Studio 2005 addin.

安装 Visual Studio Add-in插件

接下来,在cmd.exe执行如下命令,此命令将生成所需的外接程序和必要的库副本运行外接程序默认位置

Next, from a command prompt with the path set as indicated above, run the following command. This command will generate the addin and copies the necessary libraries needed to run the addin to a default location C:\[PROGRAMFILES]\NPanday>.

mvn org.apache.npanday.plugins:maven-vsinstaller-plugin:[version]:install

You can also specify the location where you want the libraries to be copied by running the following command:

mvn org.apache.npanday.plugins:maven-vsinstaller-plugin:[version]:install -DinstallationLocation=url

Note: On Windows Vista, Windows 7 and above, you will need to run the command as an administrator. This can be done by starting the command prompt using the Run as administrator option.

After running the maven-vsinstaller-plugin the add-in will be located here: C:\Documents and Settings\[user_home]\My Documents\Visual Studio 2005\Addins\NPanday.VisualStudio.AddIn(or equivalent for Visual Studio 2008 or Visual Studio 2010).

More information on how to verify the Add-in installation are located at the end of this guide.


2015年01月09日验证:此方案垃圾。建议采用NUGET方案,放弃NPanday。




  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值