1 vote
closed
SCSF - new project: - Could not load file or assembly 'Microsoft.Practices.CompositeUI.WinForms

Description

 
I have created a new project with SCSF - built it.
I have installed Microsoft Enterprise Library 3.1 - May 2007 + all dependencies + requisites for SCSF.
But i get the following error in a popup when I run it:

System.IO.FileLoadException was unhandled
Message="Could not load file or assembly 'Microsoft.Practices.CompositeUI.WinForms, Version=1.0.51205.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)"
Source="mscorlib"
FileName="Microsoft.Practices.CompositeUI.WinForms, Version=1.0.51205.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
FusionLog=""
StackTrace:
at System.Reflection.Assembly._nGetEntryPoint()
at System.Reflection.Assembly.nGetEntryPoint()
at System.Reflection.Assembly.get_EntryPoint()
at Microsoft.VisualStudio.HostingProcess.HostProc.GetEntryPointAptThreadState(String assemblyFile)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunParkingWindowThread()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

File Attachments


Closed Apr 28 2008 at 7:47 PM  by MichaelPuleio
Cannot reproduce in SCSF April 2008

Comments

most recent at top (show oldest at top)
TomLeeson wrote Feb 18 2008 at 3:09 PM
Ran code analysis:
Error 11 CA0001 : Rule=Microsoft.Practices.FxCop.Rules.WcfSecurity#WCFS00002, Target=SCSF1.Infrastructure.Shell.ShellApplication.Main():System.Void : Could not load file or assembly 'Microsoft.Practices.CompositeUI.WinForms, Version=1.0.51205.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417) Shell
Error 12 CA0001 : Rule=Microsoft.Practices.FxCop.Rules.WcfSecurity#WCFS00001, Target=SCSF1.Infrastructure.Shell.ShellApplication.Main():System.Void : Could not load file or assembly 'Microsoft.Practices.CompositeUI.WinForms, Version=1.0.51205.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417) Shell

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987