asp.net - AspNetCompiler including files that are not in my project -


I am using to build and package a website to deploy using msbuild. When I compile and then publish my project through Visual Studio 2008, everything is good.

However, when I use msbuild, I am getting errors because aspnetcompiler is trying to compile aspx and ascx files which are not included in me i csproj, but still the version control Exists in

I know that I can remove them from version control, but someone can tell me why these files are being compiled?

Here's my msbild work. TargetPath = "$ (PackageDir) \ Web" VirtualPath = "/" PhysicalPath = "$ (buildDirectory) \ Web" force = "true" />

Thanks!

the Aspen Compiler function, which wrapped _aspnet_compiler.exe_, only < Instead of compiling those files in .csproj , compile "compilable" all files in the application. The cheapest is that none of the command line parameters for executable take .csproj as input, only path. (I think someone can argue that he will search .propro in the directory, but this is not possible because it will implement its own issues, as if someone has two projects Files in directory.)

Comments