@echo off
C:
Cd \
Cd Windows
CD Microsoft.NET
CD Framework
CD v4.0.30319
set /p phyPath= Enter Physical path in double quotes:-
set /p virPath= Enter Virtual path in double quotes:-
aspnet_compiler.exe -p %phyPath% -v / %virPath% -u
echo process completed
pause
I'm using the above script in a batch file to compile as ASP.NET MVC 3 website.When executed successfully, from one machine, all my .cshtml files are copied to the Virtual path bin directory. Also a new App_Web_********.dll
file is created.
From another machine, no .cshtml are copied to the Virtual path bin folder & as a result, latest changes made in views are not reflected when the compiled code is deployed. Also a new App_Web_********.dll
file is NOT CREATED
Does any one know why i could be getting this mismatch on two machines on the same source code?