소리소문 없이... 사랑도 명예도 이름도 남김 없이...
DexCore.net

C# 261

[C#] DLL 포함시켜 단일 EXE로 만들기 #2

프로젝트 파일 설정프로젝트 파일 내에 PropertyGroup에 아래와 같은 항목을 추가한다. WinExe net6.0-windows ... true true win-x64 true PublishSingleFile : 하나의 파일로 게시(Publish)를 사용하도록 설정SelfContained : 앱이 자체 포함대상인지, 프레임워크 종속인지 확인RuntimeIdentifier : 대상으로 하는 OS / CPU 유형 지정IncludeNativeLibrariesForSelfExtract : 코어 런타임 자체의 네이티브 이진 파일 포함하고 하나의 출력 파일을 얻기 위한 속성 ( 코어 런타임 자체의 네이티브 이진 파일은 단일 파일 번들에 기본적으로 포함되지 않음 ) 배..

C# 2026.03.12

C# WinForm - DLL 포함하여 EXE 빌드하기

C# DLL 포함하여 EXE 빌드하기​Newtonsoft.Json.dll 을 예시로 설명드리겠습니다. (다른 DLL도 동일한 방식으로 하면 됩니다.)​1. 프로젝트 -> NuGet 패키지 관리 -> Newtonsoft.Json 설치를 진행합니다.2. 설치를 완료하면 참조그룹 하위에 Newtonsoft.Json이 추가됩니다. 3. 프로젝트를 필드하면 빌드 경로에 Newtonsoft.Json.dll 파일이 exe파일과 함께 생성됩니다.4. 프로젝트 우클릭 -> 추가 -> 기존 항목 메뉴를 실행하여 빌드 경로에 있는 Newtonsoft.Json.dll 파일을 추가해 줍니다. 5. Newtonsoft.Json.dll 속성 -> 빌드 작업 -> 포함 리소스로 변경해 줍니다.6. Newtonsoft.Json 참조 ..

C# 2026.03.12

How to create barcode images from a string with different formats with C# using the barcodelib library in WinForms

Learn how to create different formats of Barcodes with the barcodelib library in C#If you are working with C# and you need to generate one dimensional barcodes, you may know that there are not a lot of open source Barcode Rendering libraries, that's why the barcodelib is one of the most known libraries to achieve this goal in C#, this library created by Brad Barnhill has been released under the ..

C# 2025.04.30

How to run any executable inside the System32 directory of Windows with C# in WinForms

Learn why applications inside the system32 directory cannot be started easily from your WinForms c# based application and how to start them properly.In windows, for some x64 based systems you will face sometimes a weird behaviour when you try to run some executable from your application that is located in the (C:\Windows\system32) directory of Windows, for example with dfrgui.exe, an application..

C# 2025.04.30
728x90
반응형