Monday, December 23, 2019
How to Update Nuget
Run command on Power Shell as admin:
nuget update -self
Source: https://docs.microsoft.com/en-us/nuget/reference/cli-reference/cli-ref-update
nuget update -self
Source: https://docs.microsoft.com/en-us/nuget/reference/cli-reference/cli-ref-update
Saturday, December 14, 2019
Thursday, November 7, 2019
Sunday, November 3, 2019
How to run SonarCube for C#
How to install SonarCube:
https://docs.sonarqube.org/latest/setup/get-started-2-minutes/
(I had a problem with Elastic Search. The error was about privileges, but in fact it was just because the disk partition it was running on was +95% occupied. I just deleted some stuff and it worked.)
How to install MSBuild for .NET Framework or .NET Core:
https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/#header-2
How to run the scan:
https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/#header-3
https://docs.sonarqube.org/latest/setup/get-started-2-minutes/
(I had a problem with Elastic Search. The error was about privileges, but in fact it was just because the disk partition it was running on was +95% occupied. I just deleted some stuff and it worked.)
How to install MSBuild for .NET Framework or .NET Core:
https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/#header-2
How to run the scan:
https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/#header-3
Thursday, October 31, 2019
How to compile c# .net for linux
Example command to run from projects folder:
dotnet.exe build --runtime ubuntu.18.04-x64 --configuration Release
Sources:
https://stackoverflow.com/questions/41533592/how-to-compile-net-core-app-for-linux-on-a-windows-machine
https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-build
dotnet.exe build --runtime ubuntu.18.04-x64 --configuration Release
Sources:
https://stackoverflow.com/questions/41533592/how-to-compile-net-core-app-for-linux-on-a-windows-machine
https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-build
Saturday, October 26, 2019
Monday, September 23, 2019
How to work with pip
Short example at the beginning of this video: https://www.youtube.com/watch?v=N5vscPTWKOk&t=183s
Friday, September 20, 2019
Visual Studio Preferences
Plugins:
Select Next Occurence (deprecated)OpenInVisualStudioCode (deprecated)
ProductivityPowerPack2017/219 (deprecated)
btVisualStudioExtensions
Follow Active File in Solution Explorer
Adds Advanced Save Options to menu
Adds New Line For Bracket
Disable File Preview Mode
Camel Hump
Resharper
Configs (Tools > Options):
Text Editor > C# > Code Style > Formatting > New Lines:- Uncheck all of them but "new line options for expressions"
Others:
Check if Projects are being Builthttp://lucastipss.blogspot.com/2019/12/how-to-run-visual-studio-vs-as-admin.html
Thursday, September 12, 2019
Sublime Case Convertion Plugin
ctrl+shift+p and install through package manager the Case Convertion Plugin.
Monday, September 2, 2019
Thursday, July 11, 2019
Wednesday, July 10, 2019
How to burn Windows 10 bootable on USB
Use Rufus (https://rufus.ie/)
Reference:
https://www.windowscentral.com/how-create-windows-10-usb-bootable-media-uefi-support
Reference:
https://www.windowscentral.com/how-create-windows-10-usb-bootable-media-uefi-support
Monday, July 8, 2019
Wednesday, May 1, 2019
NetBeans 10 project error "maven java EE support missing"
If trying to solve the problem on the interface doesn't work because it couldn't find the missing components, you should go to "Tools > Plugins > Settings" and check "NetBeans 8.2 Plugin Portal".
Try to solve the project's problem again. It should work now.
Try to solve the project's problem again. It should work now.
Monday, April 22, 2019
How to configure Github SSH Key on windows
I followed below in windows (With Git for Windows installed)
- Run "Git Gui" (Start --> Git --> Git Gui)
- Click Help and then Show SSH Key
- Click Generate Key if you do not have one already
Note:- this creates the key files under your personal profile folder C:\Users\YourUserID\.ssh\
source: https://stackoverflow.com/questions/11771378/ssh-keygen-is-not-recognized-as-an-internal-or-external-command
Tuesday, April 16, 2019
Monday, April 1, 2019
How to install Java JDK and Netbeans 10 on Windows 10
Enviroment with Java OpenJDK and Netbeans on windows 10
- Install RedHatJava OpenJDK .msi installer on https://developers.redhat.com/products/openjdk/download/.
- Use the installer to install Java
- Download Netbeans from https://netbeans.apache.org/download/nb100/nb100.html
- Move Netbeans to C:\Program Files
- Try executing Netbeans on netbeans\bin
- You can create a shortcut from your Netbeans executable file to the home screen.
- All ready.
Subscribe to:
Posts (Atom)