I want to use the Azure.storage.file.shares package and its dependent packages in my c++ application. However is try to download the same from nuget package manager, I get error as "Could not install package 'Azure.Storage.File.Share'. You are trying to install this package into a project that targets 'native,Version=v0.0'. However I was able to download it using vcpkg, which gave dll's, libs and headers. is it wise to use them directly in my c++ application?
how to use azure.storage.file.shares package in native code of c++
116 views Asked by Rajani Bawgi At
1
There are 1 answers
Related Questions in C++
- How to immediately apply DISPLAYCONFIG_SCALING display scaling mode with SetDisplayConfig and DISPLAYCONFIG_PATH_TARGET_INFO
- Why can't I use templates members in its specialization?
- How to fix "Access violation executing location" when using GLFW and GLAD
- Dynamic array of structures in C++/ cannot fill a dynamic array of doubles in structure from dynamic array of structures
- How do I apply the interface concept with the base-class in design?
- File refuses to compile std::erase() even if using -std=g++23
- How can I do a successful map when the number of elements to be mapped is not consistent in Thrust C++
- Can std::bit_cast be applied to an empty object?
- Unexpected inter-thread happens-before relationships from relaxed memory ordering
- How i can move element of dynamic vector in argument of function push_back for dynamic vector
- Brick Breaker Ball Bounce
- Thread-safe lock-free min where both operands can change c++
- Watchdog Timer Reset on ESP32 using Webservers
- How to solve compiler error: no matching function for call to 'dmhFS::dmhFS()' in my case?
- Conda CMAKE CXX Compiler error while compiling Pytorch
Related Questions in AZURE
- How to update to the latest external Git in Azure Web App?
- I need an azure product that executes my intensive ffmpeg command then dies, and i only get charged for the delta. Any Tips?
- Inject AsyncCollector into a service
- mutual tls authentication between app service and function app
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Application settings for production deployment slot in Azure App Services
- Encountered an error (ServiceUnavailable) from host runtime on Azure Function App
- Implementing Incremental consent when using both application and delegated permissions
- Invalid format for email address in WordPress on Azure app service
- Producer Batching Service Bus Vs Kafka
- Integrating Angular External IP with ClusterIP of .NET microservices on AKS
- Difficulty creating a data pipeline with Fabric Datafactory using REST
- Azure Batch for Excel VBA
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- Azure Scale Sets and Parallel Jobs
Related Questions in DLL
- How to find a sequence of bytes on the target program from my injected dll?
- .lib not generated when building DLL project using template class
- The file "spng.dll" is not founded in my Visual Studio's project and i get an error
- Handling Memory Allocation and Pointers in Electron between Node.js and C++ DLL
- Multi level project reference using dll
- Wix MSI Project Harvesting Error Message 'dll is not running' on Build
- Windows Custom Credential Provider is not displaying tile on logon for all users in a pc
- How can I verbosely track the whole process of calling a function?
- Is dll static var shared between threads that load the same dll?
- JNR-FFI - Callback Pointer crash
- How can I patch a function call to a Windows DLL (e.g. kernel32 LoadLibrary)? Is this even possible?
- PyInstaller with PyQt5 Generates "DLL load failed" Error for QtPrintSupport
- What happens if I link two different libraries providing the same symbols in Visual Studio?
- how to test .dll on Linux
- PHP FFI - How to free memory created by FFI::new("void*[2]", false, true)
Related Questions in NUSPEC
- Runtimes Directories Are Being Generated Only in Debug Mode With MSBuild
- Could not load file or assembly 'System.Runtime, when creating nuget spec based on the assembly
- Nuget pack with nuspec includes all solution inside
- Can not resolve reference 'Package' referenced by 'Project.Android', when updating a new package in an existing project
- Why are static assets included with nuget package in the project.assets.json file but actually not in the project?
- from blazor webassembly created a Nuget package but content files error 404, in the project that using it
- how to update all the reference and target and hintPath 's version in a.csproj file while installing a .nuget in a.net standard app?
- How do you know which dependencies must be added to a nuspec file when publishing a nuget?
- how to use azure.storage.file.shares package in native code of c++
- Can't get a Chocolatey package approved (issues with URLs)
- nuget usage for C++. How do I copy source path directory structure?
- How do I cause my nuget package to include <ExcludeAssets>runtime</ExcludeAssets> in the consumer's csproj file?
- Copy files to bin folder with .nuspec files
- How to stop dotnet solution template from nesting the output
- Changing name for Nuget Package
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The error message you received indicates the target platform for the project, which is set to 'native, Version=v0.0', is incompatible with Azure.Storage.File.Share package. This indicates that native C++ applications aren't supposed to be used with the package and The 'Azure.Storage.Files.Shares' package is primarily intended for .NET applications.
To use the Azure storage file share library, you need to download the necessary files using
vcpkgand you can use them directly in your application.To use the library, include the required header files and link to the library files. The code samples included in the documentation provide examples of how to use the library.
To install the package you can use the below command:
Which will install and download the packages in your environment.
After downloading the packages, I tried with the same sample code to create file share which is provided in the official document and it executed successfully.
Code:
Output:
Portal:
Reference:
Quickstart: Azure Storage Files Share library v12 - C++ | Microsoft Learn