I know this is a bit of a nub question, but I mostly program WinForms, and the few ASP.NET projects I have are still in 1.1.

In ASP.NET 2.0, when I select to Publish a site (via FTP) and Visual Studio takes care of the entire process except for me putting in the FTP password, that is compiling the site in "release" mode right?

I would assume VS would be smart enough to know that if you are publishing the site to an FTP, it should be compiled as the final release product, but I just want to make sure, since things are a bit different than ASP.NET 1.1.