File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/YTest.MTP.XUnit2/MTPFramework Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ internal sealed class XUnit2MTPCommandLineProvider : ICommandLineOptionsProvider
1919
2020 public string Uid => nameof ( XUnit2MTPCommandLineProvider ) ;
2121
22- public string Version => "1.0.0" ;
22+ public string Version => XUnit2MTPExtension . Instance . Version ;
2323
2424 public string DisplayName => "XUnit2 MTP Command Line Provider" ;
2525
Original file line number Diff line number Diff line change 1- using System . Threading . Tasks ;
1+ using System . Reflection ;
2+ using System . Threading . Tasks ;
23using Microsoft . Testing . Platform . Extensions ;
34
45namespace YTest . MTP . XUnit2 ;
@@ -13,7 +14,7 @@ private XUnit2MTPExtension()
1314
1415 public string Uid => nameof ( XUnit2MTPTestFramework ) ;
1516
16- public string Version => "1.0.0" ;
17+ public string Version => typeof ( XUnit2MTPExtension ) . Assembly . GetCustomAttribute < AssemblyInformationalVersionAttribute > ( ) ! . InformationalVersion ;
1718
1819 public string DisplayName => "XUnit 2 Microsoft.Testing.Platform adapter" ;
1920
You can’t perform that action at this time.
0 commit comments