[tests] Stop hardcoding system assembly version number in linker tests. (#14668)
Another step towards .NET 7.
This commit is contained in:
Родитель
7a0c7428b8
Коммит
34dfcbf3aa
|
@ -78,7 +78,7 @@ namespace LinkAll {
|
|||
|
||||
string name = (typeof (BuiltInConverter).GetCustomAttributes (false) [0] as TypeConverterAttribute).ConverterTypeName;
|
||||
#if NET
|
||||
var typename = "System.ComponentModel.BooleanConverter, System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
|
||||
var typename = $"System.ComponentModel.BooleanConverter, System.ComponentModel.TypeConverter, Version={typeof (int).Assembly.GetName ().Version}, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
|
||||
#else
|
||||
var typename = "System.ComponentModel.BooleanConverter, System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e";
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче