2016a compiled dotnet library shows a warning dialog

Hi, we have a project to create a .net library using the MATLAB compiler and dotNetBuilder. When we compile the project in 2013b, the library runs fine when called from our C# code. However when we compile the project in 2016a, when we instantiate the object in our C# code, we get the following dialog that pops up
The application is a command line tool that runs on a non-interactive session and thus cannot have dialogs that pop up and require user intervention.
Digging into the code, it seems to occur in the constructor of the object that is created by the compiler and in particular is shown when the following code (generated by the compiler) is run:
mcr= new MWMCR("", ctfFilePath, embeddedCtfStream, true);
Can anyone explain how we can get rid of this dialog?
*Edit* just edited to add that I have just tested with a very simple script where the function takes in a single number and returns a value back and I get the same warning dialog.
Many thanks.

Answers (0)

Products

Asked:

on 26 Jul 2016

Edited:

on 26 Jul 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!