index > ClickOnce and Setup & Deployment Projects > Question on VS 2005 publishing ClickOnce application

Question on VS 2005 publishing ClickOnce application

Hi,

I have a C# Windows application that I want to publish it as ClickOnce installable.  On the project's properties' Publish tab, I click on the button "Application Files" to try to include some other assemblies that I build in different solutions.

The question I have is: how does Visual Studio know what files to be populated onto the grid? Is there any way to add files (e.g. dlls from different solutions, database files) to the grid?

Thanks in advance.

LLee
LLee

ClickOnce looks at the project's properties, including it's calculated dependencies.  If you have a reference to an assembly, it should show up in the Files dialog, unless that assembly is in the GAC, where we'll mark it for non-deployment as a pre-requisite.

You can add additional files by adding them to your project and marking their Build Action property to Content (or DataFile if appropriate).

 




David Guyer - Deployment Technologies Group QA
David Guyer MS
reply 2

You can use google to search for other answers

 

More Articles

• Program launch after deployment
• When I publish my sample 'Personal Website' to my Windows Server ...
• Delete files on target machine from a setup project
• Optional Download of .Config file in Visual Studio 2005 Team Suit...
• service auto update
• Deploying a system
• Async calls to webservice
• User consent prompt
• Customizing Windows Installer
• In Win2000 OS, add/remove program can't display Icon.
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Stop update of APP.config
• Auto Deployment of Web application
• no registry keys are created on x64
• Could not find InstallState
• Keeping custom directory structure durin
• C# VS2005 - Installing deployed applicat
• ClickOnce executable names
• Windows Installer Automation
• 64-bit setup project
• Using Microsoft.Build.Tasks.Deployment.M
• Browser opening the .application file
• MSI: "Error writing to file: ******
• publish.html is not sent to the server
• Click once not working
• "Config file is on another site&quo

Hot Articles

• StrongNameIdentityPermission
• Include subfolder in exe place
• Command Line Agrument in Click Once Depl
• Windows XP development and Windows 2003
• Prerequisites uploading for each new Build
• Missing Fields in Crystal 11
• Does "ClickOnce" download the
• Updating database using ClickOnce
• How to set user Account in vs.net 2003 ??
• I unchecked "Automatically generate
• Arguments in URL to start Smart Client
• SecurityException using Assembly.Load
• Q305624 hosting controls from the filesy
• c# and .mdb or any other database applic
• Preparing for ClickOnce?

Recommend Articles

• Windows does not recongize that i just i
• Windows Application Setup
• Web Seup projects and port numbers
• Keeping settings between Clickonce updates
• Install delay signed assemblies using VS
• Beta 2 to Latest CTP?
• Please tell Microsoft about this problem
• Application or Source or Temp Path???
• ClickOnce deployment as a local administ
• Forms control not displaying in IE on XP
• param tag does not work!!!
• problem with signing application and dep
• ClickOnce error while starting setup
• Smart Clients & .Net
• need code for custom update checking...