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

Smart device cab project creates incorrect cab file with multiple files with the same name
sathish_sh
Please see this:
http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_frm/thread/9fc08a77dd76cfe9/3bcbf7434f2a1be4 &hl=en#3bcbf7434f2a1be4
This issue will be documented in next version of Windows Mobile SDK, so workaround will be relevant for some time.< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Maruti
Ok, thanks a lot for the replies.
The workaround that was mentioned in the second link worked indead, but it involves a lot of processing for each identical file. And since there are quite a lot of identical files, I've decided to take another approach and use different filenames.
I believe this issue is allready known at microsoft, so I haven't filed a bugreport. I hope this issue will be fixed in the next update for visual studio.
wilbour
Hi Sander
This is most likely a bug in the mobile development tool chain. Your issue seams to be similar to the following problem: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=117453
So please file a bug at https://connect.microsoft.com/VisualStudio/Feedback
Michael