While debugging the framework source code I always get this annoying message from the studio:
Some bytes have been replaced with the Unicode substitution character while loading file C:\Users\markk\AppData\Local\Temp\SymbolCache\src\source.NET\4\DEVDIV_TFS\Dev10\Releases\RTMRel\ndp\fx\src\Core\Microsoft\Scripting\Compiler\VariableBinder.cs\1305376\VariableBinder.cs with Unicode (UTF-8) encoding. Saving the file will not preserve the original file contents.
As a result, the source code is open in modified mode (with an asterisk in the name). This is hugely annoying.
Does anyone know how to make it go away? I am using VS2010.
Thanks.
It seems a vs2010 bug. I tried but i cannot reproduce it.
This maybe could be a easy workaround:
go to visual studio option --> Debugging
in the general options you should uncheck "Require source files to exactly match the original version"
hope this helps
Just ran into similar issue and found a way to fix it:
It then works after locale change and rebooting.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With