An attempt was made to load a program with an incorrect format. [C:\Program Files\TeamCity\buildAgent\work\8bbb8fc03bd91944\Website.metaproj][12:11:50]: 1 Warning(s)[12:11:50]: 1 Error(s)[12:11:50]: Time Elapsed 00:00:31.48I tried copying the .net framework reference assemblies to C:\Program Files Can Infrared Thermometer (IR Gun) be used to measure the ambient room temperature? I manually deleted this file and built again and it built fine. These specialized experts will follow-up with your issue. his comment is here
My project isn't related to VS - I'm not referencing it or extending it –Jim Geurts Jun 16 '10 at 18:02 @Rowland Unfortunately, reinstalling the framework did not fix However I found that http://live.sysinternals.com/procmon.exeto be VERY useful. If aspnet_compiler.exe saidwhichfile it wanted, the problem would besimple to fix. share|improve this answer answered Mar 28 at 20:24 OJisBad 316 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up
Posted by domu at Friday, December 21, 2012 Labels: .Net, ASP.Net, development No comments: Post a Comment Newer Post Older Post Home Subscribe to: Post Comments (Atom) About Me I am template. Not the answer you're looking for? Blog Sign in Join ASP.NET Home Get Started Learn Hosting Downloads Community Overview Community Spotlight Articles of the Day What's new Community Blogs ASP.NET Team Events Hall Of Fame MSDN Samples
Issue Tracker Community Forum Online Help Early Access Program Product Blog Screencasts Twitter TeamCity Submit a request Sign in TeamCity Community TeamCity General Topics New post 0 ASPNETCOMPILER error ASPCONFIG: Could An attempt was made to load a program with an incorrect format. [C:\Program Files\TeamCity\buildAgent\work\8bbb8fc03bd91944\Website.metaproj] [12:11:50]: Done Building Project "C:\Program Files\TeamCity\buildAgent\work\8bbb8fc03bd91944\Website.metaproj" (Rebuild target(s)) -- FAILED. [12:11:50]: Done Building Project "C:\Program Files\TeamCity\buildAgent\work\8bbb8fc03bd91944\MyProject.sln" (Rebuild When answering a question please: Read the question carefully. Could Not Load File Or Assembly Microsoft Codedom Providers Dotnetcompilerplatform The good news: at\\live.sysinternals.comor http://live.sysinternals.comthere are many useful tools to give you a peek under MSWindows' hood.
After going through each csproj file and updating
I assume that this is a component assembly which is not found in the solution. http://domu904.blogspot.com/2012/12/aspconfig-error.html Posted by WayneBrantley on 10/7/2013 at 9:38 PM Why is this not being addressed? Msbuild Aspnetcompiler Error Aspconfig Could Not Load File Or Assembly we had System.Data.dll in our bin folder, which was obviously built for 32b - deleting it fixed the issue) share|improve this answer answered Feb 24 '15 at 10:59 veljkoz 5,31763571 Requiredtargetframework MukeshSinha 4-Mar-14 23:53pm Thanks, My assembly is x64 bit and i have already set target type of project x64 i got same issue.. 1 solution Rate this: Please
This is a manual process and can be done as below in your build scripts: Alternatively you can convert your web application to use web deployment project. this content Join them; it only takes a minute: Sign up ASPNETCOMPILER error ASPCONFIG: Could not load file or assembly 'Microsoft.VisualBasic.Activities.Compiler' or one of its dependencies up vote 9 down vote favorite 4 Would you provide some further information about your solution? Maybe the system assemblies in the 3.5 directory have different permissions than the 4.0 directory and when the aspnet_compiler tried to load them from the bin directory, it barfed. A Procedure Imported By 'microsoft.visualbasic.activities.compiler.dll' Could Not Be Loaded.
Is the empty set homeomorphic to itself? If you are using Visual Studio 2012 then this post here will give guidance to use WSP(Website Project). Reply wisperwind Member 1 Points 3 Posts Re: ASPNETCOMPILER : error ASPCONFIG: The specified module could not be found Jul 08, 2007 08:51 PM|wisperwind|LINK Hi Thomas Sun, Thanks for your reply, weblink Should an elected official feel obligated to vote on an issue based on the majority opinion of his constituents?
Please enter a comment. Aspnet_compiler An attempt was made to load a program with an incorrect format. What happens to Batgirl after The Killing Joke?
Now I know my ABCs, won't you come and golf with me? This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL) Top Experts Last 24hrsThis month OriginalGriff 175 David_Wimbley 170 John Simmons An attempt was made to load a program with an incorrect format. [12:11:50]: MSBuild output: [12:11:50]: Copying file from "C:\Program Files\TeamCity\buildAgent\work\8bbb8fc03bd91944\Dependencies\wnvxls.dll" to "Website\\Bin\wnvxls.dll". [12:11:50]: Copying file from "C:\Program Files\TeamCity\buildAgent\work\8bbb8fc03bd91944\Dependencies\wnvxls.xml" to "Website\\Bin\wnvxls.xml". Mvcbuildviews I changed it to the 64bit version and it worked :) Marked as answer by Ego JiangMicrosoft contingent staff, Moderator Monday, June 18, 2012 6:22 AM Thursday, June 14, 2012 9:29
Any other thoughts? It says the specified module could not be found, which module? Reply vfinley None 0 Points 1 Post Re: ASPNETCOMPILER : error ASPCONFIG: The specified module could not be found Jul 07, 2008 06:10 PM|vfinley|LINK Hello Wisperwind, I had a similar problem. http://wiicentre.com/could-not/c-could-not-load-file-or-assembly-or-one-of-its-dependencies.html Hence I'd suggest to set the target platform to x86.
Sign in Gallery MSDN Library Forums Get started for free Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: MSbuild Please sign in to leave a comment. An attempt was made to load a program with an incorrect format (.resx file)93VSTS 2010 SGEN : error : Could not load file or assembly (Exception from HRESULT: 0x80131515)13Why am I Posted by Jeremy2008 on 9/25/2013 at 1:44 PM I have this problem too.
share|improve this answer answered Jun 16 '10 at 23:22 Jim Geurts 10.4k207396 add a comment| up vote 1 down vote Looks like an x86/x64 mismatch - I'd strongly recommend actually using An attempt was made to load a program with an incorrect format. [c:\Build\24-7\Web Application\Site.metaproj] my compile target: