-
Notifications
You must be signed in to change notification settings - Fork 0
fix(ci): this time? #19
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
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,18 @@ | ||||||||||||||||
| <Project> | ||||||||||||||||
| <!-- | ||||||||||||||||
| NuGet auto-import entry point for the BulletsForHumanity.Scribe package. | ||||||||||||||||
|
|
||||||||||||||||
| NuGet looks for build/<PackageId>.props when a project PackageReferences | ||||||||||||||||
| this package, and imports it early (before user targets). We chain here | ||||||||||||||||
| into Scribe.LocalDev.props so every consumer — regardless of whether | ||||||||||||||||
| they use the Scribe.Sdk or Microsoft.NET.Sdk — gets the LocalDev | ||||||||||||||||
| consumer-side infrastructure (IsLocalScribe detection, additional | ||||||||||||||||
| NuGet source registration). | ||||||||||||||||
|
|
||||||||||||||||
| $(ScribeRoot) and $(ScribesName) must be set by the consumer's | ||||||||||||||||
| Directory.Build.props BEFORE this auto-import fires; otherwise the | ||||||||||||||||
| file is a no-op. | ||||||||||||||||
|
Comment on lines
+12
to
+14
|
||||||||||||||||
| $(ScribeRoot) and $(ScribesName) must be set by the consumer's | |
| Directory.Build.props BEFORE this auto-import fires; otherwise the | |
| file is a no-op. | |
| $(ScribeRoot) must be set by the consumer's Directory.Build.props | |
| BEFORE this auto-import fires; otherwise LocalDev consumer behavior is | |
| effectively a no-op. $(ScribesName) is only required for producer | |
| projects. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <Project> | ||
| <!-- | ||
| NuGet auto-import entry point for the BulletsForHumanity.Scribe package | ||
| (late phase). Counterpart to BulletsForHumanity.Scribe.props. | ||
|
|
||
| Chains into Scribe.LocalDev.targets so consumers get the CPM version | ||
| override imports ($(ScribeArtifactsDir)*.Directory.Packages.targets) | ||
| and the producer-side cleanup/emit logic when this project is itself | ||
| part of a producer set. | ||
| --> | ||
| <Import Project="$(MSBuildThisFileDirectory)Scribe.LocalDev.targets" | ||
| Condition="Exists('$(MSBuildThisFileDirectory)Scribe.LocalDev.targets')" /> | ||
| </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.
Deleting NuGet.config removes the repo’s only explicit local package source. Because global.json pins the MSBuild SDK
BulletsForHumanity.Scribe.Sdkto a timestamped-dev.*version,dotnet restorewill typically be unable to resolve the SDK from nuget.org and restores/builds will fail. Consider either (1) keeping a NuGet.config that points to a repo-local.artifacts/packagesfeed (and ensuring the directory exists before restore), or (2) changing global.json to reference a published SDK version so no local feed is required.