Integrating framework from Carthage - carthage

I am trying to integrate a Carthage framework A which itself imports another Carthage framework B.
The project that hosts framework A has a Cartfile and a demo app. I run carthage update and drag the .framework from Carthage/Build/iOS into Linked Frameworks and Libraries.
When I run the demo app I get a runtime crash with 'dyld'__abort_with_payload:.

Related

How to run .NET framework project with VS Code, which has dependency of ReactJS?

I am beginner to .NET framework and ReactJS. I have a code repository which is .NET framework, with ReactJS dependency.
When I opened the repository, VS Code suggested me to install C# extension, I installed.
Now when I opened the main file abc.csproj; it automatically started installing packages.
It ended with message:
Finished
Failed to spawn 'dotnet --info'
and notified:
The .NET core SDK cannot be located. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on path.
What is process and list of extensions if I need it to be ran in VS Code?
P. S. It is a .NET framework 4.5 project and not core .NET project
The C# extension no longer ships with an included Mono & MSBuild Tools...
If you still need Unity or .NET Framework support, you can set
omnisharp.useModernNet to false
in your VS Code settings and restart OmniSharp.
See issue #5120 for more details.
https://github.com/OmniSharp/omnisharp-vscode/issues/5120
it seems you don't have the .net framework SDK installed on your machine.
you can download and install .net sdk from here : https://dotnet.microsoft.com/download/visual-studio-sdks to be able to build .net framework projects
I will suggest to use Microsoft Visual Studio. I am using it and it's good and dragless rather than getting SDKs and having installation troubles.

How can we bundle and install lower version of dotnet core using Wix Sharp?

We developed our application and tested over DotNet core 3.1.101 and it was working fine but what happened is Microsoft updated dotnet core to 3.1.111 and it breaks our application and we are asking customer to downgrade the core version manually that doesn't seem to be good idea.
Can somebody Wixsharp/.Net expert suggest, how can we avoid this problem? Can we have side by side installation of dotnet core and use the desired on with our application? If yes, How can we do it?
If you are really dependent of the specific net core version, the best solution to you will be to use self-containing publishing (https://learn.microsoft.com/en-us/dotnet/core/deploying/#publish-self-contained). This will create the solid bundle from your code and the your current net core version. On the client machine your app will use the net core, which is bundled with app. User may have other versions of net framework/net core installed, but these versions will not affect your app in any way.
For example, the following will create 64-bit executable for Windows
dotnet publish -r win-x64.
After you got your bundle from publish command, you need just pack the whole bundle with wix as usual. Not need to perform additional steps to install net core.

Project App.Droid cannot build using TargetFrameworkVersion v8.1 because it is not supported

Having this issue when trying to build Xamarin.Android project (Xamarin.Forms)
Project App.Droid cannot build using TargetFrameworkVersion v8.1 because it is not supported. Please change your Xamarin.Android project to target an API version that is supported.
How do I resolve this issue?
I think I have installed SDKs I need, screenshot is here
After upgrading my VS2017 v.15.3.5 to v.15.7.5, I was able to install newer Android SDKs and tooling and all went well after that.

Where is Microsoft.AspNetCore.Antiforgery library defined in .NET Core 2?

Environment: Ubuntu 16.04
I have written an ASP.NET application that is based on .NET core 1.1. This application works as expected. Today, I just upgraded my server to dotnet-sdk-2.0.0-preview2-006497. After the upgrade, I ran the following commands in my project directory to make sure everything is up to date:
$ dotnet migrate
$ dotnet restore
Now, when I run my application and try to navigate to my login page, I get an error "Cannot find compilation library location for package Microsoft.AspNetCore.Antiforgery."
Wondering how I can fix this. Regards.
As currently dotnet migrate only migrates a Preview 2 .NET Core project to a .NET Core SDK 1.0 project, you have to manually update your app to targeted to .NET Core 2.0 preview and Microsoft.AspNetCore.Antiforgery dependency in csproj to be 2.0.0-preview2-final (and the same for other dependencies).

Base Layer of Web App that Uses .NET Core and Angular 2/4

Hello I am am looking for instructions using yeoman app generator or a template of the minimal amount of code to create a web application that integrates both Entity Framework Core and Angular 2/4.
Preferably the answer provided would use the yeoman app generator. Also I do not mind installing any other necessary tools to achieve this objective.
So far, I haven't find yeomen generator for all three packages - ASP.Net Core, Entity Framework Core and Angular.
However, there is an official generator template aspnetcore-spa for ASP.Net Core and Angular. Note: current generator is updated to Angular 4, although it said 2.
npm install -g yo generator-aspnetcore-spa
cd some-empty-directory
yo aspnetcore-spa
NOTE: It requires dotnet SDK version 1.0.0 or later. If you have old version, it'll prompt you to update your dotnet SDK first when you run yo aspnetcore-spa.
YouTube Video
ASP.NET Core for Angular, React, Knockout etc developers - Steve Sanderson

Resources