I tested again and now it worked! VS must have hung up or something before since the error didn't disappear.

So thank you!