[RESOLVED] Trying to deploy/install 2 customizations
I have created two projects and am deploying through click once.
I can install one correctly but when I try and install the other I get the error message below, this happens for the second install regardles of which order I install them in.
At first I thought it was because they had the same GUID on the assembly properties so I changed one of them by generating a new one for the second app but the problem remains.
Incidentally neither has the same GUID to the one in the error below.
I am now at a loss as to finding out what it is referring to?
Quote:
************** Exception Text **************
System.ArgumentException: The following solution ID is already used to identify a customization: fa9b9269-7a5f-40bb-b3ba-3fb9beb3e814. Each solution ID can be used for only one customization.
Parameter name: se
at Microsoft.VisualStudio.Tools.Office.Runtime.OfficeConfigurationStore.Add(OfficeConfigurationStoreEnt ry se)
at Microsoft.VisualStudio.Tools.Office.Runtime.OfficeAddInDeploymentManager.OnAddInDownloaded(AddInDown loadedArgs args)
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.RaiseOnAddInDow nloadedEvent(IClickOnceAddInInstaller addInInstaller, Uri deploymentManifestUri, AddInInstallationStatus addinSolutionState, String productName, String logFilePath)
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
Values in assenbly properties.
ReportV C51D3FB4-B45B-46d2-BB6C-3810BB48178E
ReportB 1d8b3af8-7473-4ac4-8c73-06b656cd89f2
However the value in the published manifest is as below!
Quote:
<file name="ReportV.dll.config" size="1522">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>FJyopKhTcf/g7JpMu/8cuv2YW7A=</dsig:DigestValue>
</hash>
</file>
<vstav2:addIn xmlns:vstav2="urn:schemas-microsoft-com:vsta.v2">
<vstav2:entryPoints>
<vstav2:entryPoint class="ReportV">
<assemblyIdentity name="ReportV" version="1.0.0.0" publicKeyToken="83A183EAECB4D86D" language="neutral" processorArchitecture="msil" />
</vstav2:entryPoint>
<vstav2:entryPoint class="ReportV.Detail">
<assemblyIdentity name="ReportV" version="1.0.0.0" publicKeyToken="83A183EAECB4D86D" language="neutral" processorArchitecture="msil" />
</vstav2:entryPoint>
</vstav2:entryPoints>
<vstav2:update enabled="true" />
<vstav2:application>
<vstov3:customization xmlns:vstov3="urn:schemas-microsoft-com:vsto.v3">
<vstov3:document solutionId="fa9b9269-7a5f-40bb-b3ba-3fb9beb3e814" />
</vstov3:customization>
</vstav2:application>
</vstav2:addIn>
Re: Trying to deploy/install 2 customizations
Moved To Application Deployment
Re: Trying to deploy/install 2 customizations
<vstov3:customization xmlns:vstov3="urn:schemas-microsoft-com:vsto.v3">
<vstov3:document solutionId="7841159f-48f7-4d6c-b8bd-7405268f3af5" />
</vstov3:customization>
Ok have have tracked doen that 3 of my manifest files published contain duplicate solution id's. I think this may be because the three projects were created from identical project templates.
My question is how do I change the solutions id's in the manifest file, how are these generated?
Re: Trying to deploy/install 2 customizations
Found it in the .csproj file, I manually repplaced it with a GUID from an online generator and rebuilt the project and published, the project now installs and runst the correct customisation.