visual studio C# embed dll in .exe 打包dll到.exe firebird embedded
Loading Managed DLL Firebirdsql.DataFirebirdClient.dll is ok Loading Unmanaged DLL fbembed.dll is not ok for embed so easy way is not do embed. DEMO APPLICATION Sure can run for ===== http://www.codeproject.com/Articles/528178/Load-DLL-From-Embedded-Resource 1、want packget FirebirdSql.Data.FirebirdClient tools -> NuGet manager - > manager NuGet find FirebirdSql.Data.FirebirdClient install to project 2、reference -> FirebirdSql.Data.FirebirdClient.dll a、copy local -> false b、get full path [copy] c、right click on Application1 -> add -> Existing item -> use b. path -> chooses file type dll -> find FirebirdSql.Data.FirebirdClient.dll add f、click reference -> FirebirdSql.Data.FirebirdClient.dll Build Action -> Embedded Resource ...