Deploy VC++ 2005 output files

来源:互联网 发布:淘宝被限制交易怎么办 编辑:程序博客网 时间:2024/05/21 06:16

If encounter fileloadexception while deploying vc++ 2005 output files, please refer to the following links:

1. english version (passed my test)
Visual C++ How to: Deploy using XCopy
http://msdn2.microsoft.com/en-us/library/ms235291(VS.80).aspx

2. chinese version (not tested)
Visual C++ 如何:使用安装和部署项目进行部署
http://msdn2.microsoft.com/zh-cn/library/ms235317(VS.80).aspx 

Notes:

For desktop application, we can place managed c++ dlls in same folder with other dotnet assemblies, then copy the Microsoft.VC80.CRT folder to the same folder;

But for web application, we'd better to create folder to place managed c++ dll file (folder name is same as c++ dll file name, e.g.: file: managedcpp.dll --> create folder: managedcpp), then copy the Microsoft.VC80.CRT folder to the same folder with managed c++ dll file.