Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case of comby not being compatible with .csproj-file #370

Open
mewid opened this issue Oct 6, 2023 · 0 comments
Open

Case of comby not being compatible with .csproj-file #370

mewid opened this issue Oct 6, 2023 · 0 comments

Comments

@mewid
Copy link

mewid commented Oct 6, 2023

Describe the bug

Not sure if this should be considered a bug or a feature request but:

I am trying to replace a string in my .csproj-file (interpreting it as xml). My file contains this piece:
<ItemGroup> <Folder Include="wwwroot\" /> </ItemGroup>

But even if my string exists in the file, comby cannot find it if it appears after the occurrence of \".

Reproducing
Here we can see that it will not replace the second ItemGroup:
image

Expected behavior
It should replace the specified string after the occurrence of \".

Additional context
I would think that the backslash before the quotation mark likely escapes the quotation, and the whole .xml from there and onwards is corrupted. However, this seems to be a valid format in an .csproj-file, which makes comby impractical to use in certain scenarios. To support this scenario would be of great value when developing in .Net.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant