Cake is a powerful tool that implements build functionality for various .NET solutions. It can extend your build with custom parameters and values that you want to reference on a CI/CD pipeline or in your metadata. In this article I will demonstrate how to use cake in order to build your .NET solution.
First create a Console App or another .NET solution that you want to build.
For this demonstration I will use the default template that is provided from cake website. You should rename and point to your solution name, in my case the solution is named ConsoleApp1.
The default build script includes three tasks.
The first one cleans output of previous builds.
The second one will build your application
The third will run .net tests.
In the build script provided below, I have provided as configuration Debug. You can change this value on the configuration line.
The problem occur while trying to connect with port 5985 unencrypted on the remote machine. To bypass the problem you could run on PowerShell the below command which allows an unencrypted connection through winrm protocol.
On domain controllers only domain administrator users are allowed to initiate a remote desktop connection and connect successfully. In order to allow normal domain users to connect through RDP perform the below:
run local group policy editor on each domain controller
Go under Windows Settings -> Security Settings -> User Rights Assignment
edit allow log on through Remote Desktop services policy and add a user or group.
The last step is to add the above user or group to remote desktop users group on Active Directory Users and Computers -> Builtin -> Remote Desktop Users
Recently I faced an issue with Microsoft’s WSUS update manager and the console on which clients are reporting. In more detail although clients were able to connect and communicate with WSUS server, they could not be registered on the console.
I tried many workarounds that I found online but non of them worked. By troubleshooting further I was able to detect the issue.
First things first, when you deal with such an issue try ping in order to verify network connectivity and also