프로젝트

일반

사용자정보

개정판 30878507

ID30878507e1bd157b150049329233f6df13aaacee
상위 752b18ef
하위 9f56088c

김태성이(가) 약 4년 전에 추가함

난독화 빌드 추가

Change-Id: I2f50de6026e92de793771cb18da638bfcdb1b4db

차이점 보기:

KCOM/KCOM.csproj
1 1
<?xml version="1.0" encoding="utf-8"?>
2 2
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
  <Import Project="..\packages\Obfuscar.2.2.23\build\obfuscar.props" Condition="Exists('..\packages\Obfuscar.2.2.23\build\obfuscar.props')" />
3
  <Import Project="..\packages\Obfuscar.2.2.29\build\obfuscar.props" Condition="Exists('..\packages\Obfuscar.2.2.29\build\obfuscar.props')" />
4 4
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
5 5
  <PropertyGroup>
6 6
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
......
1379 1379
    <Resource Include="Resources\Images\MenuImage_New\cloudRectArrowText.png" />
1380 1380
  </ItemGroup>
1381 1381
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
1382
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
1383
    <PropertyGroup>
1384
      <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
1385
    </PropertyGroup>
1386
    <Error Condition="!Exists('..\packages\Obfuscar.2.2.23\build\obfuscar.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Obfuscar.2.2.23\build\obfuscar.props'))" />
1387
  </Target>
1388 1382
  <Target Name="PostBuildMacros">
1389 1383
    <GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
1390 1384
      <Output TaskParameter="Assemblies" ItemName="Targets" />
......
1407 1401
 call "appCast_SNI.bat" "@(VersionNumber)"
1408 1402
 call "appCast_Daelim_test.bat" "@(VersionNumber)"
1409 1403

  
1410
)</PostBuildEvent>
1404
)
1405

  
1406
call $(SolutionDir)obfuscarBuild.Bat $(TargetDir)  $(SolutionDir)obfuscar.xml
1407

  
1408
xcopy /s "$(TargetDir)Obfuscator_Output" "$(TargetDir)" /Y /F</PostBuildEvent>
1411 1409
  </PropertyGroup>
1412 1410
  <UsingTask TaskName="TransformXml" AssemblyFile="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Web\Microsoft.Web.Publishing.Tasks.dll" />
1413 1411
  <Target Name="app_config_AfterCompile" AfterTargets="AfterCompile" Condition="Exists('app.$(Configuration).config')">
......
1473 1471
  <Target Name="app_Release_config_AfterBuild" AfterTargets="AfterBuild" Condition="Exists('app.Release.$(Configuration).config')">
1474 1472
    <TransformXml Source="app.Release.config" Destination="$(OutputPath)app.Release.config" Transform="app.Release.$(Configuration).config" />
1475 1473
  </Target>
1474
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
1475
    <PropertyGroup>
1476
      <ErrorText>이 프로젝트는 이 컴퓨터에 없는 NuGet 패키지를 참조합니다. 해당 패키지를 다운로드하려면 NuGet 패키지 복원을 사용하십시오. 자세한 내용은 http://go.microsoft.com/fwlink/?LinkID=322105를 참조하십시오. 누락된 파일은 {0}입니다.</ErrorText>
1477
    </PropertyGroup>
1478
    <Error Condition="!Exists('..\packages\Obfuscar.2.2.29\build\obfuscar.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Obfuscar.2.2.29\build\obfuscar.props'))" />
1479
  </Target>
1476 1480
</Project>
KCOM/Views/MainMenu.xaml.cs
5163 5163
                        zoomAndPanControl.ContentOffsetY = Sync_Offset_Point.Y;
5164 5164
                    }
5165 5165
                    //}
5166

  
5166
                    
5167 5167
                    tlSyncRev.Text = String.Format("Rev. {0}", CurrentRev.RevNo);
5168 5168
                    tlSyncPageNum.Text = String.Format("Current Page : {0}", pageNavigator.CurrentPage.PageNumber);
5169 5169
                    gridViewHistory_Busy.IsBusy = false;
KCOM/packages.config
7 7
  <package id="Microsoft.CSharp" version="4.5.0" targetFramework="net461" />
8 8
  <package id="Microsoft.Office.Interop.Excel" version="15.0.4795.1000" targetFramework="net40" />
9 9
  <package id="Newtonsoft.Json" version="12.0.3" targetFramework="net461" />
10
  <package id="Obfuscar" version="2.2.23" targetFramework="net45" developmentDependency="true" />
10
  <package id="Obfuscar" version="2.2.29" targetFramework="net461" developmentDependency="true" />
11 11
  <package id="Salaros.ConfigParser" version="0.3.4" targetFramework="net461" />
12 12
  <package id="Svg2Xaml" version="0.3.0.5" targetFramework="net45" />
13 13
  <package id="System.Windows.Interactivity.WPF" version="2.0.20525" targetFramework="net40" />
obfuscarBuild.Bat
1
@ECHO OFF 
2
SETLOCAL
3

  
4
FOR /R .\packages %%G IN (Obfuscar.Console.exe) DO ( 
5
 IF EXIST %%G ( 
6
  SET TOOLPATH=%%G 
7
  GOTO FOUND 
8
  ) 
9
) 
10

  
11
IF '%TOOLPATH%'=='' GOTO NOTFOUND 
12

  
13
:FOUND 
14

  
15
set targetPath=%1
16

  
17
set targetPath=%targetPath:~0,-1%
18
echo %targetPath%
19
cd %targetPath%
20

  
21
echo %*
22
%TOOLPATH% -s %2
23
GOTO :EOF 
24

  
25
:NOTFOUND 
26
ECHO nunit-console not found. 
27
EXIT /B 1

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)