Skip to content

Compilation of ppam add-in failed with error message " 'cp' is an undeclared prefix. Line 2, position 2." #19

@m-kovac

Description

@m-kovac

The compilation of ppam add-in failed with error message 'cp' is an undeclared prefix. Line 2, position 2. with stack trace

at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.LookupNamespace(NodeData node)
at System.Xml.XmlTextReaderImpl.ElementNamespaceLookup()
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at System.IO.Packaging.PartBasedPackageProperties.ParseCorePropertyPart(PackagePart part)
at System.IO.Packaging.PartBasedPackageProperties..ctor(Package package)
at System.IO.Packaging.Package.get_PackageProperties()
at vbamc.VbaCompiler.CompilePowerPointMacroFile(Stream outputMacroFileStream, Stream vbaProjectStream, PresentationDocumentType documentType, String customSourcePath)
at AddinService.Wrappers.CompileWrapper.CompileAddin(CompilerInputData data) in /src/src/AddinService/Wrappers/CompileWrapper.cs:line 84
at AddinService.Wrappers.CompileWrapper.CompileAndGetByteArray(CompilerInputData data) in /src/src/AddinService/Wrappers/CompileWrapper.cs:line 22

This happened only once. It appears that this exception was produced when running regular e2e tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions