Skip to content

Loading and saving a .sln solution file changes its content and break target names!  #122

@autoantwort

Description

@autoantwort

If I load a .sln solution file and write it back, I have a lot of diffs because the Writer uses the ActualDisplayName and not the DisplayName when writing an project entry.
For example

-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bdehaldia", "..\bde\haldia\haldia.vcxproj", "{B1541079-334F-437C-8DF6-92C4214DC3C0}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "haldia", "..\bde\haldia\haldia.vcxproj", "{B1541079-334F-437C-8DF6-92C4214DC3C0}"^M

This change does not happen when I "edit" the file through VS by adding a project etc. Also the project is displayed as bdehaldia in VS so the actual display name is actually bdehaldia.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions