|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to produce native code in .net 2005?Hi, guys
Is there any settings in .net 2005 that can produce native code in .net 2005? I need to deploy my application in a machine without CLR. Thanks. "Hooyoo" <zhao_huy***@126.com> wrote in message ..NET implies the CLR. So, no...you can't do .NET without CLR.news:1165981897.956177.135990@n67g2000cwd.googlegroups.com... > Hi, guys > Is there any settings in .net 2005 that can produce native code in .net > 2005? I need to deploy my application in a machine without CLR. If you actually meant to ask whether Visual Studio 2005 can generate native, non-CLR code, the answer to that question is yes. All you have to do is use one of the non-CLR project types when creating your new project. Note that you cannot simply change a setting to have a .NET program compiled in a way so that it doesn't use the CLR. A non-CLR program has to be written as native Windows code from the ground up. If you've written managed code, you need .NET installed in order for it to run. Pete Only non-CLR C++ projects can produce native code in VS 2005.
--------- - G Himangi, Sky Software http://www.ssware.com Shell MegaPack : Fully recreate the Windows Explorer shell browsing UI, behavior and functionality in your apps (.Net & ActiveX Editions). EZNamespaceExtensions.Net : Develop namespace extensions rapidly in .Net EZShellExtensions.Net : Develop all shell extensions,explorer bars and BHOs rapidly in .Net --------- Show quote "Hooyoo" <zhao_huy***@126.com> wrote in message news:1165981897.956177.135990@n67g2000cwd.googlegroups.com... > Hi, guys > Is there any settings in .net 2005 that can produce native code in .net > 2005? I need to deploy my application in a machine without CLR. > Thanks. > Hello Hooyoo,
The other options (exect posted) is to use some libs http://www.yoda.arachsys.com/csharp/faq/#framework.required which allow to run your code without installing .NET FW. but this need to be included into your installer. So u need to install smth, other this tool or .NET FW H> Hi, guys H> Is there any settings in .net 2005 that can produce native code in H> .net H> 2005? I need to deploy my application in a machine without CLR. H> Thanks. --- WBR, Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour "At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche Thanks guys, got it.
Michael Nemtsev wrote: Show quote > Hello Hooyoo, > > The other options (exect posted) is to use some libs http://www.yoda.arachsys.com/csharp/faq/#framework.required > which allow to run your code without installing .NET FW. but this need to > be included into your installer. > > So u need to install smth, other this tool or .NET FW > > H> Hi, guys > H> Is there any settings in .net 2005 that can produce native code in > H> .net > H> 2005? I need to deploy my application in a machine without CLR. > H> Thanks. > --- > WBR, > Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour > > "At times one remains faithful to a cause only because its opponents do not > cease to be insipid." (c) Friedrich Nietzsche |
|||||||||||||||||||||||