Hiya,
We have migrated our code from VS2003 to VS2005.So we need to change the build 
script to create the MSI package. When I try to compile my build script I am 
getting a error message that the solution is not able to open. Please find the 
build file along with the mail.
 
Build file : 
 
<!-- Compiling the Source Code -->
    <target name="Compile">
        <echo message="Copy to directory = ${outputdirectory}"/>
 
      <solution configuration="MLCRelease"
            solutionfile="${ReleaseFolder}/MLC/${Solution}.sln"
            outputdir ="${BuildRelease}"/>
            
        <copy todir="${outputdirectory}">
            <fileset basedir="${BuildRelease}">
                <include name="*.*"/>
            </fileset>
        </copy>
       <call target="Build-msi"></call>
    </target>
    
   <!-- Creating the MSI Packages for installation -->
   <target name="Build-msi">
     <property name="msiCommandLine" value ='"C:FilesVisual Studio 8.exe" 
/build Release /out "${outputdirectory}/MSILog/msi.log"  
${ReleaseFolder}/MLC/${Solution}.sln /project "CMS Phase1 Setup"'/>
       <echo message="out directory = ${outputdirectory}"/>
       <echo message="msicommandline = ${msiCommandLine}"/>
       <mkdir dir="${outputdirectory}/MSI" />
       <mkdir dir="${outputdirectory}/MSILog" />
       <property name="msi-file-name" value="${outputdirectory}/MSI/CMS Phase1 
Setup.msi" />
        <exec failonerror="false" basedir="C:FilesVisual Studio 8"
        program="devenv.exe" commandline="${msiCommandLine}" />
        <mkdir dir="${installation}"/>
          <copy todir="${installation}">
            <fileset basedir="${package}">
                <include name="*.*"/>
            </fileset>
          </copy>
      
      <copy todir="${outputdirectory}/MSI">
            <fileset basedir="${msi-outputdirectory}">
                <include name="*.*"/>
            </fileset>
        </copy> 
        <call target="InstallMSI"/>
    </target>
 

LOVE is like a CIGAR It starts with a fire..... continues with smoke.....and 
ends in ashes...Last but not lease "Love is not heart of life it is part of 
life" 
 Deepak Surendran Since (1982 - Till Date) 
_________________________________________________________________
Windows Live Spaces is here! It’s easy to create your own personal Web site.
http://spaces.live.com/?mkt=en-in
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to