-
Notifications
You must be signed in to change notification settings - Fork 1k
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
base: dev
Are you sure you want to change the base?
Conversation
Directory.Package.props
Directory.Package.props
- update `nuget` to `latest`
@@ -0,0 +1,8 @@ | |||
<Project> | |||
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" /> |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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)../'))" /> |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
Changes
Directory.Build.props
,Directory.Packages.props
insidecore
directoryDirectory.Build.props
insidecontrib
directoryDirectory.Build.targets
insidecore
directoryChecklist
For significant changes, please ensure that the following have been completed (delete if not relevant):