프로젝트

일반

사용자정보

개정판 73a686e6

ID73a686e6ab93d97c7296eb640b0bf5261f08c354
상위 bf23daa3
하위 74aa670a

김태성이(가) 일년 이상 전에 추가함

issue #000000 x64로 변경

차이점 보기:

ID2.Manager/ID2.Manager.Common/ID2.Manager.Common.csproj
31 31
    <ErrorReport>prompt</ErrorReport>
32 32
    <WarningLevel>4</WarningLevel>
33 33
  </PropertyGroup>
34
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
35
    <DebugSymbols>true</DebugSymbols>
36
    <OutputPath>bin\x64\Debug\</OutputPath>
37
    <DefineConstants>DEBUG;TRACE</DefineConstants>
38
    <DebugType>full</DebugType>
39
    <PlatformTarget>x64</PlatformTarget>
40
    <LangVersion>7.3</LangVersion>
41
    <ErrorReport>prompt</ErrorReport>
42
  </PropertyGroup>
43
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
44
    <OutputPath>bin\x64\Release\</OutputPath>
45
    <DefineConstants>TRACE</DefineConstants>
46
    <Optimize>true</Optimize>
47
    <DebugType>pdbonly</DebugType>
48
    <PlatformTarget>x64</PlatformTarget>
49
    <LangVersion>7.3</LangVersion>
50
    <ErrorReport>prompt</ErrorReport>
51
  </PropertyGroup>
34 52
  <ItemGroup>
35 53
    <Reference Include="System" />
36 54
    <Reference Include="System.Core" />
ID2.Manager/ID2.Manager.Controller/ID2.Manager.Controller.csproj
30 30
    <ErrorReport>prompt</ErrorReport>
31 31
    <WarningLevel>4</WarningLevel>
32 32
  </PropertyGroup>
33
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
34
    <DebugSymbols>true</DebugSymbols>
35
    <OutputPath>bin\x64\Debug\</OutputPath>
36
    <DefineConstants>DEBUG;TRACE</DefineConstants>
37
    <DebugType>full</DebugType>
38
    <PlatformTarget>x64</PlatformTarget>
39
    <LangVersion>7.3</LangVersion>
40
    <ErrorReport>prompt</ErrorReport>
41
  </PropertyGroup>
42
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
43
    <OutputPath>bin\x64\Release\</OutputPath>
44
    <DefineConstants>TRACE</DefineConstants>
45
    <Optimize>true</Optimize>
46
    <DebugType>pdbonly</DebugType>
47
    <PlatformTarget>x64</PlatformTarget>
48
    <LangVersion>7.3</LangVersion>
49
    <ErrorReport>prompt</ErrorReport>
50
  </PropertyGroup>
33 51
  <ItemGroup>
34 52
    <Reference Include="System" />
35 53
    <Reference Include="System.Configuration" />
ID2.Manager/ID2.Manager.Dapper/ID2.Manager.Dapper.csproj
31 31
    <ErrorReport>prompt</ErrorReport>
32 32
    <WarningLevel>4</WarningLevel>
33 33
  </PropertyGroup>
34
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
35
    <DebugSymbols>true</DebugSymbols>
36
    <OutputPath>bin\x64\Debug\</OutputPath>
37
    <DefineConstants>DEBUG;TRACE</DefineConstants>
38
    <DebugType>full</DebugType>
39
    <PlatformTarget>x64</PlatformTarget>
40
    <LangVersion>7.3</LangVersion>
41
    <ErrorReport>prompt</ErrorReport>
42
  </PropertyGroup>
43
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
44
    <OutputPath>bin\x64\Release\</OutputPath>
45
    <DefineConstants>TRACE</DefineConstants>
46
    <Optimize>true</Optimize>
47
    <DebugType>pdbonly</DebugType>
48
    <PlatformTarget>x64</PlatformTarget>
49
    <LangVersion>7.3</LangVersion>
50
    <ErrorReport>prompt</ErrorReport>
51
  </PropertyGroup>
34 52
  <ItemGroup>
35 53
    <Reference Include="System" />
