Comments (7)
Well done! As a feedback I would recommend to multitarget to both net5.0
and netstandard2.0
where possible, so that UWP projects can still make use of it.
from aforge.net.
Would it make sense for you to collaborate with @Andy9FromSpace in #42?
from aforge.net.
UWP is still using standard 2.0 ? Oh ok. Then if a user will raise the hand he needs it, I'll revert related commits.
If that doesnt lead to a compilable version, I'll use/merge Andy9FromSpace's branch, good point.
Animator posted in https://github.com/microsoft/ProjectReunion/issues/105 a description, how he use .Net5 with UWP. Maybe that already delivers what is neccessary.
from aforge.net.
The solution in that topic does not result in apps you can publish, it is only a proof of concept, based on hacks, that works in debug mode (because then the normal compiler is used).
When you publish an app to the store it gets compiled using .Net Native which does not support .net 5.
If you allow for multitargeting to both netstandard2.0 and net5.0 then you can support all people.
By the way, what do you miss in netstandard2.0 which is in the pr I mentioned already?
from aforge.net.
"By the way, what do you miss in netstandard2.0 which is in the pr I mentioned already?"
You mean, why I updated targetframework to .Net5 ? Mainly to use the actual version.
from aforge.net.
I understand, but when you have a Net5.0 project, you could still reference aforge.net if that targets netstandard2.0.
Functionally there is no difference, unless you want
- to modify the aforge.net code itself and use new language features that need c#9/.net5 inside the aforge.net library (e.g. if you want to add Span functions to the library)
- to have a shorter dependency chain (I don't have the details readily available)
In these two cases it helps to offer a .net 5 version of aforge.net. Especially for the second point, multitargeting is enough (adding both Net5.0 and netstandard2.0 as target frameworks). For the first part, I'm not sure whether multitargeting is possible.
from aforge.net.
Wait - the targetframework setting isnt anymore part of the projectfiles.
I described in the readme.md how you could define it centraly in the Directory.Build.props in your main project and inherit from there. In the example I showed how it would look like for .Net 5, but this snippet is not commited for the very reason not influence central settings.
The AForge.sln file is also primarly an example to show, that and how projects should be connected. In andrewkirillov's original are many isolated solutions, although their projects are logically dependant.
E.g. the unit tests had therefore no references to the actual code, only to the last compiled assemblies.
from aforge.net.
Related Issues (20)
- The DLL is x86 in directory AForge.NET/Externals/ffmpeg/bin/?
- AForge.Video.DirectShow doesn't work when main project compiled as 64-bit
- NewFrameEvent never fired when videoSource.Start() is called HOT 6
- Camera lags for few seconds HOT 4
- In x64 mode, AForge.Video.VFW.AVIWriter.AddFrame() throws System.OverflowException HOT 2
- NewFrame not getting called on OBS Virtual Camera HOT 2
- How do I add motion detection???? HOT 2
- AForge.Video.DirectShow VideoCaptureDevice selectable SubType and 'raw' data mode
- Delay in preview of webcame, FPS drop on live preview and In video recording, video get pixelated when user select high resolution(1920 * 1080 : 60 FPS)
- If WPF uses the image control, if you want to refresh the image of the camera, refresh it for a while, it will not be refreshed. Why?
- Customize the HoughLineTransformation to use nonbinary image
- Aforgenet.com is down HOT 3
- NewFrameEventHandler is not firing HOT 1
- newframe eventhandler 10times/second,framerate 30
- Multi-camera connection hub support HOT 2
- Adding Headers HOT 1
- Depending on your culture, you may have problem since the float are entered with '.' for separator
- www.aforgenet.com is inaccessible for a few days (or weeks?) now HOT 2
- boundary data in MJPEGStream class 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 aforge.net.