Hi, I’m trying to maintain someone else’s Nant
script and have found the following which I don’t understand: <target name='init' description='preps the
program_files property'> <script language="C#"> <code><![CDATA[ public static
void ScriptMain(Project project) {
if (project.Properties["program_files"] == null)
project.Properties["program_files"] =
Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles); } ]]></code> </script> </target> I have looked for <code> under tasks and functions,
but not found anything. I’d appreciate any clarification on the purpose
of the above. Thanks Mauro Ciaccio ********************************************************** Beacon
Computer Technology Ltd |
- [Nant-users] (no subject) Mauro Ciaccio
- Re: [Nant-users] (no subject) Gary Feldman
- RE: [Nant-users] (no subject) Foster, Richard - PAL
- [Nant-users] (no subject) Richard Griffiths
- Re: [Nant-users] (no subject) Gary Feldman
- [Nant-users] (no subject) Sachin Shriram Gedam
- Re: [Nant-users] (no subject) Merrill Cornish
- [Nant-users] (no subject) Sheikh Nabeel Moeen
- [Nant-users] (no subject) Daniel Czarnecki
- RE: [Nant-users] (no subject) Gert Driesen
- RE: [Nant-users] (no subject) Daniel Czarnecki