Skip to content

Conversation

@mo3in
Copy link
Contributor

@mo3in mo3in commented May 19, 2025

This pull request introduces support for .NET 10 by adding the corresponding reference assemblies and enhances the CI/CD pipeline with a generator compatible with Linux environments.

Changes Included:

  • Added Basic.Reference.Assemblies.Net100 project containing .NET 10 reference assemblies.
  • Updated solution files to include the new project.
  • Integrated a generator into the CI/CD pipeline to automate tasks.
  • Ensured the CI/CD pipeline is compatible with Linux environments, facilitating cross-platform builds.

These enhancements allow developers to target .NET 10 in Roslyn-based in-memory compilations using the provided reference assemblies and benefit from an automated, cross-platform CI/CD process.

#67

@mo3in mo3in changed the title .net 10 support .Net 10 Support May 19, 2025
Copy link
Owner

@jaredpar jaredpar left a comment

Choose a reason for hiding this comment

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

Thanks for this contribution!


runs-on: ubuntu-latest
env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
Copy link
Owner

Choose a reason for hiding this comment

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

Why did you need to do this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

because this environment is not defined on build server

Co-authored-by: Jared Parsons <[email protected]>
@jaredpar jaredpar enabled auto-merge (squash) May 21, 2025 18:04
@jaredpar jaredpar merged commit d87dab7 into jaredpar:main May 21, 2025
1 check passed
using Microsoft.CodeAnalysis;

namespace Basic.Reference.Assemblies;
public static partial class Net90
Copy link

Choose a reason for hiding this comment

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

I'm assuming that this is wrong?

I'm seeing the following error in a project using both:

error CS0433: The type 'Net90' exists in both 'Basic.Reference.Assemblies.Net100, Version=1.0.0.0, Culture=neutral, PublicKeyToken=00aeae93c2ffe759' and 'Basic.Reference.Assemblies.Net90, Version=1.0.0.0, Culture=neutral, PublicKeyToken=00aeae93c2ffe759'

Copy link

Choose a reason for hiding this comment

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

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.

3 participants