Skip to content

Empty newlines get inserted on multiline properties #30

@chpoit

Description

@chpoit

Reproduction: Have the following, or similar, in a csproj file

<PropertyGroup>
    <CopyAllFilesToSingleFolderForPackageDependsOn>
      CustomCollectFiles;
      $(CopyAllFilesToSingleFolderForPackageDependsOn);
    </CopyAllFilesToSingleFolderForPackageDependsOn>
</PropertyGroup>

You will end up with :

<PropertyGroup>
    <CopyAllFilesToSingleFolderForPackageDependsOn>
      CustomCollectFiles;

      $(CopyAllFilesToSingleFolderForPackageDependsOn);

    </CopyAllFilesToSingleFolderForPackageDependsOn>
</PropertyGroup>

New lines are added every time the csproj is edited.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions