C# 对于 .NET/Windows Forms 项目,是否有 Maven 的替代方案?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/392781/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is there an alternative to Maven for .NET/Windows Forms projects?
提问by leora
采纳答案by jbandi
There is Byldan, but the project seems quite young.
有Byldan,但该项目似乎还很年轻。
(See also Stack Overflow question Is there a Maven alternative or port for the .NET world?.)
(另请参阅堆栈溢出问题是否有 .NET 世界的 Maven 替代方案或端口?。)
回答by RogerV
You could just use Mavenand write a plugin that integrates MSBuild.
We use Maven to manage non-Java components, such as our Flex.swf and .swc modules. Writing a Maven plugin would be less effort than recreating a comparable system just for .NET assemblies.
我们使用 Maven 来管理非 Java 组件,例如我们的Flex.swf 和 .swc 模块。编写一个 Maven 插件比为 .NET 程序集重新创建一个类似的系统要省力。
I would recommend using Hudsonand Maven together, for that matter.
就此而言,我建议同时使用Hudson和 Maven。
回答by Bostone
I wrote a tutorial on the subject, Using Maven to manage .NET projects.
我写了一篇关于这个主题的教程,使用 Maven 来管理 .NET 项目。
回答by Lars Corneliussen
There are NMavenand NPanday, and they both have the same origin. They are a collection of Maven plugins that enable a Maven-like built of C# and VB.NET projects.
有NMaven和Npanday,它们都具有相同的起源。它们是一组 Maven 插件,可实现类似 Maven 的 C# 和 VB.NET 项目构建。
NMaven seems dead, this is why I use NPanday. I recently joined the team, and it is quite active. The current release is 1.1. Version 1.2 is coming soon, and we are also working on the next major release.
NMaven 似乎已经死了,这就是我使用 Npanday 的原因。我最近加入了这个团队,它非常活跃。当前版本是 1.1。1.2 版即将推出,我们也在开发下一个主要版本。
You should use it...
你应该用它...
- When you like Maven
- 当你喜欢 Maven
You shouldn't use it...
你不应该使用它...
- When you like MSBuild (this will become better in 2.0)
- When you need localized resource assemblies (will be fixed in 1.2)
- 当你喜欢 MSBuild(这在 2.0 中会变得更好)
- 当您需要本地化资源程序集时(将在 1.2 中修复)
回答by 8DH
It seems like there has been some work done in this area with Nuget. See David Ebbo's blogpost Using NuGet without committing packages.
Nuget似乎在这方面做了一些工作。请参阅 David Ebbo 的博文Using NuGet without committing packages。