Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Warning while adding the primary output to the setup project
 

Warning while adding the primary output to the setup project

Hi,
I'm trying to create setup and deployment for my project. I added the new project with template, Setup and Deployment. When Iadd primary output to the project, I got the following warning.

"The following files may have dependencies that cannot be determined automatically. Please confirm that all dependencies have been added to the project
c:\program files\ultra office control\officectrl.ocx"
Please guide me to solve this problem.
Thanks in advance..
VLSJ  Monday, August 24, 2009 7:32 AM
You should be asking the supplier of that control what dependencies it has. For example, if it's written in some version of C++ it could have a dependency on some C++ runtime support.
Phil Wilson
PhilWilson  Tuesday, August 25, 2009 6:30 PM
Hi VLSJ,

If we add a reference to the component, we need to have it copy to local:
Solution Explorer -> Selectthe dll file in References list-> Properties pane -> Change Copy Local property from False to True

Wecan also copy the component to the project's bin\Release folder:
c:\program files\ultra office control\officectrl.ocx

Let me know if this helps.
Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Tuesday, August 25, 2009 12:38 PM
You should be asking the supplier of that control what dependencies it has. For example, if it's written in some version of C++ it could have a dependency on some C++ runtime support.
Phil Wilson
PhilWilson  Tuesday, August 25, 2009 6:30 PM

You can use google to search for other answers

Custom Search

More Threads

• Unable to install or run the application - System.Web.Abstractions required?
• Manifest Path limit of 100 characters
• Setup Project error - can't add files
• Use Hyperlinks in license-dialog
• Unable to install or run the application - VB.NET Winforms Click Once
• Silent prerequisite install
• Publishing - strange error msg running setup.exe
• mscomctl Version 10.0.4504.0
• Click once and trust license
• Editing Setup Wizard Visual Studio 2005