Assembly Manifest Error In .net
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 the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up The module was expected to contain an assembly manifest up vote 21 down vote favorite 2 I have a project in c# that uses c++ library and some dlls. When I run it it works great. The library is Awesomium, contains both c++ library and c# wrappers When I create reference to this project from my ASP.NET MVC 4 project I get the following error: Exception Details: System.BadImageFormatException: Could not load file or assembly 'file:///D:\Projects\Development\ProGamers\GamingSite\bin\avcodec-52.dll' or one of its dependencies. The module was expected to contain an assembly manifest. Things I've tried: Coping the dlls, but it still doesn't work (The file exists). Registering it in the GAC but I've got the same error there. Make sure using .NET Framework 4.0 (and not client profile) 2 files with the same dll/exe name causing conflict - I dont have it. Change the platform of the solution to AnyCPU/Mixed Platforms. Stack Trace: [BadImageFormatException: Could not load file or assembly 'file:///D:\Projects\Development\ProGamers\GamingSite\bin\avcodec-52.dll' or one of its dependencies. The module was expected to contain an assembly manifest.] System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0 System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecur
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 the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Could not load file or assembly 'applicationname' or http://stackoverflow.com/questions/12226676/the-module-was-expected-to-contain-an-assembly-manifest one of its dependencies. The module was expected to contain an assembly manifest up vote 2 down vote favorite We made a .net application which ran smoothly but when we tried to execute the .exe on another machine encountered the error The application was unable to start correctly(oxcOOOOO7b) We tried to rebuild the solution in visual studio 2010 but encountered the error: Could not load file or http://stackoverflow.com/questions/10512802/could-not-load-file-or-assembly-applicationname-or-one-of-its-dependencies-th assembly 'crawler' or one of its dependencies. The module was expected to contain an assembly manifest. What could be the reason? Could this be because of absence of .net framework 3.5? We have .net framework 4.0 and 3.0 installed on Windows 7. asp.net visual-studio-2010 share|improve this question edited Oct 19 '15 at 15:44 KyleMit 37k15161266 asked May 9 '12 at 8:54 Shamik 1,0991824 1 I'm facing the same problem! –sbose May 9 '12 at 8:56 Possible duplicate of Error while trying to run project:The module was expected to contain an assembly manifest –KyleMit Oct 19 '15 at 15:45 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote It is a low-level assembly loading problem. The CLR has located a file with the right name but when it tries to load the assembly, it finds out that the file doesn't contain a proper manifest. A .NET assembly must contain a manifest, it contains metadata that describes the assembly, listing the types in the assembly, etc. I did some investigation and found these solutions that might help. Make sure that 2 .exe/dlls have same name. Make sure that whatever is your target
resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student https://msdn.microsoft.com/en-us/library/x54eh57f.aspx Partners ISV Startups TechRewards Events Community Magazine Forums Blogs https://www.devexpress.com/Support/Center/Question/Details/Q241478 Channel 9 Documentation APIs and reference Dev centers Retired content Samples We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second. Visual Basic Reference Visual Basic Language Reference Error Messages Error assembly manifest Messages Error creating assembly manifest: Products INDIVIDUAL PLATFORMS WinForms ASP.NET MVC WPF Windows 10 Apps CROSS-PLATFORM Reporting Document Generation ENTERPRISE TOOLS Report Server Analytics Dashboard FRAMEWORKS eXpressApp Framework CODE-DEBUG-REFACTOR CodeRush for Visual Studio Explore Our Newest Features HTML JS Products HYBRID APPS DevExtreme Mobile DevExtreme Web Xamarin.Forms UI CONTROLS Free Data Grid iOS NATIVE DataExplorer Testing Tools WEB TESTING TestCafe Delphi & C++Builder Products DELPHI & C++BUILDER VCL Free Trials & Demos (includes all DevExpress .NET products and free technical support) .NET Product Demos BY PLATFORMS WinForms ASP.NET MVC WPF Windows 10 Apps CROSS-PLATFORM Reporting Document Generation ENTERPRISE TOOLS Report Server Analytics Dashboard FRAMEWORKS eXpressApp Framework HTML Java Script Downloads MOBILE DevExtreme Mobile HTML5 JS WIDGETS DevExtreme Web Testing Tools Downloads WEB TESTING TestCafe Delphi & C++Builder Downloads CONTROLS VCL Buy Compare Features and Pricing Buy a New Product Subscription Renew an Existing Subscription Need help or require more information? Email us at info@devexpress.com or call +1 (818) 844-3383 between 7:30AM and 4:30PM Pacific Time. Support Support Center Search the KB My Questions Code Examples Resources Getting Started Documentation Demos Training Webinars Contact our Developer Advocates anytime. My Account ManageYour Profile Change your addressemail and password Assign Licenses Manage licensesfor your dev team Renew anExisting SubscriptionPurchaseHistory New order statusand previous purchases DownloadYour Products Need help or require more information?Email us at clientservices@devexpress.com or call +1 (818) 844-3383 between 7:30AM and 4:30PM Pacific Time. About Us Connect with DevExpress BlogsUpcomingEventsTrainingWebinars Learn More about DevExpress About Us News User Comments Case Studies Our Awards Reviews & Publications MVP Program Contact Us Support Center FAQ Training Events Localization Version History Examples Tickets Submit a Support Ticket Type search string and press Enter 1 solution Error: The module was expected to contain an assembly manifest. Tags: .NET, ASP.NET Web Forms 0 William McKee 12.17.2009 I have been working on solving this for 3 days and am very frustrated. I have plenty of experience with DevExpress and deployment and just can't figure what the problem is here. I have an existing app using DevExpress that has been in production over a year. I am trying to get it running on a new hosting account. The error is copied in below. I have been getting a mix of "The module was expected to contain an assembly manifest." errors with other times "Could