I have managed C++ Dll (compiled using clr option)and I am calling it from un-managed C++ console application.It is working fine,but it is not working fine in Window 2012 where .Net 4.5 is installed.
I have not Installed .Net 3.5 in Window 2012 machine.I am getting prompt as "following feature couldn't be installed on .NETframework 3.5.
- Win32C++ App
- ManagedDll
I followed this article where they explain how to config an app to run on Net 4.5 through app file and created app config file ManagedDll.dll.config.
I tried same with Window form application it is working fine but for c++/cli application it is not working.It seems app file provided is not considered while loading dll and app.
Please help
Load Library returns with error 1114 /ERROR_DLL_INIT_FAILED . and prompt ask to load 3.5.
Is it possible to get this program work without Installing Net 3.5.
<?xml version="1.0" encoding="utf-8" ?><configuration><startup><supportedRuntime version="v4.0"/><supportedRuntime version="v2.0.50727"/></startup></configuration>
Chris V R