469,609 Members | 1,870 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,609 developers. It's quick & easy.

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 2761
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
reply views Thread by Solution2021 | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.