-
Notifications
You must be signed in to change notification settings - Fork 849
New ApiCompat #2303
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
New ApiCompat #2303
Conversation
|
Questions:
|
|
I was able to get the compiler to complain to me about both the examples from the article:
Note: These errors occur during the |
We would want to replace ApiCompat checks with PackageValidation eventually. PackageValidation will be release with .NET 6 so we will have to wait until it's stable.
Refer to @cijothomas 's comment here: #2075 (comment)
This is done when calling the powershell script to install the base contract assemblies. After every stable release,
You can create a new workflow until the time we get rid of ApiCompat. This workflow calls the powershell script to install the base contract assemblies. |
This is expected. ApiCompat checks compatibility for assemblies so it only needs to build. PackageValidation checks compatibility for |
|
Build from the work done in this PR dotnet/aspnetcore#35846 👍 |
|
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
|
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
Fixes #2081
Changes
LangVersionfrom8.0to10.0due to this errorF:\Git\mic-max\opentelemetry-dotnet\src\OpenTelemetry\obj\Debug\net6.0\OpenTelemetry.ImplicitNamespaceImports.cs(8,1): error CS8400: Feature 'global using directive' is not available in C# 8.0. Please use language version 10.0 or greater. [F:\Git\mic-max\opentelemetry-dotnet\src\OpenTelemetry\OpenTelemetry.csproj]PackageVersionandPackageValidationBaselineVersionneed to be decided on.