cake-build / cake-build/cake

ParseAssemblyInfo does not support verbatim string literals

Open
#1,264 4 comments 0 reactions 0 assignees View on GitHub
Waiting for issuer feedback
Dominant language
C#
Stars
4.2k
Forks
778
Avg merge
1h 15m
Merged PRs (30d)
19

Description

### What You Are Seeing?

AssemblyInfo properties are being omitted if the are written using verbatim string literals

e.g:

```
[assembly: AssemblyProduct(@"Foo "to" the bar")]
```

Will result in an `AssemblyInfoParseResult` with an empty `Product`.
### What is Expected?

That the `AssemblyInfoParseResult` should contain `Product` with value of `Foo "to" the bar`
### What version of Cake are you using?

0.16.1

Contributor guide

Open the contributing guide

Research direction

Locate the ParseAssemblyInfo entry point and reproduce the AssemblyInfo example from the issue. Trace how the AssemblyProduct value is parsed, then verify that the resulting AssemblyInfoParseResult contains Product set to the expected value for a verbatim string literal.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.