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\Micr osoft.NET\Frame work\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.Resourc es.MissingManif estResourceExce ption'.
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. 4 1626
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]
- mv*@spam.guard. caspershouse.co m
"Francesco Martinelli" <f_*******@kata mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.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\Micr osoft.NET\Frame work\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.Resourc es.MissingManif estResourceExce ption'. 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.
Francesco,
Can you post the contents of build.bat? OE blocks attachments that are
batch files.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Francesco Martinelli" <f_*******@kata mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.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]" <mv*@spam.guard .caspershouse.c om> ha scritto nel messaggio news:uD******** ******@TK2MSFTN GP15.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] - mv*@spam.guard. caspershouse.co m
"Francesco Martinelli" <f_*******@kata mail.com> wrote in message news:%2******** ********@TK2MSF TNGP10.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\Micr osoft.NET\Frame work\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.Resourc es.MissingManif estResourceExce ption'. 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.
Nicholas,
the only "build.bat" files I can find on my system are below the directory:
C:\Programmi\Mi crosoft Visual Studio .NET 2003\SDK\v1.1\S amples\...
I doubt they can help!
I wonder wether you know if it is possible to ask VS to produce it with some
option.
I immagine there is an option, but I can't find it!
Francesco.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> ha
scritto nel messaggio news:OP******** *****@TK2MSFTNG P09.phx.gbl... Francesco,
Can you post the contents of build.bat? OE blocks attachments that are batch files.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Francesco Martinelli" <f_*******@kata mail.com> wrote in message news:%2******** ********@TK2MSF TNGP10.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]" <mv*@spam.guard .caspershouse.c om> ha scritto nel messaggio news:uD******** ******@TK2MSFTN GP15.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] - mv*@spam.guard. caspershouse.co m
"Francesco Martinelli" <f_*******@kata mail.com> wrote in message news:%2******** ********@TK2MSF TNGP10.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\Micr osoft.NET\Frame work\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.Resourc es.MissingManif estResourceExce ption'. 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.
Did you mean th lines present in the previously attached batch?
They are:
"C:\Programmi\M icrosoft Visual Studio .NET 2003\SDK\v1.1\B in\resgen.exe"
Form1.resx
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ csc.exe /out:test1.exe Form1.cs
/resource:Form1. resources
Is there anything missing?
Thnks,
Francesco.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> ha
scritto nel messaggio news:OP******** *****@TK2MSFTNG P09.phx.gbl... Francesco,
Can you post the contents of build.bat? OE blocks attachments that are batch files.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Francesco Martinelli" <f_*******@kata mail.com> wrote in message news:%2******** ********@TK2MSF TNGP10.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]" <mv*@spam.guard .caspershouse.c om> ha scritto nel messaggio news:uD******** ******@TK2MSFTN GP15.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] - mv*@spam.guard. caspershouse.co m
"Francesco Martinelli" <f_*******@kata mail.com> wrote in message news:%2******** ********@TK2MSF TNGP10.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\Micr osoft.NET\Frame work\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.Resourc es.MissingManif estResourceExce ption'. 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.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Scott Vercuski |
last post by:
Everyone,
Does anyone know how to compile an ASP.NET web project using just
the command line compiler? I've tried numerous options and can't seem
to come up with the right solution. Is there a way to capture what
options are being used when I select the build option from Visual
Studio .NET 2003?
Thank you in advance for any help.
|
by: Edd Dawson |
last post by:
Hi. I have a strange problem involving the passing of command line
arguments to a C program I'm writing. I tried posting this in
comp.programming yesterday but someone kindly suggested that I'd have
better luck here. So here goes!
My program ignores any command line arguments, or at least it's
supposed to. However, when I pass any command line arguments to the
program, the behaviour of one of the functions changes mysteriously. I
have...
|
by: happy |
last post by:
I need to download Command line C compiler ASAP ? Where can I find the
latest and moden one ?
|
by: Louise Caldicott |
last post by:
Hi all,
I have created a project in Visual Studio which uses satellite assemblies.
I have also written a script to build this project from the command line.
There seems to be a difference in behaviour when I link the resources via
Dev Studio and the command line.
|
by: Brett |
last post by:
I have recently purchased Visual C++ . Net compiler and i am trying to
compile a project that i had working in Visual C++ 6.0.
When I compile, I am receiving the warning:
cl : Command line warning D4025 : overriding '/EHs' with '/EHa'
I have specifically asked for the /EHsc switch because that is what I
require.
| |
by: billben74 |
last post by:
Despite advances in devstudio .NET building large projects can still be
difficult.
Is there a way, perhaps using EnvDev class or some other class that
would allow output of the "command line" that is being used to compile
a VB.NET project (c.f. C++ which shows this under project
options/Linker). This would be very useful as one could
explicitly see which assemblies were being included in each project; it
would also be a good starting...
|
by: Bit byte |
last post by:
I have a project that I normally build (without problems) from the
DevStudio IDE. However, I have embarked on automating all my builds
(this test project being one of several).
The project creates a DLL. I am able to build the project without any
probs in the IDE, however - when I build the project from the command
line (using the same options shown in the 'Command line' node in the
'Project Settings' dialog box), I get the following...
|
by: Ale |
last post by:
Hi... I started to "program" in PHP (better say to read it :P) from a
few days because I am installing a Wiki on a virtual server (Windows
Server 2003 with Plesk 7.6). I have PHP5 and all is working just fine.
However, I am trying to parse latex equations and encountered some
troubles. I have already installed all the necessary software and when
I execute the following by command line:
C:\miktex\bin\latex.exe...
|
by: Rahul |
last post by:
Hello,
I am trying to compile a Windows Forms project through command line. I
have added some images on the buttons. These images are added as a
resource and stored in the "Resource" directory inside the project
directory. My project is quite small, (only a single form).
I tried running csc in the same folder as my source files using
command:
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |