Word 2010 add-in targeting .net 4.5 framework? - ms-word

I am upgrading to VS 2012 with an existing word 2010 add-in project.
When I try to change the project to compile for .net 4.5 I get the following error:
"The .NET Framework version you selected is not supported by this project type."
Is there a new vs 2010 add-in template that will work with .net 4.5? Is this scenario not supported?
Thank you for your help!

Word 2010 add-ins only support .net 4.0.
http://social.msdn.microsoft.com/Forums/pl-PL/vsto/thread/14a645f3-4ecd-4815-9fdd-eb2756b70945

Related

Do not have .NET Framework 4.5 multi targeting pack in VS 2012 Ultimate

I have install microsoft vs 2012 ultimate into windows 7, but it does not include .net framework 4.5 multi targeting pack. So, where can I get the multi targeting pack and install it?
You can find it here on MSDN: .NET Framework Multi-Targeting Packs and SDK’s for Visual Studio 2012

Visual Studio 2012 Express with Entity Framework menu

I installed VS 2012 beta version and then installed Entity framework following this tutorial and it worked fine.
VS 2012 beta expired so i got VS 2012 Express. I tried to follow the same tutorial but now i don't have "Entity Framework Reverse Engineer Code First" in right-click project menu.
Is it a limitation in Visual Studio 2012 Express?
EF Power Tools are not available on Express SKU - you need at least Pro version. See this thread for more detailed answer: How to install EFPowerTool Beta on the right version of VS on my PC

Updating Entity Designer

How can I update the Entity Designer of Entity Framework to the latest version? Since 4.1, Microsoft started using NuGet, which means the Entity Designer won't be updated when we update Entity Framework through NuGet:
"The Entity Designer will continue to be installed with Visual Studio and will work with the latest version of EF." --- http://blogs.msdn.com/b/adonet/archive/2011/10/18/how-we-talk-about-ef-and-its-future-versions.aspx
I am asking this question because I can't find the option "Convert To Enum" described in this article:
http://blogs.msdn.com/b/adonet/archive/2011/06/30/walkthrough-enums-june-ctp.aspx
Any help?
You can't. Convert To Enum is not available because it depends on new version of EF which doesn't exists yet - it was only previewed in June 2011 CTP. It will be part of Visual Studio 11 and .NET Framework 4.5.

Error while using DBContext Generator with Entity Framework 4.1

When I use ADO.NET DBContext Generator with Entity Framework 4.1 installed on an EDMX I got the following error:
Error: this template attempted to load component assembly
'Microsoft.Data.Entity.Design, Version=10.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a'. For more information on this problem
and how to enable this template, please see documentation on
Customizing Project Templates.
I'm using VS2010 with SP1, Entity Framework 4.1 from NuGet, .net 4 Class Library
Am I missing something?
I have "Microsoft Entity Framework June 2011 CTP" installed and when I select it from the project target frameworks then the template "DBContext Generator" works. IS that mean I have to uninstall the CTP to get it working with normal .net framework 4.0?
I has to re-install Entity framework to get it work using:
ADONETEntityFrameworkTools_enu.msi USING_EXUIH=1 /log "dd_ADONETEntityFrameworkTools_enu_MSI.txt"
Reference: Deploying Visual Studio Components Individually
Thanks for posting this and the info. For those that run into this after installing the EF 4.2 June CTP:
Uninstall the SQL Server Data Tools June CTP package
Then follow AMgdy's advice above
ADONETEntityFrameworkTools_enu.msi USING_EXUIH=1 /log "dd_ADONETEntityFrameworkTools_enu_MSI.txt"

Sharepoint 2010 Foundation with .Net Framework 4.0

I am having a Web Application with build target as .Net Framework 4.0.
I want to interact with the Sharepoint Object Model API's but it gives a framework 4.0 runtime does not supports Sharepoint.dll error.
Is their any tweak such that I can use Sharepoint 2010 with .Net Framework4.0.
Note: I cannnot change the build target of the web app to any other framework as I am using some exclusive features of .net 4.0 in my application.
Sorry you probably will have no luck:
There appears to be some confusion
around whether or not ASP.NET 4 is
supported for both MOSS and SharePoint
2010 - in short, the answer is that it
is not currently supported in either
product.
Whilst it is possible to use ASP.NET
3.5 in MOSS by making some modifications to the SharePoint site
web.config (instructions for doing
that in MOSS here; SP2010 uses 3.5 by
default), this is unfortunately not
the case with version 4.
The reason? ASP.NET 4 uses a new
version of the Common Language Runtime
(CLR). Whilst .NET 2.0, 3.0 and 3.5
all used version 2.0 of the CLR, .NET
4 uses version 4. I'm not entirely
sure what happened to version 3. There
is a decent post on stack overflow
with further details.
from SharePoint 2010 and .NET 4: confused?
Maybe .NET 4.0 Support will be added in a future update (SP1?) who knows...
Unfortunately, .Net 2.0 to 3.5 use a different application pool type from .Net 4.0; Mixing in the same app pool is not going to work.
What features of .Net 4.0 are you using, and perhaps the community can help you with a 3.5 solution?