Summary
This article provides information regarding how to workaround the build warning -6248.Symptoms
The following warning is seen when building inside Visual Studio.NET 2003 environment with at least one "Project Output" added to an InstallShield project. Also, the ".NET Scan At Build" setting for the "Project Output" component is set to "Dependencies and Properties."
"Warning -6248: Could not find dependent file [1], or one of its dependencies of component [2]"
Cause
InstallShield relies on the DTE object of Microsoft Visual Studio.NET 2003 to provide the output location of Visual Studio.NET project builds. However, this object is returning the incorrect path in some cases.
This behavior only happens when project outputs are added in VS.NET 2003. It occurs when the added "Primary Output" of a VS.NET project depends on the "Primary Output" of a different VS.NET project which in turn also has dependencies. These last dependencies are not located during the build process.
Workaround
There are several available workarounds:
- This problem does not occur when using Microsoft Visual Studio.NET 2005. So it is possible to upgrade from VS.NET 2003 to 2005.
- Instead of adding the "Primary Output" of a VS.NET project, it is possible to simply directly add the files built for a VS.NET project.
- Manually include the files identified in the warning messages during the build process before building.
- Copy the dependent files identified in the warning messages during the build process to the .NET 1.1 installation directory: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
Additional Information
For more information on Visual Studio .NET integration please see the InstallShield Help topic, "Integrating with Microsoft Visual Studio"
Was this helpful?
Related Articles
Warning -6248 8Number of Views Build Error When Building a InstallAnywhere Project through a 3rd-Party Application Like Visual Studio 8Number of Views Visual Studio Does Not Recongize My InstallShield Project File In My Build PC 5Number of Views Manually Enable Integration with All Versions of Visual Studio .NET 4Number of Views Build Only The InstallShield Project When Integrated With Visual Studio 4Number of Views
Revenera Assistant
Online
Hi, I am Reva - Ask me anything.
Updates
No new updates
Chat
Home
Updates
/**/
Thanks for the feedback!
Your feedback has been saved.Rate this response:
1
2
3
4
5
Add Additional feedback ( Optional )
0/240
English
English
Language changed successfully
Something went wrong
Email sent successfully
Something went wrong
Case create successfully
Are you sure you want to cancel
the case creation?
Please select a product to submit the case.
Please select a product version to submit the case.
0/255
Upload Attachment
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Are you sure you want to cancel the case creation?
Case closed successfully
File Upload
Maximum file size allowed is 3 MB.
File type not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Revenera Assistant
© 2026 Flexera Software. All Rights Reserved.
Case id: 00001065
Activity: Status change: 2 hours ago