Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
C++の場合Aspose.Words APIはVisual Studio 2022以降で動作します。 Visual Studioを使用するには、次の場所にVisual C++ Redistributableをインストールする必要があります Microsoft公式サイト.
プロジェクトを構成するには、次の手順に従います MSBuild .ターゲットファイル:
でインポートタグを追加 C++の場合Aspose.Words vcxprojファイルにファイルをターゲットにします
*.vcxprojファイルをテキストエディタで開きます<ImportGroup Label="ExtensionTargets"></ImportGroup>を検索しますImportGroup内に次の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>
手動で構成するには、次の手順に従います C++の場合Aspose.Words でVisual Studio:
追加のインクルードディレクトリを追加します:
Aspose.Words.Cpp\include
CodePorting.Translator.Cs2Cpp.Framework_<version>\include追加の依存関係を追加する:
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.libコマンドの追加:
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.