Here it (they) is. I am fairly sure you are correct in that I'm putting the .config files in the wrong place. But if not there, then where?
MArk B. -----Original Message----- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 6:14 PM To: Butler, Mark A Mr IPI Gramm Tech Cc: [email protected] Subject: Re: [Nant-users] Trouble compiling a project with a web reference Butler, Mark A Mr IPI Gramm Tech wrote: > I don't know what the problem is but I think it has something to do > how I'm setting up the CSC task. Below is a subset of the file list > that's in the project file. I know to put the ones with the build > action 'BuildAction = "Compile' into the <sources> element. I put the > 'BuildAction = "EmbeddedResource"' ones into the <resources> element. > I put the 'BuildAction = "Content"' in the <sources> element. > Mark - it would help a great deal if you could also post the nant build file you are using. Going from the error below it looks like you've incorrectly added 'AppointmentDataManagerRemoting.config ' to <sources> - ie csc is treating it as a .cs file. However without the build file its hard to make any further comment. Ian Ian > The messages I'm getting that don't make sense are like this: > > [CDATA[ Read in 0 resources from > 'C:\CODEHIVE_CVS\HEFII\GDNII\TransactionLayer\EncounterService.asmx.resx ' > ]] > > and > > c:\CODEHIVE_CVS\HEFII\GDNII\TransactionLayer\Config\Remoting\Appointment DataManagerRemoting.config(1,1): > error CS0116: A namespace does not directly contain members such as > fields or methods > > The question is: Am I putting things in the right place? Is there > something else I need to do? > > <Files> > > <Include> > > <File > > RelPath = "AssemblyInfo.cs" > > SubType = "Code" > > BuildAction = "Compile" > > /> > > <File > > RelPath = "EncounterService.asmx" > > BuildAction = "Content" > > /> > > <File > > RelPath = "EncounterService.asmx.cs" > > DependentUpon = "EncounterService.asmx" > > SubType = "Component" > > BuildAction = "Compile" > > /> > > <File > > RelPath = "EncounterService.asmx.resx" > > DependentUpon = "EncounterService.asmx.cs" > > BuildAction = "EmbeddedResource" > > /> > > <File > > RelPath = "Global.asax" > > SubType = "Component" > > BuildAction = "Content" > > /> > > <File > > RelPath = "Global.asax.cs" > > DependentUpon = "Global.asax" > > SubType = "Code" > > BuildAction = "Compile" > > /> > > <File > > RelPath = "Global.asax.resx" > > DependentUpon = "Global.asax.cs" > > BuildAction = "EmbeddedResource" > > /> > > <File > > RelPath = "View.asmx" > > BuildAction = "Content" > > /> > > <File > > RelPath = "View.asmx.cs" > > DependentUpon = "View.asmx" > > SubType = "Component" > > BuildAction = "Compile" > > /> > > <File > > RelPath = "View.asmx.resx" > > DependentUpon = "View.asmx.cs" > > BuildAction = "EmbeddedResource" > > /> > > <File > > RelPath = "Web.config" > > BuildAction = "Content" > > /> > > <File > > RelPath = "Config\logger.config" > > BuildAction = "Content" > > /> > > <File > > RelPath = "Config\Tricare\GDN\Transaction\SF600_Body.xslt" > > BuildAction = "Content" > > /> > > <File > > RelPath = "Config\Tricare\GDN\Transaction\SF600_Footer.xslt" > > BuildAction = "Content" > > /> > > <File > > RelPath = "Config\Tricare\GDN\Transaction\SF600_Header.xslt" > > BuildAction = "Content" > > /> > > </Include> > > </Files> > > Thanks, > > MArk B. > > P.S. The reason I'm not using the solution task is because I just > started doing this stuff with C# and I'm using this as a way to learn > more about it. And yes, this does compile with the solution task. >
GDNII.TransactionLayer.Nant.build
Description: GDNII.TransactionLayer.Nant.build
GDNII.TransactionLayer.Nant.build.properties
Description: GDNII.TransactionLayer.Nant.build.properties
