Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'external')
-rw-r--r--external/ILLink/ILLink.depproj16
-rw-r--r--external/ILLink/project.json.template14
-rw-r--r--external/dir.proj1
3 files changed, 31 insertions, 0 deletions
diff --git a/external/ILLink/ILLink.depproj b/external/ILLink/ILLink.depproj
new file mode 100644
index 0000000000..853c90047b
--- /dev/null
+++ b/external/ILLink/ILLink.depproj
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+ <PropertyGroup>
+ <NuGetTargetMoniker>.NETCoreApp,Version=v1.1</NuGetTargetMoniker>
+ <OutputPath>$(ToolsDir)ILLink</OutputPath>
+ <IsRuntimeAssembly>false</IsRuntimeAssembly>
+ </PropertyGroup>
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <Target Name="IncludeAllFiles"
+ AfterTargets="ResolveNuGetPackages">
+ <ItemGroup>
+ <ReferenceCopyLocalPaths Include="%(ReferenceCopyLocalPaths.RootDir)%(ReferenceCopyLocalPaths.Directory)\*.*" />
+ </ItemGroup>
+ </Target>
+</Project> \ No newline at end of file
diff --git a/external/ILLink/project.json.template b/external/ILLink/project.json.template
new file mode 100644
index 0000000000..e7c9cde5f3
--- /dev/null
+++ b/external/ILLink/project.json.template
@@ -0,0 +1,14 @@
+{
+ "dependencies": {
+ "Microsoft.NETCore.ILLink": {
+ "version": "0.1.8-preview",
+ "exclude": "compile"
+ }
+ },
+ "frameworks": {
+ "netcoreapp1.1": { }
+ },
+ "runtimes": {
+ "{RID}": {}
+ }
+}
diff --git a/external/dir.proj b/external/dir.proj
index 8d1b033ca6..3912e6143f 100644
--- a/external/dir.proj
+++ b/external/dir.proj
@@ -15,6 +15,7 @@
<Project Include="portable\portable.depproj" />
<Project Include="uapaotredist/uapaotredist.depproj" />
<Project Include="ilasm/ilasm.depproj" />
+ <Project Condition="'$(ILLinkTrimAssembly)' != 'false'" Include="ILLink/ILLink.depproj" />
</ItemGroup>
<Import Project="../dir.traversal.targets" />