D
D
Dutymy2021-10-25 21:37:38
visual studio
Dutymy, 2021-10-25 21:37:38

Configuring the Visual Studio debugger to inject a dll?

Hello, starting to write my first dll - how can I make visual studio inject the dll into the process automatically
For example, in the dll project from gitHub, I found this configuration

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
    <LocalDebuggerCommand>C:\notepad64.exe</LocalDebuggerCommand>
    <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
    <LocalDebuggerAttach>true</LocalDebuggerAttach>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
    <LocalDebuggerCommand>C:\notepad64.exe</LocalDebuggerCommand>
    <LocalDebuggerAttach>true</LocalDebuggerAttach>
    <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
  </PropertyGroup>

Where are these settings actually stored?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question