Can't install System.Data.OleDb - visual-studio-2017

I tried install System.Data.OleDb to my project, but got this error message :
https://i.imagesup.co/images2/cd8b36741a610a4d7d490ece6a892831599377ab.png
Not sure what to do, and what could solve this problem.

Can't install System.Data.OleDb
The main reason is that System.Data.OleDb does not support framework version < v4.6.1. See this:
Besides,from your error message, your project is target to use Net Framework 3.5. So the error occurs.
Solution
To solve the issue, you should right-click on your project-->Properties-->Application-->change Target Framework to >= Net Framework 4.6.1.
Hope it could help you.

Related

rzc generate exited with code -2147450730

After I created the blazor application in Visual studio . When i trying to run or build the application am getting this error.
I used dotnet restore and dotnet build .
This was the fix for me https://github.com/dotnet/aspnetcore/issues/20857
If you check the build ouput window, you might see a more useful error like:
This showed that I needed to install the lastest .NET runtime from https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-aspnetcore-3.1.5-windows-hosting-bundle-installer
For me, installing 2.1 SDK did the trick. Here is the link to it: https://dotnet.microsoft.com/download/dotnet/2.1
I updated Visual Studio to 2019 v16.9.2 and that fixed it for me.
I also read another post where repairing the VS installation fixed the problem.
My problem started mysteriously after everything had been working for some time, so I don't think it was an issue with the version. I think just running the upgrade repaired the installation.

Dependency injection error pops up whenever I try to install a certain Discord Package

I'm really new to programming, but I felt like trying out some bot-development for my discord server, like one that will occasionally say hello to people when they join, however when I tried to install one of the Discord packages I got this error
Unable to resolve dependency 'Microsoft.Extensions.DependencyInjection'. Source(s) used: 'discord.net', 'Microsoft Visual Studio Offline Packages'.
Unable to resolve dependency
'Microsoft.Extensions.DependencyInjection'. Source(s) used:
'discord.net', 'Microsoft Visual Studio Offline Packages'.
This error message always occurs when you want to install the package whose dependency package is not found. For example, I created a custom package(MyCustomPKG) that depends on Microsoft.Extensions.DependencyInjection.
And now I'll get the same issue if nuget can't find the Microsoft.Extensions.DependencyInjection in all available package sources.
To resolve that issue:
Add nuget.org(https://api.nuget.org/v3/index.json) as package sources and make sure the checkbox is enabled.
In addition: If you're not using VS IDE, instead you're using Nuget.exe+Nuget.config file, add this line(<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />) to Nuget.config.

Execution failed for task ':processDebugGoogleServices'. in ionic2

I am getting the following error when try to build / run the Ionic2 application.
Execution failed for task ':processDebugGoogleServices'.
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 11.0.1.
I have found similar question https://stackoverflow.com/questions/45080323/execution-failed-for-task-processdebuggoogleservices but it didn't solve my problem.
Please help me to fix this error
#Anand,
Try to remove the android platform and add the latest version by the following command.
ionic cordova platform add android#latest
Let me know if it solved your problem.

PyQt-win-gpl-4.11.1 installation

I saw there was a previous question about installing PyQt on a Mac, but unfortunately I'm not quite able to comment on the thread so I had to post a new question. Like that user, I have been having issues downloading QT 4.11.1. I downloaded SIP as well as PyQT4 (link to instructions), but when I try to run python configure-ng.py from my downloads folder, I keep getting the same error saying:
Error: Use the --qmake argument to explicitly specify a working Qt qmake.
Unfortunately I can't find the Qt settings which means I can't keep following the directions from the previous answer and I was hoping someone might be able to help walk me through how to download this module. Sorry for the duplication and thanks in advance.

Meteorite installation error on windows XP - "c:\Microsoft.Cpp.Default.props" was not found

I'm learning to create meteor application on my windows machine now. Everything is working fine because http://win.meteor.com have windows installation that I can try with.
The problem I have is now I want to have routing capability in my app. From my research the Meteor-Router package can add by using meteorite. So here's what I've done
Install node.js for windows --> everything looks OK, I can type node -v to look at node version
Install meteorite by type npm install -g meteorite --> every working fine up until async module installation that complain about "c:\Microsoft.Cpp.Default.props" was not found
I've try googling to looking for the answer but have no luck.
Any idea for me to solve this problem?
According to meteorite's official documentation, Meteorite does not work in Windows as of time of writing this. Sorry.
... However, meteorite's git based approach runs counter to the MSI installation that's required to get it working. So meteorite does not work under windows right now. Pull Requests which change this would be gladly accepted!