summaryrefslogtreecommitdiff
path: root/Aktywator/Aktywator.csproj
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-08-22 21:43:08 +0200
committeremkael <emkael@tlen.pl>2017-08-22 21:45:18 +0200
commitcda00c4a001a736524812fa9a62844a2da715651 (patch)
treef20d11e536ae2554c736482b9f47feacbdd4deb3 /Aktywator/Aktywator.csproj
parent1bb11519992d69339943cb20b50fcb7a84769fa7 (diff)
Automatic version number and build date loading
Diffstat (limited to 'Aktywator/Aktywator.csproj')
-rw-r--r--Aktywator/Aktywator.csproj6
1 files changed, 6 insertions, 0 deletions
diff --git a/Aktywator/Aktywator.csproj b/Aktywator/Aktywator.csproj
index a4dc515..f7a2fa6 100644
--- a/Aktywator/Aktywator.csproj
+++ b/Aktywator/Aktywator.csproj
@@ -129,6 +129,7 @@
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
+ <DesignTime>True</DesignTime>
</Compile>
<None Include="app.config" />
<None Include="Properties\Settings.settings">
@@ -143,6 +144,7 @@
</ItemGroup>
<ItemGroup>
<Content Include="aktywator.ico" />
+ <None Include="Resources\BuildDate.txt" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
@@ -162,6 +164,10 @@
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <PropertyGroup>
+ <PreBuildEvent>echo %25date%25 &gt; "$(ProjectDir)\Resources\BuildDate.txt"
+</PreBuildEvent>
+ </PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">