LMCompany
LMCompany

Reputation: 111

Error in running c# windows application

I wrote a c# windows application and I want to run it on other computer without any installation.

I setup the netCFSetup v35 but when I run my application this error was apeare :

the application failed to init....

can anyone help me please?...

Upvotes: 0

Views: 165

Answers (1)

Nikhil Agrawal
Nikhil Agrawal

Reputation: 48590

I think you are installing wrong framework for you application.

Since its a windows application i suggest your install .Net Framework of Desktop. The one you are installing is of Compact Framework (CF in filename netCFSetup v35) which was used for Windows Mobile 6.5 or earlier.

If you created your app in .Net 3.5 version. install this version

http://www.microsoft.com/en-us/download/details.aspx?id=21

To know in which version of .Net Framework your app is written in, go to properties section of project. There you will get your version number.

Upvotes: 2

Related Questions