forked from dotnet/coreclr
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move SOS to SDK build #15
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,22 @@ | ||
<?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" /> | ||
|
||
<Target Name="HackToRestoreAracde" BeforeTargets="BeforeBuild" DependsOnTargets="Restore"> | ||
</Target> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.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> | ||
<NoWarn>;1591;1701</NoWarn> | ||
<Description>.NET Core SOS</Description> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Compile Include="SymbolReader.cs" /> | ||
</ItemGroup> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netcoreapp1.0</TargetFramework> | ||
<TargetFrameworkIdentifier>.NETCoreApp</TargetFrameworkIdentifier> | ||
<PackageTargetFallback>$(PackageTargetFallback);portable-net45+win8</PackageTargetFallback> | ||
<RootBinDir Condition="'$(__RootBinDir)'==''">$(ProjectDir)bin\</RootBinDir> | ||
</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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should already be set in dir.props