Structure of ASP projects
In Visual Studio you can build and publish a web application using right click in a ASP.NET project -> Publish
A simple Web Application in ASP .NET will generate:
/ |
*.aspx |
ASP pages |
/ |
Web.config |
|
/bin/ |
artifact.dll |
project assembly |
/bin/ |
artifact.pbd |
program debug database |
/bin/ |
*.dll |
assemblies required |
This can be deployed to IIS
The normal compilation using the dotnet compiler plugin seems to already generate proper dlls.
Possible solutions
Create a dotnet:asp type that generates the dll in target/artifactId/bin and copies all aspx files to target/artifactId
That folder could be zipped to be installed in the repo, or maybe create a msi package
Precompilation of ASP pages
The SDK provides a ASP .NET precompiler aspnet_compiler that can be used to check for errors in the ASP pages 2
