DotNetCorePlugins/Directory.Build.props
Nate McMaster fad7d2f5a4
Fix #12 - Give base-path the lowest precedence when searching for managed libraries
This fixes assembly loading for System.Drawing.Common. This package was a rare case of a package with both runtime agnostic and runtime-specific versions of the managed library. This means the .NET Core SDK will dump System.Drawing.Common.dll in the plugin base path *as well as* a version in the runtimes/ folder. In this case, corehost actually treats the runtime specific asset with higher priority.

This change updates the ManagedLoadContext to imitate this behavior.
2018-10-20 16:49:07 -07:00

35 lines
1.7 KiB
XML

<Project>
<Import Project="version.props" />
<Import Project="releasenotes.props"/>
<PropertyGroup>
<Authors>Nate McMaster</Authors>
<Product>DotNetCorePlugins</Product>
<Copyright>Copyright © Nate McMaster</Copyright>
<NeutralLanguage>en-US</NeutralLanguage>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<PackageLicenseUrl>https://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/natemcmaster/DotNetCorePlugins</PackageProjectUrl>
<RepositoryUrl>https://github.com/natemcmaster/DotNetCorePlugins.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<DebugType>embedded</DebugType>
<IsPackable>false</IsPackable>
<LangVersion>7.2</LangVersion>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)src\StrongName.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<AzureKeyVaultUrl>https://nmcmaster.vault.azure.net</AzureKeyVaultUrl>
<AzureKeyVaultClientId>6a27a2da-bb78-4baa-bd2b-150fe89ea039</AzureKeyVaultClientId>
<AzureKeyVaultClientSecret>$(KEYVAULT_CLIENT_SECRET)</AzureKeyVaultClientSecret>
<CodeSignCertName>DigiCertCodeSign</CodeSignCertName>
<NoWarn>$(NoWarn);NU5105</NoWarn>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateFullPaths Condition="'$(VSCODE_CWD)' != ''">true</GenerateFullPaths>
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory).build\obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<BaseOutputPath>$(MSBuildThisFileDirectory).build\bin\$(MSBuildProjectName)\</BaseOutputPath>
</PropertyGroup>
</Project>