OT: Writing a DLL that is not dependet of the .NET Framework with Visual Studio 2003, possible?

  • Thread starter Thread starter Visual Systems AB \(Martin Arvidsson\)
  • Start date Start date
V

Visual Systems AB \(Martin Arvidsson\)

Hi!

I have this Visual Studio .NET 2003, and i want to write a .DLL in C# that
is not dependent of the
..NET framework. In this DLL i only want to call the standard API functions
for use in a 4GL language
(VisualDataFlex)

Is it possible to write non dependent .NET dll with Visual Studio .NET?

Regards

Martin Arvidsson
 
Martin,

This is not possible. You MUST have the runtime installed.

There are some programs out there that claim to be able to package all
of this into one executable, but I don't know how well they work.

However, if all you are doing is making API calls, then you are better
off using C++.

Hope this helps.
 
No, C# itself (like any other managed language in .NET) needs the framework.
Your only option is C++.

Willy.
 
Back
Top