aboutcode-org / aboutcode-org/scancode-toolkit
Add parser to recognize C# AssemblyInfo.cs as package metadata
- 主要語言
- Python
- 星號
- 2.6k
- 分支
- 791
- 平均合併
- 1 天 12 小時
- 30 天內合併 PR
- 5
描述
These files are mostly generated from VisualStudio and contain package-like assembly data that end in the PE metadata too once compiled. See also https://raw.githubusercontent.com/OData/odata.net/master/src/AssemblyInfo/AssemblyInfoCommon.cs
Here is an example which should be easy to parse:
```
[assembly: AssemblyTitle("My.Super.Interface")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("My.Assembly.Interface")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("8957c123-13ae-4258-a682-f235437a8f0b")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
```
These files most often live in a subdir `Properties/AssemblyInfo.cs` of the main assembly/project directory they apply to.
貢獻指南
評估
這個 Issue 還沒有評估資料。