October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk2 min

.NET 10 NU1015: Choose the Right Fix for Versionless References

NU1015 means .NET 10 found a PackageReference without a version. Choose the right fix based on whether the dependency is centrally managed.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

NU1015 means .NET 10 found a PackageReference with no version. If the project uses Central Package Management (CPM), a versionless reference may be intentional: check that CPM is enabled and applies to that reference before changing it. If the project does not use CPM for the dependency, add an explicit version.

Why .NET 10 reports NU1015

Starting with .NET 10, a PackageReference without a version produces error NU1015. Previously, the missing lower bound produced warning NU1604 and could allow restore to select the lowest available version, a behavior Microsoft says developers rarely want. The official error text is: “The following PackageReference item(s) do not have a version specified: PackageA.” Microsoft documents the change and its compatibility options.

As an Amazon Associate I earn from qualifying purchases.

Find the versionless PackageReference

The item may be in the project file or an imported MSBuild file, such as Directory.Build.props. Search the project and relevant imported configuration for the package named in the error. Then establish whether that dependency is meant to have a version in the project or receive one centrally.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose the fix that matches your versioning model

If the project does not use Central Package Management for this dependency

Add the intended version to the reference. For example:

<PackageReference Include="Some.Package" Version="1.2.3" />

Use the version appropriate to the project; the example is illustrative, not a recommendation for a particular package.

If the project uses Central Package Management

CPM keeps package versions in central configuration, so a versionless PackageReference can be correct. Do not add an arbitrary local version before checking the solution’s policy: first investigate why CPM is disabled or not applied to this project or reference. Microsoft’s NU1015 reference describes the error; the .NET 10 compatibility note explains the behavioral change.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

When to use the documented alternatives

Deliberately selecting the lowest package version

If lowest-version selection is intentional, Microsoft’s compatibility note recommends setting Version="0.0.0". It says this results in warning NU1603 instead of the earlier NU1604. This is a specific alternative behavior, not the general fix for a missing version.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Reverting to the previous warning behavior

The compatibility note also documents setting SdkAnalysisLevel to 9.0.300 or lower to restore the previous warning behavior. This setting affects all features gated by SdkAnalysisLevel, not just NU1015. Prefer correcting the missing version or CPM configuration unless that broader change is intended.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.