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 شما هدف قرار می دهد
*.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.