Open KirillOsenkov opened 6 years ago
Where is this set?
In two places in Microsoft.Common.CurrentVersions.targets in MSBuild:
The SDK targets are already much better: http://source.dot.net/#MSBuildFiles/C/ProgramFiles/dotnet/sdk/2.1.4/Sdks/Microsoft.NET.Sdk/build/Microsoft.NET.Sdk.props,93
I can work on this, I can prepare a PR.
So this is not a MonoDevelop bug.
Kind of an infrastructure improvement - additional verification that our binaries are resolved from where we think they're resolved from. Let me know if you'd like to track this differently.
@KirillOsenkov we also need to resolve from addin bin folders. I'm looking at this now, but it seems complicated to fix all in all.
Currently
AssemblySearchPaths
is the default:and this is very bad, because our build is very non-deterministic. Instead, it should be:
{CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName};..\..\..build\bin
The output directory also has no business being there, but we heavily rely on it currently, so we can't fix it easily right now.