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

IGNITE-15504 .NET: Modernize project structure #9474

Merged
merged 130 commits into from Oct 8, 2021

Conversation

ptupitsyn
Copy link
Contributor

@ptupitsyn ptupitsyn commented Oct 6, 2021

  • Update all projects (csproj files) to use SDK-style format https://docs.microsoft.com/en-us/dotnet/core/project-sdk/overview#project-files
  • Remove nuspec files, use csproj properties instead.
  • Target netstandard2.0 in modern libraries (Core, Linq, loggers).
  • Target net461 in legacy libraries (EF, ASP.NET).
  • Target netcoreapp3.1 in examples (lowest supported .NET Core version at the moment).
  • Use dotnet CLI to build binaries and packages: this works on any OS, even for legacy Windows-only libraries.
  • Delete legacy NuGet tests.
  • Update build.ps1 - remove complicated logic for nuget and binaries, use simple dotnet CLI commands.

As a result:

  • Nothing should change for the users.
  • Visual Studio is not required.
  • The only requirement is .NET Core SDK 3.1.
  • Build procedure is trivial and works on any OS.
  • Future SDK upgrades are trivial.

@ptupitsyn ptupitsyn marked this pull request as ready for review October 7, 2021 10:14
Copy link
Contributor

@isapego isapego left a comment

Choose a reason for hiding this comment

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

Looks good to me

@ptupitsyn ptupitsyn merged commit 30e6817 into apache:master Oct 8, 2021
@ptupitsyn ptupitsyn deleted the ignite-15504 branch October 8, 2021 10:47
xintrian pushed a commit to xintrian/ignite that referenced this pull request May 27, 2022
* Update all projects (csproj files) to use SDK-style format https://docs.microsoft.com/en-us/dotnet/core/project-sdk/overview#project-files
* Remove nuspec files, use csproj properties instead.
* Target netstandard2.0 in modern libraries (Core, Linq, loggers).
* Target net461 in legacy libraries (EF, ASP.NET).
* Target netcoreapp3.1 in examples (lowest supported .NET Core version at the moment).
* Use dotnet CLI to build binaries and packages: this works on any OS, even for legacy Windows-only libraries.
* Delete legacy NuGet tests.
* Update build.ps1 - remove complicated logic for nuget and binaries, use simple dotnet CLI commands.

As a result:
* Nothing should change for the users.
* Visual Studio is not required.
* The only requirement is .NET Core SDK 3.1.
* Build procedure is trivial and works on any OS.
* Future SDK upgrades are trivial.
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.

None yet

2 participants