Smart device cab project creates incorrect cab file with multiple files with the same name

Hi there,

I've created a C# project in Visual Studio 2005 with two 'content files': both named 'setupscreeninfo.xml', but in different folders, and both also have different content.

After that I created a "smart devices cabinet" project, to create a .cab installer file for the C# project.

For some more clarity I've made a screenshot:

http://smaankers.jepraatpoep.nl/upload/bestanden/Smaankers/cabproject.JPG

Now, when I build this solution, it creates a cabinet file with both xml files, but they are the same.. They have the same content, while they should be different files. When I rename one of them to a different filename, I get the two different files in it, so it works.

When I check the outputs of the content files in the 'filesystem' view, I see that the 'target name' and 'source path' are both correct. But somehow VS just picks one of them. Ive also tried to build the VS generated cab inf file using the commandline cabwiz.exe, but then I get the same result.

Is this a bug in VS Or am missing something



Answer this question

Smart device cab project creates incorrect cab file with multiple files with the same name