How to solve: 'Mono version mismatch' - c#

Visual studio 2019 keeps telling me that the Mono version isn't right when im trying to pair to my mac.
I am making a mobile application for iOS in Xamarin.Forms for the last 6 weeks.
This problem didn't show up during this time, but after i updated to the latest version of Visual studio 2019 last week it (like it normally does) asked me to install the latest Mono version.
This became a problem now because the version it wants me to install isn't even released. I am talking about version '6.4.0.208' while the latest version i could find is '6.4.0.198'. Can anyone help me with this problem?
I have tried uninstalling Mono and than installing it again, but this didn't fix my problem.

Related

Visual Studio doesn't build App packages any more

I don't know why but after upgrading Microsoft to the insider preview version. I know, it's always a bad idea to update anything but had to do it to get the new MR Headsets to work...
I downgraded again after visual studio was unable to create any app packages. And it still doesn't work.... tried to repair visual studio and still nothing. I know it's a VS issue because i can't even build older projects which always worked and which i haven't touched.
And now after reinstalling it tells me that the package is unavailable and that i should install windows10 sdk even tho i installed it 100x already.
Edit: I'm also constantly getting this error:
And even after installing the file suggested below nothing works.
I don't get my Microsoft keeps building shit that never works..
Sounds like you should try the last resort:
https://learn.microsoft.com/en-us/visualstudio/install/remove-visual-studio
Use the InstallCleanup.exe to remove all things
There are known issues with using visual studio 2017, when doing hololens development, my stable environment is visual studio 2015 Update 3.0.0 and Unity 5.5 0f1. These I know will work together. Also, if you are trying to use the hololens toolkit, you will also have issues with the new versions of Visual Studio. So you will want to take the Dev branch and not master.

Xaml Previewer not working

I just can't get the XAML-Previewer to work.
It's always empty:
What I tried so far:
Renistalled Xamarin completely
Run Repair on whole VS
Also no Errors or Crashes can be found inside the xamarin logs.
Environment:
Windows 10 Professional
Visual Studio 2015 Enterprise
Xamarin 4.2.1.64 - (NuGet-Version 2.3.2.127)
No Mac - Connected (Running Android atm)
JDK 1.8.0_112
JRE 1.8.0_112
NDK R13B
SDK 25.2.3
I've searched the xamarin forum and SO for hours but still cannot get it to work.
Anyone found a solution on this ? it drives me crazy...
It would be great to use this feature...
Uninstall the Android SDK build tools API 24 and be sure to have the JDK 1.8 installed. Build your droid project and you will be ready to go.

Visual Studio 2015 C# XAML Designer doesn't load

In the new Visual Studio 2015 RC the XAML designer does not bring up a UI for a C# Windows Universal project but it does for a C++ Windows Universal project. This occurs with both the Professional and Community editions. Has any one experience the same problem and have a workaround/solution?
I have the same issue, when I upgraded the Win10 SDK from 10240 to 10586, set the project properties->Application->Target version to Windows 10(10.0;Build 10240),
the design view shows up again.
If the XAML designer is failing to open, check the "Flag" notifications in the top right corner. You might notice a message that your Windows 10 build needs to be updated.
1:
The target platform can't be newer than the Windows 10 build you're actually running.
To help clarify this a bit -
If you are building a Universal Windows 10 application with Visual Studio 2015 running on Windows 8.1 - something that we have enabled for the first time without requiring your to upgrade your OS, you will not be offered the XAML designer option - we will only allow you to edit XAML using the editor and IntelliSense. Similarly, you will not be allowed to test the application locally or using the Simulator (since it is a Windows 10 application and cannot run on your machine). Everything else should work fine, but for the best experience possible, consider upgrading to Windows 10.
If you are building a Windows 8.1 universal application, it should work just like before.
Windows 10 (fresh install + Developer mode)
VS 2015 Update 1 Ultimate
SDK Build 10586
By default no designer being available even via Shift-F7.
This expands the scope of the original problem, its not a VS edition based issue at all. Its a problem with the SDK support.
AS per Wener Henze
Swtich back to Build 10240.
Fixed. Designer now available.
Werners workaround is confirmed and saved me lots of time. I don't have the rep to thank him, or comment on his post directly.
I installed fresh Windows 10 and Visual Studio Community 2015, and the designer failed to load (for MainPage.xaml etc). I had to:
enable developer mode in system settings (update section) as suggested in info dialog
(re)install Visual C++ redistributable for VS 2015
But I don't know which one exactly resolved the problem... Now the designer loads as expected. (I tried only C# universal app yet)
In case if you have installed fresh Windows 10 Build 10240 and downloaded and installed latest Visual Studio 2015, target version 10240 is not available in Project Properties -> Application -> Target version and designer is not working too.
I have got Target version 10240 selection available after I've installed additionally Windows 10 RTM SDK from following page. As discussed above, designer works fine if Target version 10240 is selected.
As an update to the answer of #Ivan because I just had to do with this issue recently.
In my case I only had the option to change the Min Version from 10586 to 10240 but for the Target version I had no other choice than 10586. So solving this issue was not possible.
The solution was to install SDK Version 1506 (Version 10.0.26624.0) which can be found here https://developer.microsoft.com/de-de/windows/downloads/sdk-archive
After a restart of Visual Studio I was able to switch the Target version as well #Ivan mentioned and the XAML designer finally showed up. Heureka!
Thanks for the hint #Ivan.
you have to have the appropriate sdk installed on your machine, you can get it from the official site of Microsoft https://developer.microsoft.com/en-us/windows/downloads/sdk-archive
before that please remove the old sdk you installed on your pc, so that VS will use the new one.
then it'll work... i fixed mine in this way.

Visual studio 2013 cannot resolve metadata. C# Store app

I installed an sdk to upload my app to the store. After the package creation I went home, only to see this error the next day when I started VS2013 again. note: It worked fine the same day I installed it, problem began after system reboot
error:
Cannot resolve 'Windows.metadata'. Please install the Windows Software Development Kit. You can retarget your project to Windows 8.1. The Windows 8.1 SDK is installed with Visual Studio. See http://go.microsoft.com/fwlink/?LinkID=278967&clcid=0x409 for more information on how to retarget your project
So I reinstalled the development kit and followed the steps on the Microsoft website, but i still can't retarget it (VS doesn't provide me with an option to do so), also, VS tells me my app already is targeted to 8.1.
Anyone has any ideas how to solve this problem?
Most stupid problem ever. Missed the visual update 2013 update. Just updated it and now its fine

Error when creating a new WiX setup project using Visual Studio 2008

I've been trying to solve this problem for 2 days. I've been searching for solutions but nothing comes up useful.
Every time I try to create a WiX setup project in Visual Studio an error pops up saying
"..\Temp\SetupProject.wixproj" cannot be opened because its project type (.wixproj) is not supported by this version of Visual Studio."
But just a week ago, it was working fine. It started when I installed WiX 3.7. When it failed I reverted to 3.6 but the error has stayed there for good. And even reinstalling Visual Studio didn't solve the problem. Do you guys have any solution to this? Help would be really appreciated. Thank you!
edit: windows 7 32bit. visual studio 2008.
Since no one seems to have experienced the same issue, I resolved it by installing a Virtual Machine. And there I re-installed VS2008 and WiX 3.7. Now it's working! :)

Categories

Resources