Skip to content

Commit edf123f

Browse files
authored
Configure CI
1 parent c3e8f1d commit edf123f

File tree

4 files changed

+31
-17
lines changed

4 files changed

+31
-17
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,9 +1065,3 @@ Don't forget to give the project a star! Thanks again!
10651065
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
10661066
4. Push to the Branch (`git push source feature/AmazingFeature`)
10671067
5. Open a Pull Request
1068-
1069-
## Contact
1070-
1071-
Sergey Aseev - [Serg046](https://github.com/Serg046)
1072-
1073-
Project Link: [https://github.com/devexperts/dotmap](https://github.com/devexperts/dotmap)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
Copyright (C) 2025 - 2025 Devexperts Solutions IE Limited
3+
This Source Code Form is subject to the terms of the Mozilla Public
4+
License, v. 2.0. If a copy of the MPL was not distributed with this
5+
file, You can obtain one at https://mozilla.org/MPL/2.0/.
6+
*/
7+
8+
namespace System.Runtime.CompilerServices;
9+
10+
internal class IsExternalInit { }
Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
2+
<PropertyGroup Condition="$([MSBuild]::IsOsPlatform('Windows'))">
3+
<TargetFramework>net461</TargetFramework>
4+
</PropertyGroup>
5+
<PropertyGroup Condition="$([MSBuild]::IsOsPlatform('Linux'))">
6+
<TargetFramework>netcoreapp2.0</TargetFramework>
7+
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
8+
</PropertyGroup>
39
<PropertyGroup Condition="$([MSBuild]::IsOsPlatform('OSX')) AND '$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)' == 'Arm64'">
4-
<TargetFrameworks>net6;</TargetFrameworks>
10+
<TargetFramework>net6</TargetFramework>
511
</PropertyGroup>
6-
<PropertyGroup Condition="!$([MSBuild]::IsOsPlatform('OSX'))">
7-
<TargetFrameworks>netcoreapp2.0;net461;</TargetFrameworks>
12+
<PropertyGroup Condition="$([MSBuild]::IsOsPlatform('OSX')) AND '$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)' == 'x64'">
13+
<TargetFramework>netcoreapp2.0</TargetFramework>
14+
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
815
</PropertyGroup>
916
<PropertyGroup>
1017
<Nullable>enable</Nullable>
@@ -18,15 +25,18 @@
1825
<ItemGroup>
1926
<PackageReference Include="FluentAssertions" Version="6.12.0" />
2027
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2" />
21-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
28+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.3" />
2229
<PackageReference Include="xunit" Version="2.7.0" />
23-
<PackageReference Include="coverlet.collector" Version="6.0.2">
24-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
30+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
2531
<PrivateAssets>all</PrivateAssets>
32+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
2633
</PackageReference>
27-
</ItemGroup>
28-
29-
<ItemGroup>
3034
<ProjectReference Include="..\dotMap\dotMap.csproj" OutputItemType="Analyzer" />
3135
</ItemGroup>
36+
<ItemGroup Condition="$([MSBuild]::IsOsPlatform('Windows'))">
37+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
38+
<PrivateAssets>all</PrivateAssets>
39+
<IncludeAssets>runtime; build; native; contentfiles</IncludeAssets>
40+
</PackageReference>
41+
</ItemGroup>
3242
</Project>

dotMap/dotMap.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<LangVersion>latest</LangVersion>
88
<Nullable>enable</Nullable>
99
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
10-
<Configurations>Debug;Release;Simulator</Configurations>
10+
<Configurations>Debug;Release</Configurations>
1111
</PropertyGroup>
1212

1313
<ItemGroup>

0 commit comments

Comments
 (0)