nant

OpenOffice command line PDF creation

大兔子大兔子 提交于 2019-11-28 06:30:15
I have some documentation written in OpenOffice, and I would like to include some of it as PDF files in the final build deliveries. I would like to do this with the automated build script. Is there a way to create a PDF file from OpenOffice with a command line command? OscarRyz Art of Solving has also a very good API to perform the conversion in Java. It is a little slow but it is simple enough. This is how I use it: File inputFile = new File("C:\\oreyes\\hola.doc"); File outputFile = new File("C:\\oreyes\\hola.pdf"); OpenOfficeConnection connection = new SocketOpenOfficeConnection(8100); try

Nant msbuild task with .net 4.0 rc

时光毁灭记忆、已成空白 提交于 2019-11-28 04:21:45
问题 How do I need to indicate to the msbuild task in my nant script that it should use .net 4.0 rc? 回答1: I think the latest NAnt/NAntContrib defaults to .NET 3.5, so you'll have to change that to 4.0. There is a NAnt property to handle that ( <property name="nant.settings.currentframework" value="net-4.0" /> ), which should go near the top of your NAnt build file. Next, you'll need to go into your NAnt's configuration file and add the 4.0 node, so that NAnt (and by extension NantContrib) are

Best .NET build tool [duplicate]

左心房为你撑大大i 提交于 2019-11-28 02:54:06
Possible Duplicate: NAnt or MSBuild, which one to choose and when? What is the best build tool for .NET ? I currently use NAnt but only because I have experience with Ant . Is MSBuild preferred? Peter Meyer We actually use a combination of NAnt and MSBuild with CruiseControl . NAnt is used for script flow control and calls MSBuild to compile projects. After the physical build is triggered, NAnt is used to publish the individual project build outputs to a shared location. I am not sure this is the best process. I think many of us are still looking for a great build tool. One promising thing I

Using T4MVC with build script

懵懂的女人 提交于 2019-11-27 19:04:08
问题 Has anyone gotten T4MVC to run as part of a build script ? Preferably a NAnt build script. I'd like to not have to check in the generated files and just have the build server create them as part of the build, but T4MVC will only run inside of Visual Studio. I've tried: http://devtalk.dk/2010/03/11/How+To+Run+T4MVC+On+Build.aspx http://otac0n.com/blog/2010/12/23/Pain-Free-T4MVC.aspx Has anyone successfully gotten a solution to work ? 回答1: I don't think you'll be able to make this work. T4MVC

Building .NET 4 projects with Nant

两盒软妹~` 提交于 2019-11-27 18:59:26
How do I get nant to build projects that target the .NET 4.0 Framework? user206890 2010 April 15, ... Update to above correct answer from Eugene, after .net 4 and vs2010 was released. I downloaded vs2010 and .net 4 runtime. The production version seems to be v4.30319 ie (C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319) After reviewing http://paigecsharp.blogspot.com/2009/08/nant-net-framework-40-configuration.html , ... I pasted in the text and changed all text from v4.0.20506 to v4.30319 an added text to NAnt.exe.config. I then updated my nant script to <property name="nant.settings

Should I switch from nant to msbuild?

好久不见. 提交于 2019-11-27 11:34:47
问题 I currently use nant, ccnet (cruise control), svn, mbunit. I use msbuild to do my sln build just because it was simpler to shell out. Are there any merits to switching my whole build script to MSBuild? I need to be able to run tests, watir style tests, xcopy deploy. Is this easier? Update: Any compelling features that would cause me to shift from nant to msbuild? 回答1: I like MSBuild. One reason is that .csproj files are msbuild files, and building in VS is just like building at the command

nant: invalid element nunit2. Unknown task or datatype

我怕爱的太早我们不能终老 提交于 2019-11-27 08:39:47
问题 How to solve this problem? I have this ProjectName.UnitTests.config file, and I did exactly what the documentation said: http://nant.sourceforge.net/release/latest/help/tasks/nunit2.html <?xml version="1.0" encoding="utf-8" ?> <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="nunit.framework" publicKeyToken="96d09a1eb7f44a77" culture="Neutral" /> <bindingRedirect oldVersion="2.0.6.0" newVersion="2.2.8.0" />

Choice for build tool: MSBuild, NANT or something else?

泪湿孤枕 提交于 2019-11-27 05:36:21
I am doing automation in my company. We are a C# workshop. Currently I am working on automated build. NANT is flow control tool. While NANT is not actively developed (last binary released on June 2012 and github repo is not active), MSBuild is better. Therefore, I prefer MSBuild but retiring NANT is still questionable - what is the cost? I have come up with some pros and cons, but I know collective intelligence is better. Thanks for your help! Update : I have read the question, but the second answer rises a concern for me. On build machine there are multiple .NET frameworks, will it be

Best .NET build tool [duplicate]

百般思念 提交于 2019-11-27 05:00:32
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: NAnt or MSBuild, which one to choose and when? What is the best build tool for .NET? I currently use NAnt but only because I have experience with Ant. Is MSBuild preferred? 回答1: We actually use a combination of NAnt and MSBuild with CruiseControl. NAnt is used for script flow control and calls MSBuild to compile projects. After the physical build is triggered, NAnt is used to publish the individual project build

How to exclude project from build in MSBUILD?

若如初见. 提交于 2019-11-27 04:11:33
I need to build a solution but exclude one project. How should I do it? I searched a lot about this issue but nothing could help. ItemGroup section rise the following exception: Invalid element . Unknown task or datatype. PropertyGroup also rise the exception. Below is my code sample: <project name="TI 8.1.6 build script"> <ItemGroup> <Solution Include="${ROOT}\Core\TI Core.sln" Exclude="${ROOT}\Utilities\DTS Indexing Service\Tdi.Origami.IndexUpdaterServiceSetup\Tdi.Origami.IndexUpdaterServiceSetup.wixproj"/> </ItemGroup> ... </project> So could anyone help me? You can exclude projects at the