Ignore file

Jun 1, 2007 at 2:54 PM
I am trying to get an ignore file to work but without anything happening

The file containts the following:
<ignore xmlns='http://www.codeplex.com/schema/IgnoreListSchema-1.0.xsd'>
<add recursive='true'>*.lib</add>
<add recursive='true'>*.ign</add>
<add recursive='true'>*.suo</add>
<add recursive='true'>*.lnk</add>
</ignore>

Its is saved as main.ign in the _tfs directory of my main project.

In the cpc.exe.config file I have IgnoreFile set to '.ign'

Syncup ignores my settings and still asks be to sync .suo file. What am I doing wrong?
Coordinator
Jun 1, 2007 at 4:34 PM
The IgnoreFile value should be set to "main.ign", not ".ign". Then it should work.

- Brad
Jun 11, 2007 at 2:21 PM
OK, I have changed the IgnoreFile in cpc.exe.config to 'main.ign', but Syncup still ignores my settings and still asks me to 'Add to source control? Yes, No, Delete, Add all ? (N)' for all extensions mentioned above.

The cpc.exe.config file contains the following
<?xml version='1.0' encoding='utf-8' ?>
<configuration>
<appSettings>
<!--
For up-to-date information on the contents of this configuration file, please visit
http://www.codeplex.com/CodePlexClient/Wiki/View.aspx?title=ConfigFile
-->

<!--<add key='DefaultToGuiForCommit' value='true'/>-->
<!--<add key='DefaultToGuiForStatus' value='true'/>-->

<!--<add key='DiffTool' value='C:\Path\To\DiffProgram.exe'/>-->
<!--<add key='DiffArgs' value='DiffArguments'/>-->
<!--<add key='MergeTool' value='C:\Path\To\MergeProgram.exe'/>-->
<!--<add key='MergeArgs' value='MergeArguments'/>-->

<!--<add key='Editor' value='notepad.exe'/>-->

<add key='IgnoreFile' value='main.ign'/>

</appSettings>
</configuration>

I have put it in the _tfs directory alongside the main project directory and even moved it 1 level down, but still no joy.
Coordinator
Jun 19, 2007 at 4:57 AM
Place it in the root folder of your source code, not in the _tfs folder. The _tfs folder does not contain any user editable content.
Aug 21, 2007 at 2:13 PM
Edited Aug 21, 2007 at 2:15 PM
I followed these instructions, and it mostly works.
At the site below it mentions to do this, but I still get \bin, \lib and \obj directories not being ignored. All the rest work OK and are ignored properly

<add recursive='true'>bin</add>
<add recursive='true'>obj</add>

as instructed at http://www.codeplex.com/CodePlexClient/Wiki/View.aspx?title=ConfigFile

Here is my file as it is now:
<ignore xmlns='http://www.codeplex.com/schema/IgnoreListSchema-1.0.xsd'>
<add recursive='true'>*.lib</add>
<add recursive='true'>*.ign</add>
<add recursive='true'>*.suo</add>
<add recursive='true'>*.lnk</add>
<add recursive='true'>*.licx</add>
<add recursive='true'>*.csproj.user</add>
<add recursive='true'>bin</add>
<add recursive='true'>obj</add>
<add recursive='true'>lib</add>
<add recursive='true'>_Resharper*</add>
<add recursive='true'>*.resharper</add>
</ignore>

Is the page listed wrong, or does mine not work for some other reason?