Josue Cc
Josue Cc

Reputation: 28

Unable to find dependency on pre-build aplication, Installer Visual studio C#

I have a project that references libreries with netstandar 2.0. When the project compile there are not problems, but when I try create an installer is just not working. Well, the file is created but the application does not work properly, especifically with System.Text.Json. Firts the compile output showed something like "unable to find System.Text.Json Version 5.0.0.0" and others, well this message is no longer showed but persist other problems and the application does not work anyway, mainly when try to serealize-deserealize objects with System.Text.Json.

Here these message that its gettingUnable to find dependecy

Upvotes: 0

Views: 301

Answers (1)

Jack J Jun- MSFT
Jack J Jun- MSFT

Reputation: 5986

Based on the comment, the solution is that we need to change the target framework to .NET Core3.1 or later version.

Upvotes: 1

Related Questions