Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.Words dla C++ API Działa z Visual Studio 2022 lub nowszym. Aby pracować z Visual Studio, może być konieczne zainstalowanie Visual C++ Redistributable dostępne na Microsoft Oficjalna strona.
Wykonaj następujące kroki, aby skonfigurować projekt za pomocą MSBuild .pliki docelowe:
Dodaj tagi importu z Aspose.Words dla plików docelowych C++ do pliku vcxproj
*.vcxproj w edytorze tekstu<ImportGroup Label="ExtensionTargets"></ImportGroup> Na końcu plikuImport Wewnątrz 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>
Wykonaj następujące kroki, aby ręcznie skonfigurować Aspose.Words dla C++ w Visual Studio:
Dodaj dodatkowe katalogi Include:
Aspose.Words.Cpp\includeCodePorting.Translator.Cs2Cpp.Framework_<version>\includeDodaj dodatkowe zależności:
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.libDodaj polecenia:
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.