You don't run the CLR from a command prompt (likle you might Java). Instead the CLR is
bootstrapped into the .exe application itself (or from the OS when the OS is CLR-aware).
Not exactly sure what you are trying to do, but any command line functionality for VS.NET and .NET in general should be run using the Visual Studio Command Prompt and not the default Windows Command Window (unless you navigate to and run
the other command line from the 1st).
The Visual Studio Command Prompt can be found within your VS.NET installation folder under 'Visual Studio Tools' in Windows. Lastly, make sure to check any command line comannds against the corresponding MSDN documentation for the proper
use.
maverickprot...
Member
64 Points
86 Posts
common language runtime
May 30, 2012 01:54 PM|LINK
hello,
how can we run clr from command prompt, at present on typing the following command
cl / clr
the error is as follows
cl is not recognized as an internal or external command, operable program or batch file
is it possible to run it from within visual studio.
regards,
BrockAllen
All-Star
28134 Points
4997 Posts
MVP
Re: common language runtime
May 30, 2012 01:58 PM|LINK
You don't run the CLR from a command prompt (likle you might Java). Instead the CLR is bootstrapped into the .exe application itself (or from the OS when the OS is CLR-aware).
DevelopMentor | http://www.develop.com
thinktecture | http://www.thinktecture.com/
atconway
All-Star
16846 Points
2756 Posts
Re: common language runtime
Jun 04, 2012 08:00 PM|LINK
Not exactly sure what you are trying to do, but any command line functionality for VS.NET and .NET in general should be run using the Visual Studio Command Prompt and not the default Windows Command Window (unless you navigate to and run the other command line from the 1st).
The Visual Studio Command Prompt can be found within your VS.NET installation folder under 'Visual Studio Tools' in Windows. Lastly, make sure to check any command line comannds against the corresponding MSDN documentation for the proper use.