Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.Words Pro C++ API pracuje s Visual Studio 2022 nebo novějším. Chcete-li pracovat s Visual Studio, možná budete muset nainstalovat Visual C++ Redistributable k dispozici na Microsoft oficiální stránky.
Chcete-li svůj projekt nakonfigurovat pomocí MSBuild .cílové soubory:
Přidejte importní značky s Aspose.Words pro C++ cílové soubory do souboru vcxproj
*.vcxproj v textovém editoru<ImportGroup Label="ExtensionTargets"></ImportGroup> na konci souboruImportGroupnásledující značky Import:
<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>
Postupujte takto a ručně nakonfigurujte Aspose.Words pro C++ v Visual Studio:
Přidejte další adresáře Include:
Aspose.Words.Cpp\includeCodePorting.Translator.Cs2Cpp.Framework_<version>\includePřidejte další závislosti:
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.libPřidejte příkazy:
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.