Registering file type and custom document icon in .NET

后端 未结 4 2076
余生分开走
余生分开走 2021-01-13 11:58

I have application that produces files. I would like to connect those files with application so that double-click on file launches my application.

Everything works p

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-13 12:22

    If you are using the Wix toolset (http://www.wixtoolset.org) to install your application, you can get Wix to take care of the file type and document icon registration

    Here is my magic Wix incantation:

        
        
        
    
        
        
    
        <-- File Extension and associated document icon -->
        
            
                
             
        
    
    

提交回复
热议问题