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

[CORE] Dependencies are now moved to Directory.Package.props #6729

Open
wants to merge 45 commits into
base: dev
Choose a base branch
from

Conversation

eaba
Copy link
Contributor

@eaba eaba commented May 4, 2023

Changes

  • Add Directory.Build.props, Directory.Packages.props inside core directory
  • Add Directory.Build.props inside contrib directory
  • Add Directory.Build.targets inside core directory

Checklist

For significant changes, please ensure that the following have been completed (delete if not relevant):

@eaba eaba changed the title [CORE][Akka] Dependencies are now moved to Directory.Package.props [CORE] Dependencies are now moved to Directory.Package.props May 4, 2023
@eaba
Copy link
Contributor Author

eaba commented May 13, 2023

@eaba eaba marked this pull request as ready for review May 13, 2023 16:30
@@ -0,0 +1,8 @@
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Import Directory.Build.props from src directory

Copy link
Member

Choose a reason for hiding this comment

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

Why not just have one Directory.Build.props file that governs everything?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

SourceLink support for all Akka.NET projects: we need contrib/Directory.Build.props and I added PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" to fix it

@@ -0,0 +1,8 @@
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Import Directory.Build.props from src directory

Copy link
Member

Choose a reason for hiding this comment

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

Same as above.

Copy link
Contributor Author

@eaba eaba May 18, 2023

Choose a reason for hiding this comment

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

SourceLink support for all Akka.NET projects: we need core/Directory.Build.props and I added PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" to fix it

Condition="'$(MSBuildProjectExtension)' == '.fsproj' And '$(DisableImplicitFSharpCoreReference)' != 'true' And '$(UpdateImplicitFSharpCoreReference)' != 'false'"
IsImplicitlyDefined="true" />
</ItemGroup>
</Project>
Copy link
Contributor Author

@eaba eaba May 17, 2023

Choose a reason for hiding this comment

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

Added Directory.Build.targets FSharp.Core

Copy link
Member

Choose a reason for hiding this comment

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

Ah interesting - this is where the NuGet package duplicate warning error has also come from too I suspect. Nice fix.

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