Firebird ADO.NET Data Provider Version 3.0.2 does not support .Net Framework 4? - .net-4.0

I downloaded Firebird ADO.NET Data Provider 3.0.2 from the Firdbird website.
http://www.firebirdsql.org/en/net-provider/
I start a new visual studio project, specifying .Net Framework 4 (not client profile)
At the top of one of my source files I put
using FirebirdSql.Data.FirebirdClient
Then I try to build the project, and it gives the following error -
The type or namespace name 'FirebirdSql' could not be found (are you missing a using directive or an assembly reference?)
However if I download version 2.6 of the Firebird ADO.NET Data Provider, it works just fine.
Am I understanding this correctly, version 3.0.2 does not support .NET Framework 4.0?
Unfortunately Windows Xp doesn't support .NET 4.5 so I hope that's not the case.

You have to download the "NET40" version and reference this.

Related

How do I use a .NET standard 2.0 library with Framework 4.5?

I have found a library that I would like to use in VB.NET with Framework 4.8.
The github says that is is a .NET 4.5 library, but it also says that it is a .NET Standard 2.0 library.
When I when to import it in my VB.NET Framework 4.5 project, it says:
The package "SimpleWifi.netstandard 2.0.0" could not be installed. You are trying to install this package in a project that references ".NETFramework,version=v4.5", but the package does not contain assembly references or content files that are compatible with this framework. Contact the package creator for more information.
What could I try next?
Thank you!
SimpleWifi is said to be used with .NET Fragmework 4.6 or later.
If you want to install in SimpleWifi .net 4.5, change your project to .net 4.8, install SimpleWifi, and then change 4.5 again. However, other errors may occur.

Alternative options to upload files to Microsoft Azure using Asp.net 3.5 (latest Azure Storage libraries not compatible)?

I installed Windows Azure Storage SDk from nuget. Added the references to my project.
When I make the following reference in my code:
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Auth;
using Microsoft.WindowsAzure.Storage.Blob;
I get an exception of: the type or namespace 'WindowsAzure' does not exist in the namespace 'Microsoft (are you missing an assembly reference)'?
researching the issue, I read in this blog that it targets 4.0 framework:
http://www.milosev.com/index.php/93-azure/252-the-type-or-namespace-name-windowsazure-does-not-exist-in-the-namespace-microsoft-are-you-missing-an-assembly-reference
I want use the Azure storage to upload files, is possible to do it with net 3.5? Any alternatives, my site is hosted on Azure?
The blog post you reference is really saying that you cannot target the Client Profile. Make sure your project target Framework is .NET 3.5 and not .NET 3.5 Client Profile.
It can definitely work in .NET 3.5. We use Azure storage in a project that targets .NET 3.5.
If that is not the issue, with the latest Azure Storage client, does it include binaries for .NET 3.5? If not, you may have to download and install and older version.
http://azure.microsoft.com/en-us/downloads/archive-net-downloads/

TryParse is not a member of System.Enum error in VB.NET

I checked out http://msdn.microsoft.com/en-us/library/dd783499.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1. It should exist.
EDIT:
I tried it on vs2010 (different project, though), and it exists.
Enum.TryParse was added with .Net Framework 4.0.
You can easily tell this by looking at the Other Versions drop down menu in the documentation or the version Information:
.NET Framework
Supported in: 4.5, 4
.NET Framework Client Profile
Supported in: 4
Portable Class Library
Supported in: Portable Class Library
.NET for Windows Store apps
Supported in: Windows 8
So probably you're using an older .Net Framework version.
Do you have System Import?
Imports System
If you are in Visual Studio 2010, make sure you are targeting .NET Framework 4.0

Issues while upgrading System.Web.Extensions dll reference from 3.5 to 4.0

I need to migrate a website built on .net framework 3.5 to 4.0 and it should work fine in IE9
The solution got upgraded by the VS's version utility and the app compiled successfully. We are using Infragistics UltraWebGrid control v11.1 which is giving some script issue when we try to perform scroll or cell edit. The control has got lot of embedded javascript resource files which seems to be not working fine.
I created a poc website of .net framework 4.0 using the same third party dlls and everything works fine. What I can doubt on is the AJAX part. I tried to consume v4.0 of ajaxcontroltoolkit. But the issue what I am facing is, the toolkit internally references System.Web.Extensions.dll of version 4.0 and my application has many references to the dll of v3.5. Adding the reference to v4.0 doesn't replaces the references to v3.5 in the web.config. Finally I manually updated the version info in web.config which has given birth to other errors.
-Unknown server tag 'asp:ScriptManager','asp:UpdatePanel' etc..
-The type or namespace name 'Script' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Please give me some suggestions to upgrade the dll references successfully.
Thanks,
Vaishali

building wix managed Custom Actions in .net 4.0

We just recently upgraded all our code base to .net 4.0, and are trying to build custom actions in our installer using .net 4.0.
We are using wix 3.5 to do that, I am getting BadImageException, saying its built using a newer version of .net runtime than currently loaded.
does wix 3.5's makesxca utility support .net 4.0 ?
Have you tried changing the <supportedRuntime> version in the CustomAction.config to "v4.0"? I didn't try myself, it is just a guess. This article is referenced as the explanation.