Solved

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

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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
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…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

728 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