Net 7 Project files for project linking
benquan opened this issue · 2 comments
I am converting a solution from Framework 4.8 to .NET 7. The old solution has a link to zxing.net4.8 project and everything works fine. But when building in .NET 7 there is no .NET 7 project to reference. I tested using the Nuget package directly and it works perfectly in NET 7, but I need to do some tweaking to the source code of Zxing so I need to reference the project directly.
Any help?
You can build your own nuget package with your tweaks and reference this one.
Or you build the tweaked zxing assembly, put the assembly in a 3rdParty directory, and reference the dll directly from there.
I wouldn't put any 3rdParty projects into my solution. They would be built every time when I want to build only my own projects.
And perhaps, something like the following should work if you add it to your project. But I did try it myself.
<ItemGroup>
<ProjectReference Include="..\..\lib\netstandard\ZXing.Net.csproj" />
</ItemGroup>