Solved

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

Posted on 2008-10-21
4
1,634 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Explain Unit of Work pattern 2 48
Using MS Code on my Mac 6 47
How do I get the id from URL? 19 48
Re-position the objects 7 52
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…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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 discusses moving either the default database or any database to a new volume.

760 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

22 Experts available now in Live!

Get 1:1 Help Now