开发者

HowTo deploy all files of .NET Compact Framework Application (incl. Subfolders)?

I have a .NET Compact Framework Application wh开发者_StackOverflow中文版ich has subfolders containig some files.

For these files Build Action" is set to "Content" and "Copy to Output folder" is set to "Copy Always".

If i build the project, i can see the subfolders containig the files in the Debug/Release folder, but after a Deploy only the files from root Debug/Release-folder gets copied to the device; the subfolders aren't on the device.

Found that the problem exists, when i reference a project (dll-project) containing a subfolder: this subfolder is in the Debug/Release-folder of the main program, but not on the device (a main program containing a subfolder works fine)


You must set the referenced project to deploy and set it's deploy folder to match that of the consuming EXE's deploy folder.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