Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.Words cho C++ API hoạt động với Visual Studio 2022 trở lên. Để làm việc với Visual Studio, bạn có thể cần phải cài đặt Visual C++ Redistributable có sẵn trên Microsoft trang web chính thức.
Làm theo các bước sau để định cấu hình dự án của bạn với MSBuild .mục tiêu tập tin:
Thêm thẻ Nhập khẩu với Aspose.Words cho C++ nhắm mục tiêu các tệp vào tệp vcxproj của bạn
*.vcxproj của bạn trong trình soạn thảo văn bản<ImportGroup Label="ExtensionTargets"></ImportGroup> ở cuối tệpImport sau bên trong 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>
Làm theo các bước sau để cấu hình thủ công Aspose.Words cho C++ trong Visual Studio:
Thêm Các Thư Mục Bao gồm Bổ Sung:
Aspose.Words.Cpp\include
CodePorting.Translator.Cs2Cpp.Framework_<version>\includeThêm Các Phụ Thuộc Bổ Sung:
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.libThêm Các Lệnh:
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.