Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.Words pentru C++ API funcționează cu Visual Studio 2022 sau mai târziu. Pentru a lucra cu Visual Studio, poate fi necesar să instalați Visual C++ Redistributable disponibil pe Site-ul oficial Microsoft.
Urmați acești pași pentru a configura proiectul cu MSBuild .fișiere țintă:
Adăugați etichete de Import cu Aspose.Words pentru C++ vizează fișierele în fișierul vcxproj
*.vcxproj în editorul de text<ImportGroup Label="ExtensionTargets"></ImportGroup> la sfârșitul fișieruluiImport în interiorul 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>
Urmați acești pași pentru a configura manual Aspose.Words pentru C++ în Visual Studio:
Adăugați directoarele suplimentare includ:
Aspose.Words.Cpp\include
CodePorting.Translator.Cs2Cpp.Framework_<version>\includeAdăugați dependențele suplimentare:
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.libAdăugați comenzile:
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.