Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a c# console application that I'm having trouble publishing successfully in vs.net 3.5.

I'm looking to publish with the intent of compiling my app into the .net installer so the application can be passed around and installed by co-workers. I set my solution configuration to "Release", then select "Publish". It takes me through the process of publishing my application and seems to work successfully (it successfully creates a "Setup.exe" installation file which can then be opened and run).

The problem though is once the application is run on a different machine and the user tries to run the application, they receive errors basically related to the applications inability to locate required DLL files.

These DLL files are 3rd party DLL's that I included into my project. They run fine on my machine but when I send this application to other machines, the application has no idea where these DLL's are.

Am I missing something during the publishing process that would prevent 3rd party DLL's from being included?

Thanks.
Posted

1 solution

You need to create a setup project for this. Publish refers to Click-Once deployment, which would be a better option I believe. Users can install from a single location, not pass around an installer, and you can update the files and be assured everyone will have the same version.
 
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