Understand that Express version doesn't offer this option. have looked for a
"deploy" or "publish" option but in vain, while Enterprise or Pro seem to
have it, afa I can read.
MS gave us a gift, but without the red staple.
Max
re:
!> Understand that Express version doesn't offer this option. have looked for a
!> "deploy" or "publish" option but in vain, while Enterprise or Pro seem to
!> have it, afa I can read. MS gave us a gift, but without the red staple.
ASP.NET comes with the tools to compile any .NET code that you
write regardless of the development environment that you prefer to work in.
Sample batch file :
set frmwk=Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
set src=Drive:\vwdsite
set dest=Drive:\vwdsite\compiled
del /F /Q Drive:\vwdsite\compiled\*.*
%frmwk%\aspnet_compiler -v /vwdsite -p %src% %dest% -c
Just substitute your actual boot drive letter anywhere "Drive" appears in the batch file.
After you compile, just upload all the files in Drive:\vwdsite\compiled
Also, you can modify VWD's menu so you can automate
batch compiling your VWD-developed applications.
See this article for the details on how to do that :
http://safari.oreilly.com/9780789736659/ch03lev1sec2
More background info on this process is found at :
http://www.informit.com/articles/article.aspx?p=1073232
As you can see, your gift isn't maimed.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
> Understand that Express version doesn't offer this option. have looked for a "deploy" or "publish" option but in vain,
> while Enterprise or Pro seem to have it, afa I can read.
[quoted text clipped - 16 lines]
>>> Thanks
>>> Max
Max - 10 May 2008 08:38 GMT
Juan,
you really gave me a huge help. I was unable to find such information on the
web, and I searched a lot before posting.
I've tried, and with a syntax similar to yours, I was able to compile a
application and have a server running it (with web dev express 2005!)
Only one question, it seems necessary to have IIS running on the machine
where it is compiled. A virtual IIS directory is needed. I could not compile
in any way from a physical path to a physical path.
Is that true?
Thanks
Max
> re:
> !> Understand that Express version doesn't offer this option. have looked
[quoted text clipped - 61 lines]
>>>> Thanks
>>>> Max
Max - 10 May 2008 08:47 GMT
Correction.
I was able to compile the application from a physical path to another
physical path (C:\aaaa\ to C:\bbb\)
No IIS or virtual path involved. Really happy with that.
Gift is perfectly maimed, and now you can't look inside!!!!
Thanks again
> Juan,
> you really gave me a huge help. I was unable to find such information on
[quoted text clipped - 75 lines]
>>>>> Thanks
>>>>> Max
Juan T. Llibre - 10 May 2008 12:26 GMT
re:
!> Really happy with that
!> Thanks again
You're quite welcome, Max. It's great when obstacles can be removed.
I hope you get a zillion hits a day on your site... ;-)
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
> Correction.
> I was able to compile the application from a physical path to another physical path (C:\aaaa\ to C:\bbb\)
[quoted text clipped - 71 lines]
>>>>>> Thanks
>>>>>> Max