• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1656
  • Last Modified:

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

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
Rynert
Asked:
Rynert
  • 3
1 Solution
 
talker2004Commented:
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
 
talker2004Commented:
All the options you mention are part of the vs2008 web deployment project add-in
0
 
talker2004Commented:
Here is a screenshot
Untitled.jpg
0
 
RynertAuthor Commented:
Thats great thanks - very clearly explained.

Many thanks, Lee
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now