- Revenera Community
- InstallShield Forum
- Re: Could not find dependent file! Warning -6248!
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Printer Friendly Page
Could not find dependent file! Warning -6248!
C:\Program Files\MSBuild\InstallShield\2011Limited\InstallShield.targets : warning : -6248: Could not find dependent file C1.Win.C1Ribbon.2.dll, or one of its dependencies of component User_Interface.Primary_output
The missing file is required by the feature’s key file. Make sure the missing file is on the build system in the same directory as the feature’s key file.
If the dependency is not required, you can turn off .NET dependency scanning for the feature. To turn off dependency scanning, set the feature’s .NET Scan at Build property to None or Properties Only.
The dll gets copied to the output directory, it just won't get added to the msi? It is a required reference, as when it's removed, the project won't compile.
Any help would be appreciated, as we've been pulling our hair out trying to figure this out. We just recently starting using installshield w/TFS 2010.
Utilizing Dependency Scanners would have been Ideal ,but since this feature is not supported by InstallShield Limited Edition, I suggest you to use Dependency walker which can be downloaded from the following Link
Could you kindly confirm me if you are encountering this Error while building with Team Explorer?
Dependency walker seems a little complicated, but I'm looking at it right now.
If I add the .dlls as Files (destination computer's files) along with Primary Output, they are added to the MSI correctly, but when the .dlls aren't added as files to the setup project and only Primary Output is added, the .dlls are not added to the MSI.
Do you have any other words of wisdom to point kaddy and myself in the right direction?
Thank you very much.
To overcome this error you have to either add the dependent file to the Primary Output location or add a Reference to their Visual Studio project to the dependent file using Visual Studio’s Solution Explorer.
I'm having a problem with dependent files and TFS builds. I have all dependent files added as references in the VS project. When I build the IS2011 LE project inside visual studio all the dependent files are added to the MSI, but when TFS builds it (also when I use MSBUILD command line) lots of the dependent files are missing from the MSI.
Any ideas why, I feel like I keep running at a brick wall. :mad: :eek: :mad:
I am using the InstallShield2019 and the same problem still exists.
Please supply a solution, we about to stop using REVENERA!
@reuvenyusupov : Is your primary dll or dll added in ism file has all the dependencies available in your build machine(where Installshield installed), for ex: if you have create a dll in a machine1 and if you try to build that dll using installshield in machine2 you will see this error, the dll dependencies also copied to machine2.
Can you try the steps in this KB article and see if it resolves the issue
Also, check similar error community discussion
If you still face same error, Please open a case with our Support Team about this issue either by email at firstname.lastname@example.org, or dialing support number provided in below link