I'm unable to add sql compact as reference in Visual Studio 2010 Professional. The project setting is configured to use Target Framework ".NET Framework 3.5". Would anyone know why?
I just realized that I cannot add the sqlcecompact35.dll as a reference because it's not a valid CLR assembly.
Related
Is there a way in Visual Studio 2012 Express to target .Net 3.5? By default .Net 4.0 is targeted, but i couldn't change it. Is there a way to change this setting?
Thanks!
I see the template export option under the File menu in Visual Studio 2012 Express. I have used it to create project templates for targeting .net 3.5 and .net 4.0.
Target framework is related to the project template not to the IDE and Since VS2012 doesn't have Export Template Wizard,I think you have to get a template project that targets .Net Framework 3.5 and create your projects with it.
Hope it helps
Does anyone know how to add a reference to "C:\Windows\SysWOW64\mqoa30.tlb" in Visual Studio 2010 like you can in Visual Studio 2008?
If I go to Add Reference, and browse to this file: "C:\Windows\SysWOW64\mqoa30.tlb" these are the different results:
Visual Studio 2008
Added Just fine
And creates the Interop stuff
Visual Studio 2010
The error message in clear text for SEO:
Could not add a reference to C:\Windows\SysWOW64\mqoa30.tlb
Could not load file or assembly 'mqoa30.tlb' or one of its dependencies. The module was expected to contain an assembly manifest.
This file may not be a managed assembly.
Cannot add from the Add Reference Dialog and "Microsoft Messaging Queue 3.0 Type Library" is not listed already in the COM Type Libraries.
(Note: I have MSMQ installed and working fine (via NServiceBus). I am running Windows 7.)
If you know how to add the reference can you please tell me?
This is what it looks like on my version of VS2010, works fine. No clue what your screenshot might represent, some sort of add-on I guess.
I've downloaded and using FreeTextBox control in visual studio 2010 (.Net Framework 4.0)
but i got the following error.
You might try to run depends on its dll to see if needs other dlls that can not be found (might be some vcredist dll).
I was hoping there would an option somewhere that would just let me open my VS 2008 projects and continue working in .Net 3.5 - while using some of the neat new VS UI enhancements.
Yes, Visual Studio 2010 allows you to target previous versions of the CLR/.NET framework at the project level.
When you open the Visual Studio 2008 project file in Visual Studio 2010 it will convert the project file for you. Once this is done, it will be smart enough to target the proper framework and runtime version for you (.NET 3.5 and CLR 2). If it doesn't, you can change this yourself on the property sheet for the project.
Is there a way to change .NET framework version of Visual Studio 2005 to 3.5?
No. Visual Studio 2005 only supports .NET 2.0 out-of-the-box. It can be updated to support .NET 3.0.
It is possible to compile .NET 3.5 code with a Visual Studio 2008 Express Edition, or without Visual Studio 2008 using Mono and I think the Windows/.NET SDK. However these will obviously not be integrated into Visual Studio 2005.
Visual Studio 2005 only supports .NET 2.0. The format of the solution file (.sln) changed in Visual Studio 2008 to allow you to select the target .NET version.
VS2008/2010 have a visual way of setting the project setting "TargetFrameworkVersion" which makes it easier, however I have found that adding the same tag to a VS2005 project will change the target framework. You might try adding 1(one) of the following into the section of your VS C# project.
<TargetFrameworkVersion>v3.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>