Closed HeSitates closed 5 months ago
Hmm, I'm not totally sure to be honest; when I look at pgscanTool.csproj, I see <TargetFrameworks>net6.0;net7.0</TargetFrameworks>
.
So it should work if you have NET6 or NET7 installed?
dotnet tools are a little funny - i think the package has to target the exact verison used to run the build, which in this case is net8.0. We'll add that as a target to pgscanTool, which should fix this.
So it should work if you have NET6 or NET7 installed? I can confirm that it does not do that. š¢
dotnet tools are a little funny š
i think the package has to target the exact verison used to run the build, which in this case is net8.0. We'll add that as a target to pgscanTool, which should fix this. That would be great! Thnxs!
We've just published v1.5.11, which also targets net8.0 for the dotnet tool.
We have removed some old stuff on our build server and now one build fails, all other builds build without a problem.
The app itself is build (still .Net 6), but pgscan uses .Net 7 (no SDK installed) and then fails.
I've tried the build with .Net SDK 6 and 8, but it makes no difference. The log of the failing build step:
What am I doing wrong?