![]() ![]() The located assembly's manifest definition does not match the assembly reference. 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. There is another setting called FunctionsPreservedDependencies that is meant to allow you to opt-in DLLs that you want to preserve, but I couldn't get it to work for me.I've run into an error with a test WPF application that I'm using to learn Prism. Seems Azure Functions does DLL cleanup to make the deployment smaller, since during deployment most of the files are already present, so you need to turn off that cleanup using true in your project file, which will prevent the cleanup from running. The system cannot find the file specified. Could not load file or assembly ', Version=6.15.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The 'AuthFunc' function is in error: Unable to load one or more of the requested types. I am seeing the same issue with Azure Functions 4. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |