I'm using Xenocode in my application so that it works without a .NET framework. I'm using Xenocode Virtual Application Studio(version 6.1). Everything works fine except the .sdf file which I have embedded inside the application directory. actually in the application the instead of SQL server i have used SQL Compact edition(3.5) and i have included the reqired dll . All the files are working except the ".sdf" file.
Any idea y is that so? Is it because the ".sdf" file is being used when the xenocode after snapshot was taken? if so what is the solution for that? i cannot avoid using it because Xenocode's after snapshot will not recognise the application if it's not running and if I run the application ".sdf" file will be used.
Anyway to solve this?
It's not 100% clear to me what you've done from your question but I think what's happened is that you either have the actual file as an embedded resource or at least the name of it and Xenocode has obfuscated the name of the resource, so the application can no longer find it. Go into Xenocode and tell it to not obfuscate all of the resources and this will remedy it (assuming my interpretation of the question is correct).