Changing file name of itemgroup
I have a bunch of
<Variable Include="path.dll">
entries, and I want to change the filenames to add a prefix.
The variable path can be relative or absolute (even just the file name).
How might I do this?
For example, path1.dll;/test/path/two.dll;../three.dll
would generate prefix_path1.dll;/test/path/prefix_two.dll;../prefix_three.dll
3 Replies
There's very little one can do to these
Look if any of the predefined tasks do what you want
If they don't, I'd pass on doing it in MSBuild
You'll be in a world of hurt if you try
Just write them to a file, run a script, and read it back
Once I had to filter out subpaths of a certain path
Spent 5 hours, got nowhere
It's just not worth it
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
Thanks for the links, I'll check them out