4 Replies Latest reply: Sep 5, 2014 10:31 AM by Drama1962 RSS

    Robohelp, SharePoint, and .cpd

    cmartin170 Community Member

      I recently added a Robohelp 10 project to SharePoint source control. Now, when I attempt open the xpj from SharePoint, I recieve the following error and I cannot open the project: cpd error redacted.png

       

      I can still successfully open the project from my local machine, and the source control appears to work, but my team members need to access the project from SharePoint. How do I resolve the cpd error?

        • 1. Re: Robohelp, SharePoint, and .cpd
          RoboColum(n) MeganK

          I personally would not be adding the .cpd file to source control. I'd also ensure that you have the option to rebuild the .cpd file when you open the project selected (Tools > Options).

          • 2. Re: Robohelp, SharePoint, and .cpd
            cmartin170 Community Member

            How do I remove the cpd file? Or, how do I avoid adding it in the first place? When I delete the SharePoint cpd file, it's automatically rebuilt when I attempt to reopen the project, and I get the error message.

             

            When I originally added the project to source control, I didn't have the option to exclude certain files. All files associated with the project are automatically added.

            • 3. Re: Robohelp, SharePoint, and .cpd
              RoboColum(n) MeganK

              If you click Tools > Options and select the "Clear project cache (.cpd) before opening project" option, the CPD file will be deleted and rebuilt each time you open a project. See if that solves the issue.

               

              If it doesn't, you'll need to ensure the file is not added to source control. I do not use SharePoint for this purpose but all other source control applications give you a method of choosing what files to include/exclude. I'd be suprised if SharePoint included ALL your project files by default.

              • 4. Re: Robohelp, SharePoint, and .cpd
                Drama1962 Community Member

                Nice tip, RoboColum(n)! I'm just starting a new project that will be checked into a source control app. Thanks for getting me started off right.