diff --git a/ATxService/ATxService.csproj b/ATxService/ATxService.csproj index f799eb14a91363674bf17b0717faa3e126a52535..b9c7e8642f5775554bce85d5a3459fdf94717e58 100644 --- a/ATxService/ATxService.csproj +++ b/ATxService/ATxService.csproj @@ -152,6 +152,20 @@ <Name>ATxCommon</Name> </ProjectReference> </ItemGroup> + <ItemGroup> + <Content Include="..\Resources\Mail-Templates\DiskSpace-Low.txt"> + <Link>Mail-Templates\DiskSpace-Low.txt</Link> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + <Content Include="..\Resources\Mail-Templates\Transfer-Interrupted.txt"> + <Link>Mail-Templates\Transfer-Interrupted.txt</Link> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + <Content Include="..\Resources\Mail-Templates\Transfer-Success.txt"> + <Link>Mail-Templates\Transfer-Success.txt</Link> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <PropertyGroup> <PreBuildEvent>PowerShell -NoProfile -ExecutionPolicy RemoteSigned $(SolutionDir)\Scripts\Prepare-Build.ps1 $(ProjectDir)</PreBuildEvent> diff --git a/Scripts/Make-Package.ps1 b/Scripts/Make-Package.ps1 index 687d29f7a54cf89c5d6d222a428f9e09ff3d3c76..6ffddf7fe31c5c625c1481642103fce22597c8df 100644 --- a/Scripts/Make-Package.ps1 +++ b/Scripts/Make-Package.ps1 @@ -1,5 +1,4 @@ $ResourceDir = "..\ATxService\Resources" -$TemplateDir = "$($ResourceDir)\Mail-Templates" $RsrcDirCommon = "..\Resources" @@ -49,7 +48,6 @@ $dir = New-Item -ItemType Container -Name $PkgDir $dir = New-Item -ItemType Container -Path $PkgDir -Name "AutoTx" $tgt = $dir.FullName -Copy-Item -Recurse "$TemplateDir" $tgt Copy-Item -Exclude *.pdb -Recurse "$($BinariesDirService)\*" $tgt Copy-Item -Exclude *.pdb -Recurse "$($BinariesDirTrayApp)\*" $tgt -EA Ignore Copy-Item -Exclude *.pdb -Recurse "$($BinariesDirCfgTest)\*" $tgt -EA Ignore