This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Build warnings -6245 and -6248 from IS LE that not relevant?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 04, 2014
11:58 PM
Build warnings -6245 and -6248 from IS LE that not relevant?
Hi, I have a web application project and have used IS limited edition to create an installation.
I have 2 different build warnings that I would like to get rid of.
1.
Warning 1 -6245: One or more of the project's components contain .NET properties that require the .NET Framework. It is recommended that the release include the .NET Framework. ISEXP : warning : -6245: One or more of the project's components contain .NET properties that require the .NET Framework. It is recommended that the release include the .NET Framework.
This is true, I do need .net 4.5. but in the Define Setup requirements and Actions I have set .net 4.5 full package as a requirement
2.
Warning 2 -6248: Could not find dependent file Microsoft.Practices.ServiceLocation, or one of its dependencies of component .Common.Primary_output ISEXP : warning : -6248: Could not find dependent file Microsoft.Practices.ServiceLocation, or one of its dependencies of component Common.Primary_output
I have the above warning in my projects that contain Unity. From what I have Googled the Microsoft.Practices.ServiceLocation is optional and only needed if using the IServiceLocator interface..
(see http://msdn.microsoft.com/en-us/library/ff660927(v=pandp.20).aspx)
I am not using this interface, so do not have the need to include it, and the application runs fine without it, so should this be a warning?
Thanks in advance for any help
Peter
I have 2 different build warnings that I would like to get rid of.
1.
Warning 1 -6245: One or more of the project's components contain .NET properties that require the .NET Framework. It is recommended that the release include the .NET Framework. ISEXP : warning : -6245: One or more of the project's components contain .NET properties that require the .NET Framework. It is recommended that the release include the .NET Framework.
This is true, I do need .net 4.5. but in the Define Setup requirements and Actions I have set .net 4.5 full package as a requirement
2.
Warning 2 -6248: Could not find dependent file Microsoft.Practices.ServiceLocation, or one of its dependencies of component .Common.Primary_output ISEXP : warning : -6248: Could not find dependent file Microsoft.Practices.ServiceLocation, or one of its dependencies of component Common.Primary_output
I have the above warning in my projects that contain Unity. From what I have Googled the Microsoft.Practices.ServiceLocation is optional and only needed if using the IServiceLocator interface..
(see http://msdn.microsoft.com/en-us/library/ff660927(v=pandp.20).aspx)
I am not using this interface, so do not have the need to include it, and the application runs fine without it, so should this be a warning?
Thanks in advance for any help
Peter
- Tags:
- lim
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 05, 2014
08:28 AM
for the .Net requirement warning -
There is a difference between setting it as a required package and including it as a redistributable. You can only include the redistributable .Net package if you are using a Setup.exe file, otherwise you just have to ignore the warning.
for the Servicelocation library -
do any of your projects have a reference to that library?
The warning is probably there because there is a scanned dependency between one of the included projects or libraries, ISLE cannot differentiate between an unused secondary reference and a required one. It is possible there is a reference in one of the other included libraries, but since you are not executing that code you won't run into any issues.
There is a difference between setting it as a required package and including it as a redistributable. You can only include the redistributable .Net package if you are using a Setup.exe file, otherwise you just have to ignore the warning.
for the Servicelocation library -
do any of your projects have a reference to that library?
The warning is probably there because there is a scanned dependency between one of the included projects or libraries, ISLE cannot differentiate between an unused secondary reference and a required one. It is possible there is a reference in one of the other included libraries, but since you are not executing that code you won't run into any issues.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)