Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
112 views

I am learning how to automate the solution building, publishing, and deploying of ASP.NET websites. I am only using C# to execute cmd commands programatically, and I'm currently stuck with the publish ...
NH.beginner246's user avatar
1 vote
2 answers
2k views

I have made a change to a web service in Visual Studio 2019 and although it builds it throws an error when I try to publish. The web service is built on .Net Framework 4.5.1, and the error I'm seeing ...
Colin Plater's user avatar
1 vote
1 answer
2k views

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 ...
mark's user avatar
  • 63.6k
1 vote
0 answers
171 views

I've got a project that contains a script that runs as part of the build process. In this script there is an AspNetCompiler task that doesn't cause any issues when I run the script locally. The task ...
A_H-E's user avatar
  • 11
2 votes
1 answer
3k views

I have an older codebase that uses an ASP.NET Web Site (not an ASP.NET Web App) and am trying to construct a Pipeline for it on Azure DevOps. After running into some difficulty when the process ...
DJ Grossman's user avatar
0 votes
1 answer
445 views

How can I instruct an ASP.net website to use an alternate precompiled folder instead of the default %windir%\Microsoft.NET\Framework\version\Temporary ASP.NET Files? I know how to use aspnet_compiler....
JosephS's user avatar
  • 764
2 votes
0 answers
7k views

I have ordinary ASP.NET project with .NET Framework 4.5.2, It work great as Web Site Projects (WSP), but I try to change this project to Web Application Projects (WAP). I don't change anything in body ...
Viacheslav's user avatar
  • 1,332
1 vote
1 answer
1k views

I have AspNet.MVC application and want to build MVC views during the build (only in Release configuration). I create this target <Target Name="BuildViews" Condition="'$(configuration)'=='...
Степан Ермаков's user avatar
0 votes
1 answer
205 views

I am using IIS 6.2 and able to pre-complie in place an application successfully using C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler.exe using the parameters -p "C:\Windows\Microsoft....
Jon Cluff's user avatar
  • 119
1 vote
1 answer
2k views

I have a .Net solution with a MVC website and an API project in it. The web project has <MvcBuildViews>true</MvcBuildViews> and also <Target Name="MvcBuildViews" AfterTargets="...
Display name's user avatar
19 votes
1 answer
642 views

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, ...
MajorRefactoring's user avatar
8 votes
4 answers
6k views

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 ...
NilsAndreas's user avatar
0 votes
1 answer
548 views

I'm doing an automated publishing using VSTS, the whole process performs publishing on multiple servers, and each has its own specific settings in WEB.config. I was deleting WEB.config before I threw ...
Charles Sousa's user avatar
1 vote
0 answers
717 views

I have no error or warnings when i build my visual studio 2012 solution file. However, when i tried using aspnet_compiler, I got lots of errors such as" Error ASPPARSE: Unknown server tag 'sc:...
Lawrence Wong's user avatar
-1 votes
1 answer
136 views

Why does the request fail even if everything works correctly? public async Task<IActionResult> DeleteUser(String Cod) { var User = await _context.AwsmAppusers.AsNoTracking()....
Cristian's user avatar
11 votes
1 answer
2k views

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 /...
Aixasz's user avatar
  • 448
6 votes
1 answer
11k views

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.com/...
evictednoise's user avatar
1 vote
1 answer
3k views

I have complex solution with a lot of MVC web application projects which have to be built in a specific way. That's why I use custom build project and msbuild utility to build the solution on my local ...
Dmytro's user avatar
  • 17.3k
6 votes
2 answers
7k views

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 ...
Erik A. Brandstadmoen's user avatar
1 vote
0 answers
38 views

Here's the underlying folder structure: | ... | Top.aspx | ... | \---Include ... ClientScriptGlobals.aspx ... \---Config ... Project.config ... ...
ctzdev's user avatar
  • 676
0 votes
1 answer
3k views

Having trouble "passing" this error from ASPNET_Compiler.exe: error CS0103: The name 'TestMath' does not exist in the current context. The function called within TestMath from a user control (.cs) ...
Øyvind Berg's user avatar
0 votes
1 answer
1k views

I'm having some difficulty getting the aspnet_compiler tool to compile my test site. A few years back I had used the tool on another machine without a lot of difficulty but I'm trying to setup a new ...
Conan's user avatar
  • 31
5 votes
0 answers
2k views

I've been trying to use aspnet_compiler to pre-compile my asp.net site in order to avoid or minimize running csc.exe after an application pool recycle. However after running the compiler recycling the ...
M4sterShake's user avatar
3 votes
3 answers
4k views

I have a web application that's failing to publish, from the command line. It's a VS2013 web application project, with a publish profile defined: Publish method: File System Configuration: Release ...
Jeff Dege's user avatar
  • 11.8k
0 votes
1 answer
130 views

I have an in-place website in .NET running on Windows Server 2012. I would like to try pre-compiling it to speed up the first page response. The site is running on a second virtual website in IIS. ...
u07ch's user avatar
  • 13.8k