ExcelDna launch in Visual Studio Express

ZMOT ME·2021년 3월 13일
0

역시나 이것도 까먹어서 설정방법 메모를 합니다.

Reference: https://stackoverflow.com/questions/9972579/my-visual-c-sharp-2010-express-without-start-external-program

1. Close the project.
2. Open the project's .csproj.user file in a text editor.
3. Modify to reflect the starting program as shown below.
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
    <StartAction>Program</StartAction>
    <StartProgram>D:\Program Files\Autodesk\AutoCAD 2014\acad.exe</StartProgram>
</PropertyGroup>
</Project>

아래 그림까지만 하면 아래와 같이 표시되고, {name}.csproj.user 가 생긴다.
Project properties - Debug Option

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
    <StartAction>Program</StartAction>
    <StartProgram>Excel.exe</StartProgram>
    <StartWorkingDirectory>
    </StartWorkingDirectory>
    <StartArguments>Launch_OfficePareser.xlsm</StartArguments>
  </PropertyGroup>
</Project>

실행 파일 프로그램이 있다면,

profile
꼼퓨타 포맷해주는 사람, 지켜주지 몬해서 미안해

0개의 댓글