Add NuGet Packages on Xamarin Studio for Mac Not Working - xamarin

I've tried searching on this issue (and I've come across many issues with people not being able to add NuGet packages), but have come across nothing that can solve my problem.
I'm using Xamarin Studio for Mac and I'm trying to add the SQLite package to my Xamarin Forms project. However, when I click to add a NuGet package (either by right-clicking on the project or from the Project tab at the top), nothing happens. No delay or anything — I click it, no lag, and I continue doing whatever else I want. Has anyone encountered this issue before? I've already tried quitting out of the app multiple times and this has not solved the problem. Thanks for any help you can provide.

In case you are still searching for an answer:
I've had the same strange problem.
This is a bug in Xamarin Studio 6.0.X (In some installation, probably depending on system configuration or something like that)
After updating to Xamarin Studio 6.1.X (alpha channel), it was working again ...
If I find the link where I've found this answer, I will post it later!

Related

Xamarin forms iOS app stops debugging after app installation and launch without any error message

I've been working with an app for quite some time now and yesterday the app all of a sudden just started dying after compilation without any error message whatsoever.
I did some changes in a listview, but later reverted them to see if that had anything to do with it, which it didnt.
Now i have tried lots of things to try to solve this, deleted bin and obj folders, clean, rebuild, closed visual studio, restarted the computer etc without any success.
Yesterday i updated my xamarin enviroment, xcode, mac and also xamarin.forms to 3.2 to see if that would automatically fix the problem for me but the issue still remains.
Any idea what i can try next in order to solve this and is there a way where i will be able to get more information why it dies?
Also i find that sometimes i have some issues with my xamarin.forms references in my iOS custom renderer code, it normally disappears if i rebuild/clean etc, but maybe it is sign of something that is wrong?
Any help, guidance, advice is very appreciated. Tried solving this for hours now..
If you have already deleted the bin/obj folders and tried to rebuild (note also restart Visual Studio, sometimes restarting the IDE also works).
Then, check if the Xamarin.Forms versions are all the same, this is a must.
After that, try this:
Manage NuGet Packages for Solution
Remove Xamarin.Forms
Reinstall Xamarin.Forms
If that does not work. Try to delete all the packages folder, and restore them again.

Xamarin Android Designer showing blank page

Recently I decided to try using Xamarin for developing simple Android applications.
However, I encountered a problem that the Android Designer for layouts either does not work (in latest stable VS 2017) or shows just a blank page (in latest VS 2017 Preview).
Are there any additional steps to set it up or how can I fix this?
As it happens, Xamarin Designer will not work properly (like the behavior described in my question) if you do not have the correct folder structure. I.e. the layout documents must be in the Resources/layout folder, otherwise the Designer will fail.
I already reported this to VS Community and they said that they will have a look at this issue. Hope they will fix it soon.

Visual Studio 2017 Xamarin UWP break, unable to load "sqlite3"

When I launch UWP project, it crashes and I'm getting errors like these.
And this error occurs mostly when its on debugging mode.
Soo.. first idea for fixing this was upgrading/downgrading nuggets, but that didn't help me, also I have these nuggets included for UWP:
Microsoft.NETCore.UniversalWindowsPlatform
SQLite.Net-PCL
System.Data.SQLite
Xamarin.Forms
XLabs.Forms
etc other(that dosent matter on this exception)
I also looked other posts for solving this, like adding SQLite extension, but I didnt find the extension from Universal Windows->Extensions.
Im pretty stuck with this problem, I think its probably a problem with nuggets
You were fairly close. Go to Tools > Extensions and Updates. Click the Online tab in the left hand menu.
Search for SQLite and download SQLite for Universal Windows Platform.
Now go back to the Extensions window, as you showed above, and tick the SQLite for Universal Windows Platform. Ensure you keep the Visual C++ 2015 Runtime ticked, you need this as well.

Visual Studio runs comments

For some reason VS 2013 is completely ignoring my changes to the file.
Namely, even if I comment a whole section out it would still execute it!
I tried:
Clean build
restart computer
removing and including the same file again
Note: I am developing a cross platform application using Xamarin and VS.
Would appreciate any help!
Thanks
Probably you have compiled the project for Release, change that to Debug and build it again.
I doubt this question or answer would help anyone but here goes...
Solution: I had to update my SDK from the Android SDK Manager:
Open Android SDK Manager
Under Tools tick the checkbox next to the most recent Rev. ( I installed 23.0.5)
Click "Install packages..."
Background
After having the problem I described I noticed few other really strange things. For example VS would not let me modify any of my drawables. If I tried to delete, add or rename any drawable VS would get stuck and the only way to solve this was to force stop it.
Here is the bug for this issue Visual Studio hangs when including, excluding, or saving files in Android resource folders.
Once I installed the latest SDK everything was well.
Hope this helps

Enabling Disabled tools in the visual studio toolbar

I am developing my minor and major project in VS2008. Suddenly tools have started to go missing from my toolbar. I have visited several forums but am not able to solve the problem.
Basically I have silverlight 2.0 installed with SDK, and tools and all.
Now when I need to access the media element control from silverlight it does not display.
Further more on listing all controls I can see those controls but they are disabled.
Please Help Me out.
Regards
Shrey Mishra
try it:
Reset all setting in tools -> Import and Export Setting menu
Or
2 You should update your VS 2008 SP1 with . NET 3.5
Hope this help,
I am not too sure, but it has something to do with the references in the project. I have the same problem with some of my projects when i started adding references to many assemblies.
When you reset the toolbox ,does it work ? On my computer, whenever I reset the toolbox, the icons come back only to disappear some time later after rebuilding the application many times.
Icons should not disappear from anywhere other than your toolbox.
Had the same problem:
Reset all setting in Tools -> Import and Export Setting menu
helped nicely))
It's weird but I was able to solve the problem by simply removing USB Mouse .:)
When i checked this out with some others developing on their laptops it came to me that it happens with very few of us in VS 2008 but still can drive on mad.

Resources