Free Support Forum - aspose.com

"Assert is not declared"

When “copy - pasting” the sourcecode above, I got an “error” ==> Assert is not Declared.
Any idea ?

Thanks in advance for your answer


This message was posted using Page2Forum from Paragraph Class - Aspose.Words for .NET and Java

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Assert class is from NUnit.Framework namespace. This class is used for testing. You don’t need it in your project. Just remove lines where Assert is used.

Best regards.