Is it possible to add data files to a ClickOnce project despite warning MSB3178?
Hello everyone:
I am trying to deploy a C++/CLI application “App_real.exe” using ClickOnce Deployment under MSVS 2008. To do that, I have a C# launcher application “App_deploy.cs” that simply starts “App_real.exe”, as described in that blog.
When I build “App_deploy.cs”, I get “warning MSB3178: Assembly App_real.exe' is incorrectly specified as a file.” Apparently there is nothing to do about that warning, as people concluded in that thread. Now, my problem starts when I want to add data files to the ClickOnce project. As described in that page, I need to edit the manifest using MageUI.exe. When I add the data files and try to save the manifest, I get the same warning again “Warning MSB3178: Assembly 'App_real.exe' is incorrectly specified as a file.” When I publish the project, I cannot find the data files in the local ClickOnce directory “Local Settings > Apps > 2.0 >Data > …”
Hence my question: Is it possible to add data files to a ClickOnce project despite warning MSB3178?
Thank you.