Comments (3)
I am not a .NET authority, by any means, perhaps @emgre can weigh in since he's looked at this for our new libraries that are based on PInvoke instead of C++/CLI. In those projects we are targeting .NET Standard which gives broad framework interop.
Here's a guide a about targeting different frameworks with C++/CLI:
https://docs.microsoft.com/en-us/dotnet/core/porting/cpp-cli
It seems that we cannot target .NET Standard, so we might have to build a multi-target package in the next release.
from opendnp3.
For me, it would be enough if next release multi-targets Full Framework/.NET 5. Thanks!
from opendnp3.
@andrepf I quickly tried it this morning. With this feature that was merged in CMake 3.17, it is possible to define the target property DOTNET_TARGET_FRAMEWORK
to net5.0
and it should work. The changes would be here
opendnp3/dotnet/CLRInterface/CMakeLists.txt
Line 138 in 132f2fd
and here
opendnp3/dotnet/CLRAdapter/CMakeLists.txt
Line 55 in 132f2fd
and properly setting the
DNP3_DOTNET_FRAMEWORK_VERSION
CMake variable to net5.0
.
I tried compiling it that way but I ran on issues with my installation of Visual Studio (I had to update it to get .NET 5.0 and it failed).
from opendnp3.
Related Issues (20)
- Help with exe4cpp dependency HOT 3
- The decoder link is unavailable HOT 1
- Investigate proper functioning of TCP server CloseNew vs CloseExisting
- LinkStatusListener interface methods are not being called for Java bindings. HOT 1
- Java bindings do not properly implement ILinkListener for master or outstation
- Trying to undestando the OutstationStackConfig HOT 1
- Unit tests HOT 2
- [outstation] retrieving command requests from master HOT 1
- Read TimeAndDate (Group 50 Variation 1) not supported HOT 1
- How to Start In Docker Container HOT 1
- "Unknown qualifier 27" error in DNP3Master HOT 1
- OctetString - Not enough data for specified octet objects HOT 4
- Java build version 3.0.4 found on https://repo1.maven.org/maven2/com/automatak out of date from release branch. HOT 1
- LinkContext does incorrectly report LinkStatus as UNRESET on link up HOT 2
- Unable to bind server to the specified port: The requested address is not valid in its context HOT 2
- TLS connection failing 'Error verifying certificate at depth: 0 ... error' HOT 1
- No exception is thrown when TLS cert/key files are missing
- Pulling event data HOT 3
- Build errors for aarch64-fsl-linux HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opendnp3.