Phillippe: I've checked in a fix that allows you to generate VB resources from the WinForms projects. As far as I can tell, it generates identical resource filenames to VS.NET's.

I can send you a pre-compiled solution task if you'd like - it may work within your NAnt installation.

Matthew Mastracci wrote:

Someone posted a patch for this item earlier... I don't know if it was ever applied. I can look and make sure it's in CVS.

Philippe Lavoie wrote:

That did the trick, I added vbc (by contract, not choice) to the path
and now it got a lot further. However, now it's stuck with the following
which I hope is now fixed inside CVS (except that I can't compile CVS...
)

Web_IClicWeb.vbproj\Global.asax.resx
Total time: 0 seconds.

BUILD FAILED

INTERNAL ERROR

System.ArgumentException: Can't parse VB files yet
  at NAnt.VSNet.Tasks.Resource.GetDependentResourceName(String
strDependentFile
)
  at NAnt.VSNet.Tasks.Resource.CompileResx()
  at NAnt.VSNet.Tasks.Resource.Compile(ConfigurationSettings cs,
Boolean bShowC
ommands)
  at NAnt.VSNet.Tasks.Project.Compile(String strConfiguration,
ArrayList alCSCA
rguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)
  at NAnt.VSNet.Tasks.Solution.Compile(String strConfiguration,
ArrayList alCSC
Arguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)
  at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
  at NAnt.Core.Task.Execute()
  at NAnt.Core.Target.Execute()
  at NAnt.Core.Project.Execute(String targetName)
  at NAnt.Core.Project.Execute()
  at NAnt.Core.Project.Run()

Please send bug report to [EMAIL PROTECTED]

Philippe Lavoie



Cactus Commerce eBusiness. All Business.

Tel 819.778.0313 x302 * 888.CACTUS.0 * Fax 819.771.0921

www.cactuscommerce.com [EMAIL PROTECTED]


-----Original Message-----
From: Matthew Mastracci [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 12:07 PM
To: Philippe Lavoie
Cc: [EMAIL PROTECTED]
Subject: Re: [nant-dev] Bug in solution task with a web project


Is CSC.EXE in your path while running NAnt?

I'm hoping one day to add a web path mapping property to the solution task. Right now it has a very basic set of error-prone WebDAV methods to

handle compiling of a web project that is usually on the build server anyways. It also tries to use the credentials of the logged-in user. Microsoft uses the FrontPage extensions to work around these problems. It seems to work better with IIS.

Philippe Lavoie wrote:



I wanted to use slingshot and for some reason it would load (and it doesn't work with VS 2003 anyway). Then, I noticed that the solution might be the way to go.

I added a simple solution task to my build system

<?xml version="1.0"?>

<project name="App" default="build">

<property name="debug" value="true"/>

<property name="build.basedir" value="Build" />

<target name="build">

<solution configuration="debug" solutionfile="source/App.sln"/>

</target>

</project>

The first time I was getting a 403 error (the web project is a virtual




directory which points back inside my source directory).

Fixed that by adding a checkbox to every permission available inside that directory. Then I ran the script again and got

Nant -debug

....

http://localhost/AppWeb/FixedTermLoan/Product.aspx.vb

http://localhost/AppWeb/FixedTermLoan/Product.aspx.resx

[solution] Building APP [debug]...

[solution] Copying references:

[solution] - System

[solution] - System.Data

[solution] - Microsoft.ApplicationBlocks.Data

[copy] Copying 0 files to C:\Projects\App-dev\Latest\source\L

ibrary\APP\bin\.

[solution] - System.XML

[solution] Compiling resources:

[solution] Starting compiler...

Total time: 0 seconds.

BUILD FAILED

INTERNAL ERROR

System.ComponentModel.Win32Exception: The system cannot find the file specified

at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startIn

fo)

at System.Diagnostics.Process.Start()

at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

at NAnt.VSNet.Tasks.Project.Compile(String strConfiguration, ArrayList




alCSCA

rguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)

at NAnt.VSNet.Tasks.Solution.Compile(String strConfiguration, ArrayList alCSC

Arguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)

at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()

at NAnt.Core.Task.Execute()

at NAnt.Core.Target.Execute()

at NAnt.Core.Project.Execute(String targetName)

at NAnt.Core.Project.Execute()

at NAnt.Core.Project.Run()

Please send bug report to [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>.

I'm using the latest snapshot available 20030621 (as the CVS source available from anonymous don't want to build. I'll send another report




for that.)

I wish I knew more what the problem was, since it seems I won't be able to use nant until this is fixed...

Philippe Lavoie

Cactus Commerce eBusiness. All Business.

Tel 819.778.0313 x302 * 888.CACTUS.0 * Fax 819.771.0921

www.cactuscommerce.com [EMAIL PROTECTED]











-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers





-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to