Invalid version

I messed up my references and Ive specified a version that doesnt exist, what should the expected outcome be ?

Currently it just gives me the latest version from my local .nuget, shouldnt it give an compile error ?
Thanks,
John

depends. how does your reference look like exactly? if it doesn’t have [ or ], the version number will be treated as MINIMUM, not as exact version. that is as designed/speced.