Updating Visual Studio for Mac to test beta iOS 13 Versions - macos

I can't update to the beta versions of VS for mac. I'm on a Macbook Pro 2019, MacOS 10.14.6, which I updated to because I had the problem on the previous version as well.
I've followed the instructions at
https://learn.microsoft.com/en-us/visualstudio/mac/updater-troubleshooting?view=vsmac-2019
but that didn't help. Is there something else I can do/check?
My VS for Mac is:
=== Visual Studio Enterprise 2019 for Mac ===
Version 8.2 (build 1124)
Installation UUID: efce2198-73f8-4d8f-b0ab-99c04aa9500a
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 5.14.0.85 (d16-2-fix-mac-updates / 86973979)
Package version: 600000311
=== Mono Framework MDK ===
Runtime:
Mono 6.0.0.311 (2019-02/494641b300c) (64-bit)
Package version: 600000311
=== NuGet ===
Version: 5.1.0.6013
=== .NET Core ===
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
3.0.0-preview6-27804-01
2.1.12
2.1.11
2.1.9
SDK: /usr/local/share/dotnet/sdk/3.0.100-preview6-012264/Sdks
SDK Versions:
3.0.100-preview6-012264
2.1.701
2.1.700
2.1.505
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/6.0.0/lib/mono/msbuild/Current/bin/Sdks
=== Xamarin.Profiler ===
Version: 1.6.11
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Updater ===
Version: 11
=== Apple Developer Tools ===
Xcode 10.3 (14492.2)
Build 10G8
=== Xamarin.Android ===
Not Installed
=== Microsoft Mobile OpenJDK ===
Java SDK: Not Found
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Android Device Manager ===
Version: 1.2.0.58
Hash: d03e3ea
Branch: remotes/origin/d16-2~1
Build date: 2019-08-06 08:24:06 UTC
=== Xamarin Inspector ===
Version: 1.4.3
Hash: db27525
Branch: 1.4-release
Build date: Mon, 09 Jul 2018 21:20:18 GMT
Client compatibility: 1
=== Xamarin.Mac ===
Xamarin.Mac not installed. Can't find /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/Version.
=== Xamarin.iOS ===
Version: 12.14.0.114 (Visual Studio Enterprise)
Hash: c6691164
Branch: d16-2
Build date: 2019-07-29 15:54:05-0400
=== Xamarin Designer ===
Version: 16.2.0.391
Hash: 216490cf5
Branch: remotes/origin/d16-2-xcode11
Build date: 2019-08-06 08:21:56 UTC
=== Build Information ===
Release ID: 802001124
Git revision: 0797bb4dfcd2cbad030d7fce609e247e23f855ca
Build date: 2019-07-26 12:13:29+00
Build branch: release-8.2-xcode11
Xamarin extensions: d663a25405cd5e7d0b0deefd2a26d548680f16f5
=== Operating System ===
Mac OS X 10.14.6
Darwin 18.7.0 Darwin Kernel Version 18.7.0
Thu Jun 20 18:42:21 PDT 2019
root:xnu-4903.270.47~4/RELEASE_X86_64 x86_64

Fortunately/unfortunately, the problem seems to have resolved itself. It seems the installer got over itself and managed to do its job. Not very satisfying, I know.
I'll leave the question up, in the hope that someone can point me to an error log/explanation.

Related

MvvmCross 6.4.1 not can be update with PCL project with Xamarin

How do I solve the "Package MvvmCross 6.4.1 is not compatible" error? I am using NETPortable,Version=v4.6,Profile=Profile44.
Here's the diagnostic logs:
Estou tentando atualizar o package do MvvmCross para o 6.4.1 em projeto PCL com o visual Studio for Mac:
*"Package MvvmCross 6.4.1 is not compatible with portable46-net451+win81 (.NETPortable,Version=v4.6,Profile=Profile44). Package MvvmCross 6.4.1 supports"*
Visual Studio detials:
"Visual Studio Community 2019 for Mac
Version 8.3.11 (build 1)
Installation UUID: 358942d8-ccc4-4e01-be4d-8b50089ff31c
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 5.16.1.24 (d16-3 / 08809f5b)
Package version: 604000208
Mono Framework MDK
Runtime:
Mono 6.4.0.208 (2019-06/07c23f2ca43) (64-bit)
Package version: 604000208
Xamarin Designer
Version: 16.3.0.256
Hash: 8a223bfd7
Branch: remotes/origin/d16-3
Build date: 2019-11-01 21:02:02 UTC
NuGet
Version: 5.3.0.6192
.NET Core SDK
SDK: /usr/local/share/dotnet/sdk/3.0.101/Sdks
SDK Versions:
3.0.101
3.0.100
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/msbuild/Current/bin/Sdks
.NET Core Runtime
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
3.0.1
3.0.0
2.1.14
2.1.13
Xamarin.Profiler
Version: 1.6.12.29
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
Updater
Version: 11
Apple Developer Tools
Xcode 11.2.1 (15526.1)
Build 11B53
Xamarin.Mac
Version: 6.6.0.12 (Visual Studio Community)
Hash: e3c2b406d
Branch: xcode11.2
Build date: 2019-11-01 00:12:07-0400
Xamarin.iOS
Version: 13.6.0.12 (Visual Studio Community)
Hash: e3c2b406d
Branch: xcode11.2
Build date: 2019-11-01 00:12:08-0400
Xamarin.Android
Not Installed
Microsoft Mobile OpenJDK
Java SDK: /Users/iterative/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25
1.8.0-25
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
Android SDK Manager
Version: 1.4.0.65
Hash: c33b107
Branch: remotes/origin/d16-3
Build date: 2019-11-19 20:33:22 UTC
Android Device Manager
Version: 1.2.0.116
Hash: d2b2af0
Branch: remotes/origin/d16-3
Build date: 2019-11-19 20:33:42 UTC
Xamarin Inspector
Version: 1.4.3
Hash: db27525
Branch: 1.4-release
Build date: Mon, 09 Jul 2018 21:20:18 GMT
Client compatibility: 1
Build Information
Release ID: 803110001
Git revision: 6ee6ad2ec46ae5a08a1999ee4c815ac656a35b91
Build date: 2019-12-05 16:09:27+00
Build branch: release-8.3
Xamarin extensions: 56bd70ef2e327f71c615cfc29a47fd50685fadcb
Operating System
Mac OS X 10.14.6
Darwin 18.7.0 Darwin Kernel Version 18.7.0
Tue Aug 20 16:57:14 PDT 2019
root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64"
Welcome to SO!
The reason you are getting the error is because the version of Nuget Package you are trying to add is Not Compatible with the target framework of your project.
You have two options:
You would have to either convert your project to use .NET Standard from PCL, as shown here. It can be painful if your solution is big and old. Personally I suggest starting from a blank .NET Standard project and bringing in items from your existing project instead one at a time.
Or you have to use a lower version of MVVMCross.
I would suggest staying away from the second option though, because the lower MVVMCross package does not support Android Target Framework 10.0, and it will bite you in the distant future.

Why can't Visual Studio find my assemblies?

