Click here to Skip to main content
15,888,527 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,
I made a project which uses a service reference (WCF). This is my first that kind of project, so I have some questions.

First of all i Rebuilded the solution - and try to run the "exe" file from Release directory. But that don't work - i mean when the WCF function was supposed to execute - en error appeard - sth with authentication.

But when I reubilded, and the publish it somewhere, i get few files - 'setup.exe', 'name.application'.. directory 'Applications files'.

How to make single exe file?
Posted

I'm not sure you can using Visual Studio. You can use a tool like Inno http://www.jrsoftware.org/isinfo.php[^]
which will let you make a single file.

That or buy installshield
 
Share this answer
 
Whatever you did is ClickOnce deployment method.

Actually you need to use Setup & Deployment project which is available in Visual Studio.

Refer: A Setup and Deployment project that passes parameters to the configuration file[^].

Note: This is just a sample reference. Searching on Google would yield more results for you.

Mark it as Answer if it is helpful
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900