Issue with Swift Installation

I have been trying to run Swift on my windows 11. I installed the latest release and afterwards checked "swift --version" in cmd and it gave me this error:

warning: no such SDK: “C:\Library\Developer\Platforms\Windows.platform\Developer\SDKs\Windows.sdk”

Does anyone know how to fix this? If there's any info I can provide that would help solve the issue I'd happy to do so

Hi @cassik

I use the following instructions with my students:

Can you check if you missed any steps? In particular, make sure the Visual Studio components are installed before installing Swift. If you install Swift first, then Visual Studio, you may need to repair your Swift installation.