diff options
Diffstat (limited to 'src/mscorlib/facade/mscorlib.csproj')
-rw-r--r-- | src/mscorlib/facade/mscorlib.csproj | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/src/mscorlib/facade/mscorlib.csproj b/src/mscorlib/facade/mscorlib.csproj index c3a165d3d5..7d0133af39 100644 --- a/src/mscorlib/facade/mscorlib.csproj +++ b/src/mscorlib/facade/mscorlib.csproj @@ -48,20 +48,13 @@ <DebugType>none</DebugType> </PropertyGroup> - <!-- Some of the type forwards should only be build when targeting Windows. --> - <PropertyGroup> - <DefineConstants Condition="'$(TargetsWindows)'=='true'">$(DefineConstants);WINDOWS_TYPEFORWARDS</DefineConstants> - </PropertyGroup> - <!-- Output paths --> <PropertyGroup> <BaseIntermediateOutputPath>$(RootBinDir)\obj</BaseIntermediateOutputPath> - <!-- Note the trailing '\\' - they are needed so that genfacade does not fail due to an invalid path - In particular, the facadepath is sent in quotes. - And the IntermediateOutputPath is required to end in a '\' in the coreclr repo. This means that the - facadepath ends up being sent as 'mypath\"' and that trips the Path normalization. - Introducing a second '\' tricks the normalization logic to treat this '\\"' as '\"' and not complain. --> - <IntermediateOutputPath>$(BaseIntermediateOutputPath)\$(BuildOS).$(BuildArch).$(Configuration)\facade\\</IntermediateOutputPath> + <!-- IntermediateOutputPath must have a trailing slash, however GenFacades + surrounds the value in quotes when passing as the '-facadepath' argument. + To avoid escaping the trailing quote, use a forward slash. --> + <IntermediateOutputPath>$(BaseIntermediateOutputPath)\$(BuildOS).$(BuildArch).$(Configuration)\facade/</IntermediateOutputPath> <OutputPath>$(BinDir)\facade</OutputPath> </PropertyGroup> @@ -70,10 +63,6 @@ </ItemGroup> <ItemGroup> - <Compile Include="TypeForwards.cs" /> - </ItemGroup> - - <ItemGroup> <None Include="project.json" /> </ItemGroup> @@ -97,6 +86,24 @@ <SeedTypePreference Include="System.Console"> <Assembly>System.Console</Assembly> </SeedTypePreference> + <SeedTypePreference Include="System.IO.BinaryReader"> + <Assembly>System.IO</Assembly> + </SeedTypePreference> + <SeedTypePreference Include="System.IO.BinaryWriter"> + <Assembly>System.IO</Assembly> + </SeedTypePreference> + <SeedTypePreference Include="System.IO.EndOfStreamException"> + <Assembly>System.IO</Assembly> + </SeedTypePreference> + <SeedTypePreference Include="System.IO.MemoryStream"> + <Assembly>System.IO</Assembly> + </SeedTypePreference> + <SeedTypePreference Include="System.IO.SeekOrigin"> + <Assembly>System.IO</Assembly> + </SeedTypePreference> + <SeedTypePreference Include="System.IO.Stream"> + <Assembly>System.IO</Assembly> + </SeedTypePreference> </ItemGroup> </Project> |