Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does visual studio setup project get the primary output file?

I am trying to create a setup project for my C#-application in VS 2010. I am using an post built event during the creation of the c#-application. This event appends data to the binary of the application, because i need this data later.

The Problem is, that the file in the output-folder contains this appended data but the installed file of the setupproject doesnt contains it. My Question now is, where does VS get the output file for the setup project, so I can append the data to this file?

like image 592
Findus Avatar asked Feb 21 '13 07:02

Findus


1 Answers

Try adding "File" instead of "Project output" to your setup project.

Or you can just modify your output in /obj/release (or obj/debug) folder instead modifying it in output folder. (if you look on primary output properties - you will see that it uses files from obj... folder and not from output folder)

like image 117
Oleg Avatar answered Oct 15 '22 09:10

Oleg