36 54
    <Reference Include="System.ComponentModel.DataAnnotations" />
ID2.Manager/ID2.Manager.Data/ID2.Manager.Data.csproj
31 31
    <ErrorReport>prompt</ErrorReport>
32 32
    <WarningLevel>4</WarningLevel>
33 33
  </PropertyGroup>
34
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
35
    <DebugSymbols>true</DebugSymbols>
36
    <OutputPath>bin\x64\Debug\</OutputPath>
37
    <DefineConstants>DEBUG;TRACE</DefineConstants>
38
    <DebugType>full</DebugType>
39
    <PlatformTarget>x64</PlatformTarget>
40
    <LangVersion>7.3</LangVersion>
41
    <ErrorReport>prompt</ErrorReport>
42
  </PropertyGroup>
43
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
44
    <OutputPath>bin\x64\Release\</OutputPath>
45
    <DefineConstants>TRACE</DefineConstants>
46
    <Optimize>true</Optimize>
47
    <DebugType>pdbonly</DebugType>
48
    <PlatformTarget>x64</PlatformTarget>
49
    <LangVersion>7.3</LangVersion>
50
    <ErrorReport>prompt</ErrorReport>
51
  </PropertyGroup>
34 52
  <ItemGroup>
35 53
    <Reference Include="System" />
36 54
    <Reference Include="System.Core" />
ID2.Manager/ID2.Manager.sln
16 16
Global
17 17
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
18 18
		Debug|Any CPU = Debug|Any CPU
19
		Debug|x64 = Debug|x64
19 20
		Release|Any CPU = Release|Any CPU
21
		Release|x64 = Release|x64
20 22
	EndGlobalSection
21 23
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
22 24
		{226CE2A3-DD88-4C99-A8E6-FAC5A4D78C71}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23 25
		{226CE2A3-DD88-4C99-A8E6-FAC5A4D78C71}.Debug|Any CPU.Build.0 = Debug|Any CPU
26
		{226CE2A3-DD88-4C99-A8E6-FAC5A4D78C71}.Debug|x64.ActiveCfg = Debug|x64
27
		{226CE2A3-DD88-4C99-A8E6-FAC5A4D78C71}.Debug|x64.Build.0 = Debug|x64
24 28
		{226CE2A3-DD88-4C99-A8E6-FAC5A4D78C71}.Release|Any CPU.ActiveCfg = Release|Any CPU
25 29
		{226CE2A3-DD88-4C99-A8E6-FAC5A4D78C71}.Release|Any CPU.Build.0 = Release|Any CPU
30
		{226CE2A3-DD88-4C99-A8E6-FAC5A4D78C71}.Release|x64.ActiveCfg = Release|x64
31
		{226CE2A3-DD88-4C99-A8E6-FAC5A4D78C71}.Release|x64.Build.0 = Release|x64