I'm new to Visual Studio, but not to programming. I tried to open a project which someone else sent me, and there are lots of errors (they are all the same). Please see the image below:
When I tried to check the runtimes installed, I see this:
I know that Newtonsoft.Json is installed, because I can see it in the packages folder.
So far I have looked at:
Getting "type or namespace name could not be found" but everything seems ok?
But I can't figure out how to fix the problem, as I'm using VS after several years. What should I do ?
I am using Visual Studio for Mac Community edition, version 8.2.3 (build 16)
EDIT: More Information from about Visual Studio:
=== Visual Studio Community 2019 for Mac ===
Version 8.2.3 (build 16) Installation UUID:
024bbaaf-47dd-4755-982d-29b842a90ef4 GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 5.14.0.85 (d16-2-fix-mac-updates / 86973979)
Package version: 600000319
=== Mono Framework MDK ===
Runtime: Mono 6.0.0.319 (2019-02/52203786470) (64-bit) Package
version: 600000319
=== NuGet ===
Version: 5.1.0.6013
=== .NET Core ===
Runtime: /usr/local/share/dotnet/dotnet Runtime Versions:
2.1.12
2.1.2 SDK: /usr/local/share/dotnet/sdk/2.1.701/Sdks SDK Versions:
2.1.701
2.1.302 MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/6.0.0/lib/mono/msbuild/Current/bin/Sdks
=== Xamarin.Profiler ===
Version: 1.6.11 Location: /Applications/Xamarin
Profiler.app/Contents/MacOS/Xamarin Profiler
=== Updater ===
Version: 11
=== Xamarin.Android ===
Version: 9.4.1.0 (Visual Studio Community) Commit:
xamarin-android/d16-2/ebd65c9 Android SDK:
/Users/morgoth/Library/Android/sdk Supported Android versions:
4.4 (API level 19)
5.0 (API level 21)
5.1 (API level 22)
6.0 (API level 23)
7.0 (API level 24)
7.1 (API level 25)
8.0 (API level 26)
8.1 (API level 27)
SDK Tools Version: 26.1.1 SDK Platform Tools Version: 29.0.1 SDK Build
Tools Version: 28.0.3
Build Information: Mono: mono/mono/2019-02#e6f5369c2d2 Java.Interop:
xamarin/java.interop/d16-2#d64ada5 LibZipSharp:
grendello/LibZipSharp/d16-2#caa0c74 LibZip:
nih-at/libzip/rel-1-5-1#b95cf3f ProGuard:
xamarin/proguard/master#905836d SQLite: xamarin/sqlite/3.27.1#8212a2d
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-2#6f6c969
=== Microsoft Mobile OpenJDK ===
Java SDK:
/Users/morgoth/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25
1.8.0-25 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL
=== Android Device Manager ===
Version: 1.2.0.60 Hash: 686c817 Branch: remotes/origin/d16-2 Build
date: 2019-08-07 15:49:58 UTC
=== Apple Developer Tools ===
Xcode 10.3 (14492.2) Build 10G8
=== Xamarin.Mac ===
Version: 5.14.0.114 (Visual Studio Community) Hash: c6691164 Branch:
d16-2 Build date: 2019-07-29 15:54:06-0400
=== Xamarin.iOS ===
Version: 12.14.0.114 (Visual Studio Community) Hash: c6691164 Branch:
d16-2 Build date: 2019-07-29 15:54:05-0400
=== Xamarin Designer ===
Version: 16.2.0.379 Hash: 3f0652957 Branch: remotes/origin/d16-2 Build
date: 2019-08-01 17:32:50 UTC
=== Xamarin Inspector ===
Version: 1.4.3 Hash: db27525 Branch: 1.4-release Build date: Mon, 09
Jul 2018 21:20:18 GMT Client compatibility: 1
=== Build Information ===
Release ID: 802030016 Git revision:
f438e4b3ac81dbc614da2f2d9ac3c70ea2e5c350 Build date: 2019-08-09
09:07:01+00 Build branch: release-8.2 Xamarin extensions:
67f026710e882e318fb0c90077b429be3dc0e688
=== Operating System ===
Mac OS X 10.14.5 Darwin 18.6.0 Darwin Kernel Version 18.6.0
Thu Apr 25 23:16:27 PDT 2019
root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64
I opened the project in VS 2017 on Windows 10. I uninstalled Newtonsoft.json, and reinstalled it. Everything seems to work (on Windows). I guess VS for Mac isn't pulling its weight.

Error with Proguard - "java" exited with code 1

