473,413 Members | 1,679 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 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 2970
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Graham | last post by:
I noticed a similar post awhile ago and in terms of my problem it wasnt a suitable answer so I will ask again. I have VS2005 running a on development machine in my office where I do all my...
5
by: NoNickname | last post by:
Basically, how do I know that the release versions of all components are being published? The Build | Configuration Manager is confusing me a little in VS2005. I have three projects in my...
1
by: Hardy Wang | last post by:
Hi all, I develop web application on my local machine, when it is ready to go, I click Build -> Publish Web Site menu item to copy to remote folder, which is good. Now I have a question, is...
1
by: cadonahue | last post by:
VS 2005 Professional RTM (8.0.50727.42) on Windows 2000 ASP.NET website Last week I converted a 1.1 ASP.NET (VB) project to 2.0. The conversion was painless on the VB code side. It was a lot of...
10
by: WT | last post by:
Hello, I have been publishing my web site many times to the remote where resides my final web site. Everything was ok, but to-day, without any configuration change, vs doesn't copy final files...
2
by: NH | last post by:
I am a bit confused with the difference between building and publishing a website using asp.net 2.0. Currently I build the website up to the server (in the config manager this is in "Debug"...
3
by: mrajanikrishna | last post by:
Hi friends, I've designed an application in my local system using VS.NET 2003. (VB.NET and ASP.NET) Its working fine. Now, I want to publish to my ISPs server. I've FTP account. How can I...
6
by: Eric | last post by:
I have what is hopefully a quick question. I want to have a quick and easy method for deploying my website to our test environment. I need something to do nearly the same thing as the "Publish...
4
by: Paul Engel | last post by:
I have an app that published fine to our network. We just moved to a new server and I am trying to publish my app to the new server. It fails and I get the following messages: Error 1 Cannot...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.