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

AssemblyInfoFile: add functions to read and update attributes #1073

Merged
merged 2 commits into from
Jan 14, 2016
Merged

AssemblyInfoFile: add functions to read and update attributes #1073

merged 2 commits into from
Jan 14, 2016

Conversation

stendavid
Copy link

Here is a try at adding functions to read and update attributes in assembly info files, which was something I missed when starting to use FAKE

  • UpdateAttributes
  • GetAttributeValue
  • GetAttribute
  • GetAttributes

Regexes are used to match attributes. It's not perfect, but probably enough for most cases. The functions should work for both C#, F#, VB, and C++, but I have actually only tested them with C#.

forki added a commit that referenced this pull request Jan 14, 2016
AssemblyInfoFile: add functions to read and update attributes
@forki forki merged commit d4624e6 into fsprojects:master Jan 14, 2016
@forki
Copy link
Member

forki commented Jan 14, 2016

thanks

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

Successfully merging this pull request may close these issues.

3 participants