Skip to content

Commit d9989dd

Browse files
Update to .NET 8.0 GA (#190)
* Update for .NET 8.0 GA * Update HackerNews.csproj
1 parent b65b5ff commit d9989dd

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

Directory.Build.props

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Project>
33
<PropertyGroup>
4-
<!-- Fixes https://github.com/dotnet/maui/pull/12114 -->
5-
<PublishReadyToRun>false</PublishReadyToRun>
64
<Nullable>enable</Nullable>
75
<NuGetVersion>7.0.0</NuGetVersion>
8-
<LangVersion>preview</LangVersion>
6+
<LangVersion>latest</LangVersion>
97
<Deterministic>true</Deterministic>
108
<LatestSupportedTFM>net8.0</LatestSupportedTFM>
119
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
12-
<ProduceReferenceAssembly>True</ProduceReferenceAssembly>
10+
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
1311
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
1412
<GenerateErrorForMissingTargetingPacks>false</GenerateErrorForMissingTargetingPacks>
1513
<!-- WarningsAsErrors
@@ -22,12 +20,18 @@
2220
CS1580: Invalid type for parameter 'parameter number' in XML comment cref attribute
2321
CS1581: Invalid return type in XML comment cref attribute
2422
CS1584: XML comment has syntactically incorrect cref attribute
23+
CS1587: XML comment is not placed on a valid language element
2524
CS1589: The syntax of a tag which referenced a file was incorrect
2625
CS1590: Invalid XML include element Missing file attribute
26+
CS1591: Missing XML comment for publicly visible type or member
2727
CS1592: Badly formed XML in included comments file
2828
CS1598: XML parser could not be loaded. The XML documentation file will not be generated.
29-
CS1658: Identifier expected; 'true' is a keyword
29+
CS1658: Identifier expected; 'true' is a keyword
30+
CS1710: XML comment on 'type' has a duplicate typeparam tag for 'parameter'
31+
CS1711: XML comment has a typeparam tag, but there is no type parameter by that name
32+
CS1712: Type parameter has no matching typeparam tag in the XML comment
33+
CS1723: XML comment has cref attribute that refers to a type parameter
3034
CS1734: XML comment has a paramref tag, but there is no parameter by that name -->
31-
<WarningsAsErrors>nullable,CS0419,CS1570,CS1571,CS1572,CS1573,CS1574,CS1580,CS1581,CS1584,CS1589,CS1590,CS1592,CS1598,CS1658,CS1734</WarningsAsErrors>
35+
<WarningsAsErrors>nullable,CS0419,CS1570,CS1571,CS1572,CS1573,CS1574,CS1580,CS1581,CS1584,CS1587,CS1589,CS1590,CS1591,CS1592,CS1598,CS1658,CS1710,CS1711,CS1712,CS1723,CS1734</WarningsAsErrors>
3236
</PropertyGroup>
3337
</Project>

azure-pipelines.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ jobs:
4949
inputs:
5050
version: '8.0.x'
5151
packageType: 'sdk'
52-
includePreviewVersions: true
5352

5453
- powershell: dotnet workload install maui --skip-sign-check --source https://api.nuget.org/v3/index.json
5554
displayName: Install Latest .NET MAUI Workload
@@ -137,7 +136,6 @@ jobs:
137136
inputs:
138137
version: '8.0.x'
139138
packageType: 'sdk'
140-
includePreviewVersions: true
141139

142140
- task: NuGetToolInstaller@1
143141
displayName: 'Use NuGet'

global.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.100-rc.2.23502.2",
4-
"rollForward": "latestFeature",
5-
"allowPrerelease": true
3+
"version": "8.0.100",
4+
"rollForward": "latestFeature"
65
}
76
}

sample/HackerNews.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<PackageReference Include="CommunityToolkit.Maui.Markup" Version="3.3.1" />
4444
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
4545
<PackageReference Include="CommunityToolkit.Maui" Version="6.1.0" />
46-
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.0-rc.2.9530" />
46+
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.3" />
4747
</ItemGroup>
4848

4949
<ItemGroup>

0 commit comments

Comments
 (0)