Posts

Showing posts with the label Github

Donate

Visual Studio 2022 Create A New GitHub Repository Not Authenticating GitHub Account (Re-enter your credentials)

Image
Hello, I encountered this issue lately wherein after I updated my Visual Studio 2022 IDE to it's latest version, I am unable to autheticate my GitHub account when creating a new GitHub repository. It just keeps showing Re-enter your credentials even if I have successfully logged-in to my GitHub account. After several unsuccessful attempts of re-entering my GitHub credentials, I finally solved it by removing and adding again my GitHub account in Visual Studio and then logged-in again. After that the Owner dropdown shows that I was successfully authenticated by GitHub. Cheers!

GitHub Language Bar Not Showing On Newly Uploaded C# Project Repository

Image
Good day! I published a C# Console project to my GitHub repository few days ago and when checking back on the repository, I noticed that the programming language bar or indicator is missing. Only the updated status is shown as seen from the screenshot below. I did some research and have'nt found a specific answer to my problem. What I did was I opened up my project and noticed that the access modifier of the Program class is internal. internal class Program { static void Main( string [] args) { Console.ReadLine(); } } So, I tried changing the internal access modifier of the class to public and re-published it again. Voila! The language bar or indicator is now visible. public class Program { public static void Main( string [] args) { Console.ReadLine(); } } Cheers!

Visual Studio 2022 Error - There was a problem adding your GitHub account. Your default web browser might be using HSTS for localhost.

Image
Good day! I was about to publish one of my .NET 7 console application to GitHub using Visual Studio 2022. And when adding my account, an error occured which states that "There was a problem adding your GitHub account. Your default web browser might be using HSTS for localhost.". After doing some research, I found this post Disabling HSTS for localhost on Chromium-based browsers which fixed the problem for MS Edge or Google Chrome Browsers. First you need to type in the browser url " about://net-internals/#hsts " command to open the Domain Security Page of your browser where you can clear the HSTS. Under " Delete domain security policies " domain textbox, type in localhost and click the delete button. After that, I have successfully added my GitHub account in Visual Studio 2022 and was able to publish my project. Cheers!

How To Download GitHub Source Code Using Mobile Device

Image
Good day! Given that you have a difficulty downloading a specific source code from github using the mobile device like screenshot below, here's a solution on how to do it using the google chrome mobile browser. First is to click the elipse (3 dots vertically aligned) button beside the url textbox. Scroll down the drop down box and check Desktop Site Once enabled, your browser will show the desktop view of github page and the Code button colored green appears as expected. You may now proceed with downloading the source code. Cheers!

How To Upload And Publish Visual Studio 2012 Project To GitHub

Image
Hello, In this tutorial, I will demonstrate on how to upload and publish a Visual Studio 2012 project to GitHub. Steps 1 and 2 are needed because editions of Visual Studio (2013 and 2015) has built-in extension for Git. So to start with, perform the detailed steps below. 1. Close all instance of Visual Studio. Download and Install Visual Studio 2012 Update 4 (Latest Update) 2. Download and Install Visual Studio Tools for Git. (Search in marketplace.visualstudio.com) 3. Create a sample Repository. (Uncheck Initialize this repository with a README) 4. Copy the url generated by the repository with .git extension. This will be used when you publish the project. 5. Open Sample project to be committed. Right click on the solution and choose Git instead of Team Foundation Version Control. 6. Open Team Explorer via View Menu (View-> Team Explorer). 7. Click Home (Home icon) and then choose Changes. This will open up the project in which you can select files to be Included o

Github Repository (DotNetGenetics)

Hi! Today, I just created a repository account in GitHub .NET Genetics . I'll be adding some snippets and projects posted in this blog or in the .NET Community VBForums. Cheers! :-)

Donate