ParseAssemblyInfo fails when AssemblyInfo contains duplicate lines
Open
- Dominant language
- C#
- Stars
- 4.2k
- Forks
- 778
- Avg merge
- 3h 37m
- Merged PRs (30d)
- 21
Description
Came across an AssemblyInfo.cs file containing the following:
```
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
```
This causes `ParseAssemblyInfo` to fail with 'Error: Sequence contains more than one element'
Contributor guide
Research direction
Locate ParseAssemblyInfo and reproduce the failure with the conditional AssemblyInfo.cs example shown in the issue. Trace how duplicate AssemblyConfiguration lines are handled and add regression coverage; done means this input no longer raises 'Sequence contains more than one element'.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100