diff options
author | Wes Haggard <Wes.Haggard@microsoft.com> | 2018-03-20 00:22:16 +0300 |
---|---|---|
committer | Wes Haggard <Wes.Haggard@microsoft.com> | 2018-03-20 02:50:24 +0300 |
commit | c769ad5ea1b2af59d42864afac8255b948de5f40 (patch) | |
tree | f89dd4d4a086d69017ec2fb6646ff3984bc57068 /src/shims/manual/dir.props | |
parent | 2b6109b055ca68b6d116fcf96217a225c00fd032 (diff) |
Share common props file for manual shims
Share common props file for the manual shims.
Add GenFacadesForceZeroVersionSeeds=true so that the assembly references
for the shims are set to 0.0.0.0 so that they will correctly unify
up and support multiple versions of OOB packages like SqlClient.
Diffstat (limited to 'src/shims/manual/dir.props')
-rw-r--r-- | src/shims/manual/dir.props | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/shims/manual/dir.props b/src/shims/manual/dir.props new file mode 100644 index 0000000000..03a82d2305 --- /dev/null +++ b/src/shims/manual/dir.props @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <BuildConfigurations> + netcoreapp; + uap; + </BuildConfigurations> + <IsNETCoreApp>true</IsNETCoreApp> + <IsUAP>true</IsUAP> + </PropertyGroup> + <!-- need to by-pass the dir.props in the shims directory for this project --> + <Import Project="..\..\..\dir.props" /> + <PropertyGroup> + <AssemblyVersion>4.0.0.0</AssemblyVersion> + <AssemblyKey>ECMA</AssemblyKey> + <IsPartialFacadeAssembly>true</IsPartialFacadeAssembly> + <GenFacadesForceZeroVersionSeeds>true</GenFacadesForceZeroVersionSeeds> + <GenFacadesIgnoreMissingTypes>true</GenFacadesIgnoreMissingTypes> + <IsRuntimeAssembly>true</IsRuntimeAssembly> + <HasMatchingContract>true</HasMatchingContract> + <ContractAssemblyPath>$(NetFxRefPath)$(MSBuildProjectName).dll</ContractAssemblyPath> + <DefineConstants Condition="'$(TargetGroup)' == 'netcoreapp'">$(DefineConstants);netcoreapp</DefineConstants> + </PropertyGroup> +</Project>
\ No newline at end of file |