I know this question might have asked a multiple times but this happened me after I updated my Visual Studio for MAC 2019. I am trying to archive a Xamarin Forms Android app.
When I enable Proguard I get Error MSB6006: "java" exited with code 1. (MSB6006)
I have tried downloading the latest version of Proguard and replacing the files in the SDK.
Following is my VS for MAC configuration.
=== Visual Studio Community 2019 for Mac ===
Version 8.0.5 (build 9)
Installation UUID: ca67d924-4645-45bb-9a5f-c0c5881f3dc2
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 5.6.0.2 (d16-0 / 040682909)
Package version: 518010003
=== Mono Framework MDK ===
Runtime:
Mono 5.18.1.3 (2018-08/fdb26b0a445) (64-bit)
Package version: 518010003
=== NuGet ===
Version: 4.8.2.5835
=== .NET Core ===
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
2.2.4
2.1.9
2.1.8
2.1.6
2.1.2
2.1.1
2.0.5
2.0.0
SDK: /usr/local/share/dotnet/sdk/2.2.106/Sdks
SDK Versions:
2.2.106
2.1.505
2.1.504
2.1.500
2.1.302
2.1.301
2.1.4
2.0.0
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.18.1/lib/mono/msbuild/15.0/bin/Sdks
=== Xamarin.Profiler ===
'/Applications/Xamarin Profiler.app' not found
=== Updater ===
Version: 11
=== Apple Developer Tools ===
Xcode 10.2 (14490.120)
Build 10E125
=== Xamarin.Mac ===
Version: 5.8.0.0 (Visual Studio Community)
Hash: 0aa84521
Branch: d16-0
Build date: 2019-04-02 16:01:19-0400
=== Xamarin.iOS ===
Version: 12.8.0.2 (Visual Studio Community)
Hash: f2248ae6
Branch: d16-0
Build date: 2019-04-23 11:59:04-0400
=== Xamarin.Android ===
Version: 9.2.3.0 (Visual Studio Community)
Android SDK: /Volumes/Macintosh HD 2/VS Files/android-sdk-macosx
Supported Android versions:
7.1 (API level 25)
8.0 (API level 26)
8.1 (API level 27)
SDK Tools Version: 26.1.1
SDK Platform Tools Version: 28.0.2
SDK Build Tools Version: 27.0.3
Build Information:
Mono: mono/mono/2018-08-rc#5ac37ccd385
Java.Interop: xamarin/java.interop/d16-0#c987483
LibZipSharp: grendello/LibZipSharp/d16-1#44de300
LibZip: nih-at/libzip/rel-1-5-1#b95cf3f
MXE: xamarin/mxe/xamarin#b9cbb535
ProGuard: xamarin/proguard/master#905836d
SQLite: xamarin/sqlite/3.26.0#325e91a
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-0#0a7edd6
=== Microsoft Mobile OpenJDK ===
Java SDK: /Users/ashish/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_8.0.25
1.8.0-25
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Android Device Manager ===
Version: 1.2.0.14
Hash: 86df26f
Branch: remotes/origin/d16-0
Build date: 2019-04-05 16:58:56 UTC
=== Xamarin Inspector ===
Version: 1.4.3
Hash: db27525
Branch: 1.4-release
Build date: Mon, 09 Jul 2018 21:20:18 GMT
Client compatibility: 1
=== Build Information ===
Release ID: 800050009
Git revision: d9d7eed60cb59740ba55c04bfe9c39ac57014c12
Build date: 2019-04-26 10:08:19+00
Build branch: master
Xamarin extensions: 5efedb990d786142d3b54351c01ce867af7b7680
=== Operating System ===
Mac OS X 10.14.4
Darwin 18.5.0 Darwin Kernel Version 18.5.0
Mon Mar 11 20:40:32 PDT 2019
root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64
=== Enabled user installed extensions ===
Team Foundation Version Control for TFS and Azure DevOps 0.4.4.5

Error "Debuggee returned error code 200" when debugging Xamarin.Forms app

I've suddenly started getting the above error when I create breakpoints in my code.
This appears in a dialog box, and when I OK the dialog box, the app sticks on the breakpoint in question and doesn't proceed. If I delete the breakpoint, the app still sticks on the breakpointed line.
The only thing I've changed is to update my FreshMvvm package (it's a Xamarin.Forms app), which brings in a load of .net standard libraries and uses Rx to create weak event bindings.
This is killing my development - any known cause/solution? I see this thread has previously been posted -but no solution.
This is on Visual Studio for Mac, and the app is on an Android device.
Version information:
=== Visual Studio Community 2017 for Mac ===
Version 7.1.5 (build 2)
Installation UUID: 650b4c91-c7f5-4ee5-ad70-6f178f314906
Runtime:
Mono 5.2.0.224 (d15-3/14f2c81) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 502000224
=== NuGet ===
Version: 4.3.0.2418
=== .NET Core ===
Runtime: Not installed
SDK: Not installed
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/msbuild/15.0/bin/Sdks
=== Xamarin.Profiler ===
Version: 1.5.5
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Apple Developer Tools ===
Xcode 8.0 (11246)
Build 8A218a
=== Xamarin.Android ===
Version: 7.4.5.1 (Visual Studio Community)
Android SDK: /Users/jameslavery/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.1 (API level 16)
4.3 (API level 18)
4.4 (API level 19)
5.0 (API level 21)
5.1 (API level 22)
6.0 (API level 23)
7.0 (API level 24)
7.1 (API level 25)
SDK Tools Version: 26.1.1
SDK Platform Tools Version: 26.0.0
SDK Build Tools Version: 26.0.2
Java SDK: /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Xamarin.iOS ===
Version: 10.12.3.3 (Visual Studio Community)
Hash: 8a391069
Branch: d15-3
Build date: 2017-08-28 16:51:11-0400
=== Xamarin Inspector ===
Version: 1.3.1
Hash: cbc48dd
Branch: 1.3-release
Build date: Thu, 21 Sep 2017 19:52:53 GMT
Client compatibility: 1
=== Xamarin.Mac ===
Version: 3.6.3.3 (Visual Studio Community)
=== Build Information ===
Release ID: 701050002
Git revision: 7afedcaef8e7542e70e3cf8f9bdb26938b8c0876
Build date: 2017-09-15 08:39:58-04
Xamarin addins: 3262aadf811a18c12eac6742532d052b0139a808
Build lane: monodevelop-lion-d15-3-xcode9
=== Operating System ===
Mac OS X 10.11.6
Darwin 15.6.0 Darwin Kernel Version 15.6.0
Thu Jun 23 18:25:34 PDT 2016
root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64
=== Enabled user installed addins ===
Redth's Addins 1.0.9

