![]() ![]() LOG: Using application configuration file: C:\Users\Roger\Google Drive\Karnaluks\Test Projects\EmailClient\EmailClient\bin\Debug\ ![]() LOG: This bind starts in default load context. LOG: Appbase = file:///C:/Users/Roger/Google Drive/Karnaluks/Test Projects/EmailClient/EmailClient/bin/Debug/Ĭalling assembly :, Version=5.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. LOG: DisplayName =, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (Exception from HRESULT: 0x80131040)įileName=, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35įusionLog= Pre-bind state information = The located assembly's manifest definition does not match the assembly reference. Message=Could not load file or assembly ', Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. InnerException: System.IO.FileLoadException Source=įileName=, Version=3.5.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35Īt .UnityBootstrapper.Run(Boolean runWithDefaultConfiguration)Īt .Run()Īt (StartupEventArgs e) in c:\Users\Roger\Google Drive\Karnaluks\Test Projects\EmailClient\EmailClient\:line 21Īt _1(Object unused)Īt .InternalRealCall(Delegate callback, Object args, Int32 numArgs)Īt MS.圜atchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)Īt .InvokeImpl()Īt .InvokeInSecurit圜ontext(Object state)Īt (ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)Īt (ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)Īt (ExecutionContext executionContext, ContextCallback callback, Object state)Īt .Invoke()Īt .ProcessQueue()Īt .WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)Īt MS.(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)Īt MS.(Object o)Īt .LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)Īt MS.(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)Īt MS.(MSG& msg)Īt .PushFrameImpl(DispatcherFrame frame)Īt .PushFrame(DispatcherFrame frame)Īt .Run()Īt (Object ignore)Īt (Window window)Īt (Window window)Īt () in c:\Users\Roger\Google Drive\Karnaluks\Test Projects\EmailClient\EmailClient\obj\Debug\App.g.cs:line 50Īt System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String args)Īt (String assemblyFile, Evidence assemblySecurity, String args)Īt .RunUsersAssembly()Īt _Context(Object state)Īt () Message=Could not load file or assembly ', Version=3.5.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. System.IO.FileLoadException was unhandled Is there somewhere else I should look for rogue Unity dlls that might be causing issues? Is there something I need to add or remove so that the current Unity dll will work?Ĭode where error is happening (on bootstrapper.Run this is in ): protected override void OnStartup(StartupEventArgs e)īootstrapper bootstrapper = new Bootstrapper() ![]() Note that the code below was in the App.config file when I created the project it's not something I personally added later. This is even after I added it back to the App.config file. I was able to compile and run it the first time, but then I took out the section of code below from the App.config file just to see what would happen (dumb mistake.) and started getting the same error. What's interesting is that I actually started a new tutorial project to see if it'd fix the issue, and copied over some pieces of the projects from the original one. Note that the dll was installed using NuGet, and the two groups of packages I installed are called "Prism" and "Prism.UnityExtensions." It's the second one that the Unity dll is in. Per the Object Browser it says the dll is in a folder titled "Unity.0". It is installed, but per the properties description it says that the version is 3.5.0.0. To rule out the first option (at least I believe this rules it out) I double checked that the dll is installed in the projects that need it and in the bin folder there is only one copy of Unity within each project and the bin folder. From my understanding this can mean two things: either it can't find any version of Unity, or it's finding the wrong version number of Unity. The error log is below, but the gist of it is that it can't seem to find version 3.5.1.0. I've run into an error with a test WPF application that I'm using to learn Prism. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |