Xamarin obj\Debug\libraryimports.cache does not exist - c#

I am new at Xamarin.Android with Visual Studio 2015 and tried to create a little test application.
As soon as I create the new project, a warning appears:
obj\Debug\libraryimports.cache does not exist. No Imported Libraries found.
If I try to start the application, VS tells me, that there is a problem and asks me to go further.
I tried to reinstall Xamarin and Visual Studio and tried to create the Project on my Desktop.
In every case it shows me the same Warning.
Can anybody help me?

For me it helped to move the whole Visual Studio solution to a path with only ASCII characters.

Move the solution to c:\new_folder\solution. new_folder and solution must contains only ASCII characters. My username in windows has "í".
This solution work for me.

Looks like reinstalling is the only known solution: Rebuild failed: ''obj\Debug\libraryimports.cache does not exist. No Imported Libraries found''

Related

Cannot navigate to the symbol under the caret - Visual Studio 2015,2017 and 2019

I have been searching for a solution to this for the last 3 days. Please help.
I have tried opening my solution in VS 2015,17 and 19 and whenever I try to go to my namespace I get the error
"cannot navigate to the symbol under the caret"
None of these have helped me.
Failed : VS2019 ASP.NET MVC "Cannot navigate to the symbol under caret"
Failed : https://developercommunity.visualstudio.com/content/problem/505489/cannot-navigate-to-the-symbol-under-the-caret-3.html
I have also deleted my .vs folder, didn't work, someone also said delete your .user folder. But there isn't a .user folder in my project.
I also searched for the dot net compilers and found an update but the update made no difference.
It's only on my visual studio. Other people are not having this issue.
I had a similar problem some time ago, and the solution was to create a solution in visual studio with a new MVC project, and then add the source code files to the new project.
So Installing Resharper fixed my problem after I reloaded the solution in my Visual studio with Resharper installed.
https://www.jetbrains.com/resharper/
I used the trial version.
Note: It took a second to load though so make sure resharper has analyzed your files. You should see a progress bar at the bottom right of your Visual Studio when you restart your Visual Studio and open your solution.
Closed Visual Studio, then deleted ".vs" folder in the solution folder

visual studio 2010 could not load file or assembly

I know there is plenty of question on that subject, but I didn't find any useful answer about my problem.
I got a project from a co-worker using mercurial. Now when i open the project I cannot open any C# file and I get the following message:
Could not load file or assembly, 'Microsoft.MSXML, Version =8.0.0.0,Culture = Neutral, PublicKeyToken=b03ff5f7f11d50a3a' or one of its dependencies. The file specified is unfindable.
Any idea? I don't know exactly what is in the code, in fact I've never see or programmed the code until now, but I know the code is working and my co-worker manage to make a installer and the software is working fine.
Try to install Microsoft Core XML Services to solve this problem
There was a problem inside Visual Studio 2010.
My resolution was:
I tried to create a basic C# applicaiton but the same error message pop-up
I tried to re-open a old project that I used to work on but the same error message pop-up.
So I used the following utility. I made a fresh install and how everything is working. I don't think it is the most efficient solution , but it worked.
Simply delete all folders in this path then rebuild your project.
C:\Users\'username'\AppData\Local\Temp\Temporary ASP.NET Files\root

does not implement interface member IComponentConnector2

I tried to create a new Windows universal app (UWP) but new project seems to be broken.
I use Visual studio 2015 RC (version 4.6.00076), .NET for Windows Store apps (4.5.1.0)
How did i do ? I used this simple way :
And next, i tried to build project without modifying nothing in project.
And i got this error :
Severity Code Description Project File Line Error CS0535 'MainPage'
does not implement interface member 'IComponentConnector2.Connect(int,
object, object)' D:\Windows
Phone\\\obj\x86\Debug\MainPage.g.cs 16
I didn't find solution on internet, but maybe it's a problem with .NET version or assembly missing...
Does someone had this error too ? And what to do to fix it ?
I tried to "repair" my Visual Studio installation but nothing new happened.
So, i tried to remove Visual Studio and to install it again.
First time i made custom installation, so this time i made full installation.
And it seems to works good.
strange bug :s

Missing project sub type error when trying to create a new MonoGame project

Hello Im using Visual Studio 2012 and whenver I try to create a new MonoGame content project I get this error...Also if I try to start a windows Mono project or a Android mono project I dont get the same error but whenever i try to compile i get errors, i have unstillaed Mono and xamarin and tried installing and that never solved the issue the only thing left to do is uninstall Visual Studio 2012 but that can take a ton of time so if anyone here can help me it will be appreciated here is the link to the following error.
I think I have a workaround for you, although, I still don't fully understand the issue myself and I'd love someone to shed some light on it.
If you open up the project file as plain text you will see a ProjectTypeGuids like so:
<ProjectTypeGuids>{9B831FEF-F496-498F-9FE8-180DA5CB4258};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
If you Google each GUID you will find that one of them is DotNetProjectSubtype id="MonoGame" and the other is Windows (C#).
As far as I can tell you can safely delete the MonoGame one and proceed with your day. I believe it's only used at project creation time.

C# - error : Unable to read the project file

Have a bigSmall problem here.
I cant open any type of project in visual studios. Even when i creating a new one I get the error:
C:\Windows\Microsoft.NET\Framework\v4.0.30319
The element <#text> beneath element is unrecognized.
When I choose to open a SLN file or open trough File>Open>Project/Solution I get an other error:
One or more projects in the solution were not loaded correctly.
Please see the Output Window for details.
Anyone knows? Seen some solutions on the net but it doesnt seem they help me with this.
Thanks.
<>
I have reinstalled Visual Studios but the bug remain.. Seriously. Ripping my hair of. Really need this to work!
Have you maybe installed a Plugin that make problem?
I had the same error. What I did was replace the ControldeMenu.csproj that is found in the project directory, for a backed-up copy, that was what worked for me.
I uninstalled and reinstalled the .NET framework and resolved the issue.

Categories

Resources