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

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/linker
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2017-04-28 17:17:29 +0300
committerMarek Safar <marek.safar@gmail.com>2017-04-28 18:28:10 +0300
commita0356bf4777d1e183ca6ad1aa35f2bb8622713b9 (patch)
tree532aad08419c83159cc53b041dbd594fbdb2da12 /linker
parent0a4e328e3f7dab84b35f92da1c15d2699675fd0d (diff)
Adds mono build and test setup
Diffstat (limited to 'linker')
-rw-r--r--linker/Mono.Linker.csproj6
-rw-r--r--linker/Tests/Mono.Linker.Tests.csproj10
-rw-r--r--linker/Tests/Mono.Linker.Tests.sln111
-rw-r--r--linker/Tests/packages.config3
-rw-r--r--linker/app.config3
5 files changed, 13 insertions, 120 deletions
diff --git a/linker/Mono.Linker.csproj b/linker/Mono.Linker.csproj
index 24df41e94..529eb7681 100644
--- a/linker/Mono.Linker.csproj
+++ b/linker/Mono.Linker.csproj
@@ -12,6 +12,7 @@
<PropertyGroup>
<NetCoreBuild Condition=" $(Configuration.StartsWith('netcore')) Or '$(NuGetRestoreTargets)' != '' ">true</NetCoreBuild>
<NetCoreBuild Condition=" '$(NetCoreBuild)' == '' ">false</NetCoreBuild>
+ <TargetFrameworkProfile />
</PropertyGroup>
<Import Project="NetCore.props" Condition=" $(NetCoreBuild) " />
<PropertyGroup>
@@ -25,7 +26,7 @@
<RootNamespace>Mono.Linker</RootNamespace>
<AssemblyName Condition=" ! $(NetCoreBuild) ">monolinker</AssemblyName>
<AssemblyName Condition=" $(NetCoreBuild) ">illink</AssemblyName>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+ <TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
@@ -110,6 +111,7 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
+ <None Include="app.config" />
<None Include="README" />
</ItemGroup>
<ItemGroup>
@@ -119,8 +121,6 @@
<Project>{D68133BD-1E63-496E-9EDE-4FBDBF77B486}</Project>
<Name>Mono.Cecil</Name>
</ProjectReference>
- </ItemGroup>
- <ItemGroup Condition=" $(NetCoreBuild) ">
<ProjectReference Include="..\cecil\symbols\pdb\Mono.Cecil.Pdb.csproj">
<SetConfiguration Condition=" '$(Configuration)' == 'netcore_Debug' ">Configuration=netstandard_Debug</SetConfiguration>
<SetConfiguration Condition=" '$(Configuration)' == 'netcore_Release' ">Configuration=netstandard_Release</SetConfiguration>
diff --git a/linker/Tests/Mono.Linker.Tests.csproj b/linker/Tests/Mono.Linker.Tests.csproj
index 28069ab18..b3438c91b 100644
--- a/linker/Tests/Mono.Linker.Tests.csproj
+++ b/linker/Tests/Mono.Linker.Tests.csproj
@@ -41,7 +41,7 @@
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="nunit.framework">
- <HintPath>packages\NUnit.3.6.1\lib\net45\nunit.framework.dll</HintPath>
+ <HintPath>..\..\packages\NUnit.3.6.1\lib\net45\nunit.framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
@@ -56,14 +56,14 @@
<Folder Include="Properties\" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\Mono.Linker.csproj">
- <Project>{DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}</Project>
- <Name>Mono.Linker</Name>
- </ProjectReference>
<ProjectReference Include="..\..\cecil\Mono.Cecil.csproj">
<Project>{D68133BD-1E63-496E-9EDE-4FBDBF77B486}</Project>
<Name>Mono.Cecil</Name>
</ProjectReference>
+ <ProjectReference Include="..\Mono.Linker.csproj">
+ <Project>{DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}</Project>
+ <Name>Mono.Linker</Name>
+ </ProjectReference>
<ProjectReference Include="TestCases\TestCases.csproj">
<Project>{26D857FB-EEE3-4A5B-95BC-DAB39F880A99}</Project>
<Name>TestCases</Name>
diff --git a/linker/Tests/Mono.Linker.Tests.sln b/linker/Tests/Mono.Linker.Tests.sln
deleted file mode 100644
index 221b04489..000000000
--- a/linker/Tests/Mono.Linker.Tests.sln
+++ /dev/null
@@ -1,111 +0,0 @@
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.26206.0
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mono.Linker.Tests", "Mono.Linker.Tests.csproj", "{400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mono.Linker", "..\Mono.Linker.csproj", "{DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mono.Cecil", "..\..\cecil\Mono.Cecil.csproj", "{D68133BD-1E63-496E-9EDE-4FBDBF77B486}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestCases", "TestCases\TestCases.csproj", "{26D857FB-EEE3-4A5B-95BC-DAB39F880A99}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- net_3_5_Debug|Any CPU = net_3_5_Debug|Any CPU
- net_3_5_Release|Any CPU = net_3_5_Release|Any CPU
- net_4_0_Debug|Any CPU = net_4_0_Debug|Any CPU
- net_4_0_Release|Any CPU = net_4_0_Release|Any CPU
- netcore_Debug|Any CPU = netcore_Debug|Any CPU
- netcore_Release|Any CPU = netcore_Release|Any CPU
- netstandard_Debug|Any CPU = netstandard_Debug|Any CPU
- netstandard_Release|Any CPU = netstandard_Release|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.net_3_5_Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.net_3_5_Debug|Any CPU.Build.0 = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.net_3_5_Release|Any CPU.ActiveCfg = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.net_3_5_Release|Any CPU.Build.0 = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.net_4_0_Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.net_4_0_Debug|Any CPU.Build.0 = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.net_4_0_Release|Any CPU.ActiveCfg = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.net_4_0_Release|Any CPU.Build.0 = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.netcore_Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.netcore_Debug|Any CPU.Build.0 = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.netcore_Release|Any CPU.ActiveCfg = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.netcore_Release|Any CPU.Build.0 = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.netstandard_Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.netstandard_Debug|Any CPU.Build.0 = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.netstandard_Release|Any CPU.ActiveCfg = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.netstandard_Release|Any CPU.Build.0 = Debug|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {400A1561-B6B6-482D-9E4C-3DDAEDE5BD07}.Release|Any CPU.Build.0 = Release|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.net_3_5_Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.net_3_5_Debug|Any CPU.Build.0 = Debug|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.net_3_5_Release|Any CPU.ActiveCfg = Debug|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.net_3_5_Release|Any CPU.Build.0 = Debug|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.net_4_0_Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.net_4_0_Debug|Any CPU.Build.0 = Debug|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.net_4_0_Release|Any CPU.ActiveCfg = Debug|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.net_4_0_Release|Any CPU.Build.0 = Debug|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.netcore_Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.netcore_Debug|Any CPU.Build.0 = Debug|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.netcore_Release|Any CPU.ActiveCfg = Release|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.netcore_Release|Any CPU.Build.0 = Release|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.netstandard_Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.netstandard_Debug|Any CPU.Build.0 = Debug|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.netstandard_Release|Any CPU.ActiveCfg = Debug|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.netstandard_Release|Any CPU.Build.0 = Debug|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {DD28E2B1-057B-4B4D-A04D-B2EBD9E76E46}.Release|Any CPU.Build.0 = Release|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.Debug|Any CPU.ActiveCfg = net_4_0_Debug|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.Debug|Any CPU.Build.0 = net_4_0_Debug|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_3_5_Debug|Any CPU.ActiveCfg = net_3_5_Debug|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_3_5_Debug|Any CPU.Build.0 = net_3_5_Debug|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_3_5_Release|Any CPU.ActiveCfg = net_3_5_Release|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_3_5_Release|Any CPU.Build.0 = net_3_5_Release|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_4_0_Debug|Any CPU.ActiveCfg = net_4_0_Debug|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_4_0_Debug|Any CPU.Build.0 = net_4_0_Debug|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_4_0_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_4_0_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.netcore_Debug|Any CPU.ActiveCfg = net_3_5_Debug|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.netcore_Debug|Any CPU.Build.0 = net_3_5_Debug|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.netcore_Release|Any CPU.ActiveCfg = net_3_5_Debug|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.netcore_Release|Any CPU.Build.0 = net_3_5_Debug|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.netstandard_Debug|Any CPU.ActiveCfg = netstandard_Debug|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.netstandard_Debug|Any CPU.Build.0 = netstandard_Debug|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.netstandard_Release|Any CPU.ActiveCfg = netstandard_Release|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.netstandard_Release|Any CPU.Build.0 = netstandard_Release|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
- {D68133BD-1E63-496E-9EDE-4FBDBF77B486}.Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.net_3_5_Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.net_3_5_Debug|Any CPU.Build.0 = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.net_3_5_Release|Any CPU.ActiveCfg = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.net_3_5_Release|Any CPU.Build.0 = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.net_4_0_Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.net_4_0_Debug|Any CPU.Build.0 = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.net_4_0_Release|Any CPU.ActiveCfg = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.net_4_0_Release|Any CPU.Build.0 = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.netcore_Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.netcore_Debug|Any CPU.Build.0 = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.netcore_Release|Any CPU.ActiveCfg = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.netcore_Release|Any CPU.Build.0 = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.netstandard_Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.netstandard_Debug|Any CPU.Build.0 = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.netstandard_Release|Any CPU.ActiveCfg = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.netstandard_Release|Any CPU.Build.0 = Debug|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {26D857FB-EEE3-4A5B-95BC-DAB39F880A99}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/linker/Tests/packages.config b/linker/Tests/packages.config
index 4b26cc066..dfc2271db 100644
--- a/linker/Tests/packages.config
+++ b/linker/Tests/packages.config
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="NUnit" version="3.6.1" targetFramework="net461" />
+ <package id="NUnit" version="3.6.1" targetFramework="net462" />
+ <package id="NUnit.ConsoleRunner" version="3.6.1" targetFramework="net462" />
</packages> \ No newline at end of file
diff --git a/linker/app.config b/linker/app.config
new file mode 100644
index 000000000..2a0024f75
--- /dev/null
+++ b/linker/app.config
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>