LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I remove requirement for .aliases file in LabVIEW2020 .EXE

Solved!
Go to solution

Are we still talking about building an executable, or are you confusing with building an installer (of an executable)?

Are you sure you are not also confusing the project's .aliases file with the .aliases of the built executable?

 

As you have not attached any project, I cannot help you further...

0 Kudos
Message 11 of 12
(134 Views)

@raphschru wrote:

Are we still talking about building an executable, or are you confusing with building an installer (of an executable)?

Are you sure you are not also confusing the project's .aliases file with the .aliases of the built executable?

 

As you have not attached any project, I cannot help you further...


In the build specifications for an executable on the Advanced Page (Application Properties Dialog Box) there is a check box for 'Use custom aliases file'. See: https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/resource/framework/providers/builds/appbui... 

And the help says: 

"Copies the project aliases file with the application, shared library, or .NET interop assembly. If you remove the checkmark from the checkbox, the Select Project File dialog box appears and you can select another aliases file in the project."

 

And I tested that a missing aliases file let the build process fail.

 

To OP: I think at least one aliases file is required for building an application. I think you can delete the copied aliases file after the building process with a 'Post Build Action'.

I know this is not what you are asking for, but the file seems to be required.

Message 12 of 12
(115 Views)