Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.Words pour C++ L’API fonctionne avec Visual Studio 2022 ou version ultérieure. Pour travailler avec Visual Studio, vous devrez peut-être installer Visual C ++ Redistributable disponible sur Site officiel de Microsoft.
Suivez ces étapes pour configurer votre projet avec MSBuild .fichiers cibles:
Ajoutez des balises d’importation avec Aspose.Words pour C++ cible les fichiers dans votre fichier vcxproj
*.vcxproj dans l’éditeur de texte<ImportGroup Label="ExtensionTargets"></ImportGroup> à la fin du fichierImport suivantes à l’intérieur de 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>
Suivez ces étapes pour configurer manuellement Aspose.Words pour C++ dans Visual Studio:
Ajoutez les répertoires d’inclusion supplémentaires:
Aspose.Words.Cpp\include
CodePorting.Translator.Cs2Cpp.Framework_<version>\includeAjoutez les Dépendances supplémentaires:
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.libAjouter les Commandes:
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.