2

Resolved

InvalidManifestException

description

Hi,
 
During the installation, I received the following error below. I can confirm that the file listed does not contain an addIn element (I have attached it here).
 
Do you know if the file really is invalid or if there might be something about my environment that is causing a conflict?
 
Thanks for all your work here!
 
Scott
 
Name:
From: file:///D:/Programme/BOWIE 2010/Outlook.WorkItems.Extension.Addin.vsto
 
The expected element "addIn" was not found in the XML.
 
************** Exception Text **************
Microsoft.VisualStudio.Tools.Applications.Deployment.InvalidManifestException: The expected element "addIn" was not found in the XML.
bei Microsoft.VisualStudio.Tools.Applications.Deployment.ApplicationManifest.FromXml(String manifest, Boolean validate)
bei Microsoft.VisualStudio.Tools.Applications.Deployment.ApplicationManifest..ctor(String manifest, Boolean validate)
bei Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()

file attachments

comments

ignisweb wrote Feb 10, 2010 at 9:13 AM

Hi

I have the same error Message during the installation.

With TFS 2008 sp1 / Outllook 2007 sp2

Ignace

wrote Feb 10, 2010 at 9:13 AM

SuddenBen wrote Feb 10, 2010 at 2:07 PM

Can you give me your machine configuration please? (OS x86/x64, TFS 2008/2010 BETA2, Outlook 2007/2010 BETA, VS 2008 SP1/2010BETA...)

SuddenBen wrote Feb 10, 2010 at 2:10 PM

Hi ignisweb,

Have you installed VS 2008 or 2010 Beta ?

samunro wrote Feb 10, 2010 at 6:52 PM

Hi SuddenBen,

Here are my configuration details...
XP x86, TFS 2008, Outlook 2007 SP2, VS 2008 SP1

I also installed the forward compatibility for Team Explorer 2008.

Let me know if you need any other details.

Thanks,

Scott

SuddenBen wrote Feb 11, 2010 at 8:06 AM

Hi Scott, Hi Ignace,

The addIn element is in Outlook.WorkItems.Extension.Addin.dll.manifest file. This element and child element have the vstav3 and vstov4 namespace. This namespaces are specific to VSTO 4.0 Beta Runtime.

Try to install the addin with setup.exe, this file is in the install dir (C:\Program Files\BOWIE 2010\ by default)

This setup install the addin and prerequisites. Perhaps it's just because you don't have VSTO 4.0 Beta Runtime installed.

Ben

samunro wrote Feb 11, 2010 at 8:38 AM

Hi SuddenBen,

That did the trick - thanks!

I am excited to try out the features that you have added.

SuddenBen wrote Feb 11, 2010 at 8:51 AM

Great ! Thanks for your feedback, I update the installer.

wrote Feb 11, 2010 at 8:52 AM

SuddenBen wrote Feb 11, 2010 at 9:51 AM

Install the addin with setup.exe, this file is in the install dir (C:\Program Files\BOWIE 2010\ by default)



** Closed by SuddenBen 2/11/2010 1:52 AM

samunro wrote Feb 11, 2010 at 9:51 AM

Sorry. I should have tested the installation before responding earlier. The installation was successful - I no longer got an error message and I get a confirmation of success.

The addin does however not appear to be active within Outlook. I don't see the Ribbon etc.

I restarted Outlook a couple of times but this did not make any difference.

When I tried the installation again, I got a message saying that the latest version is already installed.

Do you have any ideas?

Thanks,

Scott

SuddenBen wrote Feb 11, 2010 at 11:15 AM

In Outlook, go to Help menu and click on Disable Items. If BOWIE is in the list of disable items, select it and click on Enable.
Is it help you ?

samunro wrote Feb 11, 2010 at 4:39 PM

