Build Error on Visual Studio-ionic

I have an error “Windows 8 or higher is required to build for Windows” when i try to build my ionic app with Visual Studio 17. My OS is windows 7.

The error means that I have to upgrade my os to windows 8 or higher?

Thanks in advance.