TAILIEUCHUNG - Expert C++/CLI .NET for Visual C++ Programmers phần 3

Ý tưởng của tôi là tạo ra một trò chơi theo mô hình Tetris ban đầu với một sự nhấn mạnh về lập trình Điều này tránh được cảnh báo mơ hồ. ref từ lớp: công cơ sở{công cộng: vô hiệu f ();}; Nếu bạn nhìn thấy chỉ này khai báo lớp, bạn không thể nói rằng cho dù các e chức năng là một chức năng ảo hay không. | CHAPTER 4 ASSEMBLIES METADATA AND RUNTIME SERVICES 57 There are various options to install an assembly into the GAC. From the command prompt you can use a tool called . To install an assembly you can use the command-line argument -i followed by the path to the assembly. To uninstall an assembly the command-line option -u is used. Notice that this command-line option expects either the assembly s simple name without the file extension or the four-part assembly name. gacutil -i gacuitl -u SampleLib Version Culture neutral PublicKeyToken 656F5D1B5D4890E Typically you will want to install assemblies into the GAC as part of an application s setup procedure. Visual Studio supports so-called setup projects to produce MSI files for your assemblies. These setup projects support the GAC as an installation destination for components. For more information consult the MSDN documentation. Version Redirections .NET applications often depend on a large number of other assemblies. As a consequence bugs in a .NET application are often caused by bugs in dependent components not the application itself. Instead of recompiling and redeploying an application when a bug-fixed version of a dependent component is available you can just redeploy the bug-fixed component and provide a configuration so that the assembly resolver looks for the new version of a strongly named assembly. Configurations that cause a different version to be loaded are called version redirections. Version redirections can be defined at three different levels as follows The application level The machine level The assembly level via publisher policy assemblies The following application configuration file shows a typical version redirection at the application level -- -- configuration runtime -- CLR specific settings go here -- assemblyBinding xmlns urn schemas-microsoft-com dependentAssembly assemblyIdentity name SampleLib publicKeyToken 65d6f5d1b5d4890e .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.