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

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/rocks
diff options
context:
space:
mode:
authorTlakaelel Axayakatl Ceja <tlakaelel.ceja@microsoft.com>2022-10-06 22:25:27 +0300
committerGitHub <noreply@github.com>2022-10-06 22:25:27 +0300
commita12da51e26be8df07e43a09bc56dc4db85df6204 (patch)
tree053a40c2d667c61623addf0258f0b903ac3a6939 /rocks
parent1a88006d339e21a684b28efc62fe7b587b464fc3 (diff)
Add arcade infrastructure to dotnet/cecil (#37)
Add arcade infrastructure to dotnet/cecil Adds eng/common folder from arcade Adds NuGet.config file with the dotnet eng/tools/public package sources Adds build scripts at root level to execute the eng/common/build scripts Adds eng/Versions.props and eng/Version.Details.xml files with minimal dependencies since Cecil doesn't require anything, mostly just setting up the package version Adds global.json Adds arcade artifacts to .gitignore file Add Microsoft.Dotnet.Arcade.Sdk Make Mono.Cecil a package Remove frameworks non-compatible with Arcade SDK Make the package non-shippable so it doesn't publish in Nuget Suppress license validation since Cecil has a different license than MIT one Workaround the publickey and publickey token generation from arcade Modify version to match Cecil version 0.11.4.0 Remove helix SDK since we don't use helix testing Add pipeline yaml file Add support for NetCoreAppToolCurrent equals to net7.0 and ToolsFramework netstandard 2.0 Add a variable to find the resources folder given that there is a new structure in the artifacts directory Use VS test runner to avoid running tests using xunit Add signing properties for 3rd party libraries
Diffstat (limited to 'rocks')
-rw-r--r--rocks/Mono.Cecil.Rocks.csproj4
-rw-r--r--rocks/Test/Mono.Cecil.Rocks.Tests.csproj9
2 files changed, 9 insertions, 4 deletions
diff --git a/rocks/Mono.Cecil.Rocks.csproj b/rocks/Mono.Cecil.Rocks.csproj
index 3d66047..c6d9e87 100644
--- a/rocks/Mono.Cecil.Rocks.csproj
+++ b/rocks/Mono.Cecil.Rocks.csproj
@@ -1,6 +1,6 @@
-<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="Current">
+<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;net40</TargetFrameworks>
+ <TargetFramework>$(ToolsFramework)</TargetFramework>
<DefineConstants>$(DefineConstants);INSIDE_ROCKS</DefineConstants>
</PropertyGroup>
<ItemGroup>
diff --git a/rocks/Test/Mono.Cecil.Rocks.Tests.csproj b/rocks/Test/Mono.Cecil.Rocks.Tests.csproj
index a15fce1..020d499 100644
--- a/rocks/Test/Mono.Cecil.Rocks.Tests.csproj
+++ b/rocks/Test/Mono.Cecil.Rocks.Tests.csproj
@@ -1,7 +1,7 @@
-<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="Current">
+<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\Mono.Cecil.Tests.props" />
<PropertyGroup>
- <TargetFrameworks>netcoreapp3.1;net40</TargetFrameworks>
+ <TargetFramework>$(NetCoreAppTestsCurrent)</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Mono.Cecil.csproj">
@@ -20,4 +20,9 @@
<ItemGroup>
<None Include="Resources\**\*" />
</ItemGroup>
+ <ItemGroup>
+ <RuntimeHostConfigurationOption Include="Mono.Cecil.ResourcesDirectory">
+ <Value>$(MSBuildThisFileDirectory)Resources</Value>
+ </RuntimeHostConfigurationOption>
+ </ItemGroup>
</Project>