.NET AddIn Framework, ignore folder (.svn)

235 views Asked by At

Is it possible to make the AddInStore of the AddIn Framework (MAF) to ignore a certain directory?

In my case the addin store is versioned by subversion but when the pipeline is rebuild I get the error that the ".svn" folder in AddIns does not contain a valid addin:

Could not find a valid add-in in the directory [..]\AddIns\.svn.

1

There are 1 answers

1
ZoolWay On BEST ANSWER

I am now doing it this way:

List<String> warnings = new List<String>(AddInStore.Rebuild(appPath));

// remove warnings about .svn directories
for (int i = warnings.Count - 1; i >= 0; i--)
{
    if (warnings[i].Contains(".svn")) warnings.RemoveAt(i);
}

Any suggestions?