Reputation: 1554
I am wondering how to create Windows application with 1MB size using Visual Studio.
After searching google, I found that Visual Studio using C# language require .NET Framework. The .NET Framework is about 35MB size. For PC which do not have .NET Framework installed, I have to prepare instllation file, which may be 35MB + application file, or ask the user to install .NET Framework by theirselves.
I have been using C++ Builder for years. With C++ Builder, I can make application about 1MB size, without asking the user to install other frameworks. It is handy.
I wonder whether there is a way to make 1MB application without asking the user to install frameworks, on Visual Studio IDE. I do not stick to C# language, C++ may be O.K. But I am not sure what the alternative for .NET framework, in that case.
Upvotes: 0
Views: 155
Reputation: 5558
You can develop C++ in Visual Studio. The equivalent to the .NET framework would MFC and the win32 api. Or you could use another C++ framework like Qt.
Upvotes: 1
Reputation: 337
You need the .Net Framework for c#. No way around it. Most newer versions of Windows come with a version of the .Net Framework so depending on which version you target and which Windows versions you support, you may not need to distribute .Net.
Here's a post showing which versions of the framework come on which versions of Windows.
Upvotes: 1