Sounds like a corrupt file. Try these steps:,
- Do Project->Clean
- exit VS
- delete everything in the uProjects\TinyCLRApplication\packages directory.
- restart VS and try another build
If that still fails, then the nugetpkg in the global nuget cache may also be corrupt. You can open Tools->Options->Nuget Package Manager->General and click on the ‘Clear Nuget Caches’ button. If you manually downloaded the 2.1 files, then re-download them. And then repeat the above steps.
The idea is to keep working backwards to eliminate copies of that file and the nupkg that it came from because one of them seems to be corrupted and has a nul character in it.