Hi Everyone!

I have a solution with one website and 4 associated libraries.
I used the Nant to build this solution and after that I compared the results
with the "normal" publish using visual studio.
I realize that the dlls and its pdbs have different sizes even if I
published in debug mode using visual studio and using a parameter to build
in debug mode on nant.

This is the .build file I used on Nant.

<?xml version="1.0"?>
<project name="NAnt Example" default="build">
  <property name="nant.contrib.path" value="C:\Arquivos de
programas\nant\nantcontrib\bin" />
  <target name="_CopyWebApplication" Condition="'$(OutDir)' !=
'$(OutputPath)'" DependsOnTargets="ResolveAssemblyReferences">
    <loadtasks assembly="${nant.contrib.path}\NAnt.Contrib.Tasks.dll" />
    <msbuild project="../SolutionName.sln" target="Rebuild">
      <!--<arg value="/p:Configuration=Debug" />-->
      <!--<arg value="/t:publish" />
      <arg value="/p:OutDir=$(WebProjectOutputDir)\bin\" />
      <arg value="/p:WebProjectOutputDir=c:\temp\" />
    </msbuild>
  </target>
</project>

Any help will be appreciated!
Thanks,
Paulo Mello.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to