I'm using VS2010, in windows 7 x64.
i migrated a web application (.NET 3.5) from VS2008 to VS2010, then i encountered the problem of .net4.0 reference to the OA enabled (persistent classes) library project that made the solution to error with "no assembly".
I came across this (and other) posts on this problem, and I've set "Enhancing=False" in the project properties and added a post-build event to call venhance.
I am calling the correct path, and venhance runs (does its job, because the solution compiles and when i publish it, it works fine) but failes in the compilation phase, and displayes:
|Error 226 The command ""C:\Program Files (x86)\Telerik\OpenAccess ORM\sdk\venhance.exe" "-assembly:D:\...\EntityModel\bin\Debug\EntityModel.dll"" exited with code -1073740940. EntityModel
then, the solution continues building, and everything is fine except this annoying message.
btw, when i run venhance manually from CMD (not as a post-build event) it doesnt fail, and works fine.
Its annoying to wait 10 seconds for venhance to display a crashing dialog before the solution continues building every time i rebuild.
Am I forgetting something? or is there a way to have VS2010 disregard this error?