nant

MSBuild 2010 - how to publish web app to a specific location (nant)?

▼魔方 西西 提交于 2019-11-29 23:10:50
I'm trying to get MSBuild 2010 to publish a web app to a specific location. I can get it to publish the deployment package to a particular path, but the deployment package then adds its own path that changes. For example: if I tell it to publish to C:\dev\build\Output\Debug then the actual web files end up at C:\dev\build\Output\Debug\Archive\Content\C_C\code\app\Source\ControllersViews\obj\Debug\Package\PackageTmp And the C_C part of the path changes (not sure how it chooses this part of the path). This means I can't just script a copy from the publish location. I'm using this nant/msbuild

How do I resolve configuration errors with Nant 0.91?

霸气de小男生 提交于 2019-11-29 20:54:46
After downloading Nant 0.91, I'm getting some rather cryptic configuration errors relating to configuration or security (see below). I'm trying to simply upgrade my Nant executables from 0.86 to 0.91. How can I resolve the issues below when building on a Windows 7 machine? log4net:ERROR XmlConfiguratorAttribute: Exception getting ConfigurationFileLocation. Must be able to resolve ConfigurationFileLocation when ConfigFile and ConfigFileExtension properties are not set. System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib,

Generating HTML documentation from WSDL [closed]

我们两清 提交于 2019-11-29 20:34:25
What are your approaches to generating some sort of human-readable documentation from WSDLs? In the past I've used WSDL viewer (by Tomi Vanek) and I'm happy with the results, but I'm interested in any possible alternatives. I've also heard of x3sp , but I haven't tried it. I tried several alternatives TechWriter for Web Services : Really powerful, but HTML output was (see comments) multi-file. Also, comments indicate it is retired, but that is no longer the case. <oXygen/> XML Editor : It doesn't process embedded schema. Altova XML Spy : It doesn't process anonymous types. and ended up

Cruise Control .Net not showing Nant build errors

杀马特。学长 韩版系。学妹 提交于 2019-11-29 12:17:46
We are running Cruise Control 1.5.7256.1 and using it to do builds using Nant and Nantcontrib. The builds are failing and succeeding correctly, but when they fail the related error messages are being shown on the CCNet Build Report page. See image below The build errors can be seen on the View Build Log page, but they aren't making it through to the Build Report page. The build itself is pretty simple, it's just a Nantcontrib msbuild element that builds a .Net 3.5 .sln file. Any ideas? Did you check the dashboard.config file? In this file you can add/delete xsl log parsers in the xslfileNames

Nant msbuild task with .net 4.0 rc

元气小坏坏 提交于 2019-11-29 11:08:33
How do I need to indicate to the msbuild task in my nant script that it should use .net 4.0 rc? 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 aware of the new CLR version. Cameron MacFarland The first option is to change the executable that MSBuild task

The 'SQLNCLI' provider is not registered on the local machine

回眸只為那壹抹淺笑 提交于 2019-11-29 06:12:39
问题 I have a NAnt-based script which that I run on my local PC that connects to SQL Server 2008 Express also running on my local PC to drop and recreate databases using .sql files - this works fine, no problem here. The problem comes when I have recreated the same set-up on another PC, I get the error in my NAnt script saying that: System.InvalidOperationException: The 'SQLNCLI' provider is not registered on the local machine. at System.Data.OleDb.OleDbServicesWrapper.GetDataSource

Is it possible to build a sitecore data package from command line, or outside of a web context? i.e. using nant

非 Y 不嫁゛ 提交于 2019-11-29 02:50:46
问题 The Sitecore package wizard can be used to build a package containing data and files for the local Sitecore instance. Is it possible to build a Sitecore package (items only, files are not required) from the command line, or otherwise outside the context of a website? The idea is to use Nant to create a Sitecore data package. I'm aware of Hedgehog TDS, but this question is aimed at what can be done with the existing Sitecore api. 回答1: You should take a look at the Sitecore.Install

Generating HTML documentation from WSDL [closed]

别等时光非礼了梦想. 提交于 2019-11-28 16:37:18
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . What are your approaches to generating some sort of human-readable documentation from WSDLs? In the past I've used WSDL viewer (by Tomi Vanek) and I'm happy with the results, but I'm interested in any possible alternatives. I've also heard of x3sp, but I haven't tried it. 回答1: I tried several alternatives

How do I resolve configuration errors with Nant 0.91?

荒凉一梦 提交于 2019-11-28 16:34:23
问题 After downloading Nant 0.91, I'm getting some rather cryptic configuration errors relating to configuration or security (see below). I'm trying to simply upgrade my Nant executables from 0.86 to 0.91. How can I resolve the issues below when building on a Windows 7 machine? log4net:ERROR XmlConfiguratorAttribute: Exception getting ConfigurationFileLocation. Must be able to resolve ConfigurationFileLocation when ConfigFile and ConfigFileExtension properties are not set. System.Security

nant: invalid element nunit2. Unknown task or datatype

北战南征 提交于 2019-11-28 14:49:12
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" /> <bindingRedirect oldVersion="2.1.4.0" newVersion="2.2.8.0" /> </dependentAssembly> </assemblyBinding> <