Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.Words voor C++ API werkt met Visual Studio 2022 of hoger. Om met Visual Studio te werken, moet u mogelijk Visual C++ Redistributable installeren beschikbaar op Microsoft officiële website.
Volg deze stappen om uw project te configureren met MSBuild .targets bestanden:
Voeg import tags toe met Aspose.Words voor C++ targets bestanden in uw vcxproj bestand
*.vcxproj bestand in de teksteditor<ImportGroup Label="ExtensionTargets"></ImportGroup> aan het einde van het bestandImport tags toe binnen 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>
Volg deze stappen om Aspose.Words handmatig te configureren voor C++ in Visual Studio:
Voeg de extra include Directories toe:
Aspose.Words.Cpp\includeCodePorting.Translator.Cs2Cpp.Framework_<version>\includeVoeg de extra afhankelijkheden toe:
Aspose.Words.Cpp\lib\x64\Release\Aspose.Words.Cpp_vc14x64.libCodePorting.Translator.Cs2Cpp.Framework_<version>\lib\codeporting.translator.cs2cpp.framework_vc14x64.libAspose.Words.Cpp\lib\x64\Debug\Aspose.Words.Cpp_vc14x64d.libCodePorting.Translator.Cs2Cpp.Framework_<version>\lib\codeporting.translator.cs2cpp.framework_vc14x64d.libVoeg de commando ' s toe:
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.