0

I have created a pipeline for addins using C#. Once compiled all the .dll files used in the pipeline are specified in separate folders i.e. \addinsideadapters\AddInSideAdapters.dll; \addinviews\AddInView.dll etc.

Is there a way to compile and run the .dll files from the root directory instead of the default add-in sub-directories - and possibly rename the files to something else like aisa.dll; aiv.dll etc?

Ourx
  • 109
  • 3
  • 15
  • Yes: type copy /? at the command prompt, followed by ren /?. If you want a way to automate this, you must give us a bit more info. – Eugen Rieck Jan 05 '12 at 13:14
  • thanks for your response - sorry just updated my description was it was confusing. i was looking for a response within the add-in code – Ourx Jan 05 '12 at 13:20

1 Answers1

0

You cannot deploy the pipeline assemblies in the root folder. MAF will throw an AddInSegmentDirectoryNotFoundException when calling methods AddInStore.Rebuild or AddInStore.Update.

What you can do is rename the assemblies to any name you wish. You can also deploy the actual add-ins in a folder of your choice. You then specify the folder containing subfolders with the add-in assemblies when calling AddInStore.FindAddIns or AddInStore.FindAddIn.

Hope this helps.

Community
  • 1
  • 1
Panos Rontogiannis
  • 4,154
  • 1
  • 24
  • 29