title: Deploy ASP.NET app without .resx file?
body: <p>I have an ASP.NET web application with a .resx file in App_GlobalResources whose resources are typically accessed like this:</p>
  
  <p>ASPX: <code>&lt;asp:Literal ID="l1" runat="server" Text="&lt;%$ Resources:GalleryServerPro, Admin_Tab_Hdr %&gt;" /&gt;</code></p>
  
  <p>Code-behind: <code>string msg = Resources.GalleryServerPro.Successfully_Restored_Msg;</code></p>
  
  <p>Is there any way to compile the .resx values directly into the DLL so that I can deploy the app without the .resx file <em>and</em> not have to edit any of the existing code?</p>
  
  <p>I ask this because I am porting an existing app to a DotNetNuke module and DotNetNuke does not allow .resx files, so I am looking for a workaround.</p>
  
  <p>Thanks,
  Roger Martin
  <a href="http://www.galleryserverpro.com" rel="nofollow noreferrer">Gallery Server Pro</a></p>