How to generate a standalone console application from .NET

mousomer

EDIT:

I wrote a small cpp program (console application) on MSVS2012 express. The head of the program is:

#include <string>
#include <vector>
#include <algorithm>  

using namespace System;
using namespace System::IO;
using namespace std;

I need to deploy the executable on a machine, where I cannot install anything. (I just want to use it as a simple console .exe). So I need the application to be completely standalone. Is that possible?

doctorlove

If by .Net you mean Visual Studio, if you choose the non-dll (i.e. static) runtime libraries from the C/C++ | Code Generation | Runtime Library options (/MT or /MTd) then you might just get away with it. If you use the dll versions, these will need to be on the machine you deploy your app to.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Birt : How to generate PDF from rtpdesign file in standalone Java application

From Dev

How to make a standalone autocad .net application

From Dev

How to debug .NET console application from Visual Studio 2013

From Dev

How to debug .NET console application from Visual Studio 2013

From Dev

Calling console application from asp.net

From Dev

Access Moodle API from .Net Console Application

From Dev

Calling console application from asp.net

From Dev

How do I reference a UWP+NET46 portable library from a .NET 4.6 console application?

From Dev

How to properly stop camelContext from being killed in a standalone application

From Dev

How to convert console application in web forms in .net?

From Dev

How to Implement MVVM in a .NET Core Console Application?

From Dev

How to run C++ console program (which is a standalone C++ file not a console application project in Code::Blocks) in ConEmu?

From Dev

How to publish the Console Application (package from asp.net 5) as an Azure Web Job

From Dev

ASP.NET 5 Console Application (package) - How to create DBContext from connection string?

From Dev

.NET C# Console Application How do I get more detailed exception information from a production environment

From Java

How can I get the application's path in a .NET console application?

From Dev

How to know if application was run from console or explorer?

From Dev

How to launch console application from terminal in Linux?

From Dev

How to open WPF window from Console Application

From Dev

How start my application as server from console?

From Dev

How to launch a console application from a shortcut in root?

From Dev

How to call a method in controller from console application

From Dev

Rendering standalone AngularJS application with .NET MVC 4

From Dev

From vb.NET console application to Windows service

From Dev

Send data from console application to asp.net website

From Dev

From vb.NET console application to Windows service

From Dev

How do I generate a CSRF token from the Rails console?

From Dev

How to run web application from a console application in c#

From Dev

Can't connect from application to the standalone cluster

Related Related

  1. 1

    Birt : How to generate PDF from rtpdesign file in standalone Java application

  2. 2

    How to make a standalone autocad .net application

  3. 3

    How to debug .NET console application from Visual Studio 2013

  4. 4

    How to debug .NET console application from Visual Studio 2013

  5. 5

    Calling console application from asp.net

  6. 6

    Access Moodle API from .Net Console Application

  7. 7

    Calling console application from asp.net

  8. 8

    How do I reference a UWP+NET46 portable library from a .NET 4.6 console application?

  9. 9

    How to properly stop camelContext from being killed in a standalone application

  10. 10

    How to convert console application in web forms in .net?

  11. 11

    How to Implement MVVM in a .NET Core Console Application?

  12. 12

    How to run C++ console program (which is a standalone C++ file not a console application project in Code::Blocks) in ConEmu?

  13. 13

    How to publish the Console Application (package from asp.net 5) as an Azure Web Job

  14. 14

    ASP.NET 5 Console Application (package) - How to create DBContext from connection string?

  15. 15

    .NET C# Console Application How do I get more detailed exception information from a production environment

  16. 16

    How can I get the application's path in a .NET console application?

  17. 17

    How to know if application was run from console or explorer?

  18. 18

    How to launch console application from terminal in Linux?

  19. 19

    How to open WPF window from Console Application

  20. 20

    How start my application as server from console?

  21. 21

    How to launch a console application from a shortcut in root?

  22. 22

    How to call a method in controller from console application

  23. 23

    Rendering standalone AngularJS application with .NET MVC 4

  24. 24

    From vb.NET console application to Windows service

  25. 25

    Send data from console application to asp.net website

  26. 26

    From vb.NET console application to Windows service

  27. 27

    How do I generate a CSRF token from the Rails console?

  28. 28

    How to run web application from a console application in c#

  29. 29

    Can't connect from application to the standalone cluster

HotTag

Archive