Go to Build Settings, choose SDK version and build your project to a folder
Visual Studio solution will be generated
Is something described here not working as you expect it to? It might be a Known Issue. Please check with the Issue Tracker at issuetracker.unity3d.com.