i converted my solution to .net5.0. After converting i got a lot of errors due to : Reference required to assembly System.windows.forms , version 4.0.0.0, containing the typ