Visual Studio Mac Extensions mpack file installation failed with below error
Error:
The add-in Mytemplate could not be updated because some of its dependencies missing or not compatible
required:Mono.Develop.Core 8.2.5 , found : MonoDevelop.Core 8.1.2
required:Mono.Develop.Ide 8.2.5 , found : MonoDevelop.Ide8.1.2
required:Mono.Develop.Core 8.2.5 and required:Mono.Develop.Ide
Is there some mistakes here, should them be MonoDevelop.Core 8.2.5 and MonoDevelop.Ide?
The add-in Mytemplate could not be updated because some of its
dependencies missing or not compatible
Please check this document, I guess the reason why you get that issue is the extension you want to install is for MonoDevelop 8.2.5 designed by the add-in maker while the version in your machine is 8.1.2.
Check this monodevelop add-in repository and you can find the extensions there target different versions of MonoDevelop. So for your issue I think you can try to get the Mytemplate extension for 8.1.2, or you can choose to update your VS for MAC and the MonoDevelop in your machine to latest version.
Related
While installing the package Microsoft.EntityFrameworkCore.Tools for using EF in my project using Nuget, I'm persistently running into the below error. Notice I didn't get any error while installing other related packages used for EF core
Microsoft.EntityFrameworkCore
Microsoft.EntityFrameworkCore.Relational
Microsoft.EntityFrameworkCore.SqlServer
Here is the location of the file ef.exe
Basically the intention behind installing this package is to use EF command-line tools. I'm currently on Windows 10 and the .NET SDK installed on my machine is 3.1. I had previously 2 SDK's installed on my system(3.1 & 5.0). As per microsoft's documentaion, "The .NET CLI must choose an SDK version for every dotnet command. It uses the latest SDK installed on the machine by default." Therefore I went ahead and uninstalled .NET 5.0 SDK
Here are some of the solutions that I tried:
Deleting the package folder from '.nuget/packages/microsoft.entityframeworkcore.tools' & thereby the executable i.e. 'ef.exe' and reinstalling the same.
Installing the same package using dotnet cli.
Running Visual Studio 2019 as admin.
Deleted the folder "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions"
I have also tried some of the steps mentioned here on github: https://github.com/NuGet/Home/issues/1138
. Any kind of help would be really appreciated.
I have answered the detailed description of the solution here on microsoft's .NET Q&A platform.
'EntityFramework.Core.Tools' nuget package installation error
I'm getting the following failure report when attempting to install version 1.31.2 in VS17 using Nuget.
Error NU1202 Package Microsoft.Azure.Devices.Client 1.31.2 is not compatible with uap10.0.15063 (UAP,Version=v10.0.15063) / win10-arm [and other Windows 10 versions]. Package Microsoft.Azure.Devices.Client 1.31.2 supports:
net451 (.NETFramework,Version=v4.5.1)
net472 (.NETFramework,Version=v4.7.2)
netstandard2.0 (.NETStandard,Version=v2.0)
netstandard2.1 (.NETStandard,Version=v2.1)
Any advice on how to resolve this would be appreciated. Do I need to use and earlier version?
You will need to meet the OS and hardware compatibility as described to install and use Microsoft.Azure.Devices.Client :
https://github.com/Azure/azure-iot-sdk-csharp#os-platforms-and-hardware-compatibility
See also: Prepare your development environment
"Visual Studio is not required to build the SDK. This may not be sufficient to run certain samples that require Visual Studio and other SDKs or frameworks installed on your machine."
I developed an ASP.Net MVC web application and It's almost completed. After That, I updated Bootstrap through NuGet package manager to Bootstrap latest stable version 4.3.1 Update was successfully completed. But after the migration following errors are occurred.
Error Build:Cannot find name 'Record'.
Error Build:Cannot find name 'undefined'.
To solve that I installed TypeScript for Visual Studio 2015. Then the above error solved and the following error occurred.
Severity Code Description Project File Line Suppression State
Error The build task could not find node.exe which is required to run
the TypeScript compiler. Please install Node and ensure that the
system path contains its location. ABH.SW.HotelManagement
How can I solve this? I tried to google it for the past 2 days but I wasn't able to find any solution
This is the only post for this problem, so I'll do my bit for those who use Bootstrap 4.3.1, TypeScript, and VS2015.
First, once you create the project and are about to install Bootstrap 4.3.1 through NuGet, don't let Visual Studio manage TypeScript Typings for you. Check no.
Once Bootstrap and stuff is installed, clean the solution: right click on your solution -> clean solution
Next, open NuGet console (Tools → NuGet Package Manager → Package Manager Console), and install TypeScript 3.0 using this command:
Install-Package Microsoft.TypeScript.MSBuild -Version 3.0.0
Close Visual Studio, open it again, and that's it. Took for me a lot of research to find out that several TypeScript versions cause a lot of conflicts and 3.0 is one of those that actually work.
I had the same issue while trying to update to Bootstrap 4 from Visual Studio 2015. What fixed it for me was installing Typescript 2.2 for Visual Studio 2015 (https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.TypeScript22forVisualStudio2015). You may need to uninstall previous versions of Typescript Tools for VS2015 from Programs and Features.
I think Bootstrap 4.3.1 , Typescript , VS2015 has some issues with each other.
[e.g.
Compilation error from Angular and typescript in VS 2015 MVC project
]
My scenario in my project got this error
Error The build task could not find node.exe which is required to run
the TypeScript compiler. Please install Node and ensure that the
system path contains its location. ACC_Cor...
I'm using VS2017 while other team member that has problem using VS2015 with TypeScript Tools for Microsoft Visual Studio 2015 3.2.2.0 installed
He told me that after map project from source control there is and alert message of something like his typescript version is newer. So after some googling I think you should look in to this link for more information
https://github.com/Microsoft/TypeScript/issues/17136
VS2015 - Change TypeScript Version
How to run TypeScript in Visual Studio 2015 without require() or requireJS
tldr;
For Vs2015 + Bootstrap 4.3.1 I solved my issue by
Check project property
Uninstall Typescript
Install Typescript version 3.0 https://www.microsoft.com/en-us/download/details.aspx?id=48593
I'm using Xamarin Studio version 5.5.3 to build my ASP.NET MVC Application. When I create a MVC APP, is created with the version 5.2, however this version isn't totally supported and I need downgrade the package to some version < 5. I have to run the command "PM> Install-Package AspNetMvc -Version 4.0.20710" on package console, but it is readonly (as viewed on picture).
Someone have any idea to solve this problem?
The Package Console that ships with Xamarin Studio currently is read-only and only shows messages from NuGet.
There is a PowerShell console available as a separate addin but it is still an alpha release.
Alternatively you can install a specific version from the Add Packages dialog by running a search for all versions of a NuGet package:
Microsoft.AspNet.Mvc version:*
This will return all versions in the Add Packages dialog and you can then pick the version you want to install.
I have a PCL targeting .Net 4.5, Silverlight 4+, Windows Phone 7.5+, .Net for windows store apps, Mono Android and MonoTouch
I am attempting to install Simple.OData via nuget and getting the error below. I have tried many different combinations, but nothing seems to be able to pull down the library. My main goal is to develop for Android and Touch using MVVMCross and Odata services.
PM> Install-Package Simple.OData.Client
Installing 'Simple.OData.Client 0.16.0'.
Successfully installed 'Simple.OData.Client 0.16.0'.
Adding 'Simple.OData.Client 0.16.0' to EMC.Mobile.Core.
Uninstalling 'Simple.OData.Client 0.16.0'.
Successfully uninstalled 'Simple.OData.Client 0.16.0'.
Install failed. Rolling back...
Install-Package : Could not install package 'Simple.OData.Client 0.16.0'. You are trying to install this package into a project that targets
'portable-win+net403+sl40+wp', but the package does not contain any assembly references or content files that are compatible with that framework. For more information,
contact the package author.
At line:1 char:1
+ Install-Package Simple.OData.Client
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Looking at https://www.nuget.org/packages/Simple.OData.Client it says the package only supports Windows Phone 8 and higher - so I guess your problem is Windows Phone 7.5 is not supported.
Just to want to let you know that there is a new version (0.17) of Simple.OData.Client with changes that affect MonoTouch/MonoDroid.
However, as Stuart and Daniel pointed out, you must select compatible PCL profile. Make sure that your selected profile doesn't select earlier versions of Silverlight and Windows Phone.
Let me know if you need more help with this.