What is .deploy extension in Visual Studio

2019-06-15 23:36发布

When I publish my software using Visual Studio it makes .deploy extension. E.g. my_program.exe.deploy what is it? what is it used for

1条回答
欢心
2楼-- · 2019-06-16 00:15

When you publish a ClickOnce application, it appends ".deploy" on all of the files on the deployment site. The reason for this is that many people deploy to a webserver, and it keeps them from having to set up MIME types for every single type of file included in the deployment. When the deployment is installed on the client machine, it removes the .deploy from the files.

查看更多
登录 后发表回答