You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's awesome that the AssemblyInfoCreator / AssemblyInfoSettings classes allow for creating AssemblyInfo files with multiple InternalsVisibleTo attributes, but the AssemblyInfoParseResult only exposes a single string property which pulls in the first InternalsVisibleTo defined in the file. I'm using Cake to read in AssemblyInfo files that are under version control, parse them, rev the versions, inject some company/trademark info, then copy that info into a new Cake-generated AssemblyInfo using AssemblyInfoCreator. I'd like to be able to use the built-in AssemblyInfo parsing, but I have a few AssemblyInfo files that define multiple InternalsVisibleTo attributes.
Am I missing some obvious way to accomplish this, or is this a good candidate for an update to AssemblyInfoParseResult?
The text was updated successfully, but these errors were encountered:
@appakz Sorry for not responding until now but I completely missed this issue for some reason.
I went ahead and fixed this for you in #825 and it will hopefully be available in the 0.11.0 release.
This PR adds support for parsing multiple InternalsVisibleTo
attributes from an AssemblyInfo.cs file. The tests for
parsing and creating AssemblyInfo.cs has also been refactored.
This PR also introduces a breaking change since the
property has changed from a string to a List<string>.
Closescake-build#801.
It's awesome that the AssemblyInfoCreator / AssemblyInfoSettings classes allow for creating AssemblyInfo files with multiple InternalsVisibleTo attributes, but the AssemblyInfoParseResult only exposes a single string property which pulls in the first InternalsVisibleTo defined in the file. I'm using Cake to read in AssemblyInfo files that are under version control, parse them, rev the versions, inject some company/trademark info, then copy that info into a new Cake-generated AssemblyInfo using AssemblyInfoCreator. I'd like to be able to use the built-in AssemblyInfo parsing, but I have a few AssemblyInfo files that define multiple InternalsVisibleTo attributes.
Am I missing some obvious way to accomplish this, or is this a good candidate for an update to AssemblyInfoParseResult?
The text was updated successfully, but these errors were encountered: