Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to .NET 8 #160

Merged
merged 5 commits into from
Feb 5, 2024
Merged

Update to .NET 8 #160

merged 5 commits into from
Feb 5, 2024

Conversation

smoogipoo
Copy link
Contributor

@smoogipoo smoogipoo commented Feb 2, 2024

This package (or at least the Powershell part of it) is runtime
dependent, and causes a build warning. I could either ignore the warning
globally, or remove the package.

I chose to remove the package because we don't deploy via Appveyor
anymore.
@@ -717,26 +715,6 @@ private static void pauseIfInteractive()
Console.WriteLine();
}

private static bool updateAppveyorVersion(string version)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See 0c96adb for explanation why.

@Susko3
Copy link
Member

Susko3 commented Feb 5, 2024

Program.cs still builds osu! on net6.0:

$ rg net6.0
Program.cs
152:                    runCommand("dotnet", $"publish -f net6.0 -r win-x64 {ProjectName} -o \"{stagingPath}\" --configuration Release /p:Version={version}");
259:                                         + " -f net6.0-android"
275:                                         + " -f net6.0-ios"
304:                    runCommand("dotnet", $"publish -f net6.0 -r linux-x64 {ProjectName} -o {stagingTarget}/usr/bin/ --configuration Release /p:Version={version} --self-contained");

@peppy peppy self-requested a review February 5, 2024 13:39
@peppy
Copy link
Member

peppy commented Feb 5, 2024

Is the -f net8.0 spec actually required? It's not there on the macOS build command so I guess we add it there for conformity, but wouldn't you expect it to use the csproj specs in the first place (and not be required)?

@bdach
Copy link
Collaborator

bdach commented Feb 5, 2024

I'd say it's good sanity against accidentally deploying on a higher runtime, but /shrug

Copy link
Member

@peppy peppy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably okay.

@peppy peppy merged commit bd14fb7 into ppy:master Feb 5, 2024
2 checks passed
@smoogipoo smoogipoo deleted the net8 branch August 31, 2024 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants