Nevron Open Vision Documentation
Resource Maker

The Nevron Resource Maker is a command line tool that creates C# source code files from a set of files you want to use as embedded resources in your NOV application. It expects three arguments separated by a space: the resources root path, the resources XML file, and the LOG file.

The Nevron Resource Maker is currently only available as a Windows executable command line tool. You can find it in the "Tools\Bin" subfolder of your Nevron Open Vision installation. It is by default:

"C:\Program Files (x86)\Nevron Software\Nevron Open Vision 2017.1\Tools\Bin".


You can use the resource maker either at command line or as a pre-build event for your Visual Studio project.

Sample Usage at Command Prompt
Copy Code
C:\NResourceMaker.exe D:\MyProject\Resources Resources.xml ResourceLog.txt
Sample Usage as a Visual Studio Pre-Build Event
Copy Code
$(ProjectDir)NResourceMaker $(ProjectDir)\Resources\ Resources.xml ResourcesLog.txt

The above syntax asumes that NResourceMaker.exe is located in the project's root directory and the project has a sub directory "Resources" where all resources are placed.


The Nevron Resource Maker lets you configure the process of resource creation through a XML configuration file in the following format:

Nevron Resource Maker Default Settings
Copy Code
  <source excludeFilter="*.scc">
    <binary includeFilter="*" />
    <cursors includeFilter="*.cur" />
    <fonts includeFilter="*.ttf" />
    <images includeFilter="*.png;*.jpg;*.jpeg;*.bmp;*.gif;*.wmf;*.emf" />
    <text includeFilter="*.txt;*.xml;*.csv;*.json;*.ini;*.cfg;*.htm;*.html;*.css;*.js" />
  <target file="NResources.cs" class="NResources" access="internal" namespace="Nevron.Nov.Examples" />

Element and attribute names are case insensitive and have the following meaning:

Note that only the target element is required. All other elements are optional and can be omitted. If omitted, they will have the default values shown in the XML document above.


See Also
Send Feedback