803fef6a8b
When checking if the provided assembly is the Entry Point Assembly, we previously just checked if the AssemblyNames were equal, but it turns out AssemblyName doesn't implement Equals, so it was using Reference Equality, which fails. This change uses Assembly.Equals, which has an Equals implementation that works. Also adds some tests to ensure it's working. This unblocks scenarios where the EntityFramework `dotnet-ef` command was trying to read DependencyContext.Default but receiving a null reference.
21 lines
394 B
JSON
21 lines
394 B
JSON
{
|
|
"version": "1.0.0-*",
|
|
"compilationOptions": {
|
|
"emitEntryPoint": true
|
|
},
|
|
"dependencies": {
|
|
"Microsoft.NETCore.App": {
|
|
"type": "platform",
|
|
"version": "1.0.0-rc2-24008"
|
|
},
|
|
"Microsoft.Extensions.DependencyModel": "1.0.0-*"
|
|
},
|
|
"frameworks": {
|
|
"netstandard1.5": {
|
|
"imports": [
|
|
"dnxcore50",
|
|
"portable-net45+win8"
|
|
]
|
|
}
|
|
}
|
|
}
|