--- trunk/RomCheater/RomCheater.csproj 2012/05/10 18:37:43 121 +++ trunk/RomCheater/RomCheater.csproj 2012/05/10 18:43:55 122 @@ -165,14 +165,17 @@ <Link>Plugins\RomCheater.CorePlugins.pdb</Link> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </Content> + <Content Include="current-version.txt"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <PropertyGroup> <PreBuildEvent>"$(SolutionDir)deps\TortoiseSVN\SubWCRev.exe" "$(SolutionDir)." "$(ProjectDir)Properties\AssemblyInfo.cs.tmpl" "$(ProjectDir)Properties\AssemblyInfo.cs"</PreBuildEvent> </PropertyGroup> <PropertyGroup> - <PostBuildEvent> - </PostBuildEvent> + <PostBuildEvent>"$(SolutionDir)MSBuild_CurrentVersion\bin\Debug\MSBuild_CurrentVersion.exe" +copy "$(SolutionDir)MSBuild_CurrentVersion\bin\Debug\current-version.txt" "$(SolutionDir)RomCheater\current-version.txt"</PostBuildEvent> </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. |