472,096 Members | 1,244 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,096 software developers and data experts.

Howto Publish website for RELEASE

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
1 2874
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.

Similar topics

8 posts views Thread by Graham | last post: by
5 posts views Thread by NoNickname | last post: by
1 post views Thread by Hardy Wang | last post: by
1 post views Thread by cadonahue | last post: by
10 posts views Thread by WT | last post: by
2 posts views Thread by NH | last post: by
3 posts views Thread by mrajanikrishna | last post: by
6 posts views Thread by Eric | last post: by
4 posts views Thread by Paul Engel | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.