Conversation
NUnit.Console is not used by any project in the template (it is not referenced in any paket.references file). Its only effect is to introduce NUnit.Extension.TeamCityEventListener as a transitive dependency, which is an unlisted NuGet package and triggers a paket warning for new users. Microsoft.NETCore.App is similarly unreferenced and is a deprecated package targeting an old runtime (2.2.8). This removes both packages from paket.dependencies and regenerates paket.lock with paket 9.0.2, removing 11 no-longer-needed entries. Addresses the unlisted-package warning reported in #387. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This was referenced Feb 25, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 This PR was created by Repo Assist, an automated AI assistant.
Addresses the unlisted-package warning reported in #387.
Root Cause
paket.dependenciesin the template's Test group included two packages that are not referenced by any project:NUnit.Console— not in anypaket.referencesfile; its only effect is to bring inNUnit.Extension.TeamCityEventListeneras a transitive dependency. That package is marked unlisted on NuGet.org, causing paket to emit a warning on everypaket installorpaket update.Microsoft.NETCore.App— also unreferenced; targets an old runtime (2.2.8) and has been deprecated.Fix
Remove both packages from
templates/content/basic/paket.dependenciesand regeneratetemplates/content/basic/paket.lockwithdotnet paket install(paket 9.0.2). This removes 11 lock-file entries:Microsoft.NETCore.App,Microsoft.NETCore.DotNetAppHost,Microsoft.NETCore.DotNetHostPolicy,Microsoft.NETCore.DotNetHostResolverNUnit.Console,NUnit.ConsoleRunner,NUnit.Extension.NUnitProjectLoader,NUnit.Extension.NUnitV2Driver,NUnit.Extension.NUnitV2ResultWriter,NUnit.Extension.TeamCityEventListener,NUnit.Extension.VSProjectLoaderThe template tests still use
Microsoft.NET.Test.Sdk,NUnit, andNUnit3TestAdapter— everything needed to rundotnet test.Trade-offs
None. The removed packages were unused dead weight in the template.
Test Status
The paket lock file was regenerated cleanly with
dotnet paket install. The template file set (paket.dependencies + paket.lock + paket.references) is internally consistent. Full integration testing (installing the template viadotnet new) was not run, but the change is minimal and mechanical.