I have a string like this:
"MyProduct.Framework.Business.ShopBusiness"
But the assembly name it self is only:
"MyProduct.Framework.Business"
I need to create a string like this:
"MyProduct.Framework.Business.ShopBusiness, MyProduct.Framework.Business"
Because I'm trying to solve this problem: https://stackoverflow.com/a/3512351/375422
So basically I have this:
Type executingClass = Type.GetType(TestContext.FullyQualifiedTestClassName);
And I need something like this:
Type executingClass = Type.GetType(TestContext.FullyQualifiedTestClassName + ", " + Assembly.FromString(TestContext.FullyQualifiedTestClassName));
Is there any built-in method as I invented "Assembly.FromString()" above?
In other words: How can I get Assembly Name of the executing test from TestContext?