diff options
author | Aaron Robinson <arobins@microsoft.com> | 2019-05-06 10:19:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 10:19:49 -0700 |
commit | 099177b0899156a4e8a352083a273805240c0ccd (patch) | |
tree | 85c3f7c449ee3ed8b725c7212379914e7706e74f /src/ToolBox | |
parent | 7681c19e4a6f2b5a82abf6268e96eb9140f08bb7 (diff) | |
download | coreclr-099177b0899156a4e8a352083a273805240c0ccd.tar.gz coreclr-099177b0899156a4e8a352083a273805240c0ccd.tar.bz2 coreclr-099177b0899156a4e8a352083a273805240c0ccd.zip |
Port all managed product binaries to use SDK style projects (#24285)
Convert managed product binary to use SDK project system.
- Uses Arcade for versions strings
- Overrides Arcade defined output paths - should change in the future
Diffstat (limited to 'src/ToolBox')
-rw-r--r-- | src/ToolBox/SOS/NETCore/SOS.NETCore.csproj | 76 |
1 files changed, 7 insertions, 69 deletions
diff --git a/src/ToolBox/SOS/NETCore/SOS.NETCore.csproj b/src/ToolBox/SOS/NETCore/SOS.NETCore.csproj index 7cff9d7b6f..5e888a2c9f 100644 --- a/src/ToolBox/SOS/NETCore/SOS.NETCore.csproj +++ b/src/ToolBox/SOS/NETCore/SOS.NETCore.csproj @@ -1,80 +1,18 @@ <?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project Sdk="Microsoft.NET.Sdk"> <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> <PropertyGroup> + <TargetFramework>netcoreapp2.0</TargetFramework> <AssemblyName>SOS.NETCore</AssemblyName> - <AssemblyVersion>1.0.0.0</AssemblyVersion> - <ProjectGuid>{20513BA2-A156-4A17-4C70-5AC2DBD4F833}</ProjectGuid> <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <OutputType>Library</OutputType> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <NoStdLib>true</NoStdLib> - <NoCompilerStandardLib>true</NoCompilerStandardLib> - <IsDotNetFrameworkProductAssembly>true</IsDotNetFrameworkProductAssembly> - <AssemblyKey>Open</AssemblyKey> - <ExcludeMscorlibFacade>true</ExcludeMscorlibFacade> - <ContainsPackageReferences>true</ContainsPackageReferences> - - <!-- We don't use any of MSBuild's resolution logic for resolving the framework, so just set these two properties to any folder that exists to skip - the GenerateReferenceAssemblyPaths task (not target) and to prevent it from outputting a warning (MSB3644). --> - <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)/Documentation</_TargetFrameworkDirectories> - <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)/Documentation</_FullFrameworkReferenceAssemblyPaths> - </PropertyGroup> - - <!-- Default configurations to help VS understand the options --> - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'" /> - - <!-- Configuration specific properties --> - <PropertyGroup Condition="'$(Configuration)' == 'Debug' or '$(Configuration)' == 'Checked'"> - <DebugSymbols>true</DebugSymbols> - <DefineConstants>_DEBUG;DEBUG;TRACE;$(DefineConstants)</DefineConstants> - </PropertyGroup> - - <PropertyGroup> - <DebugType>portable</DebugType> - </PropertyGroup> - - <ItemGroup> - <Compile Include="SymbolReader.cs" /> - </ItemGroup> - - <PropertyGroup> - <TargetFramework>netcoreapp1.0</TargetFramework> - <TargetFrameworkIdentifier>.NETCoreApp</TargetFrameworkIdentifier> - <PackageTargetFallback>$(PackageTargetFallback);portable-net45+win8</PackageTargetFallback> + <NoWarn>;1591;1701</NoWarn> + <Description>.NET Core SOS</Description> + <OutputPath>$(BinDir)</OutputPath> + <EnsureRuntimePackageDependencies>false</EnsureRuntimePackageDependencies> </PropertyGroup> <ItemGroup> - <PackageReference Include="System.IO.FileSystem"> - <Version>4.3.0</Version> - </PackageReference> - <PackageReference Include="System.Runtime.InteropServices"> - <Version>4.3.0</Version> - </PackageReference> - <PackageReference Include="System.Reflection.Metadata"> - <Version>1.4.1</Version> - </PackageReference> + <PackageReference Include="System.Reflection.Metadata" Version="$(SystemReflectionMetadataVersion)" /> </ItemGroup> - - <Target Name="CopyItemsToDirectory" AfterTargets="Build"> - <Copy - SourceFiles="$(OutputPath)$(AssemblyName).dll" - DestinationFolder="$(BinDir)" - SkipUnchangedFiles="false" - OverwriteReadOnlyFiles="false" - UseHardlinksIfPossible="false"> - </Copy> - - <Copy - SourceFiles="$(OutputPath)$(AssemblyName).pdb" - DestinationFolder="$(BinDir)\PDB" - SkipUnchangedFiles="false" - OverwriteReadOnlyFiles="false" - UseHardlinksIfPossible="false"> - </Copy> - </Target> - - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> </Project> |