Using external tools for automation
We will specify aspnet_compiler.exe utility in the external tools of the IDE. So click on tools ïÆ' external tools and you will be shown a dialog box as shown below.
Enter the command , arguments and title as shown in the figure below.
The most important part is the arguments. We have used the "ProjectDir" variable to get the current web project path. So "p provides the project path " V provides where the ASP.NET DLL should be sent. We have given the directory name as "FullyCompiled". The two dots before the directory name suggests that this folder should be in the web directory. So if you web directory is in "c:\Shiv" , then the DLL's will be compiled in "C:\Shiv\FullyCompiled".
-p "$(ProjectDir)" -v / "$(ProjectDir)\..\FullyCompiled"
You will get a compile button in the tool menu as shown below.