My builds and runs fine in Visual Studio, however when I run a Nant task to compile the website, it gives me an error:
[path]\ContactView.ascx
error CS0117: 'System.Web.UI.Usercontrol' does not contain a definition for 'Name'
I have a UserControl called ContactView that has another UserControl called ContactForm. Contact Form is th...
Hello,
I have a web application project, which compiles fine using VS2008. However each time, I try to compile it with aspnet_compiler it fails and is not able to see my class, which I have placed in my code folder. Why is the aspnet_compiler not able to see my class and how can I fix that?
Thanks
...
Hello,
I am using the aspnet_compiler to pre-compile my asp.net web application VB.NET project with the following command line:
aspnet_compiler.exe -f -fixednames -p C:\myfolder\myproject\WebApp
lication1\ -v / C:\myfolder\myproject\pre-compiled
When I run the above command I keep getting the following warning message:
C:\myfolder\W...
I’ve been using mouse right click in Visual Studio to publish sites for ages and everything worked great except there’s been too much manual works. Recently I changed to using build script to call aspnet_compiler to publish ASP.NET web application. In my build script I would do something like below:
sh "#{aspnet_compiler} -p ../src/weba...
Hello..Masters of Asp.Net,
I'm trying to generate PDB files for an ASP.NET(v2.0) Website. I'm using Aspnet_Compiler.exe and passing "-d" option to generate the PDB files. But when I inspected the generated dlls using ILDASM it had the following DebuggableAttribute on them.
// .custom instance void [mscorlib]System.Diagnostics.Debugga...
I am using aspnet___compiler.exe to compile my asp.net 3.5SP1 websites,
then aspnet_merge.exe to merge the assemblies into a single one.
The assembly is then uploaded to the production server. This usually works pretty well but sometimes when testing on the staging server I get the
following message:
Parser Error Message: Could not ...
Hi,
Afterlooking at this [post][1], I thought that I would give it a go.
So, in my Post Build Event, I've put...
C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler -v / -p "$(ProjectDir)\"
...then clicked Build Solution.
Unfortunately, I got the following error: "Could not load type 'MyWebProject.UI.Global'. C:\global....
I have a web application that lands on a shared hosting platform for my company. That platform has global header/footer code that all applications on the platform consume using include files. I can't change how the header files are structured and how they are to be cosumed--that is dictated to me by another group. I have a build serve...
How useful is tu use Aspnet_compiler.exe instead of conventional Publish via Visual Studio? And what about resource (resx) files?
...
Can I compile a WebSite project(3.5) using utility aspnet_compiler from command line without installing IIS if I am using local web server for development?
Thanks
...
I am unable to get the -fixednames switch to create dlls for the cs code behind files. The files in the bin folder are compiled aspx pages, but the code behind files are all compiled into one large websitename.dll file.
Here is my command with switches.
aspnet_compiler -v / -p E:\Source\DotNet4\mysolution\website -f -d -fixednames E:\S...
I've moved my project over to .NET 4.0 recently, and am having some trouble running the ASP.NET compiler inside of my build. This doesn't work because MSBuild by default uses an old tools version when running the ASP.NET Compiler.
I've been able to address it my specifying the tools version explicitly (yes, I'm running MSBuild 4.0) lik...
How do I add the out-of-the-box SharePoint date filter webpart to an ASP.Net web page?
I want to do it either in an ASPX...
<%@ Register Assembly="<DateFilterDLL??>" Namespace="<??>" TagPrefix="DP" %>
<...>
<asp:WebPartManager ID="WebPartManager1" runat="server">
</asp:WebPartManager>
<...>
<ZoneTemplate>
<DP:...
Hi there!
Is there a way to get the aspnet_compiler to go through all views and return all errors, rather than just the errors in the current view directory?
For example, lets say I have a project that has a bunch of folders...
Views
Folder1
Folder2
Folder3
Folder4
Two of them (Folder2 and Folder3) have errors. aspnet_compiler wi...
I just upgraded my project to Asp.Net 4, from 3.5. When the build kicks off from TeamCity, I get the following error:
[Project "Website.metaproj" (Rebuild target(s)):] C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v /Website -p Website\ -u -f PrecompiledWeb\Website\
[12:11:50]: [Project "Website.metaproj" (Rebuild ...
Hi all,
I am trying to build Web Application solution built using VS 2008 and facing the following error.
ASPNETCOMPILER : error ASPRUNTIME: '/localhost:8080' is not a valid virtual path.
I have absolutely no clue how and why is is occurring? Is it related with the deploy project settings or web site properties? The Solution is checke...
Hi,
I am using nant to compile and publish my web applications and am unsure whether to use nantconribs msbuild task or aspnet_compiler.exe.
I have a number of projects in my solution for business logic and data access.
When msbuild runs it compiles the solution and outputs to my /dist/ folder.
All the dlls are in the root of this fol...
Can I build a web application project with aspnet_compiler or do I need to use devenv too? If I use devenv, do I then need aspnet_compiler?
I'm a little confused as to whether I need aspnet_compiler or not with the new web application projects.
...
Hi,
my web application is installed on a Server A like
mywebsite.com/
--> GO to Server A
mywebsite.com/myApp/
--> GO to Server A
and for performance reasons I would like have /myApp/ on an another Server B but using the same domain
mywebsite.com/
--> GO to Server A
mywebsite.com/myApp/
--> GO to Server B
How to do it?
I use MS .net 4...
hi everyone
i am trieng to create a batch task that will publish my site in release mode
but with no luck...
my script for doing so is this:
aspnet_compiler -errorstack -nologo -fixednames -v / -p "C:\projects\mysite\COMPONENTS\sitefolder" -f -u "C:\projects\publish-mysite"
my site has about 10 other projects in the solution. so i...