26 32
		{D5ABDF40-CA97-4B5A-A08C-63D7D53BCA3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27 33
		{D5ABDF40-CA97-4B5A-A08C-63D7D53BCA3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
34
		{D5ABDF40-CA97-4B5A-A08C-63D7D53BCA3A}.Debug|x64.ActiveCfg = Debug|x64
35
		{D5ABDF40-CA97-4B5A-A08C-63D7D53BCA3A}.Debug|x64.Build.0 = Debug|x64
28 36
		{D5ABDF40-CA97-4B5A-A08C-63D7D53BCA3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
29 37
		{D5ABDF40-CA97-4B5A-A08C-63D7D53BCA3A}.Release|Any CPU.Build.0 = Release|Any CPU
38
		{D5ABDF40-CA97-4B5A-A08C-63D7D53BCA3A}.Release|x64.ActiveCfg = Release|x64
39
		{D5ABDF40-CA97-4B5A-A08C-63D7D53BCA3A}.Release|x64.Build.0 = Release|x64
30 40
		{6D22AAA8-D584-43F4-B71C-B32C5C9288ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
31 41
		{6D22AAA8-D584-43F4-B71C-B32C5C9288ED}.Debug|Any CPU.Build.0 = Debug|Any CPU
42
		{6D22AAA8-D584-43F4-B71C-B32C5C9288ED}.Debug|x64.ActiveCfg = Debug|x64
43
		{6D22AAA8-D584-43F4-B71C-B32C5C9288ED}.Debug|x64.Build.0 = Debug|x64
32 44
		{6D22AAA8-D584-43F4-B71C-B32C5C9288ED}.Release|Any CPU.ActiveCfg = Release|Any CPU
33 45
		{6D22AAA8-D584-43F4-B71C-B32C5C9288ED}.Release|Any CPU.Build.0 = Release|Any CPU
46
		{6D22AAA8-D584-43F4-B71C-B32C5C9288ED}.Release|x64.ActiveCfg = Release|x64
47
		{6D22AAA8-D584-43F4-B71C-B32C5C9288ED}.Release|x64.Build.0 = Release|x64
34 48
		{B17C0800-40F4-40E2-B5A6-D366D9C2E0F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
35 49
		{B17C0800-40F4-40E2-B5A6-D366D9C2E0F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
50
		{B17C0800-40F4-40E2-B5A6-D366D9C2E0F6}.Debug|x64.ActiveCfg = Debug|x64
51
		{B17C0800-40F4-40E2-B5A6-D366D9C2E0F6}.Debug|x64.Build.0 = Debug|x64
36 52
		{B17C0800-40F4-40E2-B5A6-D366D9C2E0F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
37 53
		{B17C0800-40F4-40E2-B5A6-D366D9C2E0F6}.Release|Any CPU.Build.0 = Release|Any CPU
54
		{B17C0800-40F4-40E2-B5A6-D366D9C2E0F6}.Release|x64.ActiveCfg = Release|x64
55
		{B17C0800-40F4-40E2-B5A6-D366D9C2E0F6}.Release|x64.Build.0 = Release|x64
38 56
		{83DACC10-43B1-4E38-ABEF-E5EF9492A82D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
39 57
		{83DACC10-43B1-4E38-ABEF-E5EF9492A82D}.Debug|Any CPU.Build.0 = Debug|Any CPU
58
		{83DACC10-43B1-4E38-ABEF-E5EF9492A82D}.Debug|x64.ActiveCfg = Debug|x64
59
		{83DACC10-43B1-4E38-ABEF-E5EF9492A82D}.Debug|x64.Build.0 = Debug|x64
40 60
		{83DACC10-43B1-4E38-ABEF-E5EF9492A82D}.Release|Any CPU.ActiveCfg = Release|Any CPU
41 61
		{83DACC10-43B1-4E38-ABEF-E5EF9492A82D}.Release|Any CPU.Build.0 = Release|Any CPU
62
		{83DACC10-43B1-4E38-ABEF-E5EF9492A82D}.Release|x64.ActiveCfg = Release|x64
63
		{83DACC10-43B1-4E38-ABEF-E5EF9492A82D}.Release|x64.Build.0 = Release|x64
42 64
	EndGlobalSection
43 65
	GlobalSection(SolutionProperties) = preSolution
44 66
		HideSolutionNode = FALSE
ID2.Manager/ID2.Manager/Classes/MarkusUriCreate.cs
1 1
using Newtonsoft.Json;
2 2
using System;
3 3
using System.Collections.Generic;
4
using System.Diagnostics;
4 5
using System.Linq;
6
using System.Reflection;
5 7
using System.Text;
6 8
using System.Threading.Tasks;
7 9

  
8 10
namespace ID2.Manager.Classes
9 11
{
10
    public static class MarkusUriCreate
12
    public static class MarkusHelper
11 13
    {
12
        public static string Get(string ProjectNo,string Name,string userID)
14
        private static string PROCESS_START_PATH = System.IO.Path.Combine(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),"Markus");
15
        private static string PROCESS_FILE_NAME = System.IO.Path.Combine(PROCESS_START_PATH, "kcom.exe");
16

  
17
        public static bool Start(string ProjectNo,string Name,string userID,bool isDebug = false)
13 18
        {
14
             return "kcom://" + CreateMarkusParam(ProjectNo, Name,userID,false, false,true);
19
            bool result = false;
20

  
21
            try
22
            {
23
                var args = CreateMarkusParam(ProjectNo, Name, userID, false, false, true);
24

  
25
                Process DownloadProcess = new Process();
26

  
27
                ProcessStartInfo startInfo = new ProcessStartInfo
28
                {
29
                    UseShellExecute = isDebug,
30
                    FileName = PROCESS_FILE_NAME,
31
                    WorkingDirectory = PROCESS_START_PATH,
32
                    WindowStyle = (isDebug) ? ProcessWindowStyle.Normal : ProcessWindowStyle.Hidden,
33
                    CreateNoWindow = true,
34
                    ErrorDialog = false,
35
                    Verb = "runas",
36
                    RedirectStandardInput = false,
37
                    RedirectStandardError = false,
38
                    Arguments = args
39
                };
40

  
41
                DownloadProcess.StartInfo = startInfo;
42
                DownloadProcess.EnableRaisingEvents = false;
43

  
44
               result = DownloadProcess.Start();
45
            }
46
            catch (Exception)
47
            {
48
                throw new Exception("Markus start Error");
49
            }
50

  
51
            return result;
15 52
        }
16 53

  
17 54
        public static string CreateMarkusParam(string projectNo, string documentID, string userID, bool partner, bool createfinal, bool newcomment)
ID2.Manager/ID2.Manager/ID2.Manager.csproj
15 15
    <Deterministic>true</Deterministic>
16 16
  </PropertyGroup>
17 17
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18
    <PlatformTarget>AnyCPU</PlatformTarget>
18
    <PlatformTarget>x64</PlatformTarget>
19 19
    <DebugSymbols>true</DebugSymbols>
20 20
    <DebugType>full</DebugType>
21 21
    <Optimize>false</Optimize>
......
33 33
    <ErrorReport>prompt</ErrorReport>
34 34
    <WarningLevel>4</WarningLevel>
35 35
  </PropertyGroup>
36
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
37
    <DebugSymbols>true</DebugSymbols>
38
    <OutputPath>bin\x64\Debug\</OutputPath>
39
    <DefineConstants>DEBUG;TRACE</DefineConstants>
40
    <DebugType>full</DebugType>
41
    <PlatformTarget>x64</PlatformTarget>
42
    <LangVersion>7.3</LangVersion>
43
    <ErrorReport>prompt</ErrorReport>
44
    <Prefer32Bit>true</Prefer32Bit>
45
  </PropertyGroup>
46
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
47
    <OutputPath>bin\x64\Release\</OutputPath>
48
    <DefineConstants>TRACE</DefineConstants>
49
    <Optimize>true</Optimize>
50
    <DebugType>pdbonly</DebugType>
51
    <PlatformTarget>x64</PlatformTarget>
52
    <LangVersion>7.3</LangVersion>
53
    <ErrorReport>prompt</ErrorReport>
54
    <Prefer32Bit>true</Prefer32Bit>
55
  </PropertyGroup>
36 56
  <ItemGroup>
37 57
    <Reference Include="System" />
38 58
    <Reference Include="System.Core" />
ID2.Manager/ID2.Manager/Main.cs
24 24
using GemBox.Spreadsheet;
25 25

  
26 26
using Newtonsoft.Json;
27
using System.Diagnostics;
27 28

  
28 29
namespace ID2.Manager
29 30
{
......
182 183
                        {
183 184
                            if (!string.IsNullOrWhiteSpace(doc.Place) && !string.IsNullOrWhiteSpace(doc.DocumentNo) && !string.IsNullOrWhiteSpace(doc.PersonInCharge))
184 185
                            {
185
                                MarkusUriCreate.Get(doc.Place, doc.DocumentNo, doc.PersonInCharge);
186
                                bool result = MarkusHelper.Start(doc.Place, doc.DocumentNo, doc.PersonInCharge);
186 187
                            }
187 188
                        }
188 189

  

내보내기 Unified diff

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