How to Run C# Exe without .Net Framework

前端 未结 6 573
孤城傲影
孤城傲影 2020-12-03 12:59

I am using Visual Studio 2010. I made a C# project and it runs perfectly on my Computer.

Problem is this that when Application is run on another Computer, that ask f

6条回答
  •  青春惊慌失措
    2020-12-03 13:09

    If you are targeting Windows 7 or later version of the OS, then just compile your program using C# 3.5. The version 3.5 of the framework is part of Windows 7.

    I guess you were compiling C# 4.0 code.

提交回复
热议问题