This question is locked. New answers and comments are not allowed.
Hello,
I've 2 Icenium projects loaded in my Visual Studio solution with linked files between the projects. It's running fine in the simulator (with a small modification at the end of the iceproj file), as follow:
But when I build the project in cloud, the linked files are not included in the zip file that is uploaded to the Icenium servers. The ZIP file I'm speaking about is in the "%project_folder%/obj/Debug" folder.
How can I force Visual Studio to include these linked files in the package before it is uploaded to Icenium servers? Would it be possible to use the build or post-build events? My preferred option would be a modification of the .iceproj file,
Thanks for your help.
Bastien
I've 2 Icenium projects loaded in my Visual Studio solution with linked files between the projects. It's running fine in the simulator (with a small modification at the end of the iceproj file), as follow:
<
Import
Project
=
"$(IceniumTargets)Build.targets"
/>
<
Target
Name
=
"CopyLinkedFiles"
BeforeTargets
=
"Build"
>
<
ItemGroup
>
<
LinkedItem
Include
=
"@(Content)"
Condition
=
"%(Content.Link) != ''"
/>
</
ItemGroup
>
<
Copy
SourceFiles
=
"@(LinkedItem)"
DestinationFiles
=
"%(LinkedItem.Link)"
/>
</
Target
>
But when I build the project in cloud, the linked files are not included in the zip file that is uploaded to the Icenium servers. The ZIP file I'm speaking about is in the "%project_folder%/obj/Debug" folder.
How can I force Visual Studio to include these linked files in the package before it is uploaded to Icenium servers? Would it be possible to use the build or post-build events? My preferred option would be a modification of the .iceproj file,
Thanks for your help.
Bastien