2
2
<Project >
3
3
<PropertyGroup >
4
4
<Nullable >enable</Nullable >
5
- <NoWarn >NETSDK1023</ NoWarn >
6
- <IsTrimmable >false</ IsTrimmable >
7
- <LangVersion >latest</ LangVersion >
5
+ <NuGetVersion >4.0.0</ NuGetVersion >
6
+ <LangVersion >preview</ LangVersion >
7
+ <Deterministic >true</ Deterministic >
8
8
<ImplicitUsings >enable</ImplicitUsings >
9
+ <LatestSupportedTFM >net9.0</LatestSupportedTFM >
9
10
<EnforceCodeStyleInBuild >true</EnforceCodeStyleInBuild >
10
11
<ProduceReferenceAssembly >true</ProduceReferenceAssembly >
11
- <LatestSupportedNetVersion >net8.0</LatestSupportedNetVersion >
12
12
<AccelerateBuildsInVisualStudio >true</AccelerateBuildsInVisualStudio >
13
13
<GenerateErrorForMissingTargetingPacks >false</GenerateErrorForMissingTargetingPacks >
14
+
15
+ <!-- MAUI Specific -->
16
+ <MauiPackageVersion >9.0.10</MauiPackageVersion >
17
+ <MauiStrictXamlCompilation >true</MauiStrictXamlCompilation >
14
18
<SkipValidateMauiImplicitPackageReferences >true</SkipValidateMauiImplicitPackageReferences >
19
+ <MauiEnableXamlCBindingWithSourceCompilation >true</MauiEnableXamlCBindingWithSourceCompilation >
20
+
21
+ <!-- Prevent NuGet Pacakge Vulnerabilities -->
22
+ <NuGetAudit >enable</NuGetAudit >
23
+ <NuGetAuditMode >all</NuGetAuditMode >
24
+
25
+ <!-- https://learn.microsoft.com/dotnet/core/deploying/native-aot/?tabs=net8plus%2Cwindows -->
26
+ <StripSymbols >false</StripSymbols >
27
+ <TrimmerSingleWarn >false</TrimmerSingleWarn >
15
28
16
29
<!-- WarningsAsErrors
17
- CS0419: Ambiguous reference in cref attribute
18
- CS1570: XML comment has badly formed XML 'Expected an end tag for element [parameter]
19
- CS1571: XML comment on [construct] has a duplicate param tag for [parameter]
20
- CS1572: XML comment has a param tag for '[parameter]', but there is no parameter by that name
21
- CS1573: Parameter has no matching param tag in the XML comment
22
- CS1574: XML comment has cref attribute that could not be resolved
23
- CS1580: Invalid type for parameter 'parameter number' in XML comment cref attribute
24
- CS1581: Invalid return type in XML comment cref attribute
30
+ CS0419: Ambiguous reference in cref attribute
31
+ CS0618: Is obsolete
32
+ CS1570: XML comment has badly formed XML 'Expected an end tag for element [parameter]
33
+ CS1571: XML comment on [construct] has a duplicate param tag for [parameter]
34
+ CS1572: XML comment has a param tag for '[parameter]', but there is no parameter by that name
35
+ CS1573: Parameter has no matching param tag in the XML comment
36
+ CS1574: XML comment has cref attribute that could not be resolved
37
+ CS1580: Invalid type for parameter 'parameter number' in XML comment cref attribute
38
+ CS1581: Invalid return type in XML comment cref attribute
25
39
CS1584: XML comment has syntactically incorrect cref attribute
26
- CS1587: XML comment is not placed on a valid language element
27
- CS1589: The syntax of a tag which referenced a file was incorrect
28
- CS1590: Invalid XML include element Missing file attribute
40
+ CS1587: XML comment is not placed on a valid language element
41
+ CS1589: The syntax of a tag which referenced a file was incorrect
42
+ CS1590: Invalid XML include element Missing file attribute
29
43
CS1591: Missing XML comment for publicly visible type or member
30
- CS1592: Badly formed XML in included comments file
31
- CS1598: XML parser could not be loaded. The XML documentation file will not be generated.
44
+ CS1592: Badly formed XML in included comments file
45
+ CS1598: XML parser could not be loaded. The XML documentation file will not be generated.
32
46
CS1658: Identifier expected; 'true' is a keyword
33
47
CS1710: XML comment on 'type' has a duplicate typeparam tag for 'parameter'
34
- CS1711: XML comment has a typeparam tag, but there is no type parameter by that name
48
+ CS1711: XML comment has a typeparam tag, but there is no type parameter by that name
35
49
CS1712: Type parameter has no matching typeparam tag in the XML comment
36
50
CS1723: XML comment has cref attribute that refers to a type parameter
37
- CS1734: XML comment has a paramref tag, but there is no parameter by that name
38
- xUnit1012: Null should not be used for type parameter
39
- xUnit2021: Assert.ThrowsAsync is async. The resulting task should be awaited -->
40
- <WarningsAsErrors >nullable,CS0419,CS1570,CS1571,CS1572,CS1573,CS1574,CS1580,CS1581,CS1584,CS1587,CS1589,CS1590,CS1591,CS1592,CS1598,CS1658,CS1710,CS1711,CS1712,CS1723,CS1734,xUnit1012,xUnit2021</WarningsAsErrors >
51
+ CS1734: XML comment has a paramref tag, but there is no parameter by that name
52
+ CsWinRT1028: Class implements WinRT interfaces but isn't marked partial
53
+ CsWinRT1030: Class implements WinRT interfaces that require unsafe code
54
+ XC0045: Binding: Property not found
55
+ XC0103: Consider attributing the markup extension with [RequireService] or [AcceptEmptyServiceProvider] if it doesn't require any
56
+ NU1900 Error communicating with package source, while getting vulnerability information.
57
+ NU1901 Package with low severity detected
58
+ NU1902 Package with moderate severity detected
59
+ NU1903 Package with high severity detected
60
+ NU1904 Package with critical severity detected
61
+ NU1905 An audit source does not provide a vulnerability database
62
+ NUnit*: NUnit Analyzers
63
+ IL2***: Trim Warnings
64
+ IL3***: AOT Warnings-->
65
+ <WarningsAsErrors >
66
+ nullable,
67
+ CS0419,CS0618,CS1570,CS1571,CS1572,CS1573,CS1574,CS1580,CS1581,CS1584,CS1587,CS1589,CS1590,CS1591,CS1592,CS1598,CS1658,CS1710,CS1711,CS1712,CS1723,CS1734,
68
+ CsWinRT1028,CsWinRT1030,
69
+ XC0045,XC0103,
70
+ NU1900,NU1901,NU1902,NU1903,NU1904,NU1905,
71
+ NUnit1001,NUnit1002,NUnit1003,NUnit1004,NUnit1005,NUnit1006,NUnit1007,NUnit1008,NUnit1009,NUnit1010,NUnit1011,NUnit1012,NUnit1013,NUnit1014,NUnit1015,NUnit1016,NUnit1017,NUnit1018,NUnit1019,NUnit1020,NUnit1021,NUnit1022,NUnit1023,NUnit1024,NUnit1025,NUnit1026,NUnit1027,NUnit1028,NUnit1029,NUnit1030,NUnit1031,NUnit1032,NUnit1033,
72
+ NUnit2001,NUnit2002,NUnit2003,NUnit2004,NUnit2005,NUnit2006,NUnit2007,NUnit2008,NUnit2009,NUnit2010,NUnit2011,NUnit2012,NUnit2013,NUnit2014,NUnit2015,NUnit2016,NUnit2017,NUnit2018,NUnit2019,NUnit2020,NUnit2021,NUnit2022,NUnit2023,NUnit2024,NUnit2025,NUnit2026,NUnit2027,NUnit2028,NUnit2029,NUnit2030,NUnit2031,NUnit2032,NUnit2033,NUnit2034,NUnit2035,NUnit2036,NUnit2037,NUnit2038,NUnit2039,NUnit2040,NUnit2041,NUnit2042,NUnit2043,NUnit2044,NUnit2045,NUnit2046,NUnit2047,NUnit2048,NUnit2049,NUnit2050,
73
+ NUnit3001,NUnit3002,NUnit3003,NUnit3004,
74
+ NUnit4001,
75
+ IL2001,IL2002,IL2003,IL2004,IL2005,IL2006,IL2007,IL2008,IL2009,
76
+ IL2010,IL2011,IL2012,IL2013,IL2014,IL2015,IL2016,IL2017,IL2018,IL2019,
77
+ IL2020,IL2021,IL2022,IL2023,IL2024,IL2025,IL2026,IL2027,IL2028,IL2029,
78
+ IL2030,IL2031,IL2032,IL2033,IL2034,IL2035,IL2036,IL2037,IL2038,IL2039,
79
+ IL2040,IL2041,IL2042,IL2043,IL2044,IL2045,IL2046,IL2047,IL2048,IL2049,
80
+ IL2050,IL2051,IL2052,IL2053,IL2054,IL2055,IL2056,IL2057,IL2058,IL2059,
81
+ IL2060,IL2061,IL2062,IL2063,IL2064,IL2065,IL2066,IL2067,IL2068,IL2069,
82
+ IL2070,IL2071,IL2072,IL2073,IL2074,IL2075,IL2076,IL2077,IL2078,IL2079,
83
+ IL2080,IL2081,IL2082,IL2083,IL2084,IL2085,IL2086,IL2087,IL2088,IL2089,
84
+ IL2090,IL2091,IL2092,IL2093,IL2094,IL2095,IL2096,IL2097,IL2098,IL2099,
85
+ IL2100,IL2101,IL2102,IL2103,IL2104,IL2105,IL2106,IL2107,IL2108,IL2109,
86
+ IL2110,IL2111,IL2112,IL2113,IL2114,IL2115,IL2116,IL2117,IL2118,IL2119,
87
+ IL2120,IL2121,IL2122,
88
+ IL3050,IL3051,IL3052,IL3053,IL3054,IL3055,IL3056
89
+ </WarningsAsErrors >
41
90
</PropertyGroup >
42
- </Project >
91
+ </Project >
0 commit comments