Using Visual Studio 2017, Community Edition.
I'm doing the tutorial (/guides/xamarin-forms/getting-started/hello-xamarin-forms/quickstart/) for Xamarin and I'm getting a similar error, whenever I try to update any of the Android packages. If I try to update Xamarin.Androix.Support.Vector.Drawable, I get the following error message:
Severity Code Description Project File Line Suppression State
Error Unable to resolve dependencies. 'Xamarin.Android.Support.Vector.Drawable 25.4.0.2' is not compatible with 'Xamarin.Android.Support.v7.AppCompat 23.3.0 constraint: Xamarin.Android.Support.Vector.Drawable (= 23.3.0)'. 0
I went to the Android SDK manager and updated everything I could find there, still no luck. Any advice is much appreciated.
You need to first upgrade Xamarin.Android.Support.v7.AppCompat. If it's an option, you could just upgrade ALL packages in one shoot using update option from Packages context menu on the solution explorer.
Related
Please I was busy for the past 4 days trying to fix the issues resulting from the below error. Please how do I go about fixing this error below?
*Severity Code Description Project File Line Suppression State
Error: Failed to add reference to 'comerr64'.
Please make sure that the file is accessible, and that it is a valid assembly or COM component.
*
So I tried reinstalling the Microsoft visual studio 2019 to see if things would go well but all trials were to avail. Then I've also tried several times to reinstall the Nuget package "MySql.Data (8.0.32) by oracle, 54.1M downloads" after all trials to fix this but all I got was same error.
There is bug with MySqlData 8.0.32. The workaround is installing MySqlConnector. This link explains it:
https://mysqlconnector.net/troubleshooting/failed-add-reference-comerr/
The error message went away once it was installed and the site is working.
I left MySqlData in the manifest (installed) for now because there are some dependencies to the other MySQL assemblies that require MySqlData installed that will make if difficult to remove at this point.
Error PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate entry. MyApplication (Package) C:\MyApplication (Package)\GENERATEPROJECTPRIFILE
<- This is the error I always get if I want to compile my .NET 5 WinUI 3 (0.8.1) Desktop Packaged Project.
Either on the Packaging Project or on the main Application Project.
And bevor this error ther is always this error:
Error PRI222: 0x80073b0f - Unspecified error occurred. MyApplication (Package) C:\MyApplication (Package)\GENERATEPROJECTPRIFILE
On the internet, I couldn't find any solution.
Can please somebody help?
Some additional info:
I have the latest version of Visual Studio Community (16.10.3)
I also have the latest version of my Project Reunion/Windows App SDK NuGet packages (0.8.1)
... and each other NuGet is also up to date
My C# application uses some [DllImport] and [ComImport]
I also use the PInvoke from Microsoft's CsWin32 project
I tried to create a new project and copy code file content by file content into new files but it does not help.
I had the same error, what I did was to remove all the images from the assets and it worked, then I was adding little by little until I found the assets that gave error.
I understand that the error is generic, VS does not help much.
I downloaded the Boilerplate template project today. I am able to build without errors and also create a database from the entity model. I have set 'Web.Mvc' project as the startup project.
When i run the application on VS Community 2019 16.4.4 i get the below error. What am i missing here?
Also, attach to process window does not open from Tools > Attach to process. I get the same error as in the image.
Error:
Unable to start debugging.
Operation not supported. Unknown error: 0x8ede000e
Build Error:
Resolved: I had to re-install VS Community 2019. The previous update corrupted VS2019. Installing V.16.5.4 fix the issue.
I'm getting this error in Nuget Package Manager Console window, please see image attached. I think because of this I can not install an older version of package I need (Umbraco CMS) - during installation similar strange error arises with a bit different messages. I've checked this on different computer - without this error older package is being installed properly.
Tried re-installing Visual Studio 2 times - no effect. I could not achieved clean re-install, new VS instance inherits many plugins and features from previous instance.
Please somebody help me with this issue. Thanks in advance!
I am trying to get PostSharp set up with my VSTO addin project so that there is a centralized way to catch all exceptions.
I followed the guide here: http://exceptionalcode.wordpress.com/2010/02/17/centralizing-vsto-add-in-exception-management-with-postsharp/
first I downloaded and installed PostSharp. Then per the installation guide I added PostSharp to my VS project and I checked and it shows up in 'Manage NuGet Packages...'
however I am getting missing references regarding the 'using PostSharp.Laos;' statement saying that it cannot resolve the symbol 'Laos'.
Did I miss a setup step or are the instructions in the guide I am following out of date for the latest version of PostSharp?
looks like the guide was out of date.
I fixed it by swapping out 'using PostSharp.Laos;' with 'using PostSharp.Aspects;' and 'MethodExecutionEventArgs' with 'MethodExecutionArgs' from the code samples