C#/WPF
-
[WPF] Install WPFC#/WPF 2024. 4. 18. 16:09
https://www.advancedinstaller.com/deploy-net-wpf-msi-installer.html How to deploy .NET WPF applications using MSI installer In this article, you'll learn how to create an MSI for a .NET WPF application using Visual Studio (VS). Plus, you'll see how to build and install your WPF app. www.advancedinstaller.com
-
[WPF] windows service local application data PathC#/WPF 2024. 4. 18. 14:05
Environment.SpecialFolder.LocalApplicationData App 실행에서랑 Windows Service로 실행 했을 때 로컬 path가 다름. App : C:\Users\iskim\AppData\Local windows Service : C:\Windows\System32\config\systemprofile\AppData\Local https://stackoverflow.com/questions/4247581/net-windows-service-local-application-data-is-different-then-in-normal-app .net windows service local application data is different then in normal app ..
-
[WPF] exe 경로 dll 폴더 분리C#/WPF 2024. 4. 18. 09:04
1. nulastudio.NetBeauty 사용. https://github.com/nulastudio/NetBeauty2 GitHub - nulastudio/NetBeauty2: Move a .NET Framework/.NET Core app runtime components and dependencies into a sub-directory and Move a .NET Framework/.NET Core app runtime components and dependencies into a sub-directory and make it beauty. - nulastudio/NetBeauty2 github.com https://forum.dotnetdev.kr/t/dll/5327/5 지역화 리소스 dll ..
-
[WPF] MutexC#/WPF 2024. 4. 17. 11:25
Mutex mutex = null; private void Duplicate_execution(string mutexName) { try { mutex = new Mutex(false, mutexName); } catch (Exception ex) { MessageBox.Show(ex.Message + "\n\n" + ex.StackTrace + "\n\n" + "Application Exiting…", "Exception thrown"); Application.Current.Shutdown(); } if (!mutex.WaitOne(0, false)) { MessageBox.Show($"{mutexName}Service already started.", "Error", MessageBoxButton.O..
-
-
[WPF] System.Windows.FormsC#/WPF 2024. 4. 9. 11:52
https://stackoverflow.com/questions/72058558/how-can-i-add-system-windows-forms-to-wpf-application-when-adding-via-reference How can I add System.Windows.Forms to WPF application when adding via reference/Depenency doesn't work? Following every guide everywhere: Step 1: Step 2: it works! Huzzah! Except that it doesn't. Instead I get yellow triangles: This project is tiny for now because I only j..
-
[WPF] static MainC#/WPF 2024. 4. 9. 11:36
WPF 는 static Main 자동 생성. 임의 생성 방법. https://stackoverflow.com/questions/2694680/no-main-in-wpf No Main() in WPF? I am a beginner when it comes to programming but I was sure that one of the universal rules was that a program starts with Main(). I do not see one when I create a WPF project. Is Main() simply named stackoverflow.com Class Libary 프로젝트에서 Windows Application으로 실행하려는 경우