-
Notifications
You must be signed in to change notification settings - Fork 654
Feature/630 create assembly info #760
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
Feature/630 create assembly info #760
Conversation
… generated Adds argument /ensureassemblyinfo, when specified and /updateassemblyinfofilename is specified and does not exist we will generate a template of the assembly info file containing only *Version attributes in either cs, fs, vb allowing the version values to be replaced
… generated Adds argument /ensureassemblyinfo, when specified and /updateassemblyinfofilename is specified and does not exist we will generate a template of the assembly info file containing only *Version attributes in either cs, fs, vb allowing the version values to be replaced
… listed When specifying mulitple files the -ensureassemblyinfo switch can not be specified to protect against GitVersion generating multiple files with the same assembly attributes and breaking a build. -updateassemblyinfo Info.cs Info1.cs This will update any known version attributes in both files, if the file does not exist then it will be ignored -updateassemblyinfo Info.cs Info1.cs -ensureassemblyinfo This will cause a warning exception to be thrown as -ensureassemblyinfo can not be specified with multiple files -updateassemblyinfo ..\Common\Info.cs -ensureassemblyinfo Assuming ..\Common\Info.cs does not exist, this will generate an assembly info file at this location based on the embedded template for the file type (cs,vb,fs)
…itVersion into feature/630-create-assembly-info
…semblyinfo and /ensureassemblyinfo
@Philo looks like there are some issues with the CI Build as a result of the changes that you have made. Are you in a position to look into what is going on? Thanks! |
@gep13, I'll take a look, however may not be today |
@Philo not a problem at all 👍 |
… have been specified on the command line
@gep13 - fixed the build now |
@Philo thanks for your contribution here! 👍 |
I think this has a bug in it. It should only add the assembly info attributes in if the filename is specified. I think this is the cause of the assembly info issues since the last release |
Re #630