-
Notifications
You must be signed in to change notification settings - Fork 292
Open
Labels
Description
Discussed in #7440
Originally posted by anthonymastreanvae February 20, 2026
Directory.Build.props
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageVersionOverrideEnabled>false</CentralPackageVersionOverrideEnabled>
</PropertyGroup>
</Project>Example.Tests.csproj
<Project Sdk="MSTest.Sdk/4.1.0">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>Error:
error NU1013: The following PackageReference items cannot specify a value for VersionOverride: MSTest.TestFramework. Projects using Central Package Management are currently configured to disable this functionality. For more information, visit https://aka.ms/nuget/cpm/versionoverride
error NU1013: The following PackageReference items cannot specify a value for VersionOverride: MSTest.TestAdapter. Projects using Central Package Management are currently configured to disable this functionality. For more information, visit https://aka.ms/nuget/cpm/versionoverride
error NU1013: The following PackageReference items cannot specify a value for VersionOverride: Microsoft.Testing.Extensions.CodeCoverage. Projects using Central Package Management are currently configured to disable this functionality. For more information, visit https://aka.ms/nuget/cpm/versionoverride
error NU1013: The following PackageReference items cannot specify a value for VersionOverride: Microsoft.Testing.Extensions.TrxReport. Projects using Central Package Management are currently configured to disable this functionality. For more information, visit https://aka.ms/nuget/cpm/versionoverride
```</div>
Reactions are currently unavailable