Staticlly Link Assemblys
-
I have a solution with two projects in it, a Managed C++ project and a C# project which is using (dependant on) the Managed C++ project. Is there any way to "Staticlly Link" this Assembly into the C# EXE. I need to keep them as seperate project for source control reasons so I can't move the files into that project directly. Anyone know how to do this? Thanks!!!
-
I have a solution with two projects in it, a Managed C++ project and a C# project which is using (dependant on) the Managed C++ project. Is there any way to "Staticlly Link" this Assembly into the C# EXE. I need to keep them as seperate project for source control reasons so I can't move the files into that project directly. Anyone know how to do this? Thanks!!!
AFAIK you cannot. Even if you could move the source code in to one project it still won't work as the source code is in two different languages and you cannot mix languages in a single project.
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!
-
AFAIK you cannot. Even if you could move the source code in to one project it still won't work as the source code is in two different languages and you cannot mix languages in a single project.
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!
You can in Visual Studio 2005 : Mix languages in C++ projects in VS 2005[^]. :-D - Nick Parker
My Blog | My Articles