title: DllExport not creating an entry point
body: <p>I am trying to create a C# unmanaged DLL using Robert Giesecke's "<a href="https://sites.google.com/site/robertgiesecke/Home/uploads/unmanagedexports" rel="nofollow">UnmanagedExports</a>" nuget package, but it doesn't seem to be creating any entry points.</p>
  
  <p>Full code here:</p>
  
  <pre><code>using System.IO;
  using System.Runtime.InteropServices;
  using RGiesecke.DllExport;
  
  namespace ImpactHive
  {
      internal static class Main
      {
          [DllExport("_RVExtension@12", CallingConvention = CallingConvention.StdCall)]
          static void RVExtension(out char output, int outputSize, char function)
          {
              using (StreamWriter writer = new StreamWriter(@"C:\dll_log.txt"))
              {
                  writer.WriteLine("It works!");
                  writer.WriteLine(function);
              }
  
              output = function;
          }
      }
  }
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p><strong>Clarification:</strong></p>
  
  <p>This is an <a href="https://community.bistudio.com/wiki/Extensions#How_to_make_an_extension" rel="nofollow">extension DLL for Arma 3</a> which requires an entry point with the name of "<code>_RVExtension@12</code>" with the signature:</p>
  
  <pre><code>void __stdcall RVExtension(char *output, int outputSize, const char *function);
  </code></pre>
  
  <p>Edit: I have specified the Target Platform as x86 in the project settings, with no luck.</p>