Running Without CLR

< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Is there any way that we can compile our application (.NET) without CLR   So, it can work on the older Windows OS, without installing the CLR.  I don’t see any option in the build that allows me to compile without the CLR.

 

If someone could point me into right direction that would be great!



Answer this question

Running Without CLR

  • Glg

    No!

  • scott32874

    Nope. C#/J#/VB.NET all requires the .NET Framework. Only C++ can do both (native Win32 programming and .NET programming).
  • Kamran

    No. Any .NET application needs the CLR.
  • JD81

    Simply create a Win32 Application. I assume you are using the express edition so you may need to download and install the Platform SDK. See the following links: http://msdn2.microsoft.com/en-us/library/ms235626.aspx, http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
  • Paris Baughman

    Looks like there are no alternative, way then using C++ with Win32 application, or none .NET compiler.

    Thank you


  • Ark Man

    Ok, if I can choose not to use CLR and use the standard libraries (and ship some DLL with the installation package).  How would I turn off the CLR, in the .NET I have not seen any CLR options, or switches.

  • Derek Slinn

    Make since thank you.  Is there any lighter version of CLR, or can CLR functionality be build in to executable that been produced
  • Michael_Bedwell

    Ok, it looks like I am forced to use choose a C++.  Is there any way to use C# or any other .NET languages

  • DevInstinct

    Its still possible to build unmanaged applications, so applicatins that don't need the CLR. You can still use Win32 API CRT and other standard libraries. This programms run on any machine from Win98 on (maybe you have to ship some library DLL files).

  • Running Without CLR