SShortSingh.
Back to feed

.NET 10 Makes Missing PackageReference Versions a Hard Restore Error

0
·1 views

.NET 10 introduces error NU1015, which causes restore to fail outright when a PackageReference is declared without a version, replacing the earlier NU1604 warning that previously allowed restore to continue. Before this change, NuGet would silently resolve the lowest available package version, a behavior Microsoft now classifies as a stable breaking change in its .NET 10 compatibility guidance. The challenge is that a versionless PackageReference is also the correct syntax when using NuGet Central Package Management (CPM), where versions are defined centrally in a Directory.Packages.props file. Developers must first determine whether a direct reference or a CPM policy should own the version, since blindly adding versions everywhere can unintentionally bypass repository-wide package governance. Microsoft's compatibility documentation and the CPM guide both outline the correct fix depending on which ownership model a project uses.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

JigJoy, daily.dev and Hyperskill host online hackathon for concurrent AI agents in September

JigJoy, daily.dev, and Hyperskill are co-organizing a free online hackathon focused on building concurrent AI agents, scheduled for September 5–6, 2026. The event challenges developers to move beyond traditional sequential multi-agent workflows using Mozaik, JigJoy's open-source TypeScript framework. Participants can enter solo or as a team from anywhere in the world at no cost. The prize pool includes over $2,900 in total rewards, with $1,000 in cash and ten annual daily.dev Plus subscriptions among the offerings. Developers can register at build.jigjoy.ai to compete and showcase what concurrent agent systems can achieve.

0
ProgrammingDEV Community ·

Atlassian Defaults to AI Training on User Data; Full Opt-Out Locked Behind Enterprise Plan

Starting August 17, Atlassian began using content from its Cloud products — including Confluence pages and Jira tickets — to train its AI assistant Rovo, with data contribution switched on by default. Users on Free, Standard, and Premium plans can disable in-product content sharing, but the option to turn off metadata contribution is restricted to Enterprise customers only. Metadata collected includes task classifications, readability scores, story points, and semantic-similarity signals derived from user activity. Org admins on eligible plans must manually navigate to Atlassian Administration settings to opt out, meaning inaction results in continued data contribution. Critics note that users on the cheapest plans contribute the most data by default and have the fewest controls, making full privacy effectively a paid tier.

0
ProgrammingDEV Community ·

Developer builds ad-free beer-logging app HopLog as minimalist Untappd alternative

A developer frustrated with Untappd's ads, cluttered interface, and social check-in pressure built HopLog, a personal beer-logging app designed around simplicity. Inspired by Letterboxd's clean, journal-first approach to film logging, HopLog lets users record drinks, track preferences, and discover new beers without algorithmic feeds or unnecessary features. The app was developed across six structured milestones — covering authentication, a beer and brewery database, tasting logs, user profiles, and a social layer — before launching at hoplog-web.vercel.app. The developer acknowledges that Untappd's 15-plus years of crowdsourced data remains a significant competitive advantage that design alone cannot overcome. HopLog is free and ad-free, targeting a niche of users who prefer a calmer, less commercialised experience over mainstream platforms.

0
ProgrammingDEV Community ·

Developer builds emoji-linting tool that halts site deploys on style violations

A developer managing a fleet of static sites created a custom linting tool called emoji-lint to automatically enforce a house style rule banning emoji from published content. The tool scans HTML files using a Unicode regex and exits with an error code if any emoji is detected, blocking the day's deployment until the issue is resolved. Building the tool into real operation revealed three legitimate exceptions: verbatim quotes from others, proper nouns with official symbol-containing spellings, and content where emoji is itself the subject. To handle these cases without weakening the rule, the tool uses a 'masking' approach that blanks out exempt content before scanning, preserving line numbers for accurate error reporting. Safeguards were added to prevent abuse, such as rejecting allowlist entries made up entirely of symbols, ensuring the exemption system cannot be exploited to bypass the rule entirely.