I get error on mono:
Hi Yaoming,
The issues you have found earlier (filed as VIEWERNET-821) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by groupdocs.notifier.
I use Version 3.6.
Hi Yaoming,
- Version of Mono.
- Name and version of OS you are using.
- Part of the code where you are getting the exception.
Environment Info:
Process: mono-sgen32 [28695]/Library/Frameworks/Mono.framework/Versions/4.4.2/bin/mono-sgen32
Identifier: mono-sgen32
Code Type: X86 (Native)
Mono Version: 4.4.2
OS Version: Mac OS X 10.11.6 (15G31) EI Capitan
Code:
string basePath = “/Users/Yaoming/Projects/GroupDocsVieweer/GroupDocsVieweer/bin/Debug”;
ViewerConfig vc = new ViewerConfig();
vc.TempPath = “/Users/Yaoming/Projects/GroupDocsVieweer/GroupDocsVieweer/bin/Debug/tmep”;
vc.StoragePath = “/Users/Yaoming/Projects/GroupDocsVieweer/GroupDocsVieweer/bin/Debug”;
vc.UseCache = true;
HtmlOptions ho = new HtmlOptions();
ho.IsResourcesEmbedded = true;
// Error occurred on this line.
ViewerHtmlHandler vh = new ViewerHtmlHandler(vc);
string source_file = “/Users/Yaoming/Projects/GroupDocsVieweer/GroupDocsVieweer/bin/Debug/demo.docx”;
var pages = vh.GetPages(source_file, ho);
var src = new FileInfo(source_file);
foreach (var page in pages)
{
string file = string.Format("{0}/{1}-{2}", basePath, page.PageNumber, src.Name);
File.WriteAllText(file, page.HtmlContent);
}
Hi Yaoming,
Hi Yaoming,
I got a message than program no response.
YaomingMBP15:~ Yaoming$ clear; cd "/Users/Yaoming/Desktop/ConsoleTester/ConsoleTester/bin/Debug"; "/Library/Frameworks/Mono.framework/Versions/Current/bin/mono32" --debug --debugger-agent=transport=dt_socket,address=127.0.0.1:56975 "/Users/Yaoming/Desktop/ConsoleTester/ConsoleTester/bin/Debug/ConsoleTester.exe" ; echo $? > /var/folders/6t/fg8f6gg924gc759y4fqwcxzc0000gn/T/tmp65d0afd5.tmp; echo; read -p 'Press any key to continue...' -n1; exit
Hi Yaoming.
Hi Yaoming,
thank you very much, it worked.
Hi Yaoming,