Replies: 2 comments 5 replies
-
@leusbj I think most of this logic is captured in pr #44 you just submitted. Do we need to cover anything more? I guess some of this stuff should go in the docs, although I do love the amount of comments you added to the actual src files. I did wonder about adding custom item types for publishing profiles vs configuration transforms and using a target to put them in the correct groups for build and publish. That way they could be nested without the performance hit of dynamic file nesting. Interestingly I had hit the problem mentioned in issue #43 myself the week before (hence having the solution immediately to hand) but hadn't had a chance to make the change to the sdk yet. |
Beta Was this translation helpful? Give feedback.
-
On a tangentially related note, you made comment about potentially adding more things to the documentation. I did have a couple of questions about your preferences
|
Beta Was this translation helpful? Give feedback.
-
@CZEMacLeod had mentioned wanting to start looking at a
DefaultItem
strategy for the various web.*.config files within a project to facilitate developers using the Azure Pipeline transformation process. So I figured I'd kick off the discussion.The web article File transforms and variable substitution reference calls out 2 things that will need to happen to these project items to allow them to be available in the package where the pipeline can use them
Content
items<DependentUpon>web.config</DependentUpon>
This lines up with my understanding of the of the build/package process.
Starting with the section that currently handles the web.*.config files that are NOT based on the build configurations
We could remove the
<DependentUpon>web.config</DependentUpon>
declarationThese items:
Additionally, if the appearance of nesting in the IDE is important then we might consider adding a
SystemWeb.DesignTime.targets
with something like:This DynamicFileNesting Capability:
DependentUpon
being set.I'd love to hear other ideas too!
Beta Was this translation helpful? Give feedback.
All reactions