Determine FX dir using FX_DEPS_FILE#2617
Conversation
|
@brthor, PTAL. |
|
@dotnet-bot test Windows_NT x64 Release Build please |
| var appBase = new FileInfo(typeof(object).GetTypeInfo().Assembly.Location); | ||
| var muxerDir = appBase.Directory?.Parent?.Parent?.Parent; | ||
| var fxDepsFile = GetDataFromAppDomain("FX_DEPS_FILE"); | ||
| if (fxDepsFile == null) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
Fixes #2489 |
|
@dotnet-bot test Windows_NT x86 Debug Build |
|
@piotrpMSFT, this is the last RC bug. I am going to update CLI builds to use a known Muxer next. |
|
@Sridhar-MS could you PTAL? |
| { | ||
| var appDomainType = typeof(object).GetTypeInfo().Assembly?.GetType("System.AppDomain"); | ||
| var currentDomain = appDomainType?.GetProperty("CurrentDomain")?.GetValue(null); | ||
| var deps = appDomainType?.GetMethod("GetData")?.Invoke(currentDomain, new[] { propertyName }); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
LGTM modulo one comment |
| { | ||
| var appBase = new FileInfo(typeof(object).GetTypeInfo().Assembly.Location); | ||
| var muxerDir = appBase.Directory?.Parent?.Parent?.Parent; | ||
| var fxDepsFile = GetDataFromAppDomain("FX_DEPS_FILE"); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This change is