sln monotouch sample Load failed - xcode4

monotouch sample solution fails to load
this solution gives me a load error. downloaded from here.
http://docs.xamarin.com/ios/getting_started/intro_to_mvc_in_ios
http://xamarin.com/pdf/Transitioning_from_Xcode_3_to_Xcode_4_in_Monotouch.pdf
here is a screenshot.
do I have to download a different version of monodevelop? how do i check the version of monotouch?
thanks

You will need to download MonoDevelop 2.8 alpha to work with the Xcode 4 support. If you go to "Help -> Check for updates", change the drop down to "Alpha" and it should allow you to download the latest MonoDevelop 2.8 alpha version.
It's worth installing MonoDevelop 2.8 side by side with MonoDevelop 2.4.2 (although, it might be worth trying out the MonoDevelop 2.6 support in the Beta channel too instead of 2.4.2 - this doesn't support Xcode 4 though).
Hope this helps,
ChrisNTR

Related

Upgrading runtime and sdk and packages to .NET 6

I was following this tutorial on building an application with ASP.NET Core API and Angular where I used a laptop that had .NET 5 installed.
I got a new laptop and after I installed all the latest tools, I am now on .NET 6 and when I open my app to carry on where I left off, I get the following error when I run dotnet watch run in the VS Code terminal in the backend folder:
The framework 'Microsoft.AspNetCore.App', version '5.0.0' (x64) was not found.
- The following frameworks were found:
6.0.5 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at:
- https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=5.0.0&arch=x64&rid=win10-x64
Here are 2 screenshots showing what I have installed in this app from the time I was using it on my old laptop (now opening it and trying to run it on my new laptop)
Is there anyway I can cleanly update everything I need in one go, instead of installing .NET 5 or AspNetCore.App version 5.0.0 etc?
Just correct the TargetFramework element's text content to net6.0.
Also update the NuGet packages.
Don't mind what's inside the bin and obj folders, whereas exist. Even better, make sure to Clean or Rebuild your project.

I get a TypeScript version mismatch in Visual Studio 2022

When downloading latest version of asp core Zero, opening the solution I got the message from visual studio. I guess that the Microsoft SDK version I have installed on my machine was 3.7, So for the first project in the solution I pressed yes, and that project uses 3.7 and all is fine, I am not getting any warning messages.
However for the second project I didn't press yes, and now I am getting the error warning message:
Warning: Your project specifies TypeScript version 4.3, but a matching compiler was not found. The latest available TypeScript compiler will be used (3.7). To remove this warning, install the TypeScript 4.3 SDK or update the TypeScript version in your project's properties. Project.Web.Public
I tried changing TypeScriptToolsVersion inside the .csproj file from 4.3 to 3.7. however the error didn't disappear, and it still reference the 4.3, my thoughts are going toward having to un-install or remove the current Typescript from this project and reinstall the older version 3.7 into my solution. Any help in explaining how to do that noting that i would like to do it for one project only , the public one referencing the 4.3 version.
Similar thread on stackoverflow:
enter link description here
The recommendation did not work.
Thanks

Dotnet-ef tool backwards compatibility?

If I update the dotnet-ef tool from 3.1.8 to 5.0.1, will this still work with 3.1 projects? If I use 5.0.1 it would still produce the same schemas as 3.1.8 for 3.1 projects?
Or should I be using the dotnet tool manifest for my 3.1 projects to specify the 3.1 tools?
I asked to Microsoft, below the response:
Yes, the tool is backwards compatible; it's a thin wrapper. I would
always update to the latest version. Note, however, that 2.2 is
out-of-support.

Xamarin iOS build error - Native linking failed (Link Framework SDKs Only)

Not able to run Xamarin iOS project after Visual studio update.
Because updated IDE requires the latest Xcode (iOS 13.4 SDK shipped with Xcode 11.4)
Environment Details
OS Version : macOS Mojave, OS X 10.14.6
IDE : Visual Studio Community 2019 for Mac Version 8.5.1 (build 42)
Xamarin.iOS Version: 13.16.0.11 (Visual Studio Community)
Xamarin.Mac Version: 6.16.0.11 (Visual Studio Community)
Xcode Version 13.2
What I tried.
Instead of updating the Xcode, I simply changed the Linker Behaviour to Link Framework SDKs Only.
No luck, I got the following errors.
Error MT5210: Native linking failed, undefined symbol: ___darwin_check_fd_set_overflow.
Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. (MT5210)
Error MT5202: Native linking failed. Please review the build log. (MT5202)
Error: linker command failed with exit code 1 (use -v to see invocation)
Reference.
Linker Behaviour
mtouch arguments
Is there any other option to resolve the issue without update the Xcode and macOS?
Any help will be really appreciated.
Thank you
Cause : Latest visual studio requires latest Xcode (iOS 13.4 SDK
shipped with Xcode 11.4)
To solve the issue install the latest Xcode or use a lower
Xamarin.iOS Version
if you are on a mac, you might be able to find the previous installer here:
~/Library/Caches/VisualStudio/[Replace with Visual Studio Version]/TempDownload
or, if you know the version of the previous version of ios, you can download it from here (change the version number to suite your needs:
https://dl.xamarin.com/MonoTouch/Mac/xamarin.ios-13.14.1.39.pkg.
Xamarin/xamarin-macios Releases, which contains every version
if you are on windows, this post might give you some clues on where to find the local cache instead: https://montemagno.com/cleanup-up-space-xamarin-dev-machine/
For more details: Ans-1 | Ans-2
The latest version of Visual-Studio use the latest version of Xamarin.iOS which may not work with the lower version of Xcode .
So use a lower Xamarin.iOS Version would solve this problem.
It looks like Apple have broken usage of -no_weak_imports with a recent XCode (see https://github.com/mono/mono/issues/19393#issuecomment-606852342 and https://github.com/mono/mono/issues/19393#issuecomment-607126761 ). Upstream Mono appears to have worked around the issue with https://github.com/dotnet/runtime/pull/36436 ) but one wonders why Apple introduced a hard dependency on a weak symbol in their system libraries while still providing the option to disable weak symbols...

javafx-autocomplete-field-1.0.jar compatibility issue

I downloaded javafx-autocomplete-field-1.0.jar and used it for my development work in jdk 1.8 environment. But I need to deploy this in 1.7 environment. If I do so, I'm getting "java.lang.UnsupportedClassVersionError: np/com/ngopal/control/AutoFillTextBox : Unsupported major.minor version 52.0". Is there an alternate jar for jdk1.7? Or is there anyway I can make this jar compatible in 1.7 environment? Please help.
Just try for this jar. I have checkout in previous commit it
https://github.com/privatejava/javafx-autocomplete-field/commit/a92545e0fc33d0f54676e4fd27de743c5e0c5358 so please trythis jar
https://www.dropbox.com/s/xn01e5a3tm65mmz/AutoFillTextBox.jar?dl=0
You need a version that is compatible in both fx 2 and 8:
https://bitbucket.org/jugen/autofilltextbox/downloads

Resources