Calling .net framework 2 from application developed in .net framework 4 - custom-component

I have an application developed using .net framework 4. I also have a DLL component developed in .net framework 2. Is it possible for me to call a component that was developed in .net framework 2? How do I do that?

In general, yes. The .NET frameworks are 99% backwards compatible; very rarely are there breaking changes. Just add the DLL to your .NET 4 project as a reference as you usually do. If there are compile problems, post the specific errors.

Related

Creating a Swift Framework with OpenCV as a 3rd party framework, but not packaging OpenCV in the end framework

Im currently working on creating a Swift Framework, my framework currently includes OpenCV as a Linked Framework. I have read up on the standards for distributing frameworks, and many people say that frameworks shouldn't be compiled/packaged with other 3rd party frameworks as this can cause issues like framework collisions etc...
So I knowing this I have been trying to work out how to build my framework but without packaging OpenCV with it, so the application will have to depend on OpenCV in order to use my framework.
I've had a look into Cocoa Pods and how the dependency management there will handle this for me. The problem with Cocoa Pods is the distribution, we need to be able to carefully control who can gain access to the framework.
So in conclusion, what would be the best way to create my framework without including the 3rd party dependency? Im open to any ideas!
This is the first framework I've created and some help or pointers would be very appreciated.

Facebook SDK for .NET Core

Up until now I've been using Facebook SDK for .NET by https://hackerapp.com/
I want to upgrade my project to ASP.NET Core, but I see that their library doesn't have support for .NET Core - nor do they mention about upcoming support for .NET Core.
I can write an HTTP wrapper against Facebook API - but that seems like over-complicating my app - when there's a nice library that is made just for that.
Does anyone know about Facebook SDK for .NET Core?
So after not finding a solution, I've decided to develop my own some time ago. You may find here: https://github.com/developer82/FacebookCore
I don't know why you got a -1, but I am facing the same issue.
Therefore for now I am going to use the OAUTH provided by .Net then direct requests to the graph API...
The other option I know would be to have a look there:
https://github.com/Microsoft/winsdkfb
And there for some more advanced features:
https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.Services/Services/Facebook
I am thinking about porting a SDK to .Net Core, but that may be too much work!

Swift: Creating Framework dependencies

iOS8:
I'm trying to create a Database framework (DBKit) that will be used amongst our apps. DBKit requires Couchbase (ObjC) and Alamofire (Swift) frameworks.
I'm trying to avoid using Umbrella framework as it's discouraged by Apple.
Questions:
When creating a framework, how do I tell the framework to use Couchbase and Alamofire within the Demo Project?
Is using Cocoa Pods to manage frameworks inside a framework a good idea?
Believe you should be linking to the respective external libraries from within your application and NOT your own framework.
For Couchbase, you can simply drag in the frameworks to the 'Supporting Files' folder within your iOS project.

Implementing Cocoa XML-RPC framework for iphone

I have my drupal xml-rpc service setup, and now I want to retrieve content for my iphone app.
I'm attempting to use https://github.com/eczarny/xmlrpc, however I dont know where to begin. How do I add the project to my own project for use? I've added a static library before; is it the same process? Just drag the proj file to my project and add the xml-rpc library?
Any tips would be appreciated.
Try dragging the project file for xmlrpc framework into the code list in XCode for starters. Next make the framework target in the xmlrpc framework a build dependency. Finally add the xmlrpc.framework to your linked frameworks. Exactly how you do this depends on whether you are using XCode 3 or 4

FaceBook C# SDK in .NET 2.0

I am using facebook registration plugin . Signed request that is sent to other page I need to extract data from it. I am having hardtime using Facebook C# SDK cause it starts with .NET 3.5 version while I am having a .NET 2.0 application.It shows all errors about assemblies.Is there any simple function I can include instead of using this whole SDK and complicating things more than I need.
Facebook C# SDK requires minimum of .net 3.5. .net 2.0 is not supported and will not be supported in future versions. The only way would be to update the framework to .net 3.5