-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMicrosoft.Web.Publishing.targets
3919 lines (3394 loc) · 219 KB
/
Microsoft.Web.Publishing.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!--
***********************************************************************************************
Microsoft.Web.Publishing.targets
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your web deploy projects from the command-line or the IDE.
This file defines the steps in the standard build process to deploy web application projects.
Copyright (C) Microsoft Corporation. All rights reserved.
***********************************************************************************************
-->
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--Import task from our dll-->
<UsingTask TaskName="GetProjectProperties" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="TransformXml" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="ParameterizeTransformXml" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="MSDeploy" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="VSMSDeploy" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="CopyPipelineFiles" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="GetPipelineDestinationFileNameMatch" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="EscapeTextForRegularExpressions" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="RemoveTrailingSlash" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="ConcatFullServiceUrlWithSiteName" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="IsCleanMSDeployPackageNeeded" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="CheckPathAttributes" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="CheckItemsCount" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="CheckItemsForDuplication" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="CreateProviderList" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="GatherLinkExtensionsToBeExposedInVS" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="MapUriToIisWebServer" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="ImportParametersFile" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="ExportParametersFile" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="SortParametrsByPriority" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="RemoveEmptyDirectories" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="FilterByItems" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="ExportManifestFile" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="GetDeployManagedRuntimeVersion" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="NormalizeServiceUrl" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="SqlScriptPreprocessSqlVariables" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="GetPublishingLocalizedString" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<UsingTask TaskName="AspNetMerge" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>
<!--***************************************************************-->
<!-- Web Publish Pipeline Version/Supports
_WPPVersion: Version Stamp
_WPPSupports: Function support list-->
<!--***************************************************************-->
<PropertyGroup>
<!-- This typo is also in WDP, when we fix here, we need to fix teh WDP as well -->
<_WPPVerstion>1.5</_WPPVerstion>
<_WPPSupports>IISExpress</_WPPSupports>
</PropertyGroup>
<ItemGroup>
<_WPPSupports Include="$(_WPPSupports)" />
</ItemGroup>
<!--Generic mapping for the IISExpress Application Pools to IIS Application Pools common names-->
<ItemGroup>
<_IISApplicationPool Include="Clr4IntegratedAppPool">
<DestinationIISApplicationPool>ASP.NET v4.0</DestinationIISApplicationPool>
</_IISApplicationPool>
<_IISApplicationPool Include="Clr4ClassicAppPool">
<DestinationIISApplicationPool>ASP.NET v4.0 Classic</DestinationIISApplicationPool>
</_IISApplicationPool>
<_IISApplicationPool Include="Clr2IntegratedAppPool">
<DestinationIISApplicationPool>DefaultAppPool</DestinationIISApplicationPool>
</_IISApplicationPool>
<_IISApplicationPool Include="Clr2ClassicAppPool">
<DestinationIISApplicationPool>Classic .NET AppPool</DestinationIISApplicationPool>
</_IISApplicationPool>
</ItemGroup>
<!--***************************************************************-->
<!-- Setting up the property like MS.Common.Targets files has it. -->
<!--This is to handle some project doesn't include the MS.Common.Targets file-->
<!--***************************************************************-->
<PropertyGroup Condition="'$(BaseIntermediateOutputPath)'=='' ">
<BaseIntermediateOutputPath >obj\</BaseIntermediateOutputPath>
<BaseIntermediateOutputPath Condition="!HasTrailingSlash('$(BaseIntermediateOutputPath)')">$(BaseIntermediateOutputPath)\</BaseIntermediateOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(IntermediateOutputPath)' == '' ">
<IntermediateOutputPath Condition=" '$(PlatformName)' == 'AnyCPU' Or '$(PlatformName)' == ''">$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
<IntermediateOutputPath Condition=" '$(IntermediateOutputPath)' == '' ">$(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\</IntermediateOutputPath>
<IntermediateOutputPath Condition="!HasTrailingSlash('$(IntermediateOutputPath)')">$(IntermediateOutputPath)\</IntermediateOutputPath>
</PropertyGroup>
<!--***************************************************************-->
<!--Global setting for Web publish pipeline -->
<!--***************************************************************-->
<PropertyGroup>
<WebPublishPipelineProjectDirectory Condition="'$(WebPublishPipelineProjectDirectory)'==''">$(MSBuildProjectDirectory)</WebPublishPipelineProjectDirectory>
<WebPublishPipelineSourceRootDirectory Condition="'$(WebPublishPipelineSourceRootDirectory)'==''">$(WebPublishPipelineProjectDirectory)</WebPublishPipelineSourceRootDirectory>
<WebPublishPipelineTransformRootDirectory Condition="'$(WebPublishPipelineTransformRootDirectory)'==''"></WebPublishPipelineTransformRootDirectory>
<WebPublishPipelineProjectName Condition="'$(WebPublishPipelineProjectName)'==''">$(MSBuildProjectName)</WebPublishPipelineProjectName>
<IsDesktopBuild Condition="'$(IsDesktopBuild)'=='' And '$(TeamFoundationServerUrl)' != ''">False</IsDesktopBuild>
<_MSDeployVersionsToTry Condition="'$(_MSDeployVersionsToTry)'==''">7.1;7.5;8.0</_MSDeployVersionsToTry>
<WebPublishPipelineWAPProjectSettings Condition="'$(WebPublishPipelineWAPProjectSettings)' ==''">$(MSBuildProjectFullPath)</WebPublishPipelineWAPProjectSettings>
<_WPPDefaultIntermediateOutputPathPathRoot Condition="'$(WebPublishPipelineProjectDirectory)' != '$(MSBuildProjectDirectory)'">$(MSBuildProjectDirectory)\</_WPPDefaultIntermediateOutputPathPathRoot>
</PropertyGroup>
<PropertyGroup Condition="'$(_WPPDefaultIntermediateOutputPath)' == ''">
<_WPPDefaultIntermediateOutputPath>$(IntermediateOutputPath)</_WPPDefaultIntermediateOutputPath>
<_WPPDefaultIntermediateOutputPath Condition="'$([System.IO.Path]::IsPathRooted($(IntermediateOutputPath)))' == 'False'">$(_WPPDefaultIntermediateOutputPathPathRoot)$(IntermediateOutputPath)</_WPPDefaultIntermediateOutputPath>
<_WPPDefaultIntermediateOutputFullPath>$([System.IO.Path]::GetFullPath($(_WPPDefaultIntermediateOutputPath)))</_WPPDefaultIntermediateOutputFullPath>
</PropertyGroup>
<!--***************************************************************-->
<!--To allow the Team build to have custom setting for the Web Applicaiton project without change the project file -->
<!--by default, if user have a file call $(WebPublishPipelineProjectName).wpp.targets, we will import these setting in before we start -->
<!--***************************************************************-->
<PropertyGroup>
<WebPublishPipelineCustomizeTargetFile Condition="'$(WebPublishPipelineCustomizeTargetFile)'==''">$(WebPublishPipelineProjectDirectory)\$(WebPublishPipelineProjectName).wpp.targets</WebPublishPipelineCustomizeTargetFile>
</PropertyGroup>
<Import Project="$(WebPublishPipelineCustomizeTargetFile)" Condition="Exists($(WebPublishPipelineCustomizeTargetFile))"/>
<!--***************************************************************-->
<!--Global setting for Clean target -->
<!--***************************************************************-->
<PropertyGroup>
<CleanDependsOn>
$(CleanDependsOn);
CleanWebsitesPackage;
CleanWebsitesPackageTempDir;
CleanWebsitesTransformParametersFiles;
</CleanDependsOn>
</PropertyGroup>
<!--***************************************************************-->
<!--Global setting for How/what we should collect for all project-->
<!--***************************************************************-->
<PropertyGroup Condition="'$(WebPublishPipelineProjectDirectory)' == '$(MSBuildProjectDirectory)'">
<!-- If FileToIncludeForPublish is not set, default it to OnlyFilesToRunTheApp-->
<FilesToIncludeForPublish Condition="'$(FilesToIncludeForPublish)'==''">OnlyFilesToRunTheApp</FilesToIncludeForPublish>
<AlternativeProjectDirectory></AlternativeProjectDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(WebPublishPipelineProjectDirectory)' != '$(MSBuildProjectDirectory)'">
<!-- If ProjectDirectory is different than the default mabuildProjectDirectory, , default it to AllFilesInProjectFolder-->
<FilesToIncludeForPublish Condition="'$(FilesToIncludeForPublish)'==''">AllFilesInProjectFolder</FilesToIncludeForPublish>
<AlternativeProjectDirectory>$(WebPublishPipelineProjectDirectory)</AlternativeProjectDirectory>
<AlternativeProjectDirectory Condition="!HasTrailingSlash('$(AlternativeProjectDirectory)')">$(AlternativeProjectDirectory)</AlternativeProjectDirectory>
</PropertyGroup>
<PropertyGroup>
<ExcludeGeneratedDebugSymbol Condition="'$(ExcludeGeneratedDebugSymbol)'=='' And '$(_DebugSymbolsProduced)' != 'true'">True</ExcludeGeneratedDebugSymbol>
<ExcludeGeneratedDebugSymbol Condition="'$(ExcludeGeneratedDebugSymbol)'=='' And '$(_DebugSymbolsProduced)' == 'true'">False</ExcludeGeneratedDebugSymbol>
<ExcludeApp_Data Condition="'$(ExcludeApp_Data)'==''">False</ExcludeApp_Data>
<SkipApp_DataFolder Condition="'$(SkipApp_DataFolder)'==''">$(ExcludeApp_Data)</SkipApp_DataFolder>
<UseMsdeployExe Condition="'$(UseMsdeployExe)'==''">False</UseMsdeployExe>
<!--Whether to collect the Link Files to it Link Location during the PipelineCollectFilesPhase, default is True-->
<EnableCollectLinkFilesInProject Condition="'$(EnableCollectLinkFilesInProject)'==''">True</EnableCollectLinkFilesInProject>
<!--Whether to deploy the Link Files to it Link Location during package/publish, default is True. -->
<ExcludeLinkFilesInProject Condition="'$(ExcludeLinkFilesInProject)'==''">False</ExcludeLinkFilesInProject>
<CleanPackageTempDir Condition="'$(CleanPackageTempDir)'==''">False</CleanPackageTempDir>
<!--in the case of the old project, default IncludeIisSettings to true such that we will honor UseIis by default-->
<IncludeIisSettings Condition="'$(IncludeIisSettings)'==''">False</IncludeIisSettings>
<!--The following flag enable the exclude files from publish for all item in @(ExcludeFromPackageFiles)-->
<ExcludeFilesFromPackage Condition="'$(ExcludeFilesFromPackage)'==''">True</ExcludeFilesFromPackage>
<!--The following flag enable the import msdeploy parameters.xml files from publish for all item in @(ParametersXMLFiles)-->
<ImportParametersFiles Condition="'$(ImportParametersFiles)'==''">True</ImportParametersFiles>
<EnableOptimisticParameterDefaultValue Condition="'$(EnableOptimisticParameterDefaultValue)'==''">True</EnableOptimisticParameterDefaultValue>
<ParameterApplicationPool Condition="'$(ParameterApplicationPool)'==''">True</ParameterApplicationPool>
<IIS6ParameterApplicationPool Condition="'$(IIS6ParameterApplicationPool)'==''">False</IIS6ParameterApplicationPool>
<!--This controls all MSDeployParameter that generated by VS-->
<DisableAllVSGeneratedMSDeployParameter Condition="'$(DisableAllVSGeneratedMSDeployParameter)'==''">False</DisableAllVSGeneratedMSDeployParameter>
<!--The following flag enable auto parameterization for the web.config connection strings-->
<AutoParameterizationWebConfigConnectionStrings Condition="'$(AutoParameterizationWebConfigConnectionStrings)'==''">True</AutoParameterizationWebConfigConnectionStrings>
<AutoParameterizationWebConfigCSNoDefaultValue Condition="'$(AutoParameterizationWebConfigCSNoDefaultValue)'==''">False</AutoParameterizationWebConfigCSNoDefaultValue>
<AutoParameterizationWebConfigConnectionStringsIntermediateOutput Condition="'$(AutoParameterizationWebConfigConnectionStringsIntermediateOutput)'==''">CSAutoParameterize</AutoParameterizationWebConfigConnectionStringsIntermediateOutput>
<AutoParameterizationWebConfigConnectionStringsLocation Condition="'$(AutoParameterizationWebConfigConnectionStringsLocation)'==''">$(_WPPDefaultIntermediateOutputPath)$(AutoParameterizationWebConfigConnectionStringsIntermediateOutput)</AutoParameterizationWebConfigConnectionStringsLocation>
<!--The following flag set the VS UI support for the database tag, default is "dbfullSql" provider. You can change this in your project file.-->
<DeploySqlProvider Condition="'$(DeploySqlProvider)'==''"></DeploySqlProvider>
<!--This flag control the sql script Transacted or not when VS UI include a script script, default is false. You can change the behavior in your project file-->
<SqlScriptSourceTransacted Condition="'$(SqlScriptSourceTransacted)'==''"></SqlScriptSourceTransacted>
<!--This flag control the auto sql script Transacted or not when VS UI include a database schema/data script, default is true. You can change the behavior in your project file-->
<AutoSqlScriptSourceTransacted Condition="'$(AutoSqlScriptSourceTransacted)'==''"></AutoSqlScriptSourceTransacted>
<DatabaseDeployIntermediateRelativePath Condition="'$(DatabaseDeployIntermediateRelativePath)'==''">Database</DatabaseDeployIntermediateRelativePath>
<DatabaseDeployIntermediateOutputPath Condition="'$(DatabaseDeployIntermediateOutputPath)'==''">$(_WPPDefaultIntermediateOutputPath)$(DatabaseDeployIntermediateRelativePath)</DatabaseDeployIntermediateOutputPath>
<_WebConfigsToAutoParmeterizeCsTransformOutputParametersFile>$(AutoParameterizationWebConfigConnectionStringsLocation).parameters.xml</_WebConfigsToAutoParmeterizeCsTransformOutputParametersFile>
<!-- This is the target file for the way to customize for collection files-->
<FilesToIncludeTargetFile Condition="'$(FilesToIncludeTargetFile)'==''">Microsoft.Web.Publishing.$(FilesToIncludeForPublish).targets</FilesToIncludeTargetFile>
<DeployDefaultTarget Condition="'$(DeployDefaultTarget)'==''">Package</DeployDefaultTarget>
<DeployTarget Condition="'$(DeployTarget)'==''">PipelineDeployPhase</DeployTarget>
<RetryAttemptsForDeployment Condition="'$(RetryAttemptsForDeployment)'==''">2</RetryAttemptsForDeployment>
<DeployOnBuildDefault>False</DeployOnBuildDefault>
<DeployOnBuild Condition="'$(DeployOnBuild)'==''">$(DeployOnBuildDefault)</DeployOnBuild>
</PropertyGroup>
<!--***************************************************************-->
<!--Special flag for WAP to enable _CopyWebApplication to use Web Publishing pipeline-->
<!--***************************************************************-->
<PropertyGroup>
<UseWPP_CopyWebApplication Condition="'$(UseWPP_CopyWebApplication)'==''">False</UseWPP_CopyWebApplication>
</PropertyGroup>
<!--***************************************************************-->
<!--Global setting for where sto start the pipeline-->
<!--***************************************************************-->
<PropertyGroup>
<PipelineDependsOnBuild Condition="'$(PipelineDependsOnBuild)'=='' AND '$(BuildingInsideVisualStudio)' != 'true'">True</PipelineDependsOnBuild>
<PipelineDependsOnBuild Condition="'$(PipelineDependsOnBuild)'==''">False</PipelineDependsOnBuild>
<!--VS IDE currently doesn't handle the Build command to include the Deploy, we ignore it when $(BuildingInsideVisualStudio) is true-->
<_DeployOnBuild>$(DeployOnBuild)</_DeployOnBuild>
<_DeployOnBuild Condition="'$(BuildingInsideVisualStudio)' == 'true'">False</_DeployOnBuild>
<!--if $(DeployOnBuild) is true, we hook the DeployTarget into the BuildDependsOn-->
<!--This is to work with team build environment so build solution will work -->
<PrepareForRunDependsOn Condition="$(_DeployOnBuild)">
$(PrepareForRunDependsOn);
$(DeployTarget);
</PrepareForRunDependsOn>
<!--else if $(PipelineDependsOnBuild) is true, we hook the $(PipelineDependsOn) with Build -->
<!--This is typically command line scenario such that msbuild project /t:package will work properly -->
<!--We use the following property to detect BuildCircularDependency that we might introduce in the msbuild due to $(UseWPP_CopyWebApplication) and $(PipelineDependsOnBuild) both set to true
Instead of letting msbuild failed error early with no message, we record message tweak it to make the build work then Log the error messsage later to allow user to fix the issue.-->
<WPPCopyWebApplicaitonPipelineCircularDependencyError>False</WPPCopyWebApplicaitonPipelineCircularDependencyError>
<WPPCopyWebApplicaitonPipelineCircularDependencyError Condition="$(UseWPP_CopyWebApplication) And !$(Disable_CopyWebApplication) And $(PipelineDependsOnBuild) And !$(_DeployOnBuild)">True</WPPCopyWebApplicaitonPipelineCircularDependencyError>
<PipelineDependsOnBuild Condition="$(WPPCopyWebApplicaitonPipelineCircularDependencyError)">False</PipelineDependsOnBuild>
<PipelineDependsOn Condition="$(PipelineDependsOnBuild) And !$(_DeployOnBuild)">
$(PipelineDependsOn);
Build;
</PipelineDependsOn>
<!--else if $(PipelineDependsOnBuild) is false, we hook the $(PipelineDependsOn) with only necessary target that we care about -->
<!--This is typically IDE scenario where IDE already called build before the Publish API is called-->
<PipelineDependsOn Condition="!$(PipelineDependsOnBuild) And !$(_DeployOnBuild)" >
$(PipelineDependsOn);
BeforeBuild;
BuildOnlySettings;
ResolveReferences;
PrepareResourceNames;
ComputeIntermediateSatelliteAssemblies;
GetCopyToOutputDirectoryItems;
_SGenCheckForOutputs;
AfterBuild;
</PipelineDependsOn>
</PropertyGroup>
<!--***************************************************************-->
<!--Global setting for controling how to Transform project's configuration file -->
<!--***************************************************************-->
<PropertyGroup>
<ProjectConfigFileName Condition="'$(ProjectConfigFileName)'==''">Web.config</ProjectConfigFileName>
</PropertyGroup>
<ItemGroup>
<!--a item collection such that we can get the file name and extension from it-->
<_VSProjectConfigFileName Include="$(ProjectConfigFileName)" />
</ItemGroup>
<PropertyGroup>
<ProjectConfigTransformFileName Condition="'$(ProjectConfigTransformFileName)'==''">@(_VSProjectConfigFileName->'%(FileName).$(Configuration)%(Extension)')</ProjectConfigTransformFileName>
<TransformWebConfigEnabled Condition="'$(TransformWebConfigEnabled)'==''">true</TransformWebConfigEnabled>
<TransformWebConfigStackTraceEnabled Condition="'$(TransformWebConfigStackTraceEnabled)'==''">False</TransformWebConfigStackTraceEnabled>
<UseParameterizeToTransformWebConfig Condition="'$(UseParameterizeToTransformWebConfig)'==''">False</UseParameterizeToTransformWebConfig>
<TransformWebConfigIntermediateOutput Condition="'$(TransformWebConfigIntermediateOutput)'==''">TransformWebConfig</TransformWebConfigIntermediateOutput>
<TransformWebConfigIntermediateLocation Condition="'$(TransformWebConfigIntermediateLocation)'==''">$(_WPPDefaultIntermediateOutputPath)$(TransformWebConfigIntermediateOutput)</TransformWebConfigIntermediateLocation>
<_WebConfigTransformOutputParametersFile>$(TransformWebConfigIntermediateLocation).parameters.xml</_WebConfigTransformOutputParametersFile>
<ParameterizeTransformXmlUseXPath Condition="'$(ParameterizeTransformXmlUseXPath)'==''">True</ParameterizeTransformXmlUseXPath>
</PropertyGroup>
<!--***************************************************************-->
<!-- Overwrite WAP default for _CopyWebApplication -->
<!--***************************************************************-->
<PropertyGroup>
<!--We need the following in case WAP project is not exist-->
<WebProjectOutputDirInsideProjectDefault>True</WebProjectOutputDirInsideProjectDefault>
<WebProjectOutputDirInsideProjectDefault Condition="('$(OutDir)' != '$(OutputPath)') Or ('$(IsDesktopBuild)' == 'False')" >False</WebProjectOutputDirInsideProjectDefault>
<WebProjectOutputDirInsideProject Condition="'$(WebProjectOutputDirInsideProject)' == ''">$(WebProjectOutputDirInsideProjectDefault)</WebProjectOutputDirInsideProject>
<CleanWebProjectOutputDir>True</CleanWebProjectOutputDir>
<CleanWebProjectOutputDir Condition="$(WebProjectOutputDirInsideProject)" >False</CleanWebProjectOutputDir>
</PropertyGroup>
<!--***************************************************************-->
<!--Global setting for controling Where the defaultPackageOuputDirectory for team build.-->
<!--***************************************************************-->
<PropertyGroup>
<!--We need the following in case WAP project is not exist-->
<DefaultPackageOutputDir Condition="'$(DefaultPackageOutputDir)'=='' And !$(WebProjectOutputDirInsideProject) ">$(OutDir)_PublishedWebsites\$(WebPublishPipelineProjectName)_Package</DefaultPackageOutputDir>
<DefaultPackageOutputDir Condition="'$(DefaultPackageOutputDir)'==''">$(_WPPDefaultIntermediateOutputPath)Package</DefaultPackageOutputDir>
<DefaultPackageFileName Condition="'$(DefaultPackageFileName)'==''">$(WebPublishPipelineProjectName).zip</DefaultPackageFileName>
<DefaultMSDeployDestinationSite Condition="'$(DefaultMSDeployDestinationSite)'==''">Default Web Site</DefaultMSDeployDestinationSite>
<DefaultMsDeployAltSuffix Condition="'$(DefaultMsDeployAltSuffix)'==''">_deploy</DefaultMsDeployAltSuffix>
<DefaultMSDeployDestinationApplicationName Condition="'$(DefaultMSDeployDestinationApplicationName)'==''">$(WebPublishPipelineProjectName)</DefaultMSDeployDestinationApplicationName>
<DefaultDeployIisAppPath Condition="'$(DefaultDeployIisAppPath)'==''">$(DefaultMSDeployDestinationSite)/$(DefaultMSDeployDestinationApplicationName)$(DefaultMsDeployAltSuffix)</DefaultDeployIisAppPath>
<DefaultDeployIisRootAppPath Condition="'$(DefaultDeployIisRootAppPath)'==''">$(DefaultMSDeployDestinationApplicationName)$(DefaultMsDeployAltSuffix)</DefaultDeployIisRootAppPath>
</PropertyGroup>
<!--***************************************************************-->
<!--Global setting for controling how and where package created.-->
<!--***************************************************************-->
<PropertyGroup>
<PackageAsSingleFile Condition="'$(PackageAsSingleFile)'==''">True</PackageAsSingleFile>
<!--DesktopBuildPackageLocation is been set by vs UI-->
<PackageLocation Condition="'$(PackageLocation)'=='' and !(('$(OutDir)' != '$(OutputPath)') Or ('$(IsDesktopBuild)' == 'False')) ">$(DesktopBuildPackageLocation)</PackageLocation>
<PackageFileName Condition="'$(PackageFileName)'=='' And $(PackageAsSingleFile) And '$(PackageLocation)' != ''">$(PackageLocation)</PackageFileName>
<PackageFileName Condition="'$(PackageFileName)'==''">$(DefaultPackageOutputDir)\$(DefaultPackageFileName)</PackageFileName>
<PackageArchiveRootDir Condition="'$(PackageArchiveRootDir)'=='' And !$(PackageAsSingleFile) And '$(PackageLocation)' != ''">$(PackageLocation)</PackageArchiveRootDir>
<PackageArchiveRootDir Condition="'$(PackageArchiveRootDir)'==''">$(DefaultPackageOutputDir)</PackageArchiveRootDir>
<PackageTempRootDir Condition="'$(PackageTempRootDir)'==''">$(_WPPDefaultIntermediateOutputPath)Package</PackageTempRootDir>
<!--IisApp is a msdeploy concept meaning contentpath+'mark as app on server after deploy'. If it is true, we will emit IisApp in manifest files rather than contentPath-->
<DeployAsIisApp Condition="'$(DeployAsIisApp)'==''">true</DeployAsIisApp>
<IncludeSetAclProviderOnDestination Condition="'$(IncludeSetAclProviderOnDestination)'==''">True</IncludeSetAclProviderOnDestination>
<MarkApp_DataWritableOnDestination Condition="'$(MarkApp_DataWritableOnDestination)'==''">True</MarkApp_DataWritableOnDestination>
<IgnoreDeployManagedRuntimeVersion Condition="'$(IgnoreDeployManagedRuntimeVersion)'==''">False</IgnoreDeployManagedRuntimeVersion>
<DeployDefaultTargetFrameworkVersion Condition="'$(DeployDefaultTargetFrameworkVersion)'==''">$(TargetFrameworkVersion)</DeployDefaultTargetFrameworkVersion>
<DeployManagedRuntimeVersion Condition="'$(DeployManagedRuntimeVersion)'==''"></DeployManagedRuntimeVersion>
<DeployEnable32bitAppOnWin64 Condition="'$(DeployEnable32bitAppOnWin64)'==''"></DeployEnable32bitAppOnWin64>
<DeployManagedPipelineMode Condition="'$(DeployManagedPipelineMode)'==''"></DeployManagedPipelineMode>
<!--The following setting specify the SourceManifest and DestinationManifest default location -->
<!--<PackageSourceManifest Condition="'$(PackageSourceManifest)'==''"></PackageSourceManifest>-->
<!--The following setting specify the GenerateSampleDeployScript-->
<GenerateSampleDeployScript Condition="'$(GenerateSampleDeployScript)'==''">True</GenerateSampleDeployScript>
<!--<GenerateSampleDeployScriptLocation Condition="'$(GenerateSampleDeployScriptLocation)'==''"></GenerateSampleDeployScriptLocation>-->
<PackageLogDir Condition="'$(PackageLogDir)'==''">$(DefaultPackageOutputDir)\Log</PackageLogDir>
<EnablePackageProcessLoggingAndAssert Condition="'$(EnablePackageProcessLoggingAndAssert)'==''">False</EnablePackageProcessLoggingAndAssert>
<!--Deployment Trace level have 3 different level: Error, Warning, Info (From System.Diagnostic.TraceLevel, Default to Informational-->
<PackageTraceLevel Condition="'$(PackageTraceLevel)'==''">Info</PackageTraceLevel>
<_CreatePackage Condition="'$(_CreatePackage)'==''" >True</_CreatePackage>
<_UseDefaultLinkExtensionValue>False</_UseDefaultLinkExtensionValue>
<_UseDefaultLinkExtensionValue Condition="'$(PackageEnableLinks)'=='' and '$(PackageDisableLinks)'==''">True</_UseDefaultLinkExtensionValue>
<PackageEnableLinks Condition="$(_UseDefaultLinkExtensionValue)"></PackageEnableLinks>
<PackageDisableLinks Condition="$(_UseDefaultLinkExtensionValue)">AppPoolExtension;ContentExtension;CertificateExtension</PackageDisableLinks>
<PackageEnableLinks Condition="'$(IncludeAppPool)'=='true' and $(_UseDefaultLinkExtensionValue)">AppPoolExtension</PackageEnableLinks>
<PackageDisableLinks Condition="'$(IncludeAppPool)'=='true' and $(_UseDefaultLinkExtensionValue)">ContentExtension;CertificateExtension</PackageDisableLinks>
<ProjectParametersXMLFile Condition="'$(ProjectParametersXMLFile)'=='' And Exists('$(MSBuildProjectDirectory)\Parameters.xml')">$(MSBuildProjectDirectory)\Parameters.xml</ProjectParametersXMLFile>
<ProjectParametersXMLFile Condition="'$(ProjectParametersXMLFile)'==''">$(WebPublishPipelineProjectDirectory)\Parameters.xml</ProjectParametersXMLFile>
<EnableProjectDeployParameterPrefix Condition="'$(EnableProjectDeployParameterPrefix)'==''">False</EnableProjectDeployParameterPrefix>
<DeployParameterPrefix Condition="$(EnableProjectDeployParameterPrefix) and '$(DeployParameterPrefix)'==''">$(WebPublishPipelineProjectName) </DeployParameterPrefix>
<DeployParameterIISAppName Condition="'$(DeployParameterIISAppName)'==''">$(DeployParameterPrefix)IIS Web Application Name</DeployParameterIISAppName>
<DeployParameterIISAppPoolName Condition="'$(DeployParameterIISAppPoolName)'==''">$(DeployParameterPrefix)IIS Web Application Pool Name</DeployParameterIISAppPoolName>
<DeployParameterApp_DataWritePermission Condition="'$(DeployParameterApp_DataWritePermission)'==''">$(DeployParameterPrefix)Add write permission to App_Data Folder</DeployParameterApp_DataWritePermission>
<DeployParameterIISAppPhysicalPath Condition="'$(DeployParameterIISAppPhysicalPath)'==''">$(DeployParameterPrefix)Web Application Physical Path</DeployParameterIISAppPhysicalPath>
<!--By default the description will be provided by Msdeploy Tags auto description -->
<DeployParameterAutoDescriptionbyTags Condition="'$(DeployParameterAutoDescriptionbyTags)'==''">True</DeployParameterAutoDescriptionbyTags>
<DeployParameterIISAppNameDescription Condition="'$(DeployParameterIISAppNameDescription)'==''"></DeployParameterIISAppNameDescription>
<DeployParameterIISAppPoolNameDescription Condition="'$(DeployParameterIISAppPoolNameDescription)'==''"></DeployParameterIISAppPoolNameDescription>
<DeployParameterIISAppPhysicalPathDescription Condition="'$(DeployParameterIISAppPhysicalPathDescription)'==''"></DeployParameterIISAppPhysicalPathDescription>
<DeployParameterIISAppConnectionStringDescription Condition="'$(DeployParameterIISAppConnectionStringDescription)'==''"></DeployParameterIISAppConnectionStringDescription>
<DeployParameterSqlScriptVariablesDescription Condition="'$(DeployParameterSqlScriptVariablesDescription)'==''"></DeployParameterSqlScriptVariablesDescription>
<MsDeployDatabaseTag Condition="'$(MsDeployDatabaseTag)'==''">SqlConnectionString</MsDeployDatabaseTag>
<MsDeploySqlCommandVariableKind Condition="'$(MsDeploySqlCommandVariableKind)'==''">SqlCommandVariable</MsDeploySqlCommandVariableKind>
<!--check sql script with unsupported sqlcmd commands. The following are a list of msdeploySQLUnsupportedCommand-->
<!--UnsupportedKeywords="$(MsdeploySqlUnsupportedCommand)"-->
<!--CheckForUnsupportCommands="$(CheckSqlScriptForUnsupportedCommands)"-->
<!--The list below is for msdeploy V1, those the keywords that it doesn't support-->
<MsdeploySqlUnsupportedCommand Condition="'$(MsdeploySqlUnsupportedCommand)'==''">:Connect;:!!;:Exit;:Help;:r;:Quit;</MsdeploySqlUnsupportedCommand>
<CheckSqlScriptForUnsupportedCommands Condition="'$(CheckSqlScriptForUnsupportedCommands)'==''">True</CheckSqlScriptForUnsupportedCommands>
<!--By default flag unsupported sqlcommand as Error-->
<TreadSqlScriptUnsupportedCommandsAsWarning Condition="'$(TreadSqlScriptUnsupportedCommandsAsWarning)'==''">False</TreadSqlScriptUnsupportedCommandsAsWarning>
<_PackageTempDir>$(PackageTempRootDir)\PackageTmp</_PackageTempDir>
<_PackageTempDirFullPath>$([System.IO.Path]::GetFullPath($(_PackageTempDir))</_PackageTempDirFullPath>
</PropertyGroup>
<!--SqlScriptPreProcess Default setting -->
<PropertyGroup>
<EnableSqlScriptVariableParameterize Condition="'$(EnableSqlScriptVariableParameterize)'==''">True</EnableSqlScriptVariableParameterize>
<!--By default, BatchDelimiter is "Go", "" is the same for ManagedBatchParser.Parser -->
<SqlScriptPreProcessBatchDelimiter Condition="'$(SqlScriptPreProcessBatchDelimiter)'==''"></SqlScriptPreProcessBatchDelimiter>
<SqlScriptPreProcessResolveIncludes Condition="'$(SqlScriptPreProcessResolveIncludes)'==''">False</SqlScriptPreProcessResolveIncludes>
</PropertyGroup>
<ItemGroup>
<ParametersXMLFiles Condition="Exists($(ProjectParametersXMLFile))" Include="$(ProjectParametersXMLFile)" />
</ItemGroup>
<!--***************************************************************-->
<!--Global setting for controling how and where to deploy-->
<!--***************************************************************-->
<PropertyGroup>
<!--If this is not set ('') by default, when we retrieve the IisUrl property, we will append the _deploy at the end of this to be DeployIisAppPath-->
<DeployIisAppPath Condition="'$(DeployIisAppPath)'==''"></DeployIisAppPath>
<RemoteSitePhysicalPath Condition="'$(RemoteSitePhysicalPath)'==''"></RemoteSitePhysicalPath>
<DefaultDeployIisAppPhysicalPath Condition="'$(DefaultDeployIisAppPhysicalPath)'==''">$(WebPublishPipelineProjectDirectory)$(DefaultMsDeployAltSuffix)</DefaultDeployIisAppPhysicalPath>
<DeployIisAppPhysicalPath Condition="'$(DeployIisAppPhysicalPath)'==''"></DeployIisAppPhysicalPath>
<_DestinationIisAppPhysicalPath>$(DeployIisAppPhysicalPath)</_DestinationIisAppPhysicalPath>
<_DestinationIisAppPhysicalPath Condition="'$(_DestinationIisAppPhysicalPath)'==''">$(DefaultDeployIisAppPhysicalPath)</_DestinationIisAppPhysicalPath>
<!-- If this is not set, by default, it will use the $(LocalIisVersion)-->
<DestinationIisVersion Condition="'$(DestinationIisVersion)'==''"></DestinationIisVersion>
<DestinationUseIis Condition="'$(DestinationUseIis)' ==''"></DestinationUseIis>
<PublishEnableLinks Condition="'$(PublishEnableLinks)'==''">$(PackageEnableLinks)</PublishEnableLinks>
<PublishDisableLinks Condition="'$(PublishDisableLinks)'==''">$(PackageDisableLinks)</PublishDisableLinks>
<DeployEncryptKey Condition="'$(DeployEncryptKey)'==''"></DeployEncryptKey>
<SkipExtraFilesOnServer Condition="'$(SkipExtraFilesOnServer)'==''">False</SkipExtraFilesOnServer>
<MsDeployServiceUrl Condition="$(MsDeployServiceUrl)==''"></MsDeployServiceUrl>
</PropertyGroup>
<!--***************************************************************-->
<!--Global setting on MSDeployParameterPriority to change the Parameter order show up in inetmgr UI-->
<!--The lower the number, the earlier it show up in the Inetmgr UI (-100, -80, -70, ....60, 100)-->
<!-- Default priority is 0. Any integer number is allowed. -->
<!--***************************************************************-->
<PropertyGroup>
<VsIisAppParametersPriority Condition="'$(VsIisAppParametersPriority)'==''">-100</VsIisAppParametersPriority>
<VsContentPathParametersPriority Condition="'$(VsContentPathParametersPriority)'==''">-80</VsContentPathParametersPriority>
<VsDestinationVDirParametersPriority Condition="'$(VsDestinationVDirParametersPriority)'==''">-70</VsDestinationVDirParametersPriority>
<VsSetAclPriority Condition="'$(VsSetAclPriority)'==''">-60</VsSetAclPriority>
<UserParametersFileParametersPriority Condition="'$(UserParametersFileParametersPriority)'==''">-50</UserParametersFileParametersPriority>
<UserWebConfigParametersPriority Condition="'$(UserWebConfigParametersPriority)'==''">-40</UserWebConfigParametersPriority>
<VsSQLDatabaseScriptParametersPriority Condition="'$(VsSQLDatabaseScriptParametersPriority)'==''">60</VsSQLDatabaseScriptParametersPriority>
<VsWebConfigAutoCsParametersPriority Condition="'$(VsWebConfigAutoCsParametersPriority)'==''">100</VsWebConfigAutoCsParametersPriority>
</PropertyGroup>
<!--***************************************************************-->
<!-- Some assumption on where MSDeploy.exe exist -->
<!--***************************************************************-->
<PropertyGroup>
<!--Unless specified otherwise, the tools will go to HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\1 to get the installpath for msdeploy.exe.-->
<MSDeployPath Condition="'$(MSDeployPath)'==''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\3@InstallPath)</MSDeployPath>
<MSDeployPath Condition="'$(MSDeployPath)'==''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\2@InstallPath)</MSDeployPath>
<MSDeployPath Condition="'$(MSDeployPath)'==''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\1@InstallPath)</MSDeployPath>
</PropertyGroup>
<!--***************************************************************-->
<!--Some global setting on where the MSDeploy should create the sourceManifest,
package parameter, publish paraemter, sample script-->
<!--***************************************************************-->
<ItemGroup>
<_MSDeployPackageFile Include="$(PackageFileName)" />
<_MSDeployArchiveDir Include="$(PackageArchiveRootDir)\Archive" />
<_MSDeployPackageLocation Condition="$(PackageAsSingleFile)" Include="$(PackageFileName)" />
<_MSDeployPackageLocation Condition="!$(PackageAsSingleFile)" Include="@(_MSDeployArchiveDir)" />
</ItemGroup>
<PropertyGroup>
<GenerateSampleDeployScriptLocation Condition="$(GenerateSampleDeployScript) And '$(GenerateSampleDeployScriptLocation)'==''">@(_MSDeployPackageLocation->'%(RootDir)%(Directory)%(FileName).deploy.cmd')</GenerateSampleDeployScriptLocation>
<PackageSourceManifest Condition="'$(PackageSourceManifest)'==''">@(_MSDeployPackageLocation->'%(RootDir)%(Directory)%(FileName).SourceManifest.xml')</PackageSourceManifest>
<UseDeclareParametersXMLInMsDeploy Condition="'$(UseDeclareParametersXMLInMsDeploy)'==''">False</UseDeclareParametersXMLInMsDeploy>
<PackageParametersFile Condition="'$(PackageParametersFile)'==''">@(_MSDeployPackageLocation->'%(RootDir)%(Directory)%(FileName).Package.Parameters.xml')</PackageParametersFile>
<PublishParametersFile Condition="'$(PublishParametersFile)'==''">@(_MSDeployPackageLocation->'%(RootDir)%(Directory)%(FileName).Publish.Parameters.xml')</PublishParametersFile>
<GenerateSampleDeployScriptFileName Condition="$(GenerateSampleDeployScript) And '$(GenerateSampleDeployScriptLocation)'==''">@(_MSDeployPackageLocation->'%(FileName).deploy.cmd')</GenerateSampleDeployScriptFileName>
<GenerateSampleDeployScriptLocation Condition="$(GenerateSampleDeployScript) And '$(GenerateSampleDeployScriptLocation)'==''">@(_MSDeployPackageLocation->'%(RootDir)%(Directory)%(FileName).deploy.cmd')</GenerateSampleDeployScriptLocation>
<GenerateSampleDeployScriptReadMeFileName Condition="$(GenerateSampleDeployScript) And '$(GenerateSampleDeployScriptReadMeLocation)'==''">@(_MSDeployPackageLocation->'%(FileName).deploy-readme.txt')</GenerateSampleDeployScriptReadMeFileName>
<GenerateSampleDeployScriptReadMeLocation Condition="$(GenerateSampleDeployScript) And '$(GenerateSampleDeployScriptReadMeLocation)'==''">@(_MSDeployPackageLocation->'%(RootDir)%(Directory)%(FileName).deploy-readme.txt')</GenerateSampleDeployScriptReadMeLocation>
<GenerateSampleParametersValueLocationDefault Condition="'$(GenerateSampleParametersValueLocationDefault)'==''">@(_MSDeployPackageLocation->'%(RootDir)%(Directory)%(FileName).SetParameters.xml')</GenerateSampleParametersValueLocationDefault>
<GenerateSampleParametersValueLocation Condition="$(GenerateSampleDeployScript) And '$(GenerateSampleParametersValueLocation)'==''">$(GenerateSampleParametersValueLocationDefault)</GenerateSampleParametersValueLocation>
<GenerateSampleParametersValueFileName Condition="$(GenerateSampleDeployScript)">@(_MSDeployPackageLocation->'%(FileName).SetParameters.xml')</GenerateSampleParametersValueFileName>
</PropertyGroup>
<!--********************************************************************-->
<!--Enforce all item in @(ExcludeFromPackageFiles) The <FromTarget> itemmetadata -->
<!--This will help in the long run for debugging purpose-->
<!--Sample: to exclude files from publish, you can add the following to your project file-->
<!--Sample exclude the root folder's default.aspx page-->
<!--
<ExcludeFromPackageFiles Include="Default.aspx">
<FromTarget>Project</FromTarget>
</ExcludeFromPackageFiles>
-->
<!--Sample to exclude SampleExclude folder-->
<!--
<ExcludeFromPackageFolders Include="SampleExclude">
<FromTarget>Project</FromTarget>
</ExcludeFromPackageFolders>
-->
<!--********************************************************************-->
<ItemDefinitionGroup>
<!--use this colleciton to exclude items from the pipeline, remember to set $(ExcludeFilesFromPackage) to true-->
<ExcludeFromPackageFiles>
<FromTarget>Unknown</FromTarget>
</ExcludeFromPackageFiles>
<ExcludeFromPackageFolders>
<FromTarget>Unknown</FromTarget>
</ExcludeFromPackageFolders>
</ItemDefinitionGroup>
<!--********************************************************************-->
<!--Enforce all item have these metadata value for all pipeline metadata-->
<!--Default for Exclude is False-->
<!--********************************************************************-->
<ItemDefinitionGroup>
<FilesForPackagingFromProject>
<DestinationRelativePath></DestinationRelativePath>
<Exclude>False</Exclude>
<FromTarget>Unknown</FromTarget>
<Category>Run</Category>
<ProjectFileType>Default</ProjectFileType>
</FilesForPackagingFromProject>
</ItemDefinitionGroup>
<!--****************************************************************************-->
<!--Replace Rule schema enforcement-->
<!--public ReplaceRule(string RuleName,
string objectName,
string scopeAttributeName,
string scopeAttributeValue,
string targetAttributeName,
string match,
string replace);-->
<!--****************************************************************************-->
<ItemDefinitionGroup>
<MsDeployReplaceRules>
<ObjectName></ObjectName>
<ScopeAttributeName></ScopeAttributeName>
<ScopeAttributeValue></ScopeAttributeValue>
<TargetAttributeName></TargetAttributeName>
<Match></Match>
<Replace></Replace>
</MsDeployReplaceRules>
</ItemDefinitionGroup>
<!--***************************************************************-->
<!--skip rule schema enforcement
DeploymentSkipRule(string skipAction, string objectName, string absolutePath, string XPath);-->
<!--***************************************************************-->
<ItemDefinitionGroup>
<MsDeploySkipRules>
<SkipAction></SkipAction>
<ObjectName></ObjectName>
<AbsolutePath></AbsolutePath>
<XPath></XPath>
<KeyAttribute></KeyAttribute>
</MsDeploySkipRules>
</ItemDefinitionGroup>
<!--***************************************************************-->
<!--DeclareParameters schema enforcement
DeploymentParameter(string name, string type, string scope, string match, string description, string defaultValue); -->
<!--***************************************************************-->
<ItemDefinitionGroup>
<MsDeployDeclareParameters>
<Kind></Kind>
<Scope></Scope>
<Match></Match>
<Description></Description>
<DefaultValue></DefaultValue>
<Tags></Tags>
<ExcludeFromSetParameter></ExcludeFromSetParameter>
</MsDeployDeclareParameters>
</ItemDefinitionGroup>
<!--***************************************************************-->
<!--SyncParameter schema enforcement
public DeploymentParameter(string name, string value); -->
<!--***************************************************************-->
<ItemDefinitionGroup>
<MsDeploySimpleSetParameters>
<Value></Value>
</MsDeploySimpleSetParameters>
</ItemDefinitionGroup>
<!--***************************************************************-->
<!--SyncParameter schema enforcement
public DeploymentParameter(string type, string scope, string match, string value); -->
<!--***************************************************************-->
<ItemDefinitionGroup>
<MsDeploySetParameters>
<Kind></Kind>
<Scope></Scope>
<Match></Match>
<Value></Value>
<Description></Description>
<DefaultValue></DefaultValue>
<Tags></Tags>
</MsDeploySetParameters>
</ItemDefinitionGroup>
<!--***************************************************************-->
<!--MsDeployProviderSetting schema enforcement
public DeploymentParameter(string type, string scope, string match, string value); -->
<!--***************************************************************-->
<ItemDefinitionGroup>
<MsDeploySourceProviderSetting>
<Path></Path>
<ComputerName></ComputerName>
<!--<Wmsvc></Wmsvc> Not supported yet-->
<UserName></UserName>
<Password></Password>
<EncryptPassword></EncryptPassword>
<IncludeAcls></IncludeAcls>
<authType></authType>
<prefetchPayload></prefetchPayload>
</MsDeploySourceProviderSetting>
</ItemDefinitionGroup>
<ItemDefinitionGroup>
<MsDeployDestinationProviderSetting>
<Path></Path>
<ComputerName></ComputerName>
<!--<Wmsvc></Wmsvc> Not supported yet-->
<UserName></UserName>
<Password></Password>
<EncryptPassword></EncryptPassword>
<IncludeAcls></IncludeAcls>
<authType></authType>
<prefetchPayload></prefetchPayload>
</MsDeployDestinationProviderSetting>
</ItemDefinitionGroup>
<!--***************************************************************-->
<!--MsDeploySourceManifest schema enforcement -->
<!-- AdditionalProviderSettings denote the additionProviderSetting need to be set in the manifest files-->
<!--***************************************************************-->
<ItemDefinitionGroup>
<MsDeploySourceManifest>
<Path>Unknown</Path>
<AdditionalProviderSettings></AdditionalProviderSettings>
</MsDeploySourceManifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup>
<SqlCommandVariableMetaData>
<Value/>
<IsDeclared/>
<SourcePath/>
<SourcePath_RegExExcaped/>
<DestinationGroup/>
</SqlCommandVariableMetaData>
</ItemDefinitionGroup>
<!--***************************************************************-->
<!-- Import the corresponding way of file collection into the target-->
<!--***************************************************************-->
<!--default to is one of the following-->
<!--
Please see examples in $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\Web\
Microsoft.Web.Publishing.AllFilesInProjectFolder.targets
Microsoft.Web.Publishing.AllFilesInTheProject.targets
Microsoft.Web.Publishing.OnlyFilesToRunTheApp.targets
-->
<!--<Import Project="Microsoft.Web.Publishing.$(FilesToIncludeForPublish).targets" />-->
<Import Project="$(FilesToIncludeTargetFile)" />
<!--********************************************************************-->
<!--Target ExcludeApp_Data -->
<!--********************************************************************-->
<PropertyGroup>
<ExcludeApp_DataDependsOn Condition="'$(ExcludeApp_DataDependsOn)'==''">
</ExcludeApp_DataDependsOn>
</PropertyGroup>
<Target Name="ExcludeApp_Data"
DependsOnTargets="$(ExcludeApp_DataDependsOn)"
Condition="$(ExcludeApp_Data)">
<!--Get Localized string before displaying message-->
<GetPublishingLocalizedString
ID="PublishLocalizedString_ExcludeAllFilesUnderFolder"
ArgumentCount="1"
Arguments="App_Data"
LogType="Message" />
<!--Explicit mark all the file as Exclude=True, leverage the item for the -->
<!--Maybe we need to introduce @(ExcludeFromPackageFolders)-->
<ItemGroup>
<ExcludeFromPackageFolders Include="App_Data">
<FromTarget>ExcludeApp_Data</FromTarget>
</ExcludeFromPackageFolders>
</ItemGroup>
</Target>
<!--********************************************************************-->
<!--Target ExcludeGeneratedDebugSymbol -->
<!--********************************************************************-->
<PropertyGroup>
<ExcludeGeneratedDebugSymbolDependsOn Condition="'$(ExcludeGeneratedDebugSymbolDependsOn)'==''">
</ExcludeGeneratedDebugSymbolDependsOn>
</PropertyGroup>
<Target Name="ExcludeGeneratedDebugSymbol"
DependsOnTargets="$(ExcludeGeneratedDebugSymbolDependsOn)"
Condition="$(ExcludeGeneratedDebugSymbol)">
<!--Get Localized string before displaying message-->
<GetPublishingLocalizedString
ID="PublishLocalizedString_ExcludeAllDebugSymbols"
LogType="Message" />
<ItemGroup>
<ExcludeFromPackageFiles Include="@(FilesForPackagingFromProject)" Condition="'%(FilesForPackagingFromProject.Extension)'=='.pdb'">
<FromTarget>ExcludeGeneratedDebugSymbol</FromTarget>
</ExcludeFromPackageFiles>
</ItemGroup>
</Target>
<!--********************************************************************-->
<!--Target ExcludeFilesFromPackage-->
<!--**********************************************************************-->
<PropertyGroup>
<OnBeforeExcludeFilesFromPackage Condition="'$(OnBeforeExcludeFilesFromPackage)'==''">
ExcludeApp_Data;
ExcludeGeneratedDebugSymbol;
</OnBeforeExcludeFilesFromPackage>
<!--Targets get execute after this Target-->
<OnAfterExcludeFilesFromPackage Condition="'$(OnAfterExcludeFilesFromPackage)'==''">
</OnAfterExcludeFilesFromPackage>
<ExcludeFilesFromPackageDependsOn Condition="'$(ExcludeFilesFromPackageDependsOn)' == ''">
$(OnBeforeExcludeFilesFromPackage);
</ExcludeFilesFromPackageDependsOn>
</PropertyGroup>
<Target Name="ExcludeFilesFromPackage" DependsOnTargets="$(ExcludeFilesFromPackageDependsOn)"
Condition="$(ExcludeFilesFromPackage)">
<!--Add the exclude Folder into the list (Note that ItemGroup doesn't work in this scenario.
Note that this is specify in the DestinationRelativePath in the item.Spec-->
<CreateItem Include="@(ExcludeFromPackageFolders->'$(AlternativeProjectDirectory)%(Identity)\**')"
AdditionalMetadata="FromTarget=%(FromTarget)">
<Output TaskParameter="Include" ItemName="ExcludeFromPackageFiles"/>
</CreateItem>
<!--Log the information Set $(EnablePackageProcessLoggingAndAssert) to True if you want to see this information-->
<MakeDir Condition="$(EnablePackageProcessLoggingAndAssert) And !Exists($(PackageLogDir))"
Directories="$(PackageLogDir)" />
<WriteLinesToFile Condition="$(EnablePackageProcessLoggingAndAssert)"
Encoding="utf-8"
File="$(PackageLogDir)\ExcludeFromPackageFiles.txt"
Lines="@(ExcludeFromPackageFiles->'
Files:%(Identity)
FromTarget:%(FromTarget)
DestinationRelativePath:%(DestinationRelativePath)')"
Overwrite="True" />
<!--This exclude if the filter item spec is specified as DestinationRelativePath.-->
<FilterByItems PipelineItems="@(FilesForPackagingFromProject)"
SourceMetadataName="DestinationRelativePath"
FilterRootFolder="$(AlternativeProjectDirectory)"
FilterBaseOnRelativePath="True"
Filter="@(ExcludeFromPackageFiles)">
<Output TaskParameter="InFilter" ItemName="_NeedtoMarkasExclude_FilesForPackagingFromProject"/>
</FilterByItems>
<!--This exclude if the filter item's DestinationRelativePath is specified.
This is useful for case like Reference Dll and pdb where the source is not under the current project.-->
<FilterByItems PipelineItems="@(FilesForPackagingFromProject)"
SourceMetadataName="DestinationRelativePath"
FilterRootFolder="$(AlternativeProjectDirectory)"
FilterBaseOnRelativePath="True"
FilterMetadataName="DestinationRelativePath"
Filter="@(ExcludeFromPackageFiles)">
<Output TaskParameter="InFilter" ItemName="_NeedtoMarkasExclude_FilesForPackagingFromProject"/>
</FilterByItems>
<ItemGroup>
<FilesForPackagingFromProject Remove="@(_NeedtoMarkasExclude_FilesForPackagingFromProject)" />
<FilesForPackagingFromProject Include="@(_NeedtoMarkasExclude_FilesForPackagingFromProject)">
<Exclude>True</Exclude>
</FilesForPackagingFromProject>
</ItemGroup>
<!-- (Debug Only, Turn on EnablePackageProcessLoggingAndAssert if needed )
Dump the list to the log file in the log dir-->
<WriteLinesToFile Condition="$(EnablePackageProcessLoggingAndAssert)"
Encoding="utf-8"
File="$(PackageLogDir)\AfterExcludeFilesFilesList.txt"
Lines="@(FilesForPackagingFromProject->'
From:%(Identity)
DestinationRelativePath:%(DestinationRelativePath)
Exclude:%(Exclude)
FromTarget:%(FromTarget)
Category:%(Category)
ProjectFileType:%(ProjectFileType)')" Overwrite="True" />
<CallTarget Targets="$(OnAfterExcludeFilesFromPackage)" RunEachTargetSeparately="False" />
</Target>
<!--********************************************************************-->
<!--Target ImportParametersFiles-->
<!--**********************************************************************-->
<PropertyGroup>
<OnBeforeImportParametersFiles Condition="'$(OnBeforeImportParametersFiles)'==''">
</OnBeforeImportParametersFiles>
<!--Targets get execute after this Target-->
<OnAfterImportParametersFiles Condition="'$(OnAfterImportParametersFiles)'==''">
</OnAfterImportParametersFiles>
<ImportParametersFilesDependsOn Condition="'$(ImportParametersFilesDependsOn)' == ''">
$(OnBeforeImportParametersFiles);
</ImportParametersFilesDependsOn>
</PropertyGroup>
<Target Name="ImportParametersFiles" DependsOnTargets="$(ImportParametersFilesDependsOn)"
Condition="$(ImportParametersFiles)">
<ImportParametersFile Files="@(ParametersXMLFiles)">
<Output TaskParameter="Result" ItemName="_ImportedMSDeployDeclareParameters"/>
</ImportParametersFile>
<ItemGroup>
<MsDeployDeclareParameters Include="@(_ImportedMSDeployDeclareParameters)">
<Value>%(_ImportedMSDeployDeclareParameters.DefaultValue)</Value>
<Priority>$(UserParametersFileParametersPriority)</Priority>
</MsDeployDeclareParameters>
</ItemGroup>
</Target>
<!--********************************************************************-->
<!--Target ValidateGlobalPackageSetting -->
<!--********************************************************************-->
<!--Targets get execute before this Target-->
<PropertyGroup>
<OnBeforeValidateGlobalPackageSetting Condition="'$(OnBeforeValidateGlobalPackageSetting)'==''">
GetProjectWebProperties;
</OnBeforeValidateGlobalPackageSetting>
<!--Targets get execute after this Target-->
<OnAfterValidateGlobalPackageSetting Condition="'$(OnAfterValidateGlobalPackageSetting)'==''">
</OnAfterValidateGlobalPackageSetting>
<ValidateGlobalPackageSettingDependsOn Condition="'$(ValidateGlobalPackageSettingDependsOn)'==''">
$(OnBeforeValidateGlobalPackageSetting);
</ValidateGlobalPackageSettingDependsOn>
</PropertyGroup>
<Target Name="ValidateGlobalPackageSetting"
DependsOnTargets="$(ValidateGlobalPackageSettingDependsOn)" Condition="$(_CreatePackage)">
<!--Get Localized string before displaying message-->
<GetPublishingLocalizedString
ID="PublishLocalizedString_MsBuildPropertySettingValue"
ArgumentCount="2"
Arguments="PackageAsSingleFile;$(PackageAsSingleFile)"
LogType="Message" />
<!--Get Localized string before displaying message-->
<GetPublishingLocalizedString
Condition="$(PackageAsSingleFile)"
ID="PublishLocalizedString_CheckingForValidMsBuildPropertyValue"
ArgumentCount="2"
Arguments="PackageFileName;$(PackageFileName)"
LogType="Message" />
<!--<Message Condition="$(PackageAsSingleFile)" Text="PackageFileName is $(PackageFileName), Checking..."/>-->
<!--Get Localized string before displaying message-->
<GetPublishingLocalizedString
Condition="!$(PackageAsSingleFile)"
ID="PublishLocalizedString_CheckingForValidMsBuildPropertyValue"
ArgumentCount="2"
Arguments="PackageArchiveRootDir;$(PackageArchiveRootDir)"
LogType="Message" />
<!--<Message Condition="!$(PackageAsSingleFile)" Text="PackageArchiveRootDir is $(PackageArchiveRootDir), Checking"/>-->
<PropertyGroup>
<_CheckPackageLocation Condition="$(PackageAsSingleFile)">$(PackageFileName)</_CheckPackageLocation>
<_CheckPackageLocation Condition="!$(PackageAsSingleFile)">$(PackageArchiveRootDir)</_CheckPackageLocation>
<_CheckPackageLocationArchiveDir Condition="!$(PackageAsSingleFile)">$(PackageArchiveRootDir)\Archive</_CheckPackageLocationArchiveDir>
</PropertyGroup>
<CheckPathAttributes Path="$(_CheckPackageLocation)" Condition="'$(_CheckPackageLocation)' != ''">
<Output TaskParameter="IsExists" PropertyName="_CheckPackageLocationExists" />
<Output TaskParameter="IsFolder" PropertyName="_CheckPackageLocationIsFolder" />
</CheckPathAttributes>
<CheckPathAttributes Condition="'$(_CheckPackageLocationArchiveDir)' != ''" Path="$(_CheckPackageLocationArchiveDir)">
<Output TaskParameter="IsExists" PropertyName="_CheckPackageLocationArchiveDirExists" />
<Output TaskParameter="IsFolder" PropertyName="_CheckPackageLocationArchiveDirIsFolder" />
</CheckPathAttributes>
<!--Check on valid location-->
<!--Get Localized string before displaying error-->
<GetPublishingLocalizedString
Condition="$(PackageAsSingleFile) And $(_CheckPackageLocationExists) And $(_CheckPackageLocationIsFolder)"
ID="PublishLocalizedString_ErrorPackageAsFilePointToAnExistingFolder"
ArgumentCount="1"
Arguments="$(PackageFileName)"
LogType="Error" />
<!--<Error Condition="$(PackageAsSingleFile) And $(_CheckPackageLocationExists) And $(_CheckPackageLocationIsFolder)"
Text="'$(PackageFileName)' exist as a folder. You can't package as a single file to be the same name as an existing folder. Please delete the folder before packaging. Alternative,you can call msbuild with /t:CleanWebsitesPackage target to remove it." />-->
<GetPublishingLocalizedString
Condition="!$(PackageAsSingleFile) And $(_CheckPackageLocationExists) And !$(_CheckPackageLocationIsFolder)"
ID="PublishLocalizedString_ErrorPackageAsFolderPointToAnExistingFile"
ArgumentCount="1"
Arguments="$(PackageArchiveRootDir)"
LogType="Error" />
<!--<Error Condition="!$(PackageAsSingleFile) And $(_CheckPackageLocationExists) And !$(_CheckPackageLocationIsFolder)"
Text="'$(PackageArchiveRootDir)' exist as a file. You can't package as an archive directory to be the same as an existing file. Please delete the file before packaging. Alternative,you can call msbuild with /t:CleanWebsitesPackage target to remove it." />-->
<GetPublishingLocalizedString
Condition="!$(PackageAsSingleFile) And $(_CheckPackageLocationArchiveDirExists) And !$(_CheckPackageLocationArchiveDirIsFolder)"
ID="PublishLocalizedString_ErrorPackageAsFolderPointToAnExistingFile"
ArgumentCount="1"
Arguments="$(PackageArchiveRootDir)\Archive"
LogType="Error" />
<!--<Error Condition="!$(PackageAsSingleFile) And $(_CheckPackageLocationArchiveDirExists) And !$(_CheckPackageLocationArchiveDirIsFolder)"
Text="'$(PackageArchiveRootDir)\Archive' exist as a file. You can't package as an archive directory to be the same as an existing file. Please delete the file before packaging. Alternative,you can call msbuild with /t:CleanWebsitesPackage target to clean it." />-->
<!--Check on the IIS version compatibility-->
<!--Get Localized string before displaying error-->
<GetPublishingLocalizedString
Condition="$(DestinationUseIis) And ($(DestinationIisVersion) < '7') And $(_DeploymentUseIis) And ($(LocalIisVersion) >= '7')"
ID="PublishLocalizedString_ErrorCannotDeployFromIIS7AboveToLowerIIS"
ArgumentCount="3"
Arguments="$(IncludeIisSettings);$(DestinationIisVersion);$(LocalIisVersion)"
LogType="Error" />
<!--<Error Condition="$(DestinationUseIis) And ($(DestinationIisVersion) < '7') And $(_DeploymentUseIis) And ($(LocalIisVersion) >= '7')"
Text="Deploy with IIS Setting from a IIS 7 or above to a lower verstion of IIS server is not supported. To fix the problem, please set the %24(IncludeIisSettings) to false. Your current setting are %24(IncludeIisSettings) is $(IncludeIisSettings), %24(DestinationIisVersion) is $(DestinationIisVersion) and %24(LocalIisVersion) is $(LocalIisVersion)." />-->
</Target>
<Target Name="ProcessItemToExcludeFromDeployment">
<ItemGroup>
<ExcludeFromPackageFiles Condition="'$(ExcludeFilesFromDeployment)'!=''" Include="$(ExcludeFilesFromDeployment)" />
<ExcludeFromPackageFolders Condition="'$(ExcludeFoldersFromDeployment)'!=''" Include="$(ExcludeFoldersFromDeployment)" />
</ItemGroup>
</Target>
<!--********************************************************************-->
<!--Target WPPCopyWebApplicaitonPipelineCircularDependencyError -->
<!--********************************************************************-->
<Target Name="WPPCopyWebApplicaitonPipelineCircularDependencyError" Condition="$(WPPCopyWebApplicaitonPipelineCircularDependencyError)">
<!--Get Localized string before displaying error-->
<GetPublishingLocalizedString
Condition="$(WPPCopyWebApplicaitonPipelineCircularDependencyError)"
ID="PublishLocalizedString_ErrorUseWPP_CopyWebApplicationAndPipelineDependsOnBuildBothTrue"
LogType="Error" />
<!--
<Error Condition="$(WPPCopyWebApplicaitonPipelineCircularDependencyError)"
Text="These two Properties are not compatable %24(UseWPP_CopyWebApplication) and %24(PipelineDependsOnBuild) both are True.
Please correct the problem by either set %24(Disable_CopyWebApplication) to true or set %24(PipelineDependsOnBuild) to false to break the circular build dependency.
Detail: %24(UseWPP_CopyWebApplication) make the publsih pipeline (WPP) to be Part of the build and %24(PipelineDependsOnBuild) make the WPP depend on build thus cause the build circular build dependency. " />
-->
</Target>
<!--********************************************************************-->
<!--Target PipelineCollectFilesPhase -->
<!--********************************************************************-->
<PropertyGroup>
<!--Targets get execute before this Target-->
<OnBeforePipelineCollectFilesPhase Condition="'$(OnBeforePipelineCollectFilesPhase)'==''">
WPPCopyWebApplicaitonPipelineCircularDependencyError;
ProcessItemToExcludeFromDeployment;
GetProjectWebProperties;
ValidateGlobalPackageSetting;
$(PipelineDependsOn);
</OnBeforePipelineCollectFilesPhase>
<!--Targets get execute after this Target-->
<OnAfterPipelineCollectFilesPhase Condition="'$(OnAfterPipelineCollectFilesPhase)'==''">
ExcludeFilesFromPackage;
ImportParametersFiles;
</OnAfterPipelineCollectFilesPhase>
<PipelineCollectFilesPhaseDependsOn Condition="'$(PipelineCollectFilesPhaseDependsOn)'==''">
$(OnBeforePipelineCollectFilesPhase);
$(PublishPipelineCollectFilesCore);
</PipelineCollectFilesPhaseDependsOn>
</PropertyGroup>
<Target Name="PipelineCollectFilesPhase"
Outputs="@(FilesForPackagingFromProject)"
DependsOnTargets="$(PipelineCollectFilesPhaseDependsOn)">
<!--Get Localized string before displaying message-->
<GetPublishingLocalizedString
ID="PublishLocalizedString_WebPublishPipelineCollectFilesPhase"
LogType="Message" />
<!--Log the information Set $(EnablePackageProcessLoggingAndAssert) to True if you want to see this information-->
<MakeDir Condition="$(EnablePackageProcessLoggingAndAssert) And !Exists('$(PackageLogDir)')"
Directories="$(PackageLogDir)" />
<!-- (Debug Only, Turn on EnablePackageProcessLoggingAndAssert if needed )
Dump the list to the log file in the log dir-->
<WriteLinesToFile Condition="$(EnablePackageProcessLoggingAndAssert)"
Encoding="utf-8"
File="$(PackageLogDir)\PreExcludePipelineCollectFilesPhaseFileList.txt"
Lines="@(FilesForPackagingFromProject->'
From:%(Identity)
DestinationRelativePath:%(DestinationRelativePath)
Exclude:%(Exclude)
FromTarget:%(FromTarget)
Category:%(Category)