Skip to content

Examples of Linux C++ app using DLLexport-ed C# DLL #200

@RejectKid

Description

@RejectKid

. . .

The question is related to:

  • DllExport -version: 1.7.4
  • Copy-paste from Data tab:
Installed: True; 1.7.4+c1cc52f; invoked: 1.7.4
Project type: Cs
Storage: ProjectFiles
Compiler.Platform: Auto
Compiler.ordinalsBase: 1
Compiler.rSysObj: False
Compiler.ourILAsm: False
Compiler.customILAsm: 
Compiler.genExpLib: False
Compiler.peCheck: PeIl
Compiler.patches: None
PreProc.Type: None
PreProc.Cmd: 
PostProc.Type: None
PostProc.ProcEnv: $(SolutionPath);$(MSBuildThisFileFullPath)
PostProc.Cmd: 
SignAssembly: 
Identifier: 090A6B9F-530D-44C0-8C15-006EAEF5555E
Instance: C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe
Project path: C:\Projects\DLLExportTest\DLLExportTest\DLLExportTest.csproj
Action: Configure
PlatformTarget: 
TargetFramework: netstandard2.0
TargetFrameworks: 
TargetFrameworkVersion: 
RootNamespace: 
AssemblyName: 
MgrArgs: 
MetaLib: tools\raw\lib\net20\DllExport.dll
MetaCor: tools\raw\lib\netstd\DllExport.dll
Proxy: 
StoragePath: .net.dllexport.targets
ddNS: DLLExportTest
ddNS max buffer: 500
UseCecil: True
intermediateFiles: False
timeout: 30000
Options: None
RootPath: C:\Projects\DLLExportTest\
PkgPath: C:\Projects\DLLExportTest\packages\\DllExport.1.7.4\
SlnFile: 
SlnDir: C:\Projects\DLLExportTest\
DxpTarget: tools\net.r_eg.DllExport.targets
MsgGuiLevel: -1
LockIfError: 

QUESTION:

I followed your example(s) in creating a C# DLL and using it in a C++ application (all successfully super duper awesome!!) I was wondering would (im not a huge linux guy sorry ahead for dumb questions) a linux C++ application be built the same way? My guess is no since i needed to include a include for Windows.h. but my guess would be there is an analogous header to use in linux land?

Or is this not possible with the current tooling? Or if it is is possible there an example of this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions