MonoDevelop.MSBuildEditor icon indicating copy to clipboard operation
MonoDevelop.MSBuildEditor copied to clipboard

Show package version on `PackageReference` when it's set centrally

Open chucker opened this issue 1 year ago • 1 comments

If I use a Directory.Packages.props with content like:

<Project>
  <PropertyGroup>
    <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
  </PropertyGroup>
  <ItemGroup>
    <PackageVersion Include="CefSharp.Wpf" Version="127.3.50" />
  </ItemGroup>
</Project>

And then reference that package in my csproj (notice that leaving out the version is mandatory in this case):

        <PackageReference Include="CefSharp.Wpf" />

, it would be neat to see, in the package tooltip, which version it has inferred from the PackageVersion element. That way, I'd have to jump between files a little less.

chucker avatar Sep 13 '24 10:09 chucker

Would also be nice to show available package versions when editing the PackageVersion Version in Directory.Packages.props.

KirillOsenkov avatar Oct 03 '24 01:10 KirillOsenkov