In this post, we will see how to resolve How do add the WiXNetFx extension? Question: I am creating an installer. I have a setup project for the same along with a bootstrapper project which consists of all my pre ...
In this post, we will see how to resolve While true or while true with Thread.Sleep in a background service Question: I’m creating a background service that needs to run each x seconds. It has to be in .net Framework ...
In this post, we will see how to resolve Custom Validation.ErrorTemplate is not displayed Question: In a WPF application I am using a template to style the validation tooltip (red tooltip with rounded edges): The template is applied to the ...
In this post, we will see how to resolve WPF Binding to ViewModel from comboBox Selected Item using MVVM Model Question: I am clearly new to WPF and MVVM, but I’m trying to understand and learn as I go. I ...
In this post, we will see how to resolve Build errors appear when using a Cake script, but the code builds fine in Visual Studio 2022 Question: I have a C# solution targeting .NET framework 4.8, it builds fine in ...
In this post, we will see how to resolve problem with adding mysql db in visual studio data sources Question: I’m using following program versions: Visual Studio 2019 16.11.19 MySql 8.0.30 NET connector 8.0.30 MySQL for visual 1.2.10 When trying ...
In this post, we will see how to resolve Why is this ArgumentOutOfRangeException thrown? Question: Problem: System.ArgumentOutOfRangeException: Der TimeSpan-Zeitraum muss kleiner oder gleich “Int32.MaxValue” sein. (value must be smaller or equal “Int32.MaxValue”) Stacktrace: bei System.Windows.Threading.DispatcherTimer.set_Interval(TimeSpan value) bei System.Windows.Controls.PopupControlService.ShowToolTip(DependencyObject o, Boolean ...
In this post, we will see how to resolve login failed for user ‘<token-identified principal>’ when connecting to Azure sql using managed identity locally Question: I have mvc 5 application that is targeting .net framework 4.8. I am trying to ...
Question: I have an AssignApiPollerParameters method which gets Dictionary<string,string> configuration and its ok for my other methods, but I have the method ExtractPollingInterval which returns int. How can I fix this conflict and get it from dictionary or maybe convert ...
Question: I created a .Net 6 class library and now I am trying to create a test project. a .net 6 test project is not available. Online I found the information to use .Net Framework or .Net core in order ...