The most probable cause is a recent Windows security update:
We can offer two solutions until a new Microsoft release resolves the issue:
https://github.com/dotnet/announcements/issues/53
- Uninstall the last security update
- Uninstall the last .Net 4.7.1 and get back to 4.7.