From 3077c95af36a074a8e00d45ebc576fa87520e536 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Fri, 20 Jul 2018 13:33:10 -0700 Subject: Adding the Microsoft.NET.Sdk.IL pkgproj --- .../Microsoft.NET.Sdk.IL.pkgproj | 19 +++++ src/.nuget/Microsoft.NET.Sdk.IL/sdk/Sdk.props | 21 +++++ src/.nuget/Microsoft.NET.Sdk.IL/sdk/Sdk.targets | 22 +++++ .../targets/Microsoft.NET.Sdk.IL.targets | 94 ++++++++++++++++++++++ src/.nuget/descriptions.json | 5 ++ src/.nuget/packages.builds | 4 + 6 files changed, 165 insertions(+) create mode 100644 src/.nuget/Microsoft.NET.Sdk.IL/Microsoft.NET.Sdk.IL.pkgproj create mode 100644 src/.nuget/Microsoft.NET.Sdk.IL/sdk/Sdk.props create mode 100644 src/.nuget/Microsoft.NET.Sdk.IL/sdk/Sdk.targets create mode 100644 src/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets (limited to 'src') diff --git a/src/.nuget/Microsoft.NET.Sdk.IL/Microsoft.NET.Sdk.IL.pkgproj b/src/.nuget/Microsoft.NET.Sdk.IL/Microsoft.NET.Sdk.IL.pkgproj new file mode 100644 index 0000000000..0a4d82ef78 --- /dev/null +++ b/src/.nuget/Microsoft.NET.Sdk.IL/Microsoft.NET.Sdk.IL.pkgproj @@ -0,0 +1,19 @@ + + + + + + MSBuildSdk + + + + + sdk + + + targets + + + + + diff --git a/src/.nuget/Microsoft.NET.Sdk.IL/sdk/Sdk.props b/src/.nuget/Microsoft.NET.Sdk.IL/sdk/Sdk.props new file mode 100644 index 0000000000..d539c1d84b --- /dev/null +++ b/src/.nuget/Microsoft.NET.Sdk.IL/sdk/Sdk.props @@ -0,0 +1,21 @@ + + + + + + $(MSBuildThisFileFullPath);$(MSBuildAllProjects) + + + + + diff --git a/src/.nuget/Microsoft.NET.Sdk.IL/sdk/Sdk.targets b/src/.nuget/Microsoft.NET.Sdk.IL/sdk/Sdk.targets new file mode 100644 index 0000000000..7e4b39ebf4 --- /dev/null +++ b/src/.nuget/Microsoft.NET.Sdk.IL/sdk/Sdk.targets @@ -0,0 +1,22 @@ + + + + + + $(MSBuildThisFileFullPath);$(MSBuildAllProjects) + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.IL.targets + + + + + diff --git a/src/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets b/src/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets new file mode 100644 index 0000000000..33f863414f --- /dev/null +++ b/src/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets @@ -0,0 +1,94 @@ + + + + + + $(MSBuildThisFileFullPath);$(MSBuildAllProjects) + .il + IL + Managed + + + + <_OSPlatform Condition="$([MSBuild]::IsOSPlatform('windows'))">win + <_OSPlatform Condition="$([MSBuild]::IsOSPlatform('linux'))">linux + <_OSPlatform Condition="$([MSBuild]::IsOSPlatform('osx'))">osx + <_OSArchitecture>$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) + + $(_OSPlatform)-$(_OSArchitecture.ToLower()) + 3.0.0 + runtime.$(MicrosoftNetCoreIlasmPackageRuntimeId).microsoft.netcore.ilasm + runtime.$(MicrosoftNetCoreIlasmPackageRuntimeId).microsoft.netcore.runtime.coreclr + + $([System.IO.Path]::Combine($([System.IO.Path]::GetTempPath()), $([System.IO.Path]::GetRandomFileName()))) + + + + + + + + + + + + + + + + + + <_IlasmSourceFiles Include="$(NuGetPackageRoot)\$(MicrosoftNetCoreIlasmPackageName)\$(MicrosoftNetCoreIlasmPackageVersion)\runtimes\$(MicrosoftNetCoreIlasmPackageRuntimeId)\native\**\*" /> + <_IlasmSourceFiles Include="$(NuGetPackageRoot)\$(MicrosoftNetCoreRuntimeCoreClrPackageName)\$(MicrosoftNetCoreIlasmPackageVersion)\runtimes\$(MicrosoftNetCoreIlasmPackageRuntimeId)\native\**\*" /> + + + + <_IlasmDir>$(ToolsDir)\ilasm + + <_OutputTypeArgument Condition="'$(OutputType)' == 'Library'">-DLL + <_OutputTypeArgument Condition="'$(OutputType)' == 'Exe'">-EXE + + <_KeyFileArgument Condition="'$(KeyOriginatorFile)' != ''">-KEY=$(KeyOriginatorFile) + + <_IlasmSwitches>-QUIET -NOLOGO + <_IlasmSwitches Condition="'$(FoldIdenticalMethods)' == 'True'">$(_IlasmSwitches) -FOLD + <_IlasmSwitches Condition="'$(SizeOfStackReserve)' != ''">$(_IlasmSwitches) -STACK=$(SizeOfStackReserve) + <_IlasmSwitches Condition="'$(DebugType)' == 'Full'">$(_IlasmSwitches) -DEBUG + <_IlasmSwitches Condition="'$(DebugType)' == 'Impl'">$(_IlasmSwitches) -DEBUG=IMPL + <_IlasmSwitches Condition="'$(DebugType)' == 'PdbOnly'">$(_IlasmSwitches) -DEBUG=OPT + <_IlasmSwitches Condition="'$(Optimize)' == 'True'">$(_IlasmSwitches) -OPTIMIZE + + + + + + + + + + + + + + + + + + diff --git a/src/.nuget/descriptions.json b/src/.nuget/descriptions.json index a9038c0936..cde4d35416 100644 --- a/src/.nuget/descriptions.json +++ b/src/.nuget/descriptions.json @@ -39,6 +39,11 @@ "Description": "CoreCLR application host for test applications", "CommonTypes": [ ] }, + { + "Name": "Microsoft.NET.Sdk.IL", + "Description": "Provides support for building IL projects.", + "CommonTypes": [ ] + }, { "Name": "Microsoft.NETCore.Native", "Description": "Native shims for .NET Core runtime", diff --git a/src/.nuget/packages.builds b/src/.nuget/packages.builds index 0c0f65d3c1..b695cf5776 100644 --- a/src/.nuget/packages.builds +++ b/src/.nuget/packages.builds @@ -25,6 +25,10 @@ + + + + -- cgit v1.2.3