In my C# project I use purely C# dll, but for some functions it is possible to use only C++ libraries and dlls. What I am trying to do is create a Nuget package consisting of C# dll and C++ dll. Using Nuget Package Explorer and following the procedure for creating a Nuget package, I placed the C# dll in the "lib" folder and the C++ library in the "content" folder. Created the Nuget package, I tried to import it into my project, but after building, in the output path there is only my dll in C#. What should I do to be able to import the dll in cpp into the output of my project?
create a nuget package with dll in c# and c++
846 Views Asked by NickMan At
0
There are 0 best solutions below
Related Questions in NUGET
- How do I locally specify the path for nuget in my dockerfile?
- Finding all available versions of a NuGet package within a specific version range
- An error occurred while trying to restore packages: 'Dapper' already has a dependency defined for 'System.Data.SqlClient'
- .NET 6 Custom Nuget package referencing other packages - Do I have to include the other packages myself?
- What is the trigger for JFrog Artifactory to sort a nuget package as "prerelease"?
- Force new version of a different package without referencing it
- dotnet build not able to find nuget package in custom source while Visual Studio manage it
- How to resolve the errors when Nugets need to be downgraded
- How can I copy plug-in DLLs from a sub folder using NuGet
- .NET dependency management: `dotnet add package` vs. Paket?
- Nuget Package downloaded to wrong directory
- How to resolve NuGet Transitive Packages with vulnerabilities
- error NU1101: Unable to find package Telerik.Drawing.Skia.Trial. No packages exist with this id in source(s)
- ASP.NET Core library project that produces NuGet package
- NuGet package doesn't copy file to destination project
Related Questions in INTEROP
- Inserting Blank Rows & Merging Cells in Excel Using Interop Excel C#
- Unexpected #selector() Behavior in Swift-Objective-C Interop?
- How can I stop Excel from losing focus while embedded using SetParent?
- How do I pass a pointer to an unknown struct from C++ to C# and back again?
- How can I pass a C++ struct to a C# DLL method using COM interop
- How do I use C++ written code in Swift via Interoperability
- How to use C# Interop EXCEL to create "Measure"
- Embedding FlutterFlow app with react - Query parameters doesn't work
- Blazor WASM File Upload/IBrowserFile randomly fails on mobile devices
- Handling Dependencies from Unmanaged Native to Managed NET, Via C++/CLI
- Invoking C API consisting of buffer pointer parameter using C#
- Passing Cpp object to swift
- Proper way to marshal char* to string using C# interoperability. Get "a heap has been corrupted" exception
- Is there a database of C function signatures?
- C# WASM Encryption/Decryption using JS Interop error: Unhandled exception rendering component
Related Questions in WRAPPER
- Helps: rust wrap a third type to implement custom method , but allow to access it just like the origin one, include move fields
- workaround for wrapping C++ tuples in cython - a more explicit answer please
- Multi level project reference using dll
- VTK MouseEvents example not working with Java wrappers
- How do I access a variable that's using the @Query wrapper in other views?
- How to make wrapper's constructors copy paste the underlying type's constructors?
- primitive types can't convert to Wrapper for an ArrayList
- How can Mockito.spy() return the same type while adding spying behavior?
- Proper way to marshal char* to string using C# interoperability. Get "a heap has been corrupted" exception
- How to use a c++ class as wrapper for timer-interrupts on RP2040 (RPPico)
- How to automate wrapping C library into C++
- How can I use GObject Introspection to generate Java bindings?
- How to make default export compatible with CommonJS
- Switch statement when using an Enum Wrapper (Enumeration base class)
- Validator method before executing method
Related Questions in NUGET-PACKAGE
- Getting error "The located assembly's manifest definition does not match the assembly reference"
- How can I copy plug-in DLLs from a sub folder using NuGet
- How to add nuget package for offline tfs build task
- How to resolve NuGet Transitive Packages with vulnerabilities
- How install MathNet.Symbolics in ASP.NET 4.8
- NuGet package doesn't copy file to destination project
- Azure Devops pipeline to build .NET Framework Artifact multiple projects
- An error occurred while trying to restore packages. Unable to find version 'x.x.xxxx.xxx' of Moq
- Fail to load package dependency at runtime
- Compatibility Problem after Update from Xamarin.Forms to .Net MAUI
- Increasing the Lifespan of OTP Codes in C# Using PureOtp Library
- Project with referenced nuget package is not able to find files
- .net Unit Test Discovery through nuget package
- Could not load file or assembly 'System.Runtime, when creating nuget spec based on the assembly
- Install local NuGet package in Rider
Related Questions in NUGET-PACKAGE-EXPLORER
- The type 'CodeActivity' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Activities
- NuGet package manager does nothing- VS 2022?
- Trying to install package into a project that targets '.NETFramework,Version=v4.7.2', but the package does not contain any assembly references
- create a nuget package with dll in c# and c++
- NuGet Package Manager error when saving package
- Using NuGet Package Explorer and Azure DevOps Artifacts
- Publish c# symbols to NuGet package using NuGet Package Manager
- Can I create a NuGet package (or other package) with legacy dll's that are not on a .NET Framework?
- VS2017 NuGet: Dependencies not install automatically
- what would the proper and easiest way to add these files to a nuget package via nuget package explorer?
- Find Package with source parameter is not working to get the current versions of all the nuget packages
- Adding NuGet package ContentFiles to Azure Functions solution
- Visual Studio Team Services Package Management API
- Do I need NuGet package explorer with .NET CORE?
- How to add documentation to a function when building a NuGet package
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)
Popular # Hahtags
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?