-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A few different updates, details below
Added support for -Verbose Added support to look for msdeploy.exe in v3/v2/v1 folder:
- Loading branch information
1 parent
4acc8c2
commit c12011c
Showing
6 changed files
with
74 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,6 @@ OutputRoot/ | |
|
||
# Known files to ignore always # | ||
*.suo | ||
*.user | ||
*.user | ||
~*.docx | ||
msbuild.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<!-- Don't make this _Deploy becuase it conflicts with default IIS app path name --> | ||
<_DeployFolderName>_Deploy_</_DeployFolderName> | ||
<SedodreamInstallFolder Condition=" '$(SedodreamInstallFolder)'=='' ">$(MSBuildProjectDirectory)\SedodreamPackage\</SedodreamInstallFolder> | ||
<SedodreamPublishProjPath Condition=" '$(SedodreamPublishProjPath)'=='' ">$(SedodreamInstallFolder)Sedodream.Publish.proj</SedodreamPublishProjPath> | ||
<SlowCheetahTransformXmlTaskPath Condition=" '$(SlowCheetahTransformXmlTaskPath)'=='' ">$(MSBuildThisFileDirectory)\SlowCheetah.Tasks.dll</SlowCheetahTransformXmlTaskPath> | ||
</PropertyGroup> | ||
|
||
<Target Name="CopyPublishPs1ToPackageFolder" AfterTargets="Package"> | ||
<PropertyGroup> | ||
<_PublishPs1>$(SedodreamInstallFolder)Publish-Interactive.ps1</_PublishPs1> | ||
</PropertyGroup> | ||
|
||
<Copy SourceFiles="$(_PublishPs1)" DestinationFiles="$(DefaultPackageOutputDir)\Publish-Interactive.ps1"/> | ||
|
||
</Target> | ||
|
||
<PropertyGroup> | ||
<CopyAllFilesToSingleFolderForPackageDependsOn> | ||
IncludWebConfigTransformsForPublishing; | ||
$(CopyAllFilesToSingleFolderForPackageDependsOn); | ||
</CopyAllFilesToSingleFolderForPackageDependsOn> | ||
</PropertyGroup> | ||
|
||
<Target Name="IncludWebConfigTransformsForPublishing"> | ||
<ItemGroup> | ||
<_WCTransforms Include="$(MSBuildProjectDirectory)\web.config;$(MSBuildProjectDirectory)\web.*.config"/> | ||
|
||
<_SlowCheetahTasksItem Remove="@(_SlowCheetahTasksItem)"/> | ||
<_SlowCheetahTasksItem Include="$(SlowCheetahTransformXmlTaskPath)"/> | ||
</ItemGroup> | ||
|
||
<PropertyGroup> | ||
<_SlowCheetahFilename>@(_SlowCheetahTasksItem->'%(Filename)%(Extension)')</_SlowCheetahFilename> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<FilesForPackagingFromProject Include="%(_WCTransforms.Identity)"> | ||
<DestinationRelativePath>$(_DeployFolderName)\%(RecursiveDir)t.%(Filename)%(Extension)</DestinationRelativePath> | ||
</FilesForPackagingFromProject> | ||
|
||
<!-- Add the assemlby which has the TrasnfromXml task--> | ||
<FilesForPackagingFromProject Include="$(SlowCheetahTransformXmlTaskPath)"> | ||
<DestinationRelativePath>$(_DeployFolderName)\$(_SlowCheetahFilename)</DestinationRelativePath> | ||
</FilesForPackagingFromProject> | ||
|
||
<!-- Add the MSBuild file into the package as well --> | ||
<FilesForPackagingFromProject Include="$(SedodreamPublishProjPath)"> | ||
<DestinationRelativePath>$(_DeployFolderName)\Sedodream.Publish.proj</DestinationRelativePath> | ||
</FilesForPackagingFromProject> | ||
</ItemGroup> | ||
</Target> | ||
|
||
<Target Name="AddSetParamToPackage" AfterTargets="GenerateSampleDeployScript"> | ||
<ItemGroup> | ||
<_TmpItem Remove="@(_TmpItem)"/> | ||
<_TmpItem Include="$(GenerateSampleParametersValueLocation)"/> | ||
</ItemGroup> | ||
|
||
<!-- Add the SetParameters.xml file --> | ||
<ItemGroup> | ||
<FilesForPackagingFromProject Include="@(_TmpItem)"> | ||
<DestinationRelativePath>$(_DeployFolderName)\%(_TmpItem.Filename)%(_TmpItem.Extension)</DestinationRelativePath> | ||
</FilesForPackagingFromProject> | ||
</ItemGroup> | ||
</Target> | ||
|
||
</Project> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
More content to come later here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.