Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Cannot publish because a project failed to build.
 

Cannot publish because a project failed to build.

Error1Cannot publish because a project failed to build.

Error 2

A signing key is required in order to publish this project. Publishing from Visual Studio 2005 will automatically configure a signing key for this project.Fusion.Billing.Invoice.App

Can you give me solution for this one pls

Expling me wat i have to do step by step pls

jalpa  Wednesday, June 11, 2008 2:08 AM

plz chk this link http://forums.microsoft.com/msdn/showpost.aspx?postid=148745&SiteID=1

did this help you solve your issue?

subhanet  Wednesday, June 11, 2008 5:03 AM

Hi jalpa,

Please check the following article to get information about the error:

For how to publish a ClickOnce Application, please check the following page for details:
http://msdn.microsoft.com/en-us/library/31kztyey(VS.80).aspx

Hope this helps.
Best regards.
Rong-Chun Zhang

Windows Forms General FAQs
Windows Forms Data Controls and Databinding FAQs

Rong-Chun Zhang  Monday, June 16, 2008 9:22 AM

hi,

which version of the Visual Studio are you working on? Because for VS2005 , in the Project Properties we have a signing tab which creates a test certificate for you to sign your application with.

subhanet  Wednesday, June 11, 2008 4:24 AM

VS 2005

can u send mein deaitl wat i have to do for that

jalpa  Wednesday, June 11, 2008 4:27 AM
In the project properties , go to the "Signing" tab , there click on create test certificate & give it the name you want.Then a pfx file will be generated.After that try building your project it should work fine.

subhanet  Wednesday, June 11, 2008 4:32 AM

Error2Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0'.Fusion.CRM.Customer.App
It give me this error

Thanks for ur reply

jalpa  Wednesday, June 11, 2008 4:40 AM

In the project properties, probably under the security tab If the "Enable ClickOnce Security Settings" isactivatedyou get this error, if you disable this feature it compiles correctly.

Please chk it n mark the replies as answers if it solves your problem .

subhanet  Wednesday, June 11, 2008 4:46 AM

No it not gone yet ?

jalpa  Wednesday, June 11, 2008 4:56 AM

plz chk this link http://forums.microsoft.com/msdn/showpost.aspx?postid=148745&SiteID=1

did this help you solve your issue?

subhanet  Wednesday, June 11, 2008 5:03 AM
jalpa, has this solved your problem bcos i have also been facing similar problem

nag321  Thursday, June 12, 2008 3:46 AM

Yes but not 100%

Beacause it give me another

error "Error1Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0'."

And microsoft not provide in version3.5 framework solution of this but

atlest i can publish my project

jalpa  Thursday, June 12, 2008 3:51 AM

Hi jalpa,

Please check the following article to get information about the error:

For how to publish a ClickOnce Application, please check the following page for details:
http://msdn.microsoft.com/en-us/library/31kztyey(VS.80).aspx

Hope this helps.
Best regards.
Rong-Chun Zhang

Windows Forms General FAQs
Windows Forms Data Controls and Databinding FAQs

Rong-Chun Zhang  Monday, June 16, 2008 9:22 AM

You can use google to search for other answers

Custom Search

More Threads

• UserControl KeyPress Or Down Event not fired when Mdi Child Form KeyPreview attribute set to True
• DataSet generator missing..
• User interface changes are not saved to the form designer class
• C# TabOrder Problem in disable button
• TableLayoutPanel
• How to add controls to the designer surface during run time
• Context Help in C#
• What's the EditorBrowsableState.Advanced meaning?
• Problems with object type Data Sources in Visual Studio
• Vs2005 and form transparency.