Click here to Skip to main content
15,917,454 members
Home / Discussions / C#
   

C#

 
QuestionProblem in setup project [modified] Pin
xodeblack6-Sep-09 23:55
xodeblack6-Sep-09 23:55 
AnswerRe: Problem in setup project Pin
Keith Barrow7-Sep-09 0:02
professionalKeith Barrow7-Sep-09 0:02 
GeneralRe: Problem in setup project Pin
xodeblack7-Sep-09 0:09
xodeblack7-Sep-09 0:09 
GeneralRe: Problem in setup project Pin
Keith Barrow7-Sep-09 0:14
professionalKeith Barrow7-Sep-09 0:14 
GeneralRe: Problem in setup project Pin
xodeblack7-Sep-09 0:23
xodeblack7-Sep-09 0:23 
GeneralRe: Problem in setup project Pin
Keith Barrow7-Sep-09 0:26
professionalKeith Barrow7-Sep-09 0:26 
GeneralRe: Problem in setup project Pin
xodeblack7-Sep-09 0:29
xodeblack7-Sep-09 0:29 
GeneralRe: Problem in setup project Pin
Keith Barrow7-Sep-09 0:56
professionalKeith Barrow7-Sep-09 0:56 
There is the problem. Say your application builds to an exe called Foo.exe, it expects the app config file to be named Foo.exe.config, not app.config. So you can't just copy the app.config into the installer directly.

Make sure the Installer project has "Primary output from your project name here (Active)" in it. As long as the app.config exists in the source project it should be installed with the correct name.

Also Greg Chelstowski's post is correct, you should consider using a ConnectionString element in your app.config rather than adding the connection string as an app setting.
GeneralRe: Problem in setup project Pin
xodeblack7-Sep-09 1:04
xodeblack7-Sep-09 1:04 
GeneralRe: Problem in setup project Pin
Greg Chelstowski7-Sep-09 0:30
Greg Chelstowski7-Sep-09 0:30 
GeneralRe: Problem in setup project Pin
xodeblack7-Sep-09 1:05
xodeblack7-Sep-09 1:05 
QuestionHow do i set a date using Crystal Reports Pin
rehpot6-Sep-09 23:15
rehpot6-Sep-09 23:15 
Questionhow to get ip of remote machine in a LAN Pin
Ajithevn6-Sep-09 23:10
Ajithevn6-Sep-09 23:10 
AnswerRe: how to get ip of remote machine in a LAN [modified] Pin
Harvey Saayman6-Sep-09 23:15
Harvey Saayman6-Sep-09 23:15 
GeneralRe: how to get ip of remote machine in a LAN Pin
Ajithevn7-Sep-09 4:08
Ajithevn7-Sep-09 4:08 
GeneralRe: how to get ip of remote machine in a LAN Pin
Harvey Saayman7-Sep-09 4:10
Harvey Saayman7-Sep-09 4:10 
GeneralRe: how to get ip of remote machine in a LAN Pin
Ajithevn7-Sep-09 4:18
Ajithevn7-Sep-09 4:18 
AnswerRe: how to get ip of remote machine in a LAN Pin
Christian Graus6-Sep-09 23:16
protectorChristian Graus6-Sep-09 23:16 
QuestionData grid view control customization... Pin
Husnain Afzal6-Sep-09 22:48
Husnain Afzal6-Sep-09 22:48 
AnswerRe: Data grid view control customization... Pin
Christian Graus6-Sep-09 23:04
protectorChristian Graus6-Sep-09 23:04 
AnswerRe: Data grid view control customization... Pin
khosnur6-Sep-09 23:48
khosnur6-Sep-09 23:48 
Questionmail delete from pop3 mail server using C# Pin
khosnur6-Sep-09 22:27
khosnur6-Sep-09 22:27 
AnswerRe: mail delete from pop3 mail server using C# Pin
monstale6-Sep-09 22:45
monstale6-Sep-09 22:45 
GeneralRe: mail delete from pop3 mail server using C# Pin
khosnur6-Sep-09 22:50
khosnur6-Sep-09 22:50 
AnswerRe: mail delete from pop3 mail server using C# Pin
monstale6-Sep-09 22:55
monstale6-Sep-09 22:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.