Skip to content

Update samples #530

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

Merged
merged 10 commits into from
Sep 6, 2024
Merged

Update samples #530

merged 10 commits into from
Sep 6, 2024

Conversation

twsouthwick
Copy link
Member

@twsouthwick twsouthwick commented Aug 7, 2024

This change does the following:

  • Create a .slnLaunch file to easily launch the samples (including the multi-app samples)
  • Target .NET 8.0 for samples
  • Update YARP to 2.1.0
  • Clean up registrations to recommended patterns
  • Convert samples to use MSBuild.SDK.SystemWeb
  • Directory.Build.[props|targets] for samples can now bring in the arcade sdk for more consistent projects

This change does the following:

- Create a .slnLaunch file to easily launch the samples (including the multi-app samples)
- Update YARP to 2.1.0
- Clean up registrations to recommended patterns
- Convert samples to use MSBuild.SDK.SystemWeb
@twsouthwick twsouthwick requested a review from joperezr August 15, 2024 16:34
@twsouthwick twsouthwick marked this pull request as ready for review August 15, 2024 16:34
@twsouthwick
Copy link
Member Author

@joperezr can I get a review of this?

@@ -18,6 +18,7 @@
}
},
"msbuild-sdks": {
"MSBuild.SDK.SystemWeb": "4.0.88",
Copy link
Member

Choose a reason for hiding this comment

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

How will this get updated when new versions are available? Do we care at all?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure - probably manually until dependabot can handle global.json


<PropertyGroup>
<NoWarn>
$(NoWarn);
Copy link
Member

Choose a reason for hiding this comment

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

NIT: typically you would instead create an .editorconfig or .ruleset where you define which warnings should trigger.

Copy link
Member Author

Choose a reason for hiding this comment

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

I agree, but with this it was quick and dirty to remove warnings and I'll follow up with a proper fix to the code patterns

@twsouthwick twsouthwick merged commit be179de into main Sep 6, 2024
5 checks passed
@twsouthwick twsouthwick deleted the web-sdk branch September 6, 2024 19:06
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.

2 participants