简体   繁体   English

什么是Visual Studio中的.deploy扩展

[英]What is .deploy extension in Visual Studio

When I publish my software using Visual Studio it makes .deploy extension. 当我使用Visual Studio发布我的软件时,它会生成.deploy扩展名。 Eg my_program.exe.deploy what is it? 比如my_program.exe.deploy是什么? what is it used for 这有什么用途

When you publish a ClickOnce application, it appends ".deploy" on all of the files on the deployment site. 发布ClickOnce应用程序时,它会在部署站点上的所有文件上附加“.deploy”。 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. 这样做的原因是许多人部署到Web服务器,这使他们不必为部署中包含的每种类型的文件设置MIME类型。 When the deployment is installed on the client machine, it removes the .deploy from the files. 在客户端计算机上安装部署时,它会从文件中删除.deploy。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM