Dotnet run should not pass ` --additionalprobingpath` to net45 apps
Steps to reproduce
- Build
net451app that dumps its argumets dotnet runit
Expected behavior
Managed app gets no arguments
Actual behavior
Managed app gets --additionalprobingpath argument
/cc @pranavkm @brthor @piotrpMSFT
@schellap
What is a net451 app? I have this in my project.json and I couldn't repro it.
{
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0-rc2-23930"
}
},
"frameworks": {
"netstandardapp1.5": {}
}
}
@schellap set framework to net451 and it will target desktop
Well, in that case corehost is not even involved.
This is blocking us. It's a bug in dotnet-run, not corehost. It always passes in those flags regardless of target framework, we just need to check.
Is this one complete now that the linked PR is merged?