Hi SuddenBen, I got a little further... if I go to Tools | Trust Center | Addins, BOWIE is in the Inactive Application Addins section. If I go to the COM Addins dialog and check the box next to BOWIE, it does not stay checked. The next time that I open the dialog, it is not checked. I found how to enable error messages here... "create an environment variable named VSTO_SUPPRESSDISPLAYALERTS with the value 0" http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/704c5c46-1fda-40a9-a0ca-82c1e8093af1/ This change meant that the error message below was displayed after I checked the box. I note that the file that could not be accessed was Microsoft.TeamFoundation.WorkItemTracking.Client, Version=10.0.0.0. Do you have a dependency on VS 2010 or perhaps Team Explorer 2010? Do you think that the following installation would make a difference? http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=ca86215b-a824-44e7-b4c3-982c7ecea46d Thanks, Scott Der Typeninitialisierer für "Outlook.WorkItems.Extension.Managers.TeamProjectManager.TeamProjectLinksManager" hat eine Ausnahme verursacht. ************** Exception Text ************** System.TypeInitializationException: Der Typeninitialisierer für "Outlook.WorkItems.Extension.Managers.TeamProjectManager.TeamProjectLinksManager" hat eine Ausnahme verursacht. ---> System.IO.FileNotFoundException: Die Datei oder Assembly "Microsoft.TeamFoundation.WorkItemTracking.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden. Dateiname: "Microsoft.TeamFoundation.WorkItemTracking.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" bei Outlook.WorkItems.Extension.Managers.TeamProjectManager.TeamProjectLinksManager..cctor() Der Assemblymanager wurde geladen aus: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll Als EXE-Datei ausgeführt. C:\Programme\Microsoft Office\Office12\OUTLOOK.EXE --- Ein detailliertes Fehlerprotokoll folgt. === Zustandsinformationen vor Bindung === LOG: Benutzer = GROUPINFRA\munrosc LOG: DisplayName = Microsoft.TeamFoundation.WorkItemTracking.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (Fully-specified) LOG: Appbase = file:///D:/Dokumente und Einstellungen/munrosc/Lokale Einstellungen/Apps/2.0/37PKMGJ4.YZ4/110X7W13.LWG/outl..vsto_896870f37b6bb9cc_0002.0000_83a0cc11ee07f9bd LOG: Ursprünglicher PrivatePath = NULL Aufruf von Assembly : Outlook.WorItems.Extension.Managers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=896870f37b6bb9cc. === LOG: Diese Bindung startet im default-Load-Kontext. LOG: Die Anwendungskonfigurationsdatei wird verwendet: D:\Dokumente und Einstellungen\munrosc\Lokale Einstellungen\Apps\2.0\37PKMGJ4.YZ4\110X7W13.LWG\outl..vsto_896870f37b6bb9cc_0002.0000_83a0cc11ee07f9bd\Outlook.WorkItems.Extension.Addin.dll.config LOG: Die Computerkonfigurationsdatei von c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config wird verwendet. LOG: Verweis nach der Richtlinie: Microsoft.TeamFoundation.WorkItemTracking.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a LOG: Download von neuem URL file:///D:/Dokumente und Einstellungen/munrosc/Lokale Einstellungen/Apps/2.0/37PKMGJ4.YZ4/110X7W13.LWG/outl..vsto_896870f37b6bb9cc_0002.0000_83a0cc11ee07f9bd/Microsoft.TeamFoundation.WorkItemTracking.Client.DLL. LOG: Download von neuem URL file:///D:/Dokumente und Einstellungen/munrosc/Lokale Einstellungen/Apps/2.0/37PKMGJ4.YZ4/110X7W13.LWG/outl..vsto_896870f37b6bb9cc_0002.0000_83a0cc11ee07f9bd/Microsoft.TeamFoundation.WorkItemTracking.Client/Microsoft.TeamFoundation.WorkItemTracking.Client.DLL. LOG: Download von neuem URL file:///D:/Dokumente und Einstellungen/munrosc/Lokale Einstellungen/Apps/2.0/37PKMGJ4.YZ4/110X7W13.LWG/outl..vsto_896870f37b6bb9cc_0002.0000_83a0cc11ee07f9bd/Microsoft.TeamFoundation.WorkItemTracking.Client.EXE. LOG: Download von neuem URL file:///D:/Dokumente und Einstellungen/munrosc/Lokale Einstellungen/Apps/2.0/37PKMGJ4.YZ4/110X7W13.LWG/outl..vsto_896870f37b6bb9cc_0002.0000_83a0cc11ee07f9bd/Microsoft.TeamFoundation.WorkItemTracking.Client/Microsoft.TeamFoundation.WorkItemTracking.Client.EXE. --- Ende der internen Ausnahmestapelüberwachung --- bei Outlook.WorkItems.Extension.Managers.TeamProjectManager.TeamProjectLinksManager.GetAllTeamProjectLink() bei Outlook.WorkItems.Extension.Addin.ThisAddIn.InitFoldersEvent() bei Outlook.WorkItems.Extension.Addin.ThisAddIn.ThisAddIn_Startup(Object sender, EventArgs e) bei Microsoft.Office.Tools.AddIn.OnStartup() bei Outlook.WorkItems.Extension.Addin.ThisAddIn.FinishInitialization() bei Microsoft.VisualStudio.Tools.Office.EntryPointComponentBase.Microsoft.VisualStudio.Tools.Applications.Runtime.IEntryPoint.FinishInitialization() bei Microsoft.VisualStudio.Tools.Applications.AddInAdapter.ExecutePhase(ExecutionPhases executionPhases) bei Microsoft.VisualStudio.Tools.Applications.AddInAdapter.CompleteInitialization() bei Microsoft.VisualStudio.Tools.Office.Internal.OfficeAddInAdapterBase.ExecuteEntryPointsHelper() ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3603 (GDR.050727-3600) CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- Microsoft.VisualStudio.Tools.Office.Runtime.v10.0 Assembly Version: 10.0.0.0 Win32 Version: 10.0.20825.1 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Runtime.v10.0/10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Runtime.v10.0.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Core Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.1 built by: SP CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.AddIn Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.1 built by: SP CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.AddIn/3.5.0.0__b77a5c561934e089/System.AddIn.dll ---------------------------------------- Microsoft.VisualStudio.Tools.Applications.Hosting.v10.0 Assembly Version: 10.0.0.0 Win32 Version: 10.0.20825.1 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Hosting.v10.0/10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Hosting.v10.0.dll ---------------------------------------- Microsoft.VisualStudio.Tools.Applications.Runtime.v10.0 Assembly Version: 10.0.0.0 Win32 Version: 10.0.20825.1 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Runtime.v10.0/10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Runtime.v10.0.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3082 (QFE.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Deployment Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll ---------------------------------------- Microsoft.VisualStudio.Tools.Applications.ServerDocument.v10.0 Assembly Version: 10.0.0.0 Win32 Version: 10.0.20825.1 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.ServerDocument.v10.0/10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.ServerDocument.v10.0.dll ---------------------------------------- Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0 Assembly Version: 9.0.0.0 Win32 Version: 9.0.30729.4130 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Xml.Linq Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.1 built by: SP CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll ---------------------------------------- System.AddIn.Contract Assembly Version: 2.0.0.0 Win32 Version: 3.5.30729.1 built by: SP CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.AddIn.Contract/2.0.0.0__b03f5f7f11d50a3a/System.AddIn.Contract.dll ---------------------------------------- Microsoft.VisualStudio.Tools.Office.Contract.v9.0 Assembly Version: 9.0.0.0 Win32 Version: 9.0.30729.4130 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Contract.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Contract.v9.0.dll ---------------------------------------- Microsoft.Office.Tools.v9.0 Assembly Version: 9.0.0.0 Win32 Version: 9.0.30729.4130 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Office.Tools.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.v9.0.dll ---------------------------------------- Outlook.WorkItems.Extension.Addin Assembly Version: 2.0.0.0 Win32 Version: 2.0.0.0 CodeBase: file:///D:/Dokumente%20und%20Einstellungen/munrosc/Lokale%20Einstellungen/Apps/2.0/37PKMGJ4.YZ4/110X7W13.LWG/outl..vsto_896870f37b6bb9cc_0002.0000_83a0cc11ee07f9bd/Outlook.WorkItems.Extension.Addin.DLL ---------------------------------------- Microsoft.VisualStudio.Tools.Office.AddInAdapter.v9.0 Assembly Version: 9.0.0.0 Win32 Version: 9.0.30729.4130 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.AddInAdapter.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.AddInAdapter.v9.0.dll ---------------------------------------- Microsoft.Office.Tools.Outlook.v9.0 Assembly Version: 9.0.0.0 Win32 Version: 9.0.30729.4130 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Office.Tools.Outlook.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Outlook.v9.0.dll ---------------------------------------- Microsoft.Office.Tools.Common.v9.0 Assembly Version: 9.0.0.0 Win32 Version: 9.0.30729.4130 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Office.Tools.Common.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.v9.0.dll ---------------------------------------- Microsoft.Office.Interop.Outlook Assembly Version: 12.0.0.0 Win32 Version: 12.0.4518.1014 CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.Office.Interop.Outlook/12.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Outlook.dll ---------------------------------------- Microsoft.VisualStudio.Tools.Applications.AddInAdapter.v9.0 Assembly Version: 9.0.0.0 Win32 Version: 9.0.30729.4130 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.AddInAdapter.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.AddInAdapter.v9.0.dll ---------------------------------------- Microsoft.VisualStudio.Tools.Applications.Contract.v9.0 Assembly Version: 9.0.0.0 Win32 Version: 9.0.30729.4130 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Contract.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Contract.v9.0.dll ---------------------------------------- Anonymously Hosted DynamicMethods Assembly Assembly Version: 0.0.0.0 Win32 Version: 2.0.50727.3603 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll ---------------------------------------- Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 Assembly Version: 9.0.0.0 Win32 Version: 9.0.30729.4130 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll ---------------------------------------- Microsoft.VisualStudio.Tools.Office.Outlook.HostAdapter.v10.0 Assembly Version: 10.0.0.0 Win32 Version: 10.0.20825.1 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Outlook.HostAdapter.v10.0/10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Outlook.HostAdapter.v10.0.dll ---------------------------------------- Microsoft.VisualStudio.Tools.Office.HostAdapter.v10.0 Assembly Version: 10.0.0.0 Win32 Version: 10.0.20825.1 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.HostAdapter.v10.0/10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.HostAdapter.v10.0.dll ---------------------------------------- Microsoft.VisualStudio.Tools.Applications.ServerDocument.v9.0 Assembly Version: 9.0.0.0 Win32 Version: 9.0.30729.4130 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.ServerDocument.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.ServerDocument.v9.0.dll ---------------------------------------- Microsoft.VisualStudio.Tools.Office.Contract.v10.0 Assembly Version: 10.0.0.0 Win32 Version: 10.0.20825.1 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Contract.v10.0/10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Contract.v10.0.dll ---------------------------------------- office Assembly Version: 12.0.0.0 Win32 Version: 12.0.6425.1000 CodeBase: file:///C:/WINDOWS/assembly/GAC/office/12.0.0.0__71e9bce111e9429c/office.dll ---------------------------------------- Outlook.WorItems.Extension.Managers Assembly Version: 2.0.0.0 Win32 Version: 2.0.0.0 CodeBase: file:///D:/Dokumente%20und%20Einstellungen/munrosc/Lokale%20Einstellungen/Apps/2.0/37PKMGJ4.YZ4/110X7W13.LWG/outl..vsto_896870f37b6bb9cc_0002.0000_83a0cc11ee07f9bd/Outlook.WorItems.Extension.Managers.DLL ----------------------------------------

SuddenBen wrote Feb 12, 2010 at 8:10 AM

Hi Scott,

Yes I reference the TFS 2010 SDK Beta 2. I thought that installation of VSTS 2008 SP 1 Forward Compatibility Update for TFS 2010 will install the SDK, but no....
However if you install Team Explorer 2010 Beta 2 I'm (almost) sure that it's working. Can you try it and give me your feedback please ?

Thanks,
Ben

samunro wrote Feb 12, 2010 at 1:22 PM

SuddenBen wrote Feb 12, 2010 at 1:49 PM

Yes I've plan to support the RC. But no details on when however. Maybe at the end of the month.

samunro wrote Feb 12, 2010 at 3:34 PM

OK. I will see how I go installing Beta 2 in the meantime ;)

SuddenBen wrote Feb 15, 2010 at 10:26 AM

I will publish support of RC version at the end of this week ;)

samunro wrote Feb 15, 2010 at 8:11 PM

Thats what I like to hear!

samunro wrote Feb 22, 2010 at 11:13 AM

After installing Team Explorer 2010 RC, I was able to install BOWIE without getting this exception - I think hat this issue can be closed.

wrote Feb 22, 2010 at 1:25 PM

wrote Feb 26, 2010 at 2:08 PM

wrote Feb 14, 2013 at 12:36 AM

wrote May 16, 2013 at 2:40 AM

wrote May 16, 2013 at 2:40 AM

wrote Jun 14, 2013 at 7:35 AM