Aspnetcompiler Error Aspconfig
Contents |
load file or assembly 'System.Data' Visual Studio Development > MSBuild Question 0 Sign in to vote This solution works from my local aspnetcompiler error aspconfig could not load file or assembly oracle dataaccess machine, I have been trying to get this working on a new
Requiredtargetframework
server. I have installed the .NET SDK and obviously the .NET 4 framework but i keep getting the
A Procedure Imported By 'microsoft.visualbasic.activities.compiler.dll' Could Not Be Loaded.
following error with my compile target: ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly 'System.Data' or one of its dependencies. An attempt was made to load a
Could Not Load File Or Assembly Microsoft Codedom Providers Dotnetcompilerplatform
program with an incorrect format. [c:\Build\24-7\Web Application\Site.metaproj] my compile target:
ASP.NET Community Standup Forums Help Home/ASP.NET Forums/General ASP.NET/Getting Started/ASPNETCOMPILER : error ASPCONFIG: The aspnet_compiler specified module could not be f... ASPNETCOMPILER : error mvcbuildviews ASPCONFIG: The specified module could not be found [Answered]RSS 4 replies Last post Jul 07, could not load file or assembly or one of its dependencies. 2008 06:10 PM by vfinley ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Support Options https://social.msdn.microsoft.com/Forums/vstudio/en-US/11c16dce-5fd7-496c-99ab-4f187d2c10d3/msbuild-issue-aspnetcompiler-error-aspconfig-could-not-load-file-or-assembly-systemdata?forum=msbuild Advanced Search Reply wisperwind Member 1 Points 3 Posts ASPNETCOMPILER : error ASPCONFIG: The specified module could not be found Jul 06, 2007 04:32 AM|wisperwind|LINK When I build a web project the error appears. It says the specified module could not be found, which module? How to fix http://forums.asp.net/t/1130320.aspx?ASPNETCOMPILER+error+ASPCONFIG+The+specified+module+could+not+be+found it? Thanks. 19>------ Rebuild All started: Project: H:\...\webclient\, Configuration: Debug .NET ------Validating Web SiteBuilding directory '/webclient/App_GlobalResources/'.(0): Build (web): The specified module could not be found. (Exception from HRESULT: 0x8007007E)Validation Complete20>------ Rebuild All started: Project: Connectivity.WebClient.Deployment, Configuration: Release Any CPU ------20>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -v /webclient -p H:\Server\Web\webclient -u -f -c H:\Server\Web\WebClientDeployment\Release\ 20>ASPNETCOMPILER : error ASPCONFIG: The specified module could not be found. (Exception from HRESULT: 0x8007007E)20>Done building project "Connectivity.WebClient.Deployment.wdproj" -- FAILED. Reply wisperwind Member 1 Points 3 Posts Re: ASPNETCOMPILER : error ASPCONFIG: The specified module could not be found Jul 06, 2007 05:09 AM|wisperwind|LINK This is the errorstack message.C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_compiler.exe -v /webclient-p H:\Server\Web\webclient -u -f -c H:\Server\Web\WebClientDeployment\Release\ -errorstackUtility to precompile an ASP.NET applicationCopyright (C) Microsoft Corporation. All rights reserved.error ASPCONFIG: The specified module could not be found. (Exception from HRESULT: 0x8007007E)[FileNotFoundException]: The specified module could not be found. (Exception from HRESULT: 0x8007007E) at System.Reflection.Assembly.nLoad(Assemb
or assembly ‘Microsoft.VisualBasic.Activities.Compiler’ or https://teamcity-support.jetbrains.com/hc/en-us/community/posts/206251919-ASPNETCOMPILER-error-ASPCONFIG-Could-not-load-file-or-assembly-Microsoft-VisualBasic-Activities-Compiler-or-one-of-its-dependencies one of its dependencies Jim Geurts June 16, 2010 18:27 None I just upgraded my project to Asp.Net http://answers.flyppdevportal.com/MVC/Post/Thread/0757eb10-826e-472d-b865-0b815779c480?category=msbuild 4, from 3.5. When the build kicks off from TeamCity (sln runner), I get the following error:[Project "Website.metaproj" (Rebuild target(s)):] C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe could not -v /Website -p Website\ -u -f PrecompiledWeb\Website\[12:11:50]: [Project "Website.metaproj" (Rebuild target(s)):] ASPNETCOMPILER error ASPCONFIG: Could not load file or assembly 'Microsoft.VisualBasic.Activities.Compiler' or one of its dependencies. An attempt was made to load a program with an incorrect could not load 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".[12:11:50]: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v /Website -p Website\ -u -f PrecompiledWeb\Website\[12:11:50]: ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly 'Microsoft.VisualBasic.Activities.Compiler' or one of its dependencies. 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 target(s)) -- FAILED.[12:11:50]: Done Building Project "C:\Program Files\TeamCity\buildAgent\work\8bbb8fc03bd91944\MyProject.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build;TeamCity_Generated_NUnitTests target(s)) -- FAILED.[12:11:50]: Build FAILED.[12:11:50]: "C:\Program Files\TeamCity\buildAgent\work\8bbb8fc03bd91944\MyProject.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build;TeamCity_Generated_NUnitTests target) (1) ->[12:11:50]: "C:\Program Files\TeamCity\buildAgent\work\8bbb8fc03bd91944\MyProject.sln" (Rebuild target) (2) ->[12:11:50]: "C:\Program Files\TeamCity\buildAgent\work\8bbb8fc03bd91944\Website.metaproj" (Rebuild target) (3) ->[12:11:50]: "C:\Program Files\TeamCity\buildAgent\work\8bbb8fc03bd91944\MyProject.Other\MyProject.Other.csproj" (Rebuild target) (5) ->[12:11:50]: (Cor
VS2015, and MSBuild 14. My solution has many projects, but three of them are old ASMX web sites. The ASMX website "projects" don't have their own project files, but are detailed in the XML of the solution file itself. The solution builds fine inside Visual Studio. However, when I try to build on the command line with MSBuild, I am getting an error message. Here is my MSBuild command: C:\> msbuild MySolution.sln /t:MyAsmxProject All the dependent projects (mostly c# class libraries) are built as I would expect them to be. Lots of output to the cmd window in which msbuild is running, until we get to the following action by msbuild: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v /MyAsmxProject -p MyAsmxProject\ -u -f -d -fixednames Precompiled\MyAsmxProject\ The whole thing bombs out here with the following error: ASPNETCOMPILER : error ASPCONFIG: Could not load the assembly. The property 'assembly' must be a valid assembly. [C:\My\Long\Path\MySolution\MyAsmxProject.metaproj] Now at first I didn't know what a "metaproj" file was, and was unable to find that file, but I did understand it to be an intervening project file created internally so that msbuild could operate on solution files. I discovered that I could see the metaproj file if I set the environment variable: set MSBuildEmitSolution=1 And then re-ran the msbuild command. I now have metaproj files for both my solution and for my asmx project, which would appear to be the one referenced in the error message above. These are both pretty dense msbuild files, but neither one of them have an XML node (element) named "assembly" and neither one of them have any XML nodes with the attribute or property "assembly" applied to them. So I am unclear what this error is saying and how to fix it. And doubly unclear as to why it crops up with msbuild, but not with visual studio. Any insights or suggestions most appreciated. MSDN Windows Azure Profile Signature RepliesKristin Xie on Thu, 17 Mar 2016 08:12:47 Hi Stephan Golux, Your case more related to MSbuild, I will move your case to MSbuild forum for better support. Best regards, Kristin DotNet Wang on Fri, 18 Mar 2016 07:53:12 Hi Stephan Golux, You