Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.WordsสำหรับC++ APIทำงานร่วมกับVisual Studio 2022หรือสูงกว่า ในการทำงานกับVisual Studioคุณอาจจำเป็นต้องติดตั้งVisual C++ Redistributableที่มีอยู่บน Microsoftเว็บไซต์อย่างเป็นทางการ.
ทำตามขั้นตอนเหล่านี้เพื่อกำหนดค่าโครงการของคุณด้วย MSBuild .ไฟล์เป้าหมาย:
เพิ่มแท็กนำเข้าด้วย Aspose.WordsสำหรับC++ ไฟล์เป้าหมายลงในไฟล์ของคุณ
*.vcxprojในโปรแกรมแก้ไขข้อความ<ImportGroup Label="ExtensionTargets"></ImportGroup>ที่ส่วนท้ายของแฟ้มImportภายในImportGroup:
<ImportGroup Label="ExtensionTargets">
<Import Project="<path-to>\CodePorting.Translator.Cs2Cpp.Framework_<version>\CodePorting.Translator.Cs2Cpp.Framework.targets" Condition="Exists('<path-to>\CodePorting.Translator.Cs2Cpp.Framework_<version>\CodePorting.Translator.Cs2Cpp.Framework.targets')" />
<Import Project="<path-to>\Aspose.Words.Cpp\aspose.words.cpp.targets" Condition="Exists('<path-to>\Aspose.Words.Cpp\aspose.words.cpp.targets')" />
</ImportGroup>
ทำตามขั้นตอนเหล่านี้เพื่อกำหนดค่าด้วยตนเอง Aspose.WordsสำหรับC++ ในVisual Studio:
เพิ่มเพิ่มเติมรวมถึงไดเรกทอรี:
Aspose.Words.Cpp\include
CodePorting.Translator.Cs2Cpp.Framework_<version>\includeเพิ่มการอ้างอิงเพิ่มเติม:
Aspose.Words.Cpp\lib\x64\Release\Aspose.Words.Cpp_vc14x64.lib
CodePorting.Translator.Cs2Cpp.Framework_<version>\lib\codeporting.translator.cs2cpp.framework_vc14x64.libAspose.Words.Cpp\lib\x64\Debug\Aspose.Words.Cpp_vc14x64d.lib
CodePorting.Translator.Cs2Cpp.Framework_<version>\lib\codeporting.translator.cs2cpp.framework_vc14x64d.libเพิ่มคำสั่ง:
xcopy /y /d "$(ProjectDir)Aspose.Words.Cpp\lib\x64\$(Configuration)\Aspose.Words.Cpp_vc14x64.dll" "$(OutDir)"
xcopy /y /d "$(ProjectDir)CodePorting.Translator.Cs2Cpp.Framework_<version>\lib\codeporting.translator.cs2cpp.framework_vc14x64.dll" "$(OutDir)"
xcopy /y /d "$(ProjectDir)Aspose.Words.Cpp\lib\x64\$(Configuration)\Aspose.Words.Cpp_vc14x64d.dll" "$(OutDir)"
xcopy /y /d "$(ProjectDir)CodePorting.Translator.Cs2Cpp.Framework_<version>\lib\codeporting.translator.cs2cpp.framework_vc14x64d.dll" "$(OutDir)"
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.