aspnet-compiler Questions

3

I am working on MAC and dotnet core 3.1, 5.0 and 6.0 versions are installed on my machine. I not able to build Web Application on my machine due to shared error in this ticket. I can build web appl...
Buster asked 20/10, 2021 at 9:2

1

Solved

We have Asp.Net Mvc application for which aspnet_compiler.exe takes more than 5 minutes to run. The Asp.Net Mvc application is question depends on ~100 smaller projects that all contribute to it di...
Ardellearden asked 24/11, 2021 at 22:10

16

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: Circ...
Distaste asked 8/4, 2009 at 9:4

2

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 ...
Goeselt asked 26/5, 2010 at 15:42

1

Not sure if what I am after here is even achievable with the aspnet_compiler.exe tool, but here goes: We have a site that we allow users to skin by allowing them to modify master pages - or rather...
Gainor asked 11/7, 2018 at 12:5

1

.NET 4.5.2, IIS 8.5 on Windows 8.1 x64. I have a single ASP.NET web site at /localhost/. The DEFAULT website is disabled, a new site with was created with the right bindings. I am trying to pre-com...
Hudak asked 1/10, 2013 at 17:36

4

I've been tasked with modernising a web application developed in 2009. It is written in VB.NET and using ASP.NET WebForms. I would like to use the latest language constructs in VB.NET. I get help...

5

Solved

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 ...
Tonytonya asked 14/11, 2008 at 11:26

4

Solved

I'm trying to use aspnet_compiler to move a project that has already compiled from one location to another. I'm using Subversion for revision control. The process basically gets all the code out o...
Guaranty asked 7/3, 2011 at 17:47

1

example on command line that i use to exclude Admin path with -x C:\Users\Test>C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v /Application.Web -p D:\Application.Web -x /A...
Havana asked 1/9, 2016 at 4:41

0

While coding, a discrepancy surfaced. Normally while coding simple methods or constructors I often utilize the expression body technique. However, when I produce the following: public class Sample...
Aquino asked 29/11, 2017 at 23:19

9

Solved

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\Fra...
Handily asked 16/6, 2010 at 17:22

2

Solved

How can I use the "Precompile during publishing" flag on a VS2013 x64 project? No matter what I do, it fails to publish because it insists on using the x86 ASPNETCOMPILER. I think I used to have t...
Salahi asked 12/4, 2014 at 15:52

6

Do I need to set the debug='false' <compilation debug="false" targetFramework="4.0" /> Even if Publish my code in Release Mode. Edit 1 As mentioned in the MSDN Compilation Overview It i...
Dich asked 14/6, 2013 at 11:29

2

I'm trying to write a build system for a website so that I can do a one click build. I'm getting a clean copy of the code from the source code repository and then using msbuild to run a AspNetCompi...
Predictor asked 10/9, 2012 at 9:15

8

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 permitt...
Alvar asked 21/11, 2008 at 21:34

1

Solved

I had two web applications deployed in a site under IIS 7.5 site.com/myApp site.com/anotherMyApp Now another devs deployed their app as root application site.com/ Now when I access site....
Council asked 11/5, 2016 at 12:45

2

I have problems when turning on compilation of views in Visual Studio. I have a fairly standard ASP.NET MVC 5 application, with a lot of references. I reference System.Web.Mvc 5.2.3.0 (latest as of...
Physics asked 29/9, 2015 at 19:51

7

This question is similar, but I think not the same msbuild ASPNETCOMPILER ASPNETRUNTIME startIndex error I have a Web Application which I am trying to publish using Visual Web Developer 2010 Expr...

3

My solution contains some .net projects and one of them is a ASP.NET MVC project, which I'm trying to publish. All configurations are set correctly, x32 and x64, non of them is set to AnyCPU. Prob...

2

Solved

When I open up a Asp Net web site of mine in Visual Studio 2010 the properties say "Target Framework 3.5", however when I try to using the Linq namespace the compiler complains about it. "The type...
Interrupt asked 30/9, 2010 at 10:38

0

I'm trying to pre-compile views for our MVC5.1 application to improve first load performance (see this question for more context). I'm playing with aspnet_compiler.exe: aspnet_compiler -p d:/path...
Grizzly asked 27/2, 2014 at 12:53

1

I have a web project that builds fine on Windows 7 with no error. When I upgraded to Windows 8, compiling the project into a compiled website throws an error. Compiling from the csproj file (not cr...

2

When I recompile my project (asp.net, c#) with aspnet_compiler the rebuilt binaries change (when compared to the previous build) even if no code changes have been made. This, I understand, is due ...
Pelargonium asked 10/1, 2013 at 20:4

2

Solved

So, one of my websites has a PreApplicationStartMethod that should run before the application starts: [assembly: PreApplicationStartMethod(typeof(ServiceStackAppHost), "Start")] This methods doe...
Ophthalmitis asked 30/11, 2012 at 9:51

© 2022 - 2024 — McMap. All rights reserved.