How install the ClosedXML NuGet - closedxml

I'm trying to install ClosedXML NuGet in an ASP / VB.NET project that uses .NET Framework 4.0, and I'm getting the following error:
What do I need to do for ClosedXML be installed OK in my project?
Thanks in advance,
Marcelo Camarate

I suggest installing using the Package Manager Console.
You can find this in Tools> Nugget Package Manager > Package Manager Console
Once that's up, paste this Install-Package ClosedXMLand hit enter.

Try to installing the latest NuGet Package Manager.
After the installation, restart Visual Studio.
Link for download the latest version of NuGet:
https://www.nuget.org/downloads

Related

I cannot install Blazorise in my Blazor server side app. I get the Error that "Microsoft.AspNetCore.Blazor" package could not be find

I have a blazor server side app that is working without problem. (Net Core 3.1). I tried to install Blazorise according the quick start page in https://blazorise.com/docs/start. As my server has no internet access I have downloaded the packages "Blazorise.Bootstrap 0.7.2" and "Blazorise.Icons.FontAwesome 0.9.2.5".
I can install the "Blazorise.Icons.FontAwesome" without Error. But if I try to install "Blazorise.Bootstrap" I get the Error
"NU1101: Unable to find package Microsoft.AspNetCore.Blazor. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, Package source"
I cannot find any package like "Microsoft.AspNetCore.Blazor". What should I do now?
Update1:
I have found a package like "Microsoft.AspNetCore.Blazor.Templates 3.1.0-preview4.19579.2" but if I try to install I get Error
"Package 'Microsoft.AspNetCore.Blazor.Templates 3.1.0-preview4.19579.2' has a package type 'Template' that is not supported by project 'WebApplication7'"
I had some problmes at the beginning with updateing NetCore3.1 to Net6.0 But at the end I fixed them. So I could install Blazorise's last version without problem.
Thanks for the comments, suggesting that.

Cant Insatll MySQL.Data from Nuget Manager

I am trying to install MySQL.Web in my Project but it throw me error
Error:
'MySql.Data' already has a dependency defined for 'Google.Protobuf'.
I try both way to install it.
By rigth click on project -> Manage NuGet Packages
by writing Install-Package MySql.Data in Package Manager Control.
But it throw me same error at both time.
I am using Visual Studio 2012
Thanks in Advance.
Check for the Framework you are using and the Dependency list.
I tried to install it Console Application in target Framework 4.5.2 and it worked.
If you want to run in framework 4.5 then try installing package with version 6.9.12 Because the newest packages have dependencies and also they don't work in framework 4.5.2
You can check the dependencies from MySql.Data

How to update MvvmCross?

I am using Visual Studio for Mac. I have MvvmCross v5.1.1 installed in my project. I want to update it (and all its dependencies and plugins) to v.5.3.1. But I get this error message in the output when I try to update my packages:
Unable to resolve dependencies. 'MvvmCross.Binding 5.3.1' is not
compatible with 'MvvmCross.Droid.Shared 5.1.1 constraint:
MvvmCross.Binding (= 5.1.1)'.
With MvvmCross version 5.2+ MvvmCross.Droid.Shared has been removed.
From MvvmCross blog release notes
As the nuget package MvvmCross.Droid.Shared no longer exists,
please force remove it first, and then update the rest of the
packages.
Visual Studio
You can run the following command in your Package Manager Console to remove it (Make sure that the default project dropdown is set to your Android project)
PM> Uninstall-Package MvvmCross.Droid.Shared -Force
Visual Studio for Mac
You can install NuGet Package Management Extensions addin (You can get the latest version of the addin from Github). Then execute the following command from the PowerShell Console Window (Make sure you have closed and re-opened IDE after the addin has been installed before trying to open the PowerShell Console)
PM> Uninstall-Package MvvmCross.Droid.Shared -Force

Upgrading umbraco from 4 to 6

I would like to install Umbraco 6.1.x, but my host suffers from this issue: http://issues.umbraco.org/issue/U4-1632
Basically, I can't install 6 due to an incompatibility with MySQL on Linux and Umbraco 6, but I read that I can upgrade from 4.x.x and then upgrade to 6. The question is, how do I do that? I.e. what files do I need to upload and edit such that the database remains, but all umbraco files are version 6?
Yes, according to the bug report you can install a Umbraco v4.11.x and then upgrade this to v6.1.x and this should work fine.
The downloads are all available here: http://our.umbraco.org/download
However, the easiest way to get Umbraco set up is to use NuGet in Visual Studio. So you could run the following line from the NuGet console:
Install-Package UmbracoCms -Version 4.11.10
You'll have to use the console for this because if you use the Package manager, it will just install the latest Umbraco package version.
Next, load your site in a browser and configure the database settings. Then upgrade using NuGet again. I find the easiest way to do this is to open the NuGet package manager in Visual Studio, select "Updates", find the Umbraco package and click "Update". This will automatically update all the files for you.
You will then need to load up the site again, at which point it will prompt you to upgrade, and you can just follow the steps in the wizard.

Windows phone 8 image uploading to windows azure

I want to upload Image from my windows phone 8 application to azure , I have searched a
lot and found various solutions in windows phone 7 all are using
"Phone.Storage"
, but when I try to install it for my windows phone 8 app , it throw error.
I have also tried vaious packages using nuget package manager but every one installation faild at
'Microsoft.WindowsAzure.ConfigurationManager 1.7.0.3'. Install
failed. Rolling back...
Please help me resolve this issue, and if there exist a good tutorial , please share .
Zauk
I had similar problem, the reason was that the NuGet version that ships with VS2012 RTM doesn't support WP8. Can you try to update your NuGet package manager to the latest version.
Go to
Menu Tools -> Extensions and Updates -> Updates -> Visual Studio Gallery -> NuGet
update restart.
If you are getting this error when trying to install the Azure Storage library from Nuget. "Could not install package 'Microsoft.WindowsAzure.ConfigurationManager'" . That is because the package you are trying to install does not include the Windows Phone 8 library.
As a fix: Use this command from the package manager console:
Install-Package WindowsAzure.Storage-Preview -Pre
Here is some documentation on how to implement it, after you are done installing the Azure Storage SDK
http://www.windowsazure.com/en-us/documentation/articles/mobile-services-windows-phone-upload-data-blob-storage/