Hello
 
I'm very new to NAnt. Trying to build a C# WinForms solution, I created the following build script :
 
<?xml version="1.0" encoding="windows-1252"?>
<project name="Everest Build" default="build" basedir=".">
  <description>Construction automatique d'Everest.</description>
 
 <property name="Output" value="output" />
 
  <target name="build" description="compilation">
    <solution configuration="debug" solutionfile="W:\Everest\Everest.sln" outputdir="${Output}" >
      <projects>
        <include name="W:\Communs\Composants\Composants.csproj" />
        <include name="W:\Communs\Fenêtres\Fenêtres.csproj" />
      </projects>
    </solution>
     
  </target>
</project>
 
See that the second file in the projects section contains accents.
 
Here is the result of the Nant exécution :
 
Buildfile: file:///W:/Everest/Build/Everest.build
Target framework: Microsoft .NET Framework 1.1
Target(s) specified: build 
 
 [property] Read-only property "Output" cannot be overwritten.
 
build:
 
 [solution] Starting solution build.
 
BUILD FAILED- 0 non-fatal error(s), 1 warning(s)
 
Error checking whether 'W:\Communs\Fentres\Fentres.csproj' is an enterprise template project.
    Could not find a part of the path "W:\Communs\Fentres\Fentres.csproj".
 
Total time: 0.2 seconds. 
 
 
It looks like the accents are not recognized by Nant. Maybe I'm using a wrong encoding for the build or something else ... I don't know
 
Can anybody help me please ?
 
TIA
 
Julien Ferraro - Dolphinium
7, rue des Cormorrans - Résidence Di Calou, Villa n°2
97434 Saint Gilles les Bains
0262 24 98 85 - 0692 28 85 43
 

Reply via email to