I recently downloaded the Google Data .NET API from this website to use in C#. When I downloaded and ran the most recent installer for the Google Data API, it claims I need to install .NET Framework v2.0. However, I already have .NET v4.0 installed. The installer won't let me continue without "installing" .NET, but I already have a more recent version installed. All the information I have found on this API points back to the webpage where I got my installer, so the page doesn't seem to be outdated. Do I need to downgrade and also install version 2.0?
Related
I need to determine programmatically (c#) if a certain .NET Desktop Runtime version is installed on the system.
One option that I found was to check the version in the registry like this post suggests. However, this will only retrieve the latest version installed. With ASP.NET Core versions can for example be found in the registry here: SOFTWARE\Microsoft\ASP.NET Core\Shared Framework
System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription;
Will only retrieve the version of the framework the application is running on.
The official way seems to be using the command "dotnet --list-runtimes" (documented by Microsoft here). This will require that a cmd process is started from the application.
Is there another possible way of retrieving the currently installed .NET Desktop Runtime versions?
Not a great way but you can check if .NET install folders exist in the system. For .net runtime the install folder is -
C:\program files\dotnet\shared{runtime-type}{version}\
Entity Framework Core Lastest Github Source Code use 3.1.100-preview1-014024 SDK.
Where can I download this version SDK?
I tried:
Search Google & Microsoft web and only find 3.0.100 SDK
Link : https://dotnet.microsoft.com/download/dotnet-core/3.0
This problem caused me to not debug run project and get error:
Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.
There is no official release build of .NET Core 3.1 preview 1 yet, you'll need to build it on your own. You can download the source from here and run the build.cmd (or build.sh if on linux) script to build the sdk. All you need to do after that is tell Visual Studio to use it
I have an error in my project that says Unable to find the requested .Net Framework Data Provider. It may not be installed. When I go to my project properties, it says that it is set to use .NET 4.5. But when I go to C:\Windows\Microsoft.NET\Framework or C:\Windows\Microsoft.NET\Framework64 I do not see any folder that says v4.5. I only have folders that say
v2.0.50727
v3.0
v3.5
v4.030319
But when I go to the Microsoft Download Site to download .NET 4.5, when I run the exe I get something that says
Your Installation Will Not Occur
Details
Microsoft .NET Framework 4.5 is already a part of this operating system. You do not need to install the .NET Framework 4.5 redistributable.
Same or higher version of .NET Framework 4.5 has already been installed on this computer.
When I go to my installed programs and do a search for 4.5 this is what I see:
I am very confused on what I should do to fix this...
It's not the .NET Framework 4.5 that is searched for. It's the data provider that can't be found. Install the data provider for the database you are using.
I'm maintaining a legacy product that is deployed to SharePoint 2010, and targets .Net framework 3.5. It uses the Azure SDK 1.7 for blob operations and with the SDK getting deprecated soon, we need to upgrade it. According to this blog post the minimum SDK version should be 2.1, but the issue is that the it does not support .net 3.5.
I looked at the SDK code on GitHub and it's highly dependent on .Net 4 features so I cannot recompile it in .net 3.5. I looked for 3rd party SDKs but couldn't find any.
Is there a straightforward way to keep the functionality after Azure Storage service version removal?
(Please note that upgrading the .Net framework is not an option for me.)
No, unfortunately our client library support is only for .NET 4.0 (2010) and later.
If you need to maintain support for the legacy project, you'll need to decide between writing your own REST calls to Azure Storage or upgrading your .NET framework to 4.0 to use a newer version of the library. Sorry!
For anyone who might have the same problem:
The deprecation of Storage client library 1.7 is postponed beyond August 2016.
Microsoft Azure Storage Service Version Removal Update: Extension to 2016
I'm getting started with the youtube API (and .net in general) and I get the error:
"could not load file or assembly Microsoft.Threading.Tasks.Extensions.Desktop"
I installed from NuGet the packages Google.Apis.Tasks.V1 and Google.Apis.Youtube.v3.
Both packages say they support .net 4.5
The sample code is this https://github.com/youtube/api-samples/blob/master/dotnet/UploadVideo.cs
Where do I get that assembly?
If your package manager installed all references, then it should be in Microsoft.Bcl.Async.1.0.16\lib\net40.
I used this code to test youtube API upload, used .net framework 4.0, and it worked. Try to see in this folder (or if you don't have newest Microsoft.Bcl.Async then in the one you have).