Cant package project, visual studio is installed

hello everyone, I’m trying to package my project, on first try it said I didnt have visual studio installed, so I installed it, now its still saying its not installed, even though its installed, any way to get past this annoying bug?

Uninstalled visual studio 2015 and installed visual studio 2017, works now.