During our build process we run aspnet_compiler.exe against our websites to make sure that all the late-bound stuff in ASP.NET/MVC actually builds (I know nothing about ASP.NET but am assured this is necessary to prevent finding the failures at runtime).
Our sites are fairly large in size, with a few hundred pages/views/controls/etc. ho...
I am unable to build my Web Application (not Web Site) in our build environement. We use DMAKE in our build environment (this unfortunately is non negotiable, therefore using MSBUILD is not permitted ) and when invoking the asp.net precompiler through
C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler -d -nologo -p Site -f -...
I've got an existing web site that monitors an SVN repository for changes and when there is a check in, the new web site is built using aspnet_compiler and then a diff of what is on the production site is sftp'd up to a production web server. The entire continuous integration process is built using cruisecontrol.net.
I've refactored the...
Hi,
I am having a problem in building my solution in VS2008. Normally, it compiles fine in the environment. Sometimes, it fails with:
/xxx_WEB/secure/CMSManagedTargetPage.aspx(1): error ASPPARSE: Circular
file references are not allowed.
I rebuild and it works fine.
Now, however, I am in the middle of setting up a CruiseControl.NET ...
Currenlty I am trying to publish usinf aspnet compiler using a batch file
start /b C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -p "C:\cc\titr\code\" TargetPath="C:\cc\titr\code\deploy\" Force="true" Debug="true"
Giving me error 1010 file path not valid. Any idea where I am doing wrong. as the paths are correct
...
I am trying to automate publishing a project having many solutions in cc.net. I am using msbuild which in turn calls a aspnetcompiler xml file. Problem is my directory contains many solutions and when I run aspnetcompiler it gives me the following error.
errorASPCONFIG: It is an error to use a section registered as allowDefinition='Mach...
Getting following errors after trying to publish using aspnet_compiler
errorASPPARSE: Circular file references are not allowed.
errorASPPARSE: Unknown server tag 'uc2:FAQ'.
errorASPPARSE: Could not load type 'CompoundControls.BBar'.
errorASPPARSE: Could not load type 'CompoundControls.PPIndicator'.
errorASPPARSE: Unknown server tag 'm:C...
I am using aspnet_compiler to publish a particular solution from a bunch of solutions residing in same folder. I dont know how to tell aspnet_complier to excecte a particular one. Can any one having any idea abou it.
...
Is there a switch to suppress specific compiler warnings when using the aspnet_compiler.exe warnings at the command line?
I've tried fixing the errors myself, rather than ignoring them - they are for events that are defined by never used. I simply commented out the events, but this caused other problems! It's as if they are used but the...
This is just for a better understanding of the ASP.NET framework. When you use a control in a declarative way (that would be web form markup), you assign event handlers by their method name using an attribute that starts with On:
<asp:Button runat="server" OnClick="..."/>
But when you look at the System.Web.UI.WebControls.Button class...
I am trying this. I have built asp.net website.
When I publish to IIS through VS2008 it works fine.
Lets say my site is at c:\projects\Website1\
I want to publish it to c:\Inetpub\wwwroot\WebsiteOne
I am trying to mimic publish from studio. That is publish and remove anything that is in side.
I tried this:
aspnet_compiler -v/WebsiteOne...
I am trying to create command line command to do this.
I already deploy website using aspnet_compiler to local drive.
Now I am trying to copy these files to remote machine IIS:
is it possible to use aspnet_compiler to directly deploy on remote IIS
something like this
aspnet_compiler -v /Website1 -p c:\Projects\WebSite -f test.lala.com...
I had it working earlier today, but now I get the contents of the marker files if I request precompiled pages. The .compiled file and the assembly it refers to are still present in the /bin folder. I would expect that the ASP.NET runtime first checks to see if there is a .compiled file before trying to serve the page directly, but I have...
I'm attempting to resolve source problems and I'm attempting to figure out which version is which. The other problem I'm running into is the output the .NET compiler generates is very unintelligible and a little frustrating. In my bin folder i have the following assemblies:
AjaxControlToolkit.dll
AjaxControlToolkit.pdb
App_Code.compil...
Hi
When Compiling my Web Deployment Project which references a Asp.Net project with a App_Browsers folder I get the following compilation error:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -v /[PROJECTNAME].csproj -p "[FILEPATH]" -u -f -d .\TempBuildDir\
ASPNETCOMPILER : error ASPRUNTIME: Object reference not set...
I'm using aspnet_compiler.exe to precompile my application for deployment.
However, I don't think it's working, for two reasons:
I see my applications assemblies under C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files, even if i manually clear out this directory & restart the app.
The performance hit to JIT the app...
When you precompile a directory that doesn't contain a web.config, the aspnet_compiler.exe defaults to CompilerVersion 2.0 and 3.5 code fails to compile. Is the following minimal web.config the only way to specify the CompilerVersion?
<?xml version="1.0"?>
<configuration>
<system.codedom>
<compilers>
<compiler language="c...
How ASP.NET compiles its assemblies generally confuses me. It seems that I cannot program against anything outside the *App_Code* folder. In the application I am working on I have several server side controls and a few user controls. The user controls are outside the *App_Code* folder and I cannot refer to them from the *App_Code* folder...
Hello,
I am pretty new to msbuild and aspnet_compiler.
I am using aspnet_compiler to compile web application project. Now I just saw the MSBuild.exe and noticed that its builds my website into the /mywebsite/precompiledWeb folder. Now why do I need to use MSBuild.exe? Can't I directly use the aspnet_compiler to see if my website can b...
Is it possible to tell Visual Studio 2010 to use an older version of aspnet_compiler to build and debug a web application project? I have a web app targeted for .Net 3.5 that complains and mentions something about using version 2.0 of the aspnet_compiler command. I know where on the disk this magical version of aspnet_compiler is located...