By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,500 Members | 2,766 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,500 IT Pros & Developers. It's quick & easy.

Howto Publish website for RELEASE

P: n/a
I am having trouble publishing a website for RELEASE.

1. web.config: <compilation defaultLanguage="vb" debug="false">

2. in Configuration manager I set the configuration to Release for the
website

3. in Configuration manager I set the Active solution configuration to
Release

4. I rightclick the website and click Publish website

Then, in the ouput window:
------ Build started: Project: http://localhost/xxx/, Configuration: Debug
..NET ------
------ Publish started: Project: http://localhost/xxx/, Configuration: Debug
..NET ------
Why doesn't it says

------ Build started: Project: http://localhost/xxx/, Configuration:
Release.NET ------
------ Publish started: Project: http://localhost/xxx/, Configuration:
Release.NET ------
How do I get a release build for my website?
/k
Oct 19 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Web projects, under .NET 2.0, are not "compiled", as far as I know by Visual
Studio. The ASP.NET framework compiles them and places them in the %systemroot%\Microsoft.NET\Framework\{version}\Tem porary
ASP.NET Files directory when the application is run.

If you have additional projects in your solution, such as DAL or BLL, you
should see them showing up as Release and compiling into the /bin/Release
directory rather than the /bin/Debug directory.
------ Build started: Project: _Data, Configuration: Release Any CPU ------
_Data -{PATH}\bin\Release\_Data.dll

------ Build started: Project: _Biz, Configuration: Release Any CPU ------
_Biz -{PATH}\bin\Release\_Biz.dll

------ Build started: Project: CIPReport, Configuration: Release Any CPU
------
_Report -{PATH}\bin\Release\_Report.dll

------ Build started: Project: {Path}\web\, Configuration: Debug .NET ------

With that, to ensure a 'release' build of your web site, you can use the
Publish command inside of VS2005 or the Web Site Deployment (http://msdn.microsoft.com/library/de...t_projects.asp)
projects. Unfortunately, I cannot comment on the latter as I haven't had
extensive use of it; I publish using Publish.

Hope this helps!

-dl

--
David Longnecker
Web Developer
http://blog.tiredstudent.com
I am having trouble publishing a website for RELEASE.

1. web.config: <compilation defaultLanguage="vb" debug="false">

2. in Configuration manager I set the configuration to Release for the
website

3. in Configuration manager I set the Active solution configuration to
Release

4. I rightclick the website and click Publish website

Then, in the ouput window:
------ Build started: Project: http://localhost/xxx/, Configuration:
Debug
.NET ------
------ Publish started: Project: http://localhost/xxx/, Configuration:
Debug
.NET ------
Why doesn't it says

------ Build started: Project: http://localhost/xxx/, Configuration:
Release.NET ------
------ Publish started: Project: http://localhost/xxx/, Configuration:
Release.NET ------
How do I get a release build for my website?

/k

Oct 19 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.