-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update to .NET 8.0 * Update GitStatus.Mobile.csproj * Update GitStatus.Mobile.csproj * Update GitStatus.Mobile.csproj * Add `System.Diagnostics.CodeAnalysis` Support * Update ProductHeaderValueTests.cs * `dotnet format` * Remove `net7.0` support * Update to .NET 8.0 * Add .NET 7.0 to Unit Test * Update unittests.yml * Update unittests.yml * Update unittests.yml * Update unittests.yml * Update unittests.yml * Update unittests.yml * Fix Failing Tests * Remove Unused Usings * Fix Failing Unit Tests * Update Failing tests * Update GitHubApiStatus.UnitTests.csproj * Update Target Frameworks * Remove Unused Code, Increase to v3.0.0
- Loading branch information
Showing
55 changed files
with
358 additions
and
343 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,42 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Project> | ||
<PropertyGroup> | ||
<LangVersion>latest</LangVersion> | ||
<Nullable>enable</Nullable> | ||
<WarningsAsErrors>nullable</WarningsAsErrors> | ||
<ProduceReferenceAssembly>True</ProduceReferenceAssembly> | ||
<GenerateErrorForMissingTargetingPacks>false</GenerateErrorForMissingTargetingPacks> | ||
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> | ||
<!--CS1570: XML comment has badly formed XML 'Expected an end tag for element [parameter] --> | ||
<!--CS1571: XML comment on [construct] has a duplicate param tag for [parameter] --> | ||
<!--CS1572: XML comment has a param tag for '[parameter]', but there is no parameter by that name --> | ||
<!--CS1573: Parameter has no matching param tag in the XML comment --> | ||
<!--CS1574: XML comment has cref attribute that could not be resolved--> | ||
<!--CS1734: XML comment has a paramref tag, but there is no parameter by that name--> | ||
<WarningsAsErrors>nullable,CS1570,CS1571,CS1572,CS1573,CS1574,CS1734</WarningsAsErrors> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<Optimize>true</Optimize> | ||
</PropertyGroup> | ||
</Project> | ||
<PropertyGroup> | ||
<Nullable>enable</Nullable> | ||
<NoWarn>NETSDK1023</NoWarn> | ||
<IsTrimmable>false</IsTrimmable> | ||
<LangVersion>latest</LangVersion> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> | ||
<ProduceReferenceAssembly>true</ProduceReferenceAssembly> | ||
<LatestSupportedNetVersion>net8.0</LatestSupportedNetVersion> | ||
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio> | ||
<GenerateErrorForMissingTargetingPacks>false</GenerateErrorForMissingTargetingPacks> | ||
<SkipValidateMauiImplicitPackageReferences>true</SkipValidateMauiImplicitPackageReferences> | ||
|
||
<!-- WarningsAsErrors | ||
CS0419: Ambiguous reference in cref attribute | ||
CS1570: XML comment has badly formed XML 'Expected an end tag for element [parameter] | ||
CS1571: XML comment on [construct] has a duplicate param tag for [parameter] | ||
CS1572: XML comment has a param tag for '[parameter]', but there is no parameter by that name | ||
CS1573: Parameter has no matching param tag in the XML comment | ||
CS1574: XML comment has cref attribute that could not be resolved | ||
CS1580: Invalid type for parameter 'parameter number' in XML comment cref attribute | ||
CS1581: Invalid return type in XML comment cref attribute | ||
CS1584: XML comment has syntactically incorrect cref attribute | ||
CS1587: XML comment is not placed on a valid language element | ||
CS1589: The syntax of a tag which referenced a file was incorrect | ||
CS1590: Invalid XML include element Missing file attribute | ||
CS1591: Missing XML comment for publicly visible type or member | ||
CS1592: Badly formed XML in included comments file | ||
CS1598: XML parser could not be loaded. The XML documentation file will not be generated. | ||
CS1658: Identifier expected; 'true' is a keyword | ||
CS1710: XML comment on 'type' has a duplicate typeparam tag for 'parameter' | ||
CS1711: XML comment has a typeparam tag, but there is no type parameter by that name | ||
CS1712: Type parameter has no matching typeparam tag in the XML comment | ||
CS1723: XML comment has cref attribute that refers to a type parameter | ||
CS1734: XML comment has a paramref tag, but there is no parameter by that name | ||
xUnit1012: Null should not be used for type parameter | ||
xUnit2021: Assert.ThrowsAsync is async. The resulting task should be awaited --> | ||
<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> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Project> | ||
<ItemGroup Condition="$(TargetFramework.StartsWith('Xamarin.iOS')) != true AND $(TargetFramework.EndsWith('-ios')) != true"> | ||
<Compile Remove="**\**\*.ios.cs" /> | ||
<None Include="**\**\*.ios.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" /> | ||
<Compile Remove="**\ios\**\*.cs" /> | ||
<None Include="**\ios\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="$(TargetFramework.StartsWith('Xamarin.Mac')) != true AND $(TargetFramework.EndsWith('-maccatalyst')) != true"> | ||
<Compile Remove="**\*.macos.cs" /> | ||
<None Include="**\*.macos.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" /> | ||
<Compile Remove="**\macos\**\*.cs" /> | ||
<None Include="**\macos\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="$(TargetFramework.StartsWith('Xamarin.Mac')) != true AND $(TargetFramework.StartsWith('Xamarin.iOS')) != true AND $(TargetFramework.EndsWith('-ios')) != true AND $(TargetFramework.EndsWith('-maccatalyst')) != true"> | ||
<Compile Remove="**\*.macios.cs" /> | ||
<None Include="**\*.macios.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" /> | ||
<Compile Remove="**\macios\**\*.cs" /> | ||
<None Include="**\macios\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="$(TargetFramework.StartsWith('MonoAndroid')) != true AND $(TargetFramework.EndsWith('-android')) != true "> | ||
<Compile Remove="**\**\*.android.cs" /> | ||
<None Include="**\**\*.android.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" /> | ||
<Compile Remove="**\android\**\*.cs" /> | ||
<None Include="**\android\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="$(TargetFramework.Contains('-windows')) != true "> | ||
<Compile Remove="**\*.windows.cs" /> | ||
<None Include="**\*.windows.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" /> | ||
<Compile Remove="**\windows\**\*.cs" /> | ||
<None Include="**\windows\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="$(TargetFramework.Contains('-tizen')) != true "> | ||
<Compile Remove="**\*.tizen.cs" /> | ||
<None Include="**\*.tizen.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" /> | ||
<Compile Remove="**\tizen\**\*.cs" /> | ||
<None Include="**\tizen\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="!($(TargetFramework.StartsWith('net')) == true AND $(TargetFramework.EndsWith('.0')) == true AND $(TargetFramework.Contains('-')) != true)"> <!-- e.g net6.0 or net7.0 --> | ||
<Compile Remove="**\*.net.cs" /> | ||
<None Include="**\*.net.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" /> | ||
<Compile Remove="**\net\**\*.cs" /> | ||
<None Include="**\net\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"sdk": { | ||
"version": "7.0.100", | ||
"rollForward": "latestMajor" | ||
"version": "8.0.300", | ||
"rollForward": "latestFeature" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.