cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
PauSetup
Level 3

TFS & ISLE: The specified File key not found in the File Table

Hello,

I have a ISLE project that generates a single MSI. The solution I am trying to build is a very simple one (one project with a primary output). It works from Visual Studio IDE but fails in TFS (same machine, anyway).

The TFS result seems OK, however the resulting MSI does not work. It says: The specified File key "myapplicationname.resultado_pri" not found in the File Table.

I verified that the MSI generated from TFS is smaller than the one generated from Visual Studio.

It seems TFS is not able to find and to include the generated dll into the MSI file...

I've checked this, bit it doesn't seem to apply: http://kb.flexerasoftware.com/selfservice/viewContent.do?externalID=Q107162


Need help.
0 Kudos
(7) Replies
PauSetup
Level 3

Hello again,

I've found a warning that may help to find the problem. TFS says:

InstallShield.targets: -1527: No files are included in the project.

WHY? Obviously, I've include the primary output, and it works when running on Visual Studio IDE. Why is not working on TFS?

What can cause the "No files are included in the project" message?
0 Kudos
Shekar
Level 7

Make sure that you have an InstallShield.targets file located under the the following location on your TFS build machine: C:\Program Files (x86)\MSBuild\InstallShield\2012SpringExpress\InstallShield.targets.
0 Kudos
PauSetup
Level 3

Shekar wrote:
Make sure that you have an InstallShield.targets file located under the the following location on your TFS build machine: C:\Program Files (x86)\MSBuild\InstallShield\2012SpringExpress\InstallShield.targets.


I have it. This is the file I have: https://dl.dropbox.com/u/6286874/temp/InstallShield.targets

It is not a TFS problem. I can reproduce it using MSBUILD.

This is a sample solution I use to reproduce the problem:

-Using ISLE: https://dl.dropbox.com/u/6286874/temp/WindowsApplication1.zip
-Using IS Express: https://dl.dropbox.com/u/6286874/temp/WindowsApplication2.zip

The ZIP file also contain the msbuild log file, and the MSI files generated...

Thanks for your help!!
0 Kudos
Shekar
Level 7

It looks like the MSBuild/TFS is trying to use .Net Framework 3.5; however, .Net Framework 3.5 is not installed on the system.
You can check which version of .NET Framework is installed on the build system and try setting the ToolVersion element in the .isproj file accordingly.
For instance, if .NET Framework 4.0 is installed on the build system, then change the *.isproj file is from ToolsVersion="3.5" to ToolsVersion="4.0
0 Kudos
PauSetup
Level 3

Shekar wrote:
It looks like the MSBuild/TFS is trying to use .Net Framework 3.5; however, .Net Framework 3.5 is not installed on the system.
You can check which version of .NET Framework is installed on the build system and try setting the ToolVersion element in the .isproj file accordingly.
For instance, if .NET Framework 4.0 is installed on the build system, then change the *.isproj file is from ToolsVersion="3.5" to ToolsVersion="4.0


I have changed the ToolsVersion configuration, and the build does not work neither. Same warning:

warning : -1527: No files are included in the project.

It has been very easy to reproduce the misbehaviour in different clean systems... Do you think is something wrong with the InstallShiled project? Or there is a problem with my machines configuration (may be a language issue)?
0 Kudos
Shekar
Level 7

It looks the Visual Studio API call to resolve the project output is failing on with MSBuild on the TFS build agent. Could you please confirm if the TFS build agent/system is the same system where the Visual Studio IDE successfully performs the build.
0 Kudos
PauSetup
Level 3

Shekar wrote:
It looks the Visual Studio API call to resolve the project output is failing on with MSBuild on the TFS build agent. Could you please confirm if the TFS build agent/system is the same system where the Visual Studio IDE successfully performs the build.


Yes. Everything is installed in my desktop.

I think the problem is related with the fact that the IS project was created with a spanish configuration (both: VS and IS).

Could you build the project in your system using MSBUILD?

Everything is here: https://dl.dropbox.com/u/6286874/temp/WindowsApplication1.zip
0 Kudos