I would like iteration in the nuget package without continuously clicking on the package in the nuget feed.
I am wondering if it is possible to conditionally add a link to a project instead of a link to a nuget package through a target or props file in csproj files, which will allow me to debug my nuget package locally.
In my csproj, I would:
<Reference Include="A"> if(Exists(localOverrides.props) { <HintPath>localOverrides.A.HintPath</HintPath> } else { <HintPath>..\packages\A.dll</HintPath> } </Reference>
and localOverrides.props will be the file specified in my .gitignore, which developers could add lines to the text:
A -> C:\Repos\A\bin\A.dll
Am I really wrong? Of course, there should be a more robust way to quickly iteratively debug a nuget package, and then create packages before release with every change
source share