Skip to content

VS: Select CSharp References to be added with only <HintPath> Tag

Add target property VS_DOTNET_REFERENCES_HINT_PATH_ONLY that can be set to a value like Xceed.Wpf.Toolkit;ZedGraph to produce .csproj file content:

    <Reference Include="Xceed.Wpf.Toolkit">
      <HintPath>C:\Local_Path\packages\Extended.Wpf.Toolkit.3.5.0\lib\net40\Xceed.Wpf.Toolkit.dll</HintPath>
    </Reference>

Fixes: #19621
Topic-rename: vs-csharp-dotnet-references-hint-path-only

Edited by Brad King

Merge request reports