K
KC
I follow the isntruction in VSTO 2005 Outlook Hands-on Lab (Beta)... when I
executed the lab 1, and get the System.IO.FileNotFoundException. Same probelm
occurred when I created a new outlook add-in project? There is a "Binding
Failure" in assembly but don't know how to resolve it... Please help...
The following is the detail exception from VS 2005 beta 2 and the immediate
windows:
System.IO.FileNotFoundException was unhandled
Message="Could not load file or assembly 'OutlookAddin1, Version=1.0.0.0,
Culture=neutral' or one of its dependencies. The system cannot find the file
specified."
Source="Microsoft.VisualStudio.Tools.Applications.Runtime"
FileName="OutlookAddin1, Version=1.0.0.0, Culture=neutral"
FusionLog="=== Pre-bind state information ===\r\nLOG: User =
OXYGEN\\Administrator\r\nLOG: DisplayName = OutlookAddin1, Version=1.0.0.0,
Culture=neutral\n (Partial)\r\nLOG: Appbase =
file:///D:/C%23Proj/OutlookAddin1/OutlookAddin1/bin/Debug/\r\nLOG: Initial
PrivatePath = NULL\r\nCalling assembly : (Unknown).\r\n===\r\nLOG: This is an
inspection only bind.\r\nLOG: No application configuration file
found.\r\nLOG: Using machine configuration file from
C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50215\\config\\machine.config.\r\nLOG:
Attempting download of new URL
file:///D:/C%23Proj/OutlookAddin1/OutlookAddin1/bin/Debug/OutlookAddin1.DLL.\r\nLOG:
Attempting download of new URL
file:///D:/C%23Proj/OutlookAddin1/OutlookAddin1/bin/Debug/OutlookAddin1/OutlookAddin1.DLL.\r\nLOG:
Attempting download of new URL
file:///D:/C%23Proj/OutlookAddin1/OutlookAddin1/bin/Debug/OutlookAddin1.EXE.\r\nLOG:
Attempting download of new URL
file:///D:/C%23Proj/OutlookAddin1/OutlookAddin1/bin/Debug/OutlookAddin1/OutlookAddin1.EXE.\r\n"
StackTrace:
at
Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.HandleOnlineOffline(Exception e, String asmPath)
at
Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.LoadStartupAssembly(EntryPoint
entryPoint, Dependency dependency, Dictionary`2 assembliesHash)
at
Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.ConfigureAppDomain()
at
Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.LoadAssembliesAndConfigureAppDomain(IHostServiceProvider serviceProvider)
at
Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.ExecuteCustomization(IHostServiceProvider serviceProvider)
++++ Immediate windows: ++++++
Managed Debugging Assistant 'BindingFailure' has detected a problem in
'D:\Microsoft Office\OFFICE11\Outlook.exe'.
Additional Information: An assembly failed to load, returning HRESULT
0x80070002. It would have had display name 'msosec', been loaded from code
base '' in binding context 0 of the AppDomain with ID 1.
See
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\sdk\bin\mdaBoilerplate.exe.mda.config
for documentation.Managed Debugging Assistant 'BindingFailure' has detected a
problem in 'D:\Microsoft Office\OFFICE11\Outlook.exe'.
Additional Information: An assembly failed to load, returning HRESULT
0x80070002. It would have had display name 'OutlookAddin1', been loaded from
code base '' in binding context 1 of the AppDomain with ID 2.
See
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\sdk\bin\mdaBoilerplate.exe.mda.config for documentation.
executed the lab 1, and get the System.IO.FileNotFoundException. Same probelm
occurred when I created a new outlook add-in project? There is a "Binding
Failure" in assembly but don't know how to resolve it... Please help...
The following is the detail exception from VS 2005 beta 2 and the immediate
windows:
System.IO.FileNotFoundException was unhandled
Message="Could not load file or assembly 'OutlookAddin1, Version=1.0.0.0,
Culture=neutral' or one of its dependencies. The system cannot find the file
specified."
Source="Microsoft.VisualStudio.Tools.Applications.Runtime"
FileName="OutlookAddin1, Version=1.0.0.0, Culture=neutral"
FusionLog="=== Pre-bind state information ===\r\nLOG: User =
OXYGEN\\Administrator\r\nLOG: DisplayName = OutlookAddin1, Version=1.0.0.0,
Culture=neutral\n (Partial)\r\nLOG: Appbase =
file:///D:/C%23Proj/OutlookAddin1/OutlookAddin1/bin/Debug/\r\nLOG: Initial
PrivatePath = NULL\r\nCalling assembly : (Unknown).\r\n===\r\nLOG: This is an
inspection only bind.\r\nLOG: No application configuration file
found.\r\nLOG: Using machine configuration file from
C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50215\\config\\machine.config.\r\nLOG:
Attempting download of new URL
file:///D:/C%23Proj/OutlookAddin1/OutlookAddin1/bin/Debug/OutlookAddin1.DLL.\r\nLOG:
Attempting download of new URL
file:///D:/C%23Proj/OutlookAddin1/OutlookAddin1/bin/Debug/OutlookAddin1/OutlookAddin1.DLL.\r\nLOG:
Attempting download of new URL
file:///D:/C%23Proj/OutlookAddin1/OutlookAddin1/bin/Debug/OutlookAddin1.EXE.\r\nLOG:
Attempting download of new URL
file:///D:/C%23Proj/OutlookAddin1/OutlookAddin1/bin/Debug/OutlookAddin1/OutlookAddin1.EXE.\r\n"
StackTrace:
at
Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.HandleOnlineOffline(Exception e, String asmPath)
at
Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.LoadStartupAssembly(EntryPoint
entryPoint, Dependency dependency, Dictionary`2 assembliesHash)
at
Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.ConfigureAppDomain()
at
Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.LoadAssembliesAndConfigureAppDomain(IHostServiceProvider serviceProvider)
at
Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.ExecuteCustomization(IHostServiceProvider serviceProvider)
++++ Immediate windows: ++++++
Managed Debugging Assistant 'BindingFailure' has detected a problem in
'D:\Microsoft Office\OFFICE11\Outlook.exe'.
Additional Information: An assembly failed to load, returning HRESULT
0x80070002. It would have had display name 'msosec', been loaded from code
base '' in binding context 0 of the AppDomain with ID 1.
See
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\sdk\bin\mdaBoilerplate.exe.mda.config
for documentation.Managed Debugging Assistant 'BindingFailure' has detected a
problem in 'D:\Microsoft Office\OFFICE11\Outlook.exe'.
Additional Information: An assembly failed to load, returning HRESULT
0x80070002. It would have had display name 'OutlookAddin1', been loaded from
code base '' in binding context 1 of the AppDomain with ID 2.
See
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\sdk\bin\mdaBoilerplate.exe.mda.config for documentation.