473,320 Members | 1,848 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

WebForms compilation

Hi

Windows forms are perfectly running from .

Microsoft (R) Visual C# .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.0.3705
but i have problem compiling WinForms from console
is that Winforms can be compiled from vs.net only

Thanks
Nov 15 '05 #1
2 1222
You have to reference all the files that you have imported
in your code via the "using" keyword

For example while compiling a simple Winform application,
you need to reference System.dll, System.WinForms.dll,
Microsoft.Win32.Interop.dll, and System.Drawing.dll.

Example:
csc /R:System.DLL /R:System.WinForms.DLL /R:System.Drawing.
DLL /R:Microsoft.Win32.InterOp.DLL /out:%HelloWorldWin.exe
HelloWorldWin.cs
-----Original Message-----
Hi

Windows forms are perfectly running from .

Microsoft (R) Visual C# .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.0.3705
but i have problem compiling WinForms from console
is that Winforms can be compiled from vs.net only

Thanks
.

Nov 15 '05 #2
You have to reference all the files that you have imported
in your code via the "using" keyword

For example while compiling a simple Winform application,
you need to reference System.dll, System.WinForms.dll,
Microsoft.Win32.Interop.dll, and System.Drawing.dll.

Example:
csc /R:System.DLL /R:System.WinForms.DLL /R:System.Drawing.
DLL /R:Microsoft.Win32.InterOp.DLL /out:%HelloWorldWin.exe
HelloWorldWin.cs

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Paul R | last post by:
Hi, I have a Winforms application that access some SQLServer2000 stored procedures. I have now written some new Webforms pages to use some of the same stored procs. The Webforms use the SAME...
2
by: Alex Maghen | last post by:
Hi. I really like to develop most of my stuff without havig a Visual Studio WebForms project. In other words, I largely develop "loose" .ASPX and .CS files that dynamically compile when...
8
by: A P | last post by:
Hi! I'm using ASP.Net Web Matrix on my PC and wanting to publish the files to our server. I try to copy (thru explorer) the files but it didn't work! I receive Runtime Error: Server Error...
4
by: 3Cooks | last post by:
I have a windows application written in Visual Basic 6.0 that is going to be redeveloped in dotNET. We are trying to decide if we should deploy using Webforms or Winforms and I need advice from...
5
by: Bit byte | last post by:
Can I use C# (Winforms) to design a website?. I am from C/C++ background but know nothing about Internet programming. My understanding of WebForms are that they are similar to WinForms in that...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.