1

Possible Duplicate:
Is there some way to compile a .NET application to native code?
Running .net based application without .NET Framework

I wanna make C# windows form application that does not require to install .NET Frameworks ( i called it portable program ), how can i achieve this ?

I apologize if my question duplicate with another questions. I can't find my problem solution here.

Thanks for your attention :)

Community
  • 1
  • 1
Hossein Mobasher
  • 4,382
  • 5
  • 46
  • 73

2 Answers2

1

You can't. c# is using the .Net framework to function.

Read more here about how it works.

Asken
  • 7,679
  • 10
  • 45
  • 77
1

You can create an installation and setup package which will include your application as well as the .NET framework.

The user will run your setup program and install what is required.

Bebu
  • 65
  • 3
  • 14