Compiling your code - Express vs. VS2005
Which is right? Is compiling upong deployment (so I don't have to share my code) a feature that currently exists in Express? Or will it appear in the final version?
Thanks for your assistance.
Bill
Which is right? Is compiling upong deployment (so I don't have to share my code) a feature that currently exists in Express? Or will it appear in the final version?
Thanks for your assistance.
Bill
That said, you can compile your application using the command line using the precompile tool that ships in the .NET Framework. Hope this helps.
Omar (msft)
Blah! What's up with that? Why do they feel like they have to add some sort of confusion to us developers? *sigh*
Here's what I do: Open notepad, insert:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler -v /MySite -p "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\MySite" -u -f C:\Websites\MySite
pause
Save as "Build.bat"
That'll do it. You should run the compiler with /? to see what all it can do, but the above script basically compiles my application, and outputs it to C:\Websites\MySite. The -f switch tells it that the application is updateble, and the -u switch tells it to overrite everything that was in C:\Websites\MySite.
Thought I'd post this for those devs who don't know what to do... I'm sure this question will be raised a LOT. So the above command works nicely. Again, you should run the compiler with the help switch on, just to familiarize yourself with it.
// joshua m. (mcp)