VS Mac upgrade to 7.2 (build 636) MonoDevelop.CSharp.Project.CSharpProject exception

I just did a stable update of VS Mac Community Edition this morning. The current version shown is 7.2 (build 636). I added the entire About Details below. I'm not sure what specific version I upgraded from, but it was the most recent version before this as I stay up to date.
After doing the upgrade, which worked without displaying an error, I get this message when opening an iOS solution:
Error while trying to load the project '/path/to/project.csproj'. The
type initializer for 'MonoDevelop.CSharp.Project.CSharpProject' threw
an exception.
After dismissing that message, I get another error message with a list of this same error message:
The type initializer for
'MonoDevlop.ide.TypeSystem.MonoDevelopWorkspace' threw an exception.
I did a reboot of the machine, and I still see the error. My next step is to do a complete uninstall/reinstall, but before I do, can someone recommend a less time-consuming approach for diagnosing and fixing this error?
About Details
=== Visual Studio Community 2017 for Mac ===
Version 7.2 (build 636) Installation UUID:
56e643f6-0a84-4995-b464-438c06eb25ee Runtime: Mono 5.4.0.201
(2017-06/71277e78f6e) (64-bit) GTK+ 2.24.23 (Raleigh theme)
Package version: 504000201
=== NuGet ===
Version: 4.3.1.4445
=== .NET Core ===
Runtime: /usr/local/share/dotnet/dotnet Runtime Versions:
2.0.0
1.1.1
1.0.4 SDK: /usr/local/share/dotnet/sdk/2.0.0/Sdks SDK Versions:
2.0.0
1.0.3 MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/msbuild/15.0/bin/Sdks
=== Xamarin.Profiler ===
Version: 1.5.6 Location: /Applications/Xamarin
Profiler.app/Contents/MacOS/Xamarin Profiler
=== Xamarin.Android ===
Version: 8.0.0.33 (Visual Studio Community) Android SDK:
/Users/danmiser/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
6.0 (API level 23)
SDK Tools Version: 25.2.5 SDK Platform Tools Version: 26.0.0 SDK Build
Tools Version: 25.0.3
Java SDK: /usr java version "1.8.0_101" Java(TM) SE Runtime
Environment (build 1.8.0_101-b13) Java HotSpot(TM) 64-Bit Server VM
(build 25.101-b13, mixed mode)
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Xamarin Inspector ===
Version: 1.3.2 Hash: 461f09a Branch: 1.3-release Build date: Tue, 03
Oct 2017 18:26:57 GMT Client compatibility: 1
=== Apple Developer Tools ===
Xcode 9.0 (13247) Build 9A235
=== Xamarin.iOS ===
Version: 11.2.0.11 (Visual Studio Community) Hash: 2f8bbec0 Branch:
d15-4-xi Build date: 2017-10-05 20:56:05-0400
=== Xamarin.Mac ===
Version: 3.8.0.49 (Visual Studio Community)
=== Build Information ===
Release ID: 702000636 Git revision:
b349c8fc0c2e1aab0179917d56eed75eb3a03337 Build date: 2017-10-06
15:20:04-04 Xamarin addins: a8da992c78f7eb65b3cdb3f951c34a30337cab35
Build lane: monodevelop-lion-d15-4
=== Operating System ===
Mac OS X 10.12.6 Darwin 16.7.0 Darwin Kernel Version 16.7.0
Thu Jun 15 17:36:27 PDT 2017
root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
=== Enabled user installed addins ===
MFractor 3.00.16
Ensure that you have MFractor extension 'Updated' or Uninstalled. That work for me.
Check:
Visual Studio Community Menu (Top) -> Extensions.... -> Upgrades Tab
Open Extension Editor
Check Upgrades (I remove the extension)

Resources