?
Solved

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

Posted on 2008-10-21
4
Medium Priority
?
1,642 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 7

Accepted Solution

by:
talker2004 earned 1000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

771 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