target="exe" does a console app
target="winexe" does a winforms app I believe



|--------+-------------------------------------->
|        |          "Caprio, Griffin"           |
|        |          <[EMAIL PROTECTED]|
|        |          m>                          |
|        |          Sent by:                    |
|        |          [EMAIL PROTECTED]|
|        |          eforge.net                  |
|        |                                      |
|        |                                      |
|        |          10/11/2002 03:09 PM         |
|        |                                      |
|--------+-------------------------------------->
  
>-----------------------------------------------------------------------------------------------------------|
  |                                                                                    
                       |
  |       To:     [EMAIL PROTECTED]                                     
                       |
  |       cc:                                                                          
                       |
  |       Subject:     RE: [Nant-users] Ghost console window in forms application?     
                       |
  
>-----------------------------------------------------------------------------------------------------------|




Ok, I figured out the command switch to make the console disappear.  It's
/t:winexe.  Does anyone know how to turn this on?  Here is my target:

<target name="build" description="Builds Stop Service Loader module"
depends="init">
           <csc target="exe" output="${build.dir}/${project.name}.exe"
debug="${debug}" >
                     <sources basedir=".">
                               <includes name="**/*.cs"/>
                     </sources>
                     <references basedir="../">
                               <includes name="*.dll"/>
                     </references>
                     <resources>
                               <includes name="**/*.resx"/>
                     </resources>
           </csc>
           <copy file="${build.dir}/${project.name}.exe" todir="
${build.dir}"/>
</target>

Can anyone spot the problem?

-Griffin

-----Original Message-----
From: Caprio, Griffin [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 2:15 PM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Ghost console window in forms application?


Does anyone know what would make a console window pop-up in the background
of a windows forms app?

Here is the situation:

I have a windows application that compiles and runs just fine when compiled
from VS.NET. When I try to do the same with NAnt, it builds fine, but I get
a console window in the background when I run it. It's really annoying.

Does anyone know the reason for this? Could it be releated to how the
resources are being compiled into the project?
Thanks,
Griffin Caprio

Xerox Capital Services, LLC

Administrative services and solutions provided by Xerox Capital Services,
LLC.
Headquarters:  100 Clinton Avenue South, Rochester, New York 14644.
Xerox Corporation is a member of Xerox Capital Services, LLC.
This collection agency is licensed by the Office of the Administrator of
the
Division of Banking, P.O. Box 7876, Madison, Wisconsin 53707
This communication may be in reference to obligations with Xerox
Corporation
and/or certain of its subsidiaries.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users








-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to