943,948 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 5409
  • C# RSS
Sep 15th, 2007
0

Publish in C# Express

Expand Post »
Hi,

I am relatively new to C# Express and have created an app that builds & runs fine. But when I try to publish it, I get the following messages:

1)Cannot publish because a project failed to build.

2)SignTool reported an error 'Failed to sign bin\Release\TeacherCSharp.publish\\setup.exe. SignTool Error: Signtool requires CAPICOM version 2.1.0.1 or higher. Please
copy the latest version of CAPICOM.dll into the directory that contains
SignTool.exe. If CAPICOM.dll exists, you may not have proper
permissions to install CAPICOM.

SignTool is in the Bin/bin directory and so is CAPICOM version 2.1.0.2. I have full permissions on both.

Pleeeese help!!!!

Thanks,
Kenya
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rwkingv is offline Offline
2 posts
since Sep 2007
Sep 15th, 2007
0

Re: Publish in C# Express

1- Cannot publish because a project failed to build.
that's mean you have syntax error(s) check it

2- Copy the dll to release folder not debug folder.

if you've problems, send me again
Featured Poster
Reputation Points: 480
Solved Threads: 276
Postaholic
Ramy Mahrous is offline Offline
2,189 posts
since Aug 2006
Sep 15th, 2007
0

Re: Publish in C# Express

Thank you so much for responding quickly.

When I do a Build by itself, no errors are generated. I get a Build Successful msg. Why and where are the errors if it doesn't Build during a Publish?

Also, I took the files out of the Debug folder and put them in the Release folder. But got the same messages again.

Other suggestions??

Thanks,
Kenya
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rwkingv is offline Offline
2 posts
since Sep 2007
Sep 15th, 2007
0

Re: Publish in C# Express

be ware you may set your project to ignore errors, I did sample project and published it, it published successfully without any errors, so check another edition of VS
Last edited by Ramy Mahrous; Sep 15th, 2007 at 5:50 pm.
Featured Poster
Reputation Points: 480
Solved Threads: 276
Postaholic
Ramy Mahrous is offline Offline
2,189 posts
since Aug 2006
Apr 21st, 2009
0

Re: Publish in C# Express

Go to project properties, click Signing, then Create Test Certificate.

You need to renew your certificate using the renewcert thing you can find here:
http://support.microsoft.com/kb/925521


You can create a new certificate, but if this is a problem see the topic under the topic Words of Warning in the below link:

http://www.infoq.com/articles/ClickOnce-Versioning
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rpsrikanth is offline Offline
1 posts
since Apr 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: WebBrowser navigation using proxy?
Next Thread in C# Forum Timeline: execution comes from catch to try





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC