Solved

ASP.NET Deployment as 'publish web application' VS 2008

Posted on 2008-10-21
4
1,636 Views
Last Modified: 2012-06-27
I am looking to deploy a 2008 application into a single assembly DLL (similar to VS 2003 version) as described on msdn article.:

http://msdn.microsoft.com/en-us/library/aa983453.aspx

I other words I am looking to reduce the number of precomplied dlls to be created.

The 'Publish ProjectName'  VS menu item microsoft mention is actually 'Publish Web Site' and no mention of the following checkboxes are on my publish web site dialog:

instructions were:

---
#

In the Build menu, click Publish ProjectName.

The Publish Web dialog box is displayed.
#

Click the ellipsis button (&) to browse to the location that you want to publish the Web application project to.
#

Select the Replace matching files with local copies check box or the Delete all existing files prior to publish check box.
#

Select how you want to copy the Web application project files to the new location by using Only files needed to run this application, All project files, or All files in the source project folder.

You can include files from the App_Data folder by selecting the corresponding check box.
#

Click OK to publish the Web application project.

In the task bar, Publish succeeded is displayed when publishing has finished.
#

Make any configuration changes that are required for the Web application at the target location

---

I have the following checkbox options shown:

'allow this precompiled site to be updateable'

'use fixed naming and single page assemblies'

'enable strong naming on precompiled assemblies'

Where are those that MS mentions?

I've tried all these options and for each I always get a  MyPage.aspx.[random].compiled file created
except with 'allow this precompiled site to be updateable' ticked which causes a run time error for my application so I have been avoiding this.

Can anybody explain if there is in fact a 'publish web application' option available somewhere in 2003 style for 2008 and where the checkboxes MS mentions actually are?

Many thanks.
0
Comment
Question by:Rynert
  • 3
4 Comments
 
LVL 7

Accepted Solution

by:
talker2004 earned 250 total points
ID: 22768185
You will need the vs2008 web deployment project add-in.

The way i use it is copy my solution file and rename it with _Build appended on the solution name. Open the _Build solution and add a web deployment project by right clicking on the project in the solution explorer.

Once the web deployment project is added you simplly right click it and goto properties then the output assemblies menu. This will give you the options to combine your project in a single assembly.




http://www.microsoft.com/downloads/details.aspx?FamilyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&displaylang=en
0
 
LVL 7

Expert Comment

by:talker2004
ID: 22768212
All the options you mention are part of the vs2008 web deployment project add-in
0
 
LVL 7

Expert Comment

by:talker2004
ID: 22768288
Here is a screenshot
Untitled.jpg
0
 

Author Closing Comment

by:Rynert
ID: 31508294
Thats great thanks - very clearly explained.

Many thanks, Lee
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now