8000 Use assembly information version for console runner splash banner. by codito · Pull Request #751 · microsoft/vstest · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Use assembly information version for console runner splash banner. #751

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

Merged
merged 6 commits into from
Apr 26, 2017

Conversation

codito
Copy link
Contributor
@codito codito commented Apr 25, 2017

It will help determine the exact version of runner used in case of user
reported issues.

It will help determine the exact version of runner used in case of user
reported issues.
@codito codito requested review from smadala and Faizan2304 April 25, 2017 02:13
@msftclas
Copy link

@codito,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

#else
assemblyVersion = FileVersionInfo.GetVersionInfo(assembly.Location).ProductVersion;
#endif
assemblyVersion = assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion;
string commandLineBanner = string.Format(CultureInfo.CurrentUICulture, CommandLineResources.MicrosoftCommandLineTitle, assemblyVersion);
this.Output.WriteLine(commandLineBanner, OutputLevel.Information);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can add Assert statement for this in anyone of acceptance test?

@codito codito merged commit a86efa6 into microsoft:master Apr 26, 2017
@codito codito deleted the console-version branch April 26, 2017 04:07
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.

5 participants
0