473,795 Members | 3,002 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Command "csc" is not valid.

Under Visual Studio .NET 2003 I went to

View | Other Windows | Command Window and issued

csc /t:module StringLib.cs

It responded with ...

Command "csc" is not valid.

What do I need to correct?
--
-- Thom Little -- www.tlaNET.net -- Thom Little Associates, Ltd.
--

Nov 15 '05 #1
5 10004
Yes, the command window has nothing to do with the command prompt. For
that you can use Start->Programs->Visual Studio->Tools->Visual Studio
Command Prompt (or some similar looking path)
Or you could use a regular command window Start->Run->"cmd" and make sure
you have the path to csc.exe written in your path statement under
environment options.

The command window is something you use while debugging. Like entering
the name of a global variable in the command window will give you it's
current value.
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
For a laugh, try web browsing with Opera's User Mode and Nostalgia enabled
Nov 15 '05 #2
I found it ... it is a separate tool ... "but the light is so much brighter
over there"

--
-- Thom Little -- www.tlaNET.net -- Thom Little Associates, Ltd.
--

"Thom Little" <th**@tlanet.ne t> wrote in message
news:e2******** *****@TK2MSFTNG P12.phx.gbl...
Under Visual Studio .NET 2003 I went to

View | Other Windows | Command Window and issued

csc /t:module StringLib.cs

It responded with ...

Command "csc" is not valid.

What do I need to correct?
--
-- Thom Little -- www.tlaNET.net -- Thom Little Associates, Ltd.
--

Nov 15 '05 #3
Hi Thom,

I guess you'll have to add "C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 "
(assuming .net 1.1 is installed in that folder) to PATH command environment
varaible.

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

"Thom Little" <th**@tlanet.ne t> wrote in message
news:e2******** *****@TK2MSFTNG P12.phx.gbl...
Under Visual Studio .NET 2003 I went to

View | Other Windows | Command Window and issued

csc /t:module StringLib.cs

It responded with ...

Command "csc" is not valid.

What do I need to correct?
--
-- Thom Little -- www.tlaNET.net -- Thom Little Associates, Ltd.
--

Nov 15 '05 #4
On Wed, 21 Jan 2004 14:48:47 +0100, Morten Wennevik
<Mo************ @hotmail.com> wrote:
Or you could use a regular command window Start->Run->"cmd" and make
sure you have the path to csc.exe written in your path statement under
environment options.


That should read "Or you could use a regular command prompt ..." not
window.
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
For a laugh, try web browsing with Opera's User Mode and Nostalgia enabled
Nov 15 '05 #5
If you run it from the shortcut provided in the Tools Folder it takes care
of the configuration when you load it. If you launch it this way you do not
have to manipulate the Path statement.

--
-- Thom Little -- www.tlaNET.net -- Thom Little Associates, Ltd.
--

"Miha Markic" <miha at rthand com> wrote in message
news:Ox******** ******@tk2msftn gp13.phx.gbl...
Hi Thom,

I guess you'll have to add "C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 "
(assuming .net 1.1 is installed in that folder) to PATH command environment varaible.

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

Nov 15 '05 #6

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

Similar topics

4
5994
by: | last post by:
Some time ago I installed VC# 2003, made a small generic project, compile with the allow unsafe flag and I get the error below: "error CS1577: Assembly generation failed -- Unexpected exception processing attribute -- System.ArgumentException: Invalid directory on URL." (If I do not compile with the unsafe flag compiler setting all compiles perfect) After long tracing, I ended up discovering that it is csc.exe installed by the .NET...
3
1312
by: Stephen Gennard | last post by:
Hello, I having a problem dynamically invoking a static method that takes a reference to a SByte*. If I do it directly it works just fine. Anyone any ideas why? I have include a example below... --
1
3639
by: Chris | last post by:
I built small C# Web and Web Service applications in a training class last week. The applications worked in the class, but when I tried to run them again over the weekend, they both bombed. Instead of getting my Web page, or the Web Service page, I get a page full of error text (below). I am hoping the anwser will be obvious to someone. I've tried a few things to address the problem, including
11
3232
by: Andrew Warren | last post by:
When I build my winforms exe using the IDE I have a perfectly functioning exe. If I try to build the same project using the .Net Framework csc compiler I get a seemingly valid exe produced (although it's only 44 Kb instead of 76 Kb). When I then run the csc-compiled exe I immediately get a "System.TypeInitializationException". What am I missing? I'm guessing there may be some batch
2
7868
by: Happy Li | last post by:
Need help! I have a project with one crystal report. How can I compile it with csc.exe. I have tried the following command line .it compile successfully..but when I run, it display error 'Unable to find the report in the manifest resources'. csc.exe /target:exe /resource:source\abc.rpt,abcsystem.abc.rpt /lib:"C:\Program Files\Common Files\Crystal Decisions\1.1\Managed"...
3
3601
by: TJS | last post by:
in this command line to create a strong name, what is the ".netmodule", and how do I create/get one ? al /out:MyAssembly.dll MyModule.netmodule /keyfile:sgKey.snk
7
2237
by: Matt Jensen | last post by:
Howdy I want to simulate with .Net what I used to do with classic ASP where you would have a series of include files with utility functions that you would include when you needed them. I read some article about creating a utility class, but it gave no details, and I'm not sure what to do. Do I create a .cs file and then just include it? What should the class inherit from? And how do you inherit more than one class on your page in...
5
1848
by: Richard Lionheart | last post by:
How do I make the changes to environment variables made by vsvars32.bat persistent? I have tried to build Microsoft.Web.UI.WebControls.dll in a effort to study some tutorials about web controls. Andrés Cadavid Gómez in news:F6C9754F-1EF5-4BA1-8B26-6FA03619DB12@microsoft.com pointed me to the site where I could get it I followed the ReadMe.txt instructions. When it came to execute the installation's build.bat, it failed because...
1
1242
by: Aman | last post by:
Hi Friends, I am working with CSC India Limited, and our company is looking for C++ Talants at very good compensation. If you are interested, please let me know at chander.dudeja@gmail.com or cdudeja@csc.com.
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
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,...
0
10215
jinu1996
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...
1
10165
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10001
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7541
isladogs
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...
0
6783
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
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...
2
3727
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.