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