aspnet-compiler

System.Linq namespace missing even with reference to System.Core.Dll

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 or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)" "The type or namespace name 'Linq'...

ASPNETCOMPILER: Circular file references are not allowed. --- no details on where to find it

Hi, I've seen the Circular file references are not allowed. before and have been able to fix it using suggestion from e.g. this stackoverflow thread. That's because the aspnet_compiler was kind enough to tell me which files to look at when the error was thrown. Today I'm facing this error again but interestingly enough only when buildi...

Why Visual Studio doesn't adds AspNetCompiler settings in solution file for configurations different from standard (Release/Debug)?

I have 3 build configurations for my solution: Release, Debug, and Custom. Also I have WebSite (yes, not a WebApplication) project type. By default, when you create WebSite VisualStudio 2008 adds to the solution file following sections: Debug.AspNetCompiler.VirtualPath = "/MyWebSite" Debug.AspNetCompiler.PhysicalPath = "MyWebSite\" Debu...