Rename executables being generated during the build

pull/147/head
Oleg Nenashev 2016-12-06 23:21:21 +01:00
parent 109e34045a
commit f21f82dfc0
3 changed files with 8 additions and 8 deletions

View File

@ -31,10 +31,10 @@ test_script:
- ps: nunit-console 'C:/projects/winsw/src/Test/winswTests/bin/Release/winswTests.dll' 'C:/projects/winsw/src/Test/winswTests/bin/Release/SharedDirectoryMapper.dll' 'C:/projects/winsw/src/Test/winswTests/bin/Release/RunawayProcessKiller.dll' - ps: nunit-console 'C:/projects/winsw/src/Test/winswTests/bin/Release/winswTests.dll' 'C:/projects/winsw/src/Test/winswTests/bin/Release/SharedDirectoryMapper.dll' 'C:/projects/winsw/src/Test/winswTests/bin/Release/RunawayProcessKiller.dll'
artifacts: artifacts:
- path: 'src/Core/ServiceWrapper/bin/Release/winsw.exe' - path: 'src/Core/ServiceWrapper/bin/Release/WinSW.NET2.exe'
name: WinSW name: WinSW.NET2.exe
- path: 'src/Core/ServiceWrapper_dotNET4/bin/Release/winsw.exe' - path: 'src/Core/ServiceWrapper_dotNET4/bin/Release/WinSW.NET4.exe'
name: WinSW_dotNET4 name: WinSW.NET4.exe

View File

@ -137,7 +137,7 @@
</PropertyGroup> </PropertyGroup>
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" /> <Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
</Target> </Target>
<!-- Merge plugins and other DLLs into winsw.exe --> <!-- Merge plugins and other DLLs into the executable -->
<UsingTask TaskName="MSBuild.Community.Tasks.ILMerge" AssemblyFile="$(SolutionDir)\packages\MSBuildTasks.1.4.0.88\tools\MSBuild.Community.Tasks.dll" /> <UsingTask TaskName="MSBuild.Community.Tasks.ILMerge" AssemblyFile="$(SolutionDir)\packages\MSBuildTasks.1.4.0.88\tools\MSBuild.Community.Tasks.dll" />
<Target Name="AfterBuild"> <Target Name="AfterBuild">
<ItemGroup> <ItemGroup>
@ -148,7 +148,7 @@
<MergeAsm Include="$(OutputPath)log4net.dll" /> <MergeAsm Include="$(OutputPath)log4net.dll" />
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>
<MergedAssembly>$(ProjectDir)$(OutDir)winsw.exe</MergedAssembly> <MergedAssembly>$(ProjectDir)$(OutDir)WinSW.NET2.exe</MergedAssembly>
<CertificatePfxFile>$(AssemblyOriginatorKeyFile)</CertificatePfxFile> <CertificatePfxFile>$(AssemblyOriginatorKeyFile)</CertificatePfxFile>
</PropertyGroup> </PropertyGroup>
<!-- Locate SN.EXE in Windows SDK, use the first found one--> <!-- Locate SN.EXE in Windows SDK, use the first found one-->

View File

@ -135,7 +135,7 @@
</PropertyGroup> </PropertyGroup>
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" /> <Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
</Target> </Target>
<!-- Merge plugins and other DLLs into winsw.exe --> <!-- Merge plugins and other DLLs into the executable -->
<UsingTask TaskName="MSBuild.Community.Tasks.ILMerge" AssemblyFile="$(SolutionDir)\packages\MSBuildTasks.1.4.0.88\tools\MSBuild.Community.Tasks.dll" /> <UsingTask TaskName="MSBuild.Community.Tasks.ILMerge" AssemblyFile="$(SolutionDir)\packages\MSBuildTasks.1.4.0.88\tools\MSBuild.Community.Tasks.dll" />
<Target Name="AfterBuild"> <Target Name="AfterBuild">
<ItemGroup> <ItemGroup>
@ -147,7 +147,7 @@
<MergeAsm Include="$(OutputPath)log4net.dll" /> <MergeAsm Include="$(OutputPath)log4net.dll" />
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>
<MergedAssembly>$(ProjectDir)$(OutDir)winsw.exe</MergedAssembly> <MergedAssembly>$(ProjectDir)$(OutDir)WinSW.NET4.exe</MergedAssembly>
<CertificatePfxFile>$(AssemblyOriginatorKeyFile)</CertificatePfxFile> <CertificatePfxFile>$(AssemblyOriginatorKeyFile)</CertificatePfxFile>
</PropertyGroup> </PropertyGroup>
<!-- Locate SN.EXE in Windows SDK, use the first found one--> <!-- Locate SN.EXE in Windows SDK, use the first found one-->