C#
-
[WPF] WPF Unity 연동C#/WPF 2024. 11. 8. 10:38
https://www.sysnet.pe.kr/2/0/13584 개발 환경 구성: 708. Unity3D - C# Windows Forms / WPF Application에 통합하는 방법글쓴 사람 정성태 (techsharer at outlook.com) 홈페이지 첨부 파일 부모글 보이기/감추기 (시리즈 글이 3개 있습니다.) 개발 환경 구성: 707. 빌드한 Unity3D 프로그램을 C++ Windows Application에 통합하는 방법 ;www.sysnet.pe.kr https://www.sysnet.pe.kr/2/0/13588 닷넷: 2232. C# - Unity + 닷넷 App(WinForms/WPF) 간의 Named Pipe 통신닷넷: 2232. C# - Unity + 닷넷 App(WinFo..
-
[WPF] WPF .exe App HostingC#/WPF 2024. 11. 6. 10:05
https://benstagram.tistory.com/117 [WPF] Application Hostingusing System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Dabenstagram.tistory.com https://stackoverflow.com/questions/4135891/hosting-wpf-ap..
-
[WPF] Build 시 폴더 OutDir 복사C#/WPF 2024. 10. 29. 14:49
..\Executes 폴더 안의 폴더를 실행 파일 폴더의 Executes 폴더로 복사 https://github.com/dotnet/msbuild/issues/2795 Allow CopyToOutputDirectory to have a custom destination path · Issue #2795 · dotnet/msbuildThe destination of CopyToOutputDirectory attribute in msbuild is fixed, there are various questions about how to change the destination path: https://stackoverflow.com/questions/10204370/can-i-spec...githu..
-
[WPF] PropertyGroupC#/WPF 2024. 10. 28. 08:22
EX) false false $(OutputPath)\debug EX) AnyCPU true full false bin\Debug\ DEBUG;TRACE prompt 4 AnyCPU pdbonly true bin\Release\ TRACE prompt 4 https://learn.microsoft.com/ko-kr/visualstudio/msbuild/propertygroup-element-msbuild?view=vs-2022 PropertyGroup 요소(MSBuild) - MSBuild사용자 정의 속성 요소 집합을 포함하는 MSBuild PropertyGroup 요소에 대해 알아봅니다.learn.microsoft.com https://aakinshin.ne..
-
[WPF] Get Solution DirectoryC#/WPF 2024. 10. 17. 15:45
public static class VisualStudioProvider{ public static DirectoryInfo TryGetSolutionDirectoryInfo(string currentPath = null) { var directory = new DirectoryInfo( currentPath ?? Directory.GetCurrentDirectory()); while (directory != null && !directory.GetFiles("*.sln").Any()) { directory = directory.Parent; } return directory; }} /..
-
[WPF] Call Async MethodC#/WPF 2024. 10. 4. 11:09
await 하려는 함수는 async 여야 함.await 쓰는 함수는 async 여야 함. private async Task SendOfflineException() { await SendOfflineExceptionsIfOnline(); } private static async Task SendOfflineExceptionsIfOnline() { } async 함수 호출. Task.Run(SendOfflineExceptionsIfOnline); https://stackoverflow.com/questions/59015854/what-is-the-best-patter-to-call-async-methods-after-app-start-fireforget-in-c What ..