I want to edit a binary file, but I don't want to use another tool other than Visual Studio because it's a pain to switch back and forth.
Is there perhaps an add-in or some built in functionality that can do that in Visual Studio?
Editing DataData can be edited in a hex editor just like a normal text editor. A hex editor has a cursor that can be moved by clicking with the mouse or using the cursor keys. Position the cursor over the byte you want to edit, and type the value you want to change to using the keyboard.
From the File menu on the menu bar, choose New > File, or select the Ctrl+N keys. In the New File dialog box, under the General category, choose Visual C# Class, and then choose Open. A new file opens in the editor with the skeleton of a C# class.
Or for the keyboard geeks out there:
In addition to Kevin's answer, with Visual Studio 2017 you need to have the Visual Studio C++ Core Features component installed.
Source
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