ClickOnce Issues with Manifes and Signtool

Folks,

I am trying to publish a windows form executable using VS 2005 Publish feature. I am having the following issues:

1. This executable project has a manifest file with it whose content are shown below.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">

<assemblyIdentity

version="1.0.0.0"

processorArchitecture="X86"

name="Microsoft.Ccf.Samples.Csr.AgentDesktop.AgentDesktop"

type="win32"

/>

<description>Customer Care Framework Agent Desktop</description>

<dependency>

<dependentAssembly>

<assemblyIdentity

type="win32"

name="Microsoft.Windows.Common-Controls"

version="6.0.0.0"

processorArchitecture="X86"

publicKeyToken="6595b64144ccf1df"

language="*"

/>

</dependentAssembly>

</dependency>

</assembly>

When I try to publish with that manifest files as a part of the project I get the following error:

Could not find file 'Microsoft.Windows.Common-Controls, Version=6.0.0.0, Culture=*, PublicKeyToken=6595b64144ccf1df, ProcessorArchitecture=X86, Type=win32'

2. When I removed the manifest file from the project and tried publishing, I got the following error:

SignTool reported an error 'The form specified for the subject is not one supported or known by the specified trust provider.

I tried making my executable and all its dependencies strong named but it did make a difference. Has anyone seen these types of errors? We are on a project with very short timelines so any help will be appreciated.

Thanks and Best Regards,

Naveed

[6255 byte] By [NZ] at [2007-12-25]
# 1

This looks like one of your dependency is missing (at first glance). have a look at the references and see if your reference is in there. If it is in there, then check in your publish (tab) application button and see if the dll is one of the dll it is going to include.

my 2cents.

dbcuser at 2007-9-3 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 2

Thanks for your feedback. I made sure that I am not missing any dependency. And even if I exclude the manifest file from the project and then try to publish, I still get the error "SignTool reported an error 'The form specified for the subject is not one supported or known by the specified trust provider.". Any ideas?

Regards,

Naveed

NZ at 2007-9-3 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 3

Hi NZ I am having the exact same error message when I try to compile the Microsoft CCF Agent desktop. Did you get a solution yet?

Rgds

Dave

CCFDaveH at 2007-9-3 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 4

Same problem on my side.

Anybody has a clue what this assembly is suppose to do? But probably more important: what are the steps to resolve this?

l.a.marco at 2007-9-3 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 5

Hello all!

I've the same problems with XP Theme :(

Have anybody found solution of this issue or any workaround? We cann't lose XP Theme in our interface :(.

Thank you in advise,

Olga

olgaF at 2007-9-3 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 6

Hi,

I had this problem and solved it by right clicking on the manifest file in the solution explorer and then clicking properties. In the build action i set it to Embedded Resource. Hope this helps :)

Madeleine

MadeleineS at 2007-9-3 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 7

Hi,

I encountered this issue with a VS2003 project that was converted to 2005. I resolved the problem by deleting *.manifest files in my project directory. The developer that created the original project had a file project1.exe.manifest as part of the project source instead of app.manifest.

Scott

sholman at 2007-9-3 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...