diff options
author | Wes Haggard <Wes.Haggard@microsoft.com> | 2016-01-04 07:53:18 +0300 |
---|---|---|
committer | Wes Haggard <Wes.Haggard@microsoft.com> | 2016-01-04 07:53:18 +0300 |
commit | b5eabab8db4e44d3b1683ba33bb8cb16de7898ba (patch) | |
tree | 2b01f58d1867b8d217c3f6388d4d80f83cd7cc5b /src/System.Private.Reflection.Metadata | |
parent | 27c71ea5867401d0c6046ce3926a5259ab82d9ed (diff) |
Clean up the new CoreRT project files as they had a bunch of redundant properties that weren't correct. Also fixed a number of build warnings.
[tfs-changeset: 1560909]
Diffstat (limited to 'src/System.Private.Reflection.Metadata')
-rw-r--r-- | src/System.Private.Reflection.Metadata/src/System.Private.Reflection.Metadata.csproj | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/System.Private.Reflection.Metadata/src/System.Private.Reflection.Metadata.csproj b/src/System.Private.Reflection.Metadata/src/System.Private.Reflection.Metadata.csproj index 561b892a6..0108fd9d1 100644 --- a/src/System.Private.Reflection.Metadata/src/System.Private.Reflection.Metadata.csproj +++ b/src/System.Private.Reflection.Metadata/src/System.Private.Reflection.Metadata.csproj @@ -6,9 +6,14 @@ <OutputType>Library</OutputType> <ProjectGuid>{45A617DF-FEC7-59C8-FD0D-BD27938DC940}</ProjectGuid> <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <CLSCompliant>false</CLSCompliant> + <!-- Ignore the CLSCompliance of the generated cs files we are using here --> + <NoWarn>$(NoWarn);3003</NoWarn> </PropertyGroup> + <!-- Default configurations to help VS understand the options --> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'" /> + <ItemGroup> <ProjectReference Include="..\..\System.Private.CoreLib\src\System.Private.CoreLib.csproj" /> <ProjectReference Include="..\..\AotPackageReference\AotPackageReference.depproj"> @@ -37,14 +42,5 @@ <Compile Include="$(MetadataCommonPath)\NativeFormatReaderGen.cs" /> </ItemGroup> - <PropertyGroup> - <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> - <TargetPlatformIdentifier>Portable</TargetPlatformIdentifier> - <TargetFrameworkIdentifier>.NETPortable</TargetFrameworkIdentifier> - <TargetFrameworkProfile>Profile7</TargetFrameworkProfile> - <TargetFrameworkMonikerDisplayName>.NET Portable Subset</TargetFrameworkMonikerDisplayName> - <ImplicitlyExpandTargetFramework>false</ImplicitlyExpandTargetFramework> - </PropertyGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> </Project> |