打包后,删除代码部分中的文件夹"PackageRoot" [英] Remove folder 'PackageRoot' in Code part after packaging

查看:122
本文介绍了打包后,删除代码部分中的文件夹"PackageRoot"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用VS或VSTS构建并打包包含2个服务的Service Fabric应用程序时,最终得到以下文件夹体系结构:

When I build and package my Service Fabric application that contains 2 services using VS or VSTS, i end up with the following folder architecture :

-&Rebase \ Service1Pkg \ Code
-Release \ Service1Pkg \ Code \ PackageRoot
-&Rebase \ Service1Pkg \ Config

- Release\Service1Pkg\Code
- Release\Service1Pkg\Code\PackageRoot
- Release\Service1Pkg\Config

-&Rebase \ Service2Pkg \ Code
-Release \ Service2Pkg \ Config

- Release\Service2Pkg\Code
- Release\Service2Pkg\Config

对于我的Service1,我有一个"Service1Pkg \ Code \ PackageRoot"包含与"Service1Pkg \ Config"相同的文件的文件夹.
Service2并非如此.

For my Service1, i have a "Service1Pkg\Code\PackageRoot" folder that contains the same files than "Service1Pkg\Config".
It is not the case for Service2.

此文件夹的用途是什么?
csproj和sfproj对此文件夹没有特定配置,为什么行为不同?
我如何避免拥有此"PackageRoot"包?文件夹?

What is the purpose of this folder ?
csproj and sfproj have no specific configuration about this folder, why is the behavior different ?
How could i avoid to have this "PackageRoot" folder ?

预先感谢您的帮助.

推荐答案

迈克尔.好问题!我正在与Service Fabric中的某些产品组成员脱机工作,以获取解答.了解更多信息后,我会及时更新. 
Hi Michael. Great question! I am working offline with some of the product group members in Service fabric to get you an answer. I will update you once I have more information. 


这篇关于打包后,删除代码部分中的文件夹"PackageRoot"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