mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
Use the built UpdateAssemblyDescription.exe instead of the pre-built one.
This commit is contained in:
parent
803c3ca2d2
commit
7dad65ff88
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,9 +1,11 @@
|
||||
/installer/SubtitleEdit-*-setup.exe
|
||||
/src/*.suo
|
||||
/src/bin
|
||||
/src/obj
|
||||
/src/*.suo
|
||||
/src/Properties/AssemblyInfo.cs
|
||||
/src/Test/bin
|
||||
/src/Test/obj
|
||||
/src/UpdateAssemblyDescription/bin
|
||||
/src/UpdateAssemblyDescription/obj
|
||||
/SE*.zip
|
||||
/SubtitleEdit-*-setup.exe
|
||||
|
Binary file not shown.
@ -1817,7 +1817,7 @@
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>"$(ProjectDir)..\UpdateAssemblyDescription.exe" "$(ProjectDir)Properties\AssemblyInfo.cs.template" "$(ProjectDir)Properties\AssemblyInfo.cs"</PreBuildEvent>
|
||||
<PreBuildEvent>"$(ProjectDir)..\update_rev.bat"</PreBuildEvent>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>COPY /Y /V "$(ProjectDir)Dlls\Hunspellx86.dll" "$(TargetDir)"
|
||||
|
@ -1,6 +1,9 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SubtitleEdit", "SubtitleEdit.csproj", "{511A5B59-1C35-4719-8536-23B19AF9B21A}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{DBD4656C-5F40-4067-A70B-C4460DE20F77} = {DBD4656C-5F40-4067-A70B-C4460DE20F77}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{766101A0-80D5-4560-BFF7-73F1559B4C47}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
@ -11,6 +14,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test", "Test\Test.csproj", "{7BE5B8E8-9469-4C7C-89D7-E8C884DEFC0E}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UpdateAssemblyDescription", "UpdateAssemblyDescription\UpdateAssemblyDescription.csproj", "{DBD4656C-5F40-4067-A70B-C4460DE20F77}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(TestCaseManagementSettings) = postSolution
|
||||
CategoryFile = SubtitleEdit.vsmdi
|
||||
@ -28,6 +33,10 @@ Global
|
||||
{7BE5B8E8-9469-4C7C-89D7-E8C884DEFC0E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7BE5B8E8-9469-4C7C-89D7-E8C884DEFC0E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7BE5B8E8-9469-4C7C-89D7-E8C884DEFC0E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{DBD4656C-5F40-4067-A70B-C4460DE20F77}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{DBD4656C-5F40-4067-A70B-C4460DE20F77}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{DBD4656C-5F40-4067-A70B-C4460DE20F77}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DBD4656C-5F40-4067-A70B-C4460DE20F77}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
@ -3,11 +3,7 @@ SETLOCAL
|
||||
|
||||
PUSHD %~dp0
|
||||
|
||||
IF EXIST "SubWCRev.exe" SET "SUBWCREV=SubWCRev.exe"
|
||||
FOR %%A IN (SubWCRev.exe) DO (SET SUBWCREV=%%~$PATH:A)
|
||||
IF NOT DEFINED SUBWCREV GOTO SubNoSubWCRev
|
||||
|
||||
"%SUBWCREV%" . "src\Properties\AssemblyInfo.cs.in" "src\Properties\AssemblyInfo.cs" -f
|
||||
"src\UpdateAssemblyDescription\bin\Release\UpdateAssemblyDescription.exe" "src\Properties\AssemblyInfo.cs.template" "src\Properties\AssemblyInfo.cs"
|
||||
IF %ERRORLEVEL% NEQ 0 GOTO SubError
|
||||
|
||||
|
||||
@ -16,17 +12,6 @@ POPD
|
||||
ENDLOCAL
|
||||
EXIT /B
|
||||
|
||||
|
||||
:SubNoSubWCRev
|
||||
ECHO. & ECHO SubWCRev, which is part of TortoiseSVN, wasn't found!
|
||||
ECHO You should (re)install TortoiseSVN.
|
||||
GOTO SubCommon
|
||||
|
||||
:SubError
|
||||
ECHO Something went wrong when generating the revision number.
|
||||
|
||||
:SubCommon
|
||||
ECHO I'll use VERSION_REV=0 for now.
|
||||
|
||||
TYPE "src\Properties\AssemblyInfo.cs.template" > "src\Properties\AssemblyInfo.cs"
|
||||
GOTO END
|
||||
EXIT /B
|
||||
|
Loading…
Reference in New Issue
Block a user