You're using the preview version but on Microsoft website https://visualstudio.microsoft.com/vs/preview/#download-preview
it states that the preview is not licensed to build your applications.