dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Changing all vcxprojs recursively for the whole solution

  1. #1
    Join Date
    Dec 2010
    Posts
    907

    Changing all vcxprojs recursively for the whole solution

    I have recently moved a project previously created with cmake,
    it annoys me because the paths are absolute, I have to seek every path
    that corresponds to the change.
    Which is time-consuming, tedious and error-prone.
    I wonder what is the batch way of doing this?
    Thanks
    Jack
    Last edited by lucky6969b; July 3rd, 2016 at 08:48 AM.

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,173

    Re: Changing all vcxprojs recursively for the whole solution

    The solution and project files are xml. Load them into a DOM and fix them up.

  3. #3
    Join Date
    Nov 2003
    Posts
    1,902

    Re: Changing all vcxprojs recursively for the whole solution

    When you are in the IDE looking at a project's properties - you can multi-select projects to affect changes in all the selected projects. But this is most useful to ensure all the projects have the same setting (like warning level 4, Unicode, etc...).

    gg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)