Visual Studio for Linux, not sending updated files to target

Beuken, Brian 0 Reputation points
2025-01-16T09:36:28.8533333+00:00

I have a cross platform project which has 2 targets, PC and Raspberry Pi. The Pi is set up using Visual Studio for Linux. And all basic features work fine.
The 2 targets have start up projects in the solution, but the core project is a shared project which contains all the code, resources and assets, including Shaders..
The issue is only relevent to the Pi target as it requires us to send files to it and thats where I have problems.
I am finding that when I make edits to cpp/h files the updated files are transferred to the target, but other files in the shared project, do not get sent. Only when 1st added/created... even if I remove them from the target, Visual Studio does not resend them. This is especially evident on Shaders with .fs and .vs filenames.. Since these files do need editing and updating from time to time, the lack of automatic update on the target creates issues.
I can do a clean and rebuild, but I should have the same ability to edit update and send as I have with cpp/h files?
I've tried setting various properties for the .vs and .fs files, to exclude or include from build, as well as setting them as content, and resources, but nothing seems to work.

any suggestions?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
41,893 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.