ProjectA
- Ссылка на пакет на OtherPackage с версией 1.0. 0
ProjectB - Ссылка на пакет OtherPackage версии 2.0.0
Некоторый код у меня есть< /p>
Код: Выделить всё
public class Program
{
public static void Main(string[] args)
{
var aAssembly = Assembly.LoadFrom("path to assembly a .dll");
var bAssembly = Assembly.GetExecutingAssembly();
// not sure where, if possible, to see the package reference versions here?
if (versionA != versionB)
{
// do something here
}
}
}
Подробнее здесь: https://stackoverflow.com/questions/790 ... they-match
Мобильная версия