Re: Command line compiler when there are images in the project: any suggestion?

From: Nicholas Paldino [.NET/C# MVP] (mvp_at_spam.guard.caspershouse.com)
Date: 10/13/04


Date: Wed, 13 Oct 2004 12:00:48 -0400

Francesco,

    Can you post the contents of build.bat? OE blocks attachments that are
batch files.

-- 
               - Nicholas Paldino [.NET/C# MVP]
               - mvp@spam.guard.caspershouse.com
"Francesco Martinelli" <f_martinz@katamail.com> wrote in message 
news:%23LDjarTsEHA.3148@TK2MSFTNGP10.phx.gbl...
> Nicholas,
> to keep at the minimum the possible errors I could introduce, I just 
> opened
> a windows project (in VS) andded an image control to the form and assigned
> the image property throw the property panel to the control.
>
> Attached are the sources.
>
> Thank you,
> Francesco.
>
>
> "Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard.caspershouse.com> ha 
> scritto nel messaggio news:uDMnpiSsEHA.3320@TK2MSFTNGP15.phx.gbl...
>> Francesco,
>>
>>    Can you post some code, or an example?  Without seeing the code, it's
>> impossible to see how you are obtaining the resource (which you are not
>> specifying, btw), or how you are assigning the picture.
>>
>>
>> -- 
>>               - Nicholas Paldino [.NET/C# MVP]
>>               - mvp@spam.guard.caspershouse.com
>>
>> "Francesco Martinelli" <f_martinz@katamail.com> wrote in message
>> news:%23y75RcSsEHA.2456@TK2MSFTNGP10.phx.gbl...
>>>I need to create a multiple file assemby: this requires working directly
>>>with the command line compiler (no IDE support!).
>>> After a few tests I found my problem comes from the issue described 
>>> below.
>>> Thank you in advance for any suggestion?
>>> ===
>>> The project is a nearly empty Windows Form project, and the compilation
>>> works fine as far as there is no bitmap in the project form.
>>> I have to use the command line compiler and I use the following command
>>> line:
>>> C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe /out:test.exe
>>>
>>> If in the picture box control of the form I define the "Image" field, 
>>> then
>>> the compilation works fine, but i get the following exception at run 
>>> time:
>>> 'System.Resources.MissingManifestResourceException'.
>>> On the other side, if I try to compile it with the VS IDE everything 
>>> works
>>> fine (but it is not usefull for my test!)
>>>
>>> I also tried using the /resource option (with the file returned by
>>> ResGen.exe on Form1.resx), but with no benefit.
>>>
>>> Does anyone know if it is possible to get the command line used by the
>>> IDE?
>>>
>>> Thanks,
>>> Francesco.
>>>
>>>
>>
>>
>
>
> 


Relevant Pages

  • Re: K&R 1.5.1 exercise
    ... > the EXE file and run it by hand in a standalone console window. ... > The C beginner using K&R2 is better served by a command line compiler than ... > by any kind of IDE. ... > with a command line environment in mind. ...
    (comp.lang.c)
  • Re: Command Line Compiler Config File
    ... specific settings in the dcc32.cfg file in the project folder. ... I just wanted to make sure that the command line compiler is not ... At one point, a.cfg file was also created by the IDE, ...
    (borland.public.delphi.non-technical)
  • Re: P.S. Why would release static lib be significantly larger then my debug build?
    ... even though the huge library of the first project is included in the ... Is there some place that tells me where the compiler / linker switches ... the project properties dialog to observe the effect of changing some IDE ... command prompt), you'll be able to figure out the mapping. ...
    (microsoft.public.vc.language)
  • Re: Command Line Compiler Config File
    ... I couldn't find anything on the command line compiler ... At one point, a.cfg file was also created by the IDE, ... the command line compiler from using the IDE settings in that file. ... in the IDE and use MSBuild from the command line. ...
    (borland.public.delphi.non-technical)
  • Re: Looking for a free basic compiler for DOS
    ... BC for 7.1 had a lot of compiler switchable options, ... NEVER compile from the ide. ... One trivial example: I have a routine declared as: ... were no manuals, just a readme file. ...
    (comp.lang.basic.misc)