Assembly Manifest Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow manifest error standard the company Business Learn more about hiring developers or posting ads with us Stack manifest error standard of review Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of
Could Not Load File Or Assembly The Module Was Expected To Contain An Assembly Manifest
4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up The located assembly's manifest definition does not match the assembly reference up vote 436 down vote favorite
The Module Was Expected To Contain An Assembly Manifest Visual Studio 2010
49 I am trying to run some unit tests in a C# Windows Forms application (Visual Studio 2005) and I get the following error: System.IO.FileLoadException: Could not load file or assembly 'Utility, Version=1.2.0.200, Culture=neutral, PublicKeyToken=764d581291d764f7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)** at x.Foo.FooGO() at x.Foo.Foo2(String groupName_) in Foo.cs:line 123 at x.Foo.UnitTests.FooTests.TestFoo() in FooTests.cs:line 98** System.IO.FileLoadException: Could not load error while trying to run project could not load file or assembly or one of its dependencies file or assembly 'Utility, Version=1.2.0.203, Culture=neutral, PublicKeyToken=764d581291d764f7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) I look in my references and I only have a reference to Utility version 1.2.0.203 (the other one is old). Any suggestions on how I figure out what is trying to reference this old version of this DLL? Besides, I don't think I even have this old assembly on my hard drive. Is there any tool to search for this old versioned assembly? c# reference compiler-errors dependencies version share|improve this question edited Aug 21 '14 at 8:28 Ant4res 94511125 asked Oct 18 '08 at 13:16 leora 17.6k2286301114 add a comment| 33 Answers 33 active oldest votes 1 2 next up vote 280 down vote accepted The .NET Assembly loader is unable to find 1.2.0.203, but did find a 1.2.0.200. This assembly does not match what was requested and therefore you get this error. In simple words, it can't find the assembly that was referenced. Make sure it can find the right assembly by putting it in the GAC or in the application path. Also see http://blogs.msdn.com/junfeng/archive/2004/03/25/95826.aspx. share|improve this answer edited Sep 9 '13 at 13:03 Luke Girvin 9,70554768 answered Oct 18 '08 at 13:39 Lars Truijens 31.2k48110
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a Question View Unanswered Questions View
Error While Trying To Run Project + The Module Was Expected To Contain An Assembly Manifest
All Questions... C# questions Linux questions ASP.NET questions SQL questions VB.NET questions discussionsforums the module was expected to contain an assembly manifest installutil All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture the module was expected to contain an assembly manifest powershell ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android http://stackoverflow.com/questions/215026/the-located-assemblys-manifest-definition-does-not-match-the-assembly-reference iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge The Insider News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General http://www.codeproject.com/Questions/67965/Error-while-trying-to-run-project-could-not-load Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ "Error while trying to run project:could not load file or assembly" Rate this: Please Sign up or sign in to vote. See more: C# I'm having problem to run C# Form project (using Visual Studio 2008 professional edition). When I try to run the project which I already ran, it says "Error while trying to run project:could not load file or assembly 'WindowsFormsApplication1' one of its dependencies. The module was expected to contain an assembly manifest". After this error im not able to run any Form or any other project. Please tell me why this error occured and a way to fix this problem. Thank You. Posted 23-Mar-10 13:39pm vigin123 Updated 23-Mar-10 14:52pm DaveyM6984.2K v3 Add a Solution 10 solutions Top Rated Most Recent Rate this: Please Sign up or sign in to vote. Solution 7 Accept Solution Reject Solution Go to VS command prompt and type devenv.exe /resetskippkgs and Press Enter. I hope this will solve
Studio Development > Visual Studio Diagnostics (Debugger, Profiler, IntelliTrace) Question 0 Sign in to vote Hi, I can get started debugging my application. When I hit "Run" I'll get error https://social.msdn.microsoft.com/Forums/vstudio/en-US/9ad17869-63cc-4529-bfaf-9099db500e0d/the-module-was-expected-to-contain-an-assembly-manifest?forum=vsdebug message "Error while trying to run project: Could not load file or assembly 'CANopenConf' http://dotnetthoughts.net/error-creating-assembly-manifest-error-signing-assembly-unknown-error-8013141c/ or one of it dependecies. The module was expected to contain an assembly manifest But when I look in my debug folder, all needed dll's are there, and if I start the application by double clicking in Explorer, all works fine. what is wrong? thanks in advance, Patrik Tuesday, June 05, 2007 1:43 assembly manifest PM Reply | Quote Answers 0 Sign in to vote Can you tell us some more details on your application type? Does your solution contain C++ or C# or VB projects? Are you sure that you have set the correct project to be the startup project? John Wednesday, June 06, 2007 4:35 PM Reply | Quote Moderator All replies 0 Sign in to vote Is it possible to get the module was a log or some kind of better information, what file it doesn't found or can not load. I am using Visual Studio 2005 and I am getting craizy of this problem. Some help, thanks, Patrik Wednesday, June 06, 2007 10:19 AM Reply | Quote 0 Sign in to vote Can you tell us some more details on your application type? Does your solution contain C++ or C# or VB projects? Are you sure that you have set the correct project to be the startup project? John Wednesday, June 06, 2007 4:35 PM Reply | Quote Moderator 1 Sign in to vote Hi My solution contains C++ native projects and C# managed projects. But I have found the problem. I hade one project creating Canopenconf.exe, and one project creating Canopenconf.dll, concluding that I will have only one Canopenconf.pdb. So I changed name of the exe file, and now I got everything working. Patrik Thursday, June 07, 2007 6:11 AM Reply | Quote 3 Sign in to vote I had the same error message, I was unable to debug in Visual Studio. Error was apparently caused by having too assemblies with the same name, project.exe and project.dll.The solution was just to rename the application. Propos