Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.Words for C++ API works with Visual Studio 2022 or later. To work with Visual Studio, you may need to install Visual C++ Redistributable available on Microsoft official website.
Follow these steps to configure your project with MSBuild .targets files:
Add Import tags with Aspose.Words for C++ targets files into your vcxproj file
*.vcxproj
file in the text editor<ImportGroup Label="ExtensionTargets"></ImportGroup>
at the end of the fileImport
tags inside 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>
Follow these steps to manually configure Aspose.Words for C++ in Visual Studio:
Add the Additional Include Directories:
Aspose.Words.Cpp\include
CodePorting.Translator.Cs2Cpp.Framework_<version>\include
Add the Additional Dependencies:
Aspose.Words.Cpp\lib\x64\Release\Aspose.Words.Cpp_vc14x64.lib
CodePorting.Translator.Cs2Cpp.Framework_<version>\lib\codeporting.translator.cs2cpp.framework_vc14x64.lib
Aspose.Words.Cpp\lib\x64\Debug\Aspose.Words.Cpp_vc14x64d.lib
CodePorting.Translator.Cs2Cpp.Framework_<version>\lib\codeporting.translator.cs2cpp.framework_vc14x64d.lib
Add the Commands:
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.