Skip to content

Commit

Permalink
*updated AntiDupl.NET.csproj.
Browse files Browse the repository at this point in the history
  • Loading branch information
ermig1979 committed Jan 4, 2018
1 parent cbd2958 commit ebf96c4
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 24 deletions.
3 changes: 2 additions & 1 deletion src/AntiDupl/AntiDupl.NET/AntiDupl.NET.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0">
<Import Project="$(SolutionDir)\..\Prop.csproj" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand Down
19 changes: 5 additions & 14 deletions src/AntiDupl/AntiDupl.NET/External.cmd
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
@echo off

echo Try to estimate SVN revision:
echo Generate External.cs file:

set PROJECT_DIR=%1

set SUBWCREV_EXE=SubWCRev.exe
set TRUNK_DIR=%PROJECT_DIR%\..\..\..
set SOLUTION_DIR=%TRUNK_DIR%\src\AntiDupl
set ROOT_DIR=%PROJECT_DIR%\..\..\..
set SOLUTION_DIR=%ROOT_DIR%\src\AntiDupl
set EXTERNAL_FILE=%PROJECT_DIR%\External.cs
set VERSION_FILE=%SOLUTION_DIR%\version.txt

for %%X in (%SUBWCREV_EXE%) do (set SUBWCREV_EXE_FOUND=%%~$PATH:X)
if not defined SUBWCREV_EXE_FOUND (
echo Execution file "%SUBWCREV_EXE%" is not found!
exit 0
)

if not exist %VERSION_FILE% (
echo Can't find "%VERSION_FILE%" file!
exit 0
Expand All @@ -27,7 +20,7 @@ for /f "delims=" %%i in ('type %VERSION_FILE%') do set VERSION=%%i
echo /*>%EXTERNAL_FILE%
echo * AntiDupl.NET Program.>>%EXTERNAL_FILE%
echo *>>%EXTERNAL_FILE%
echo * Copyright (c) 2002-2015 Yermalayeu Ihar.>>%EXTERNAL_FILE%
echo * Copyright (c) 2002-2018 Yermalayeu Ihar.>>%EXTERNAL_FILE%
echo *>>%EXTERNAL_FILE%
echo * Permission is hereby granted, free of charge, to any person obtaining a copy>>%EXTERNAL_FILE%
echo * of this software and associated documentation files (the "Software"), to deal>>%EXTERNAL_FILE%
Expand Down Expand Up @@ -59,11 +52,9 @@ echo namespace AntiDupl.NET>>%EXTERNAL_FILE%
echo {>>%EXTERNAL_FILE%
echo static public class External>>%EXTERNAL_FILE%
echo {>>%EXTERNAL_FILE%
echo public const string Version = "%VERSION%.$WCREV$";>>%EXTERNAL_FILE%
echo public const string Version = "%VERSION%";>>%EXTERNAL_FILE%
echo }>>%EXTERNAL_FILE%
echo }>>%EXTERNAL_FILE%
echo.>>%EXTERNAL_FILE%

%SUBWCREV_EXE% %TRUNK_DIR% %EXTERNAL_FILE% %EXTERNAL_FILE%
if ERRORLEVEL 1 exit 0

6 changes: 3 additions & 3 deletions src/AntiDupl/AntiDupl.NET/StringsDefaultEnglish.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* AntiDupl.NET Program.
*
* Copyright (c) 2002-2015 Yermalayeu Ihar, 2013-2015 Borisov Dmitry.
* Copyright (c) 2002-2018 Yermalayeu Ihar, 2013-2018 Borisov Dmitry.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -43,8 +43,8 @@ static public void CopyTo(Strings s)

s.WarningMessage_ChangeFileExtension = "Do you really want to change file extension?";

s.AboutProgramPanel_CopyrightLabel0_Text = "Copyright (c) 2002-2015 Yermalayeu Ihar, ";
s.AboutProgramPanel_CopyrightLabel1_Text = "2013-2015 Borisov Dmitry.";
s.AboutProgramPanel_CopyrightLabel0_Text = "Copyright (c) 2002-2018 Yermalayeu Ihar, ";
s.AboutProgramPanel_CopyrightLabel1_Text = "2013-2018 Borisov Dmitry.";
s.AboutProgramPanel_ComponentLabel_Text = "Component";
s.AboutProgramPanel_VersionLabel_Text = "Version";

Expand Down
6 changes: 3 additions & 3 deletions src/AntiDupl/AntiDupl.NET/StringsDefaultRussian.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* AntiDupl.NET Program.
*
* Copyright (c) 2002-2015 Yermalayeu Ihar, 2013-2015 Borisov Dmitry.
* Copyright (c) 2002-2018 Yermalayeu Ihar, 2013-2018 Borisov Dmitry.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -43,8 +43,8 @@ static public void CopyTo(Strings s)

s.WarningMessage_ChangeFileExtension = "Âû äåéñòâèòåëüíî õîòèòå èçìåíèòü ðàñøèðåíèå ôàéëà?";

s.AboutProgramPanel_CopyrightLabel0_Text = "Copyright (c) 2002-2015 Åðìîëàåâ Èãîðü,";
s.AboutProgramPanel_CopyrightLabel1_Text = "2013-2015 Áîðèñîâ Äìèòðèé.";
s.AboutProgramPanel_CopyrightLabel0_Text = "Copyright (c) 2002-2018 Åðìîëàåâ Èãîðü,";
s.AboutProgramPanel_CopyrightLabel1_Text = "2013-2018 Áîðèñîâ Äìèòðèé.";
s.AboutProgramPanel_ComponentLabel_Text = "Êîìïîíåíò";
s.AboutProgramPanel_VersionLabel_Text = "Âåðñèÿ";

Expand Down
37 changes: 37 additions & 0 deletions src/AntiDupl/AntiDupl.sln
Original file line number Diff line number Diff line change
Expand Up @@ -29,76 +29,112 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AntiDupl32", "AntiDupl\Anti
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AntiDupl64", "AntiDupl\AntiDupl64.vcxproj", "{064909D6-CA38-45EA-ABC8-9DF202E600C9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AntiDupl.NET", "AntiDupl.NET\AntiDupl.NET.csproj", "{394E0C8E-33D5-44B5-8056-5AD2B1C3C56A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1622C4EF-06A4-4DAA-9631-5D71B32858A2}.Debug|Any CPU.ActiveCfg = Debug|Win32
{1622C4EF-06A4-4DAA-9631-5D71B32858A2}.Debug|x64.ActiveCfg = Debug|Win32
{1622C4EF-06A4-4DAA-9631-5D71B32858A2}.Debug|x86.ActiveCfg = Debug|Win32
{1622C4EF-06A4-4DAA-9631-5D71B32858A2}.Debug|x86.Build.0 = Debug|Win32
{1622C4EF-06A4-4DAA-9631-5D71B32858A2}.Release|Any CPU.ActiveCfg = Release|Win32
{1622C4EF-06A4-4DAA-9631-5D71B32858A2}.Release|x64.ActiveCfg = Release|Win32
{1622C4EF-06A4-4DAA-9631-5D71B32858A2}.Release|x86.ActiveCfg = Release|Win32
{1622C4EF-06A4-4DAA-9631-5D71B32858A2}.Release|x86.Build.0 = Release|Win32
{1622C4EF-06A4-4DAA-9631-5D71B32858A3}.Debug|Any CPU.ActiveCfg = Debug|x64
{1622C4EF-06A4-4DAA-9631-5D71B32858A3}.Debug|x64.ActiveCfg = Debug|x64
{1622C4EF-06A4-4DAA-9631-5D71B32858A3}.Debug|x64.Build.0 = Debug|x64
{1622C4EF-06A4-4DAA-9631-5D71B32858A3}.Debug|x86.ActiveCfg = Debug|x64
{1622C4EF-06A4-4DAA-9631-5D71B32858A3}.Debug|x86.Build.0 = Debug|x64
{1622C4EF-06A4-4DAA-9631-5D71B32858A3}.Release|Any CPU.ActiveCfg = Release|x64
{1622C4EF-06A4-4DAA-9631-5D71B32858A3}.Release|x64.ActiveCfg = Release|x64
{1622C4EF-06A4-4DAA-9631-5D71B32858A3}.Release|x64.Build.0 = Release|x64
{1622C4EF-06A4-4DAA-9631-5D71B32858A3}.Release|x86.ActiveCfg = Release|x64
{1622C4EF-06A4-4DAA-9631-5D71B32858A3}.Release|x86.Build.0 = Release|x64
{1622C4EF-06A4-4DAA-9631-5D71B32858A4}.Debug|Any CPU.ActiveCfg = Debug|Win32
{1622C4EF-06A4-4DAA-9631-5D71B32858A4}.Debug|x64.ActiveCfg = Debug|Win32
{1622C4EF-06A4-4DAA-9631-5D71B32858A4}.Debug|x86.ActiveCfg = Debug|Win32
{1622C4EF-06A4-4DAA-9631-5D71B32858A4}.Debug|x86.Build.0 = Debug|Win32
{1622C4EF-06A4-4DAA-9631-5D71B32858A4}.Release|Any CPU.ActiveCfg = Release|Win32
{1622C4EF-06A4-4DAA-9631-5D71B32858A4}.Release|x64.ActiveCfg = Release|Win32
{1622C4EF-06A4-4DAA-9631-5D71B32858A4}.Release|x86.ActiveCfg = Release|Win32
{1622C4EF-06A4-4DAA-9631-5D71B32858A4}.Release|x86.Build.0 = Release|Win32
{B6080B9D-6F8C-417C-AF11-9853C47BA665}.Debug|Any CPU.ActiveCfg = Debug|x64
{B6080B9D-6F8C-417C-AF11-9853C47BA665}.Debug|x64.ActiveCfg = Debug|x64
{B6080B9D-6F8C-417C-AF11-9853C47BA665}.Debug|x64.Build.0 = Debug|x64
{B6080B9D-6F8C-417C-AF11-9853C47BA665}.Debug|x86.ActiveCfg = Debug|x64
{B6080B9D-6F8C-417C-AF11-9853C47BA665}.Release|Any CPU.ActiveCfg = Release|x64
{B6080B9D-6F8C-417C-AF11-9853C47BA665}.Release|x64.ActiveCfg = Release|x64
{B6080B9D-6F8C-417C-AF11-9853C47BA665}.Release|x64.Build.0 = Release|x64
{B6080B9D-6F8C-417C-AF11-9853C47BA665}.Release|x86.ActiveCfg = Release|x64
{1B11B527-4299-4551-8D47-6FD6191BCF48}.Debug|Any CPU.ActiveCfg = Debug|Win32
{1B11B527-4299-4551-8D47-6FD6191BCF48}.Debug|x64.ActiveCfg = Debug|Win32
{1B11B527-4299-4551-8D47-6FD6191BCF48}.Debug|x86.ActiveCfg = Debug|Win32
{1B11B527-4299-4551-8D47-6FD6191BCF48}.Debug|x86.Build.0 = Debug|Win32
{1B11B527-4299-4551-8D47-6FD6191BCF48}.Release|Any CPU.ActiveCfg = Release|Win32
{1B11B527-4299-4551-8D47-6FD6191BCF48}.Release|x64.ActiveCfg = Release|Win32
{1B11B527-4299-4551-8D47-6FD6191BCF48}.Release|x86.ActiveCfg = Release|Win32
{1B11B527-4299-4551-8D47-6FD6191BCF48}.Release|x86.Build.0 = Release|Win32
{6837F395-46E9-4E87-8637-8F75C26D4608}.Debug|Any CPU.ActiveCfg = Debug|x64
{6837F395-46E9-4E87-8637-8F75C26D4608}.Debug|x64.ActiveCfg = Debug|x64
{6837F395-46E9-4E87-8637-8F75C26D4608}.Debug|x64.Build.0 = Debug|x64
{6837F395-46E9-4E87-8637-8F75C26D4608}.Debug|x86.ActiveCfg = Debug|x64
{6837F395-46E9-4E87-8637-8F75C26D4608}.Release|Any CPU.ActiveCfg = Release|x64
{6837F395-46E9-4E87-8637-8F75C26D4608}.Release|x64.ActiveCfg = Release|x64
{6837F395-46E9-4E87-8637-8F75C26D4608}.Release|x64.Build.0 = Release|x64
{6837F395-46E9-4E87-8637-8F75C26D4608}.Release|x86.ActiveCfg = Release|x64
{44F4252D-8C3C-4981-B11B-B6008646A4EA}.Debug|Any CPU.ActiveCfg = Debug|Win32
{44F4252D-8C3C-4981-B11B-B6008646A4EA}.Debug|x64.ActiveCfg = Debug|Win32
{44F4252D-8C3C-4981-B11B-B6008646A4EA}.Debug|x86.ActiveCfg = Debug|Win32
{44F4252D-8C3C-4981-B11B-B6008646A4EA}.Debug|x86.Build.0 = Debug|Win32
{44F4252D-8C3C-4981-B11B-B6008646A4EA}.Release|Any CPU.ActiveCfg = Release|Win32
{44F4252D-8C3C-4981-B11B-B6008646A4EA}.Release|x64.ActiveCfg = Release|Win32
{44F4252D-8C3C-4981-B11B-B6008646A4EA}.Release|x86.ActiveCfg = Release|Win32
{44F4252D-8C3C-4981-B11B-B6008646A4EA}.Release|x86.Build.0 = Release|Win32
{F8244CC3-B74E-44EC-AC54-6904561A6D0C}.Debug|Any CPU.ActiveCfg = Debug|x64
{F8244CC3-B74E-44EC-AC54-6904561A6D0C}.Debug|x64.ActiveCfg = Debug|x64
{F8244CC3-B74E-44EC-AC54-6904561A6D0C}.Debug|x64.Build.0 = Debug|x64
{F8244CC3-B74E-44EC-AC54-6904561A6D0C}.Debug|x86.ActiveCfg = Debug|x64
{F8244CC3-B74E-44EC-AC54-6904561A6D0C}.Release|Any CPU.ActiveCfg = Release|x64
{F8244CC3-B74E-44EC-AC54-6904561A6D0C}.Release|x64.ActiveCfg = Release|x64
{F8244CC3-B74E-44EC-AC54-6904561A6D0C}.Release|x64.Build.0 = Release|x64
{F8244CC3-B74E-44EC-AC54-6904561A6D0C}.Release|x86.ActiveCfg = Release|x64
{7C8C9359-ED04-4415-BB91-9947B59BC71E}.Debug|Any CPU.ActiveCfg = Debug|Win32
{7C8C9359-ED04-4415-BB91-9947B59BC71E}.Debug|x64.ActiveCfg = Debug|Win32
{7C8C9359-ED04-4415-BB91-9947B59BC71E}.Debug|x86.ActiveCfg = Debug|Win32
{7C8C9359-ED04-4415-BB91-9947B59BC71E}.Debug|x86.Build.0 = Debug|Win32
{7C8C9359-ED04-4415-BB91-9947B59BC71E}.Release|Any CPU.ActiveCfg = Release|Win32
{7C8C9359-ED04-4415-BB91-9947B59BC71E}.Release|x64.ActiveCfg = Release|Win32
{7C8C9359-ED04-4415-BB91-9947B59BC71E}.Release|x86.ActiveCfg = Release|Win32
{7C8C9359-ED04-4415-BB91-9947B59BC71E}.Release|x86.Build.0 = Release|Win32
{064909D6-CA38-45EA-ABC8-9DF202E600C9}.Debug|Any CPU.ActiveCfg = Debug|x64
{064909D6-CA38-45EA-ABC8-9DF202E600C9}.Debug|x64.ActiveCfg = Debug|x64
{064909D6-CA38-45EA-ABC8-9DF202E600C9}.Debug|x64.Build.0 = Debug|x64
{064909D6-CA38-45EA-ABC8-9DF202E600C9}.Debug|x86.ActiveCfg = Debug|x64
{064909D6-CA38-45EA-ABC8-9DF202E600C9}.Release|Any CPU.ActiveCfg = Release|x64
{064909D6-CA38-45EA-ABC8-9DF202E600C9}.Release|x64.ActiveCfg = Release|x64
{064909D6-CA38-45EA-ABC8-9DF202E600C9}.Release|x64.Build.0 = Release|x64
{064909D6-CA38-45EA-ABC8-9DF202E600C9}.Release|x86.ActiveCfg = Release|x64
{394E0C8E-33D5-44B5-8056-5AD2B1C3C56A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{394E0C8E-33D5-44B5-8056-5AD2B1C3C56A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{394E0C8E-33D5-44B5-8056-5AD2B1C3C56A}.Debug|x64.ActiveCfg = Debug|Any CPU
{394E0C8E-33D5-44B5-8056-5AD2B1C3C56A}.Debug|x64.Build.0 = Debug|Any CPU
{394E0C8E-33D5-44B5-8056-5AD2B1C3C56A}.Debug|x86.ActiveCfg = Debug|Any CPU
{394E0C8E-33D5-44B5-8056-5AD2B1C3C56A}.Debug|x86.Build.0 = Debug|Any CPU
{394E0C8E-33D5-44B5-8056-5AD2B1C3C56A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{394E0C8E-33D5-44B5-8056-5AD2B1C3C56A}.Release|Any CPU.Build.0 = Release|Any CPU
{394E0C8E-33D5-44B5-8056-5AD2B1C3C56A}.Release|x64.ActiveCfg = Release|Any CPU
{394E0C8E-33D5-44B5-8056-5AD2B1C3C56A}.Release|x64.Build.0 = Release|Any CPU
{394E0C8E-33D5-44B5-8056-5AD2B1C3C56A}.Release|x86.ActiveCfg = Release|Any CPU
{394E0C8E-33D5-44B5-8056-5AD2B1C3C56A}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -114,5 +150,6 @@ Global
{F8244CC3-B74E-44EC-AC54-6904561A6D0C} = {9F665747-6A6F-412C-BDB6-09DA776D7BF0}
{7C8C9359-ED04-4415-BB91-9947B59BC71E} = {97926356-D6D6-4B4D-9B17-18688468EF8B}
{064909D6-CA38-45EA-ABC8-9DF202E600C9} = {9F665747-6A6F-412C-BDB6-09DA776D7BF0}
{394E0C8E-33D5-44B5-8056-5AD2B1C3C56A} = {F75878C9-56D7-4344-9DAF-4C09BD154ED1}
EndGlobalSection
EndGlobal
5 changes: 2 additions & 3 deletions src/AntiDupl/AntiDupl/adExternal.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

echo Generate adExternal.h file:

set TRUNK_DIR=..\..\..
set SOLUTION_DIR=%TRUNK_DIR%\src\AntiDupl
set ROOT_DIR=..\..\..
set SOLUTION_DIR=%ROOT_DIR%\src\AntiDupl
set PROJECT_DIR=%SOLUTION_DIR%\AntiDupl
set EXTERNAL_FILE=%PROJECT_DIR%\adExternal.h
set VERSION_FILE=%SOLUTION_DIR%\version.txt
Expand Down Expand Up @@ -55,5 +55,4 @@ echo.>>%EXTERNAL_FILE%
echo #endif//__adExternal_h__>>%EXTERNAL_FILE%
echo.>>%EXTERNAL_FILE%

if ERRORLEVEL 1 exit 0

8 changes: 8 additions & 0 deletions src/Prop.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<OutputPath>$(SolutionDir)\..\..\bin\$(Configuration)</OutputPath>
<BaseIntermediateOutputPath>$(SolutionDir)..\..\obj\$(Configuration)\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<IntermediateOutputPath>$(SolutionDir)..\..\obj\$(Configuration)\$(MSBuildProjectName)</IntermediateOutputPath>
</PropertyGroup>
</Project>

0 comments on commit ebf96c4

Please sign in to comment.