Suppress build warning "Additional file .... found, which is not part of the project"

Hi,
During project compilation I receive warnings about files being found, which are not part of the project. I’m using several git repositories, so there are some git related files in my project directory but I do not want to add these files into my project.

{2AED759D-7466-4AD6-B7CF-6C3C756CCFD1}

Is it possible to suppress/ignore these kind of build warnings when the project is compiled?

I’m using both Automation Studio v 4.12 and Automation Studio v 6.3.

Thanks in advance for any help or suggestions!

Hi Johnny,

There is a way to ignore these warnings for objects you specify in the Configuration properties:

New build option: “Ignore objects for warnings 9232 and 9233”

2 Likes

Ok, so I just have to specify filenames or file types to be ignored? I tried to add this:

.git,.git*,readme.*,README.*

But it didn’t work. Do I need to specify the path of each files?

You should use ; as the separator instead of ,

2 Likes

Ok, using ;works. Thanks!
I’ve added this:

*.git*;readme.*;README.*

and now I don’t get these warnings any longer.

But in the B&R Help is wrong there is an example that is clearly wrong as it uses , as separator instead of ; :

Header.h,*.jpeg,Document?.docx,readme.*
1 Like