These tips are for amateurs, who don’t travel regularly. When we started this journey, we had some ideas on what to expect, but there are some details, I wish knew before. If you are a seasoned traveller, you will find some obvious observations, so feel free to skip them. If one person will find it …
Author Archives: Laszlo Pinter
Open and Save panel is unresponsive in macOS
First, I noticed, that Visual Studio is very slow: Later, I noticed, that the open and save panel in every application is very slow or unresponsive. When I quit OneDrive, all problems disappeared. Solution: Restart OneDrive, or if that does not help, quit OneDrive at least for the time you want to use the open …
Continue reading “Open and Save panel is unresponsive in macOS”
Debugging Node.js applications with Visual Studio Code
To enable faster debugging in Visual Studio Code, add the outFiles attribute to the launch.json Add “sourceMap”: true to the tsconfig.json file to create source map files for emitted JavaScript files.
Build a .NET Core C# application on a Linux computer
GitHub Actions usually run on Linux workers. GitHub provides worker configuration recommendations, and those are usually Linux based. To build our .NET Core C# application on a Linux machine Install the dotnet-sdk On MacOS On Ubuntu On Red Hat Build the application Open a terminal in the project’s directory Restore the NuGet packages Build the …
Continue reading “Build a .NET Core C# application on a Linux computer”
TARGETDIR property is ignored during application install
The C# Setup.msi installer can take an argument, TARGETDIR to set the install location of the application. If the application is already installed on the computer, and we try to change the install location without first uninstalling it, the installer ignores the value in the TARGETDIR property. To be able to install the application at …
Continue reading “TARGETDIR property is ignored during application install”
Turn off “If the running task does not end when requested, force it to stop” with PowerShell
Windows scheduled tasks are used to automatically execute processes on a set schedule. To allow a long running process to continue, even if the scheduled task would start it again before the process completion, we need to uncheck the “If the running task does not end when requested, force it to stop” option. When we …
Working with SSIS packages in Visual Studio
To be able to create, edit, and test MSSQL SSIS package solutions in Visual Studio Community edition we need to install the SQL Server Data Tools under Data storage and processing in the list of workloads. Creating SQL Server Integration Services (SSIS) projects SSIS extension download locations Installation See Integration Services (SSIS) Projects and Solutions for more information
RuntimeIdentifier is required for native compilation. Try running dotnet publish with the -r option value specified.
When a C# project moved from an earlier version of Visual Studio to Visual Studio 2022, AOT (Ahead Of Time) publish starts to fail with the error message RuntimeIdentifier is required for native compilation. Try running dotnet publish with the -r option value specified. This is cuased by old settings in the project. To eliminate …
Debug a C# application in Visual Studio with command line arguments
To use command line arguments during debugging in Visual Studio Community Edition we will create project profiles. Create the project profile Select the project profile To debug the application with a specific project profile
Comment2GPT AI extension in Visual Studio for multiple models
Visual Studio Community Edition is a free, popular IDE to develop C# business applications. AI assistance can enhance the development process and do the boilerplate creation. As of writing, the most popular free extension that supports multiple AI models is Comment2GPT by Merry Yellow. Installation For more information visit the Comment2GPT Visual Studio Marketplace page …
Continue reading “Comment2GPT AI extension in Visual Studio for multiple models”