EF Power Tools Beta 2 生成 Entity Framework Code First 提示 参数错误 hresult e_invalidarg

简介:

EF Power Tools Beta 2   生成 Entity Framework Code First 提示 参数错误 hresult e_invalidarg 的最新解决方法

 

环境:vs2012 update 1+ EF5

 

解决:网上找了很多都无法解决这个   用下面方法可以解决了!

 

在vs2012安装目录


D:\Program Files\vs2012\Common7\IDE\Extensions\Microsoft\Entity Framework Tools\Templates\Includes 下 找到 EF.Utility.CS.ttinclude 文件

 

移除第一行   (<#@ CleanupBehavior Processor="T4VSHost" CleanupAfterProcessingTemplate="true" #>) 即可!

 

 


    本文转自曾祥展博客园博客,原文链接:http://www.cnblogs.com/zengxiangzhan/archive/2012/12/06/2804698.html,如需转载请自行联系原作者


相关文章
|
4月前
|
C++ Windows
vs2019 This application failed to start because it could not find or load the QT platform plugin
这篇文章介绍了在VS2019中解决QT程序运行时出现的“无法找到或加载QT平台插件”错误的步骤,通过将必要的DLL文件和插件目录复制到项目解决方案中解决了问题。
|
6月前
|
Windows
Qtdesigner报错:This application failed to stat could not find or load the Qt platform plugin “windows“
Qtdesigner报错:This application failed to stat could not find or load the Qt platform plugin “windows“
|
7月前
|
Python
IDA3.12版本的python,依旧报错IDAPython: error executing init.py.No module named ‘impRefer to the message win
IDA3.12版本的python,依旧报错IDAPython: error executing init.py.No module named ‘impRefer to the message win
|
Go 数据库
IDEA连接数据库错误:Server returns invalid timezone. Go to ‘Advanced‘ tab and set ‘serverTimezon‘ 错误
IDEA连接数据库错误:Server returns invalid timezone. Go to ‘Advanced‘ tab and set ‘serverTimezon‘ 错误
156 0
IDEA连接数据库错误:Server returns invalid timezone. Go to ‘Advanced‘ tab and set ‘serverTimezon‘ 错误
|
Android开发
AVD Pixel_2_API_30 is already running. lf that is not the case, delete the files at
AVD Pixel_2_API_30 is already running. lf that is not the case, delete the files at
942 0
AVD Pixel_2_API_30 is already running. lf that is not the case, delete the files at
SAP QM 执行事务代码QA11 报错- Selected set code does not exist, or data entered is incomplete-
SAP QM 执行事务代码QA11 报错- Selected set code does not exist, or data entered is incomplete-
SAP QM 执行事务代码QA11 报错- Selected set code does not exist, or data entered is incomplete-
A bug in transaction code QAC2 of SAP QM module?
A bug in transaction code QAC2 of SAP QM module?
A bug in transaction code QAC2 of SAP QM module?
|
Android开发
【错误记录】Tinker 热修复示例运行报错 ( patch receive fail: /storage/emulated/0/patch_signed_7zip.apk, code: -2)
【错误记录】Tinker 热修复示例运行报错 ( patch receive fail: /storage/emulated/0/patch_signed_7zip.apk, code: -2)
486 0
【错误记录】Tinker 热修复示例运行报错 ( patch receive fail: /storage/emulated/0/patch_signed_7zip.apk, code: -2)
SAP PM入门系列23 - IL07 Functional Location List (Multilevel)
SAP PM入门系列23 - IL07 Functional Location List (Multilevel)
SAP PM入门系列23 - IL07 Functional Location List (Multilevel)