Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > WPF application publish.
 

WPF application publish.

My WPF can be built sucessfully in VS2008 SP1, and work well in my machine.But whateveri did, I alwasy can not publish it and same error happen as below.

Error 1, Cannot publish because a project failed to build.

Error 2, Cannot find the file "obj\debug\ABC.exe"

Appreciate your any comments.

wangjin  Sunday, November 16, 2008 2:46 PM

Hi wangjin,

Did you publish your application using ClickOnce? Did you build your application in Release mode? I think you need to rebuild the whole solution in both Debug and Release mode. Then publish your application in Release mode.

Please try that and tell me if it works.

Sincerely,

Kira Qian

Kira Qian  Tuesday, November 18, 2008 7:26 AM

Hi wangjin,

Did you publish your application using ClickOnce? Did you build your application in Release mode? I think you need to rebuild the whole solution in both Debug and Release mode. Then publish your application in Release mode.

Please try that and tell me if it works.

Sincerely,

Kira Qian

Kira Qian  Tuesday, November 18, 2008 7:26 AM

You can use google to search for other answers

Custom Search

More Threads

• what's clickonce's story with managed windows services?
• How can I minimize the download & installation experience with a .NET 3.0 client app?
• Setup upgrade and full install from the same MSI
• Deploying .net Apps on a machine without .net framework
• Using Windows Control in IE
• .NET requirements for ClickOnce
• Deploying a WPF App with Click Once Issue
• saving seperate application data for every user
• Getting key events in IE hosted UserControl
• VS2005 Beta2 Version Issues when using Strong Named key file