File tree Expand file tree Collapse file tree 5 files changed +22
-7
lines changed
ClangSharp.PInvokeGenerator
ClangSharp.PInvokeGenerator.UnitTests Expand file tree Collapse file tree 5 files changed +22
-7
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<Project Sdk =" Microsoft.NET.Sdk" >
3
3
4
+ <PropertyGroup >
5
+ <TargetFrameworks >net8.0;netstandard2.0</TargetFrameworks >
6
+ </PropertyGroup >
7
+
4
8
<PropertyGroup >
5
9
<!-- CA1003: Use generic event handler instances -->
6
10
<!-- CA1008: Enums should have zero value -->
21
25
<!-- CA1815: Override equals and operator equals on value types -->
22
26
<!-- CA2225: Operator overloads have named alternates -->
23
27
<NoWarn >$(NoWarn);CA1003;CA1008;CA1027;CA1034;CA1051;CA1069;CA1305;CA1508;CA1707;CA1708;CA1710;CA1711;CA1712;CA1720;CA1721;CA1724;CA1815;CA2225</NoWarn >
24
- <TargetFrameworks >net8.0;netstandard2.0</TargetFrameworks >
25
28
</PropertyGroup >
26
29
27
30
<ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0'" >
Original file line number Diff line number Diff line change 2
2
<Project Sdk =" Microsoft.NET.Sdk" >
3
3
4
4
<PropertyGroup >
5
- <!-- CA1303: Do not pass literals as localized parameters -->
6
- <NoWarn >$(NoWarn);CA1303</NoWarn >
7
5
<RootNamespace >ClangSharp</RootNamespace >
8
6
<TargetFrameworks >net8.0</TargetFrameworks >
9
7
</PropertyGroup >
10
8
9
+ <PropertyGroup >
10
+ <!-- CA1303: Do not pass literals as localized parameters -->
11
+ <NoWarn >$(NoWarn);CA1303</NoWarn >
12
+ </PropertyGroup >
13
+
11
14
<ItemGroup >
12
15
<ProjectReference Include =" ..\ClangSharp\ClangSharp.csproj" />
13
16
</ItemGroup >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<Project Sdk =" Microsoft.NET.Sdk" >
3
3
4
+ <PropertyGroup >
5
+ <TargetFrameworks >net8.0;netstandard2.0</TargetFrameworks >
6
+ </PropertyGroup >
7
+
4
8
<PropertyGroup >
5
9
<!-- CA1034: Nested types should not be visible -->
6
10
<!-- CA1040: Avoid empty interfaces -->
7
11
<!-- CA1720: Identifiers should not contain type names -->
8
12
<NoWarn >$(NoWarn);CA1034;CA1040;CA1720</NoWarn >
9
- <TargetFrameworks >net8.0;netstandard2.0</TargetFrameworks >
10
13
</PropertyGroup >
11
14
12
15
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<Project Sdk =" Microsoft.NET.Sdk" >
3
3
4
+ <PropertyGroup >
5
+ <RootNamespace >ClangSharp.UnitTests</RootNamespace >
6
+ <TargetFrameworks >net8.0</TargetFrameworks >
7
+ </PropertyGroup >
8
+
4
9
<PropertyGroup >
5
10
<!-- CA1707: Identifiers should not contain underscores -->
6
11
<!-- CA1711: Identifiers should not have incorrect suffix -->
7
12
<NoWarn >$(NoWarn);CA1707;CA1711</NoWarn >
8
- <RootNamespace >ClangSharp.UnitTests</RootNamespace >
9
- <TargetFrameworks >net8.0</TargetFrameworks >
10
13
</PropertyGroup >
11
14
12
15
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<Project Sdk =" Microsoft.NET.Sdk" >
3
3
4
+ <PropertyGroup >
5
+ <TargetFrameworks >net8.0</TargetFrameworks >
6
+ </PropertyGroup >
7
+
4
8
<PropertyGroup >
5
9
<!-- CA1707: Identifiers should not contain underscores -->
6
10
<NoWarn >$(NoWarn);CA1707</NoWarn >
7
- <TargetFrameworks >net8.0</TargetFrameworks >
8
11
</PropertyGroup >
9
12
10
13
<ItemGroup >
You can’t perform that action at this time.
0 commit comments