-
-
Notifications
You must be signed in to change notification settings - Fork 45
Remove mergenupkg: split Myriad and Myriad.Sdk into separate NuGet packages #189
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,12 +7,6 @@ | |
| "commands": [ | ||
| "paket" | ||
| ] | ||
| }, | ||
| "dotnet-mergenupkg": { | ||
| "version": "3.0.0", | ||
| "commands": [ | ||
| "dotnet-mergenupkg" | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -4,12 +4,14 @@ | |||||
| <TargetFramework>netstandard2.1</TargetFramework> | ||||||
| <IncludeBuildOutput>false</IncludeBuildOutput> | ||||||
| <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences> | ||||||
| <SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking> | ||||||
| <PackProjectInputFile>$(MSBuildProjectFullPath)</PackProjectInputFile> | ||||||
| <NoBuild>true</NoBuild> | ||||||
| <PackageId>Myriad.Sdk</PackageId> | ||||||
| <Description>MSBuild integration between Myriad and .NET Sdk projects</Description> | ||||||
| </PropertyGroup> | ||||||
| <ItemGroup> | ||||||
| <PackageReference Include="Myriad" Version="$(Version)" /> | ||||||
|
||||||
| <PackageReference Include="Myriad" Version="$(Version)" /> | |
| <ProjectReference Include="..\Myriad\Myriad.fsproj" /> |
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.
Myriad.Sdk.projnow has aPackageReferencetoMyriad, but the Pack target packsMyriad.Sdkbefore packing the solution that producesMyriad.$(Version).nupkg. For a new version/tag (or any local pack where that version isn't already on NuGet),dotnet pack src/Myriad.Sdk/Myriad.Sdk.projwill fail restore becauseMyriadat$(Version)isn't available yet. Consider either packingMyriadfirst and adding$(NupkgsDir)as a restore source when packingMyriad.Sdk, or switching to a project-reference-based approach so the dependency can be resolved without requiring a pre-published package.