From 895068f6623effe5e5ef808f8ee2b280ad2b86f5 Mon Sep 17 00:00:00 2001 From: Topsrek Date: Sun, 29 Apr 2018 12:00:06 +0200 Subject: [PATCH] Added build instructions for newbies to Csharp. --- README.md | 11 +++++++++++ ScreensaverForm.cs | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b784a8b..e99b77d 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,14 @@ Display a web page as your screensaver 2. Select "Install" to install, or "Test" to test it out without installing 3. If installing, the Screen Saver Settings dialog will pop up with the correct screen saver selected 4. Use the `Settings...` button in the same dialog to change the web page(s) displayed by the screen saver + +## Build instructions + +0. Have the .NET Framework installed +1. Clone or Download the repository +2. Open a command prompt in the project folder and enter: + +`C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe Web-Page-Screensaver.csproj` + +3. In the folder bin\Debug\ rename Web-Page-Screensaver.exe to Web-Page-Screensaver.scr +4. Right click Web-Page-Screensaver.scr to Test or Install. \ No newline at end of file diff --git a/ScreensaverForm.cs b/ScreensaverForm.cs index 4f63bed..ac8ba06 100644 --- a/ScreensaverForm.cs +++ b/ScreensaverForm.cs @@ -108,7 +108,7 @@ private void BrowseTo(string url) webBrowser.Visible = true; try { - Debug.WriteLine($"Navigating: {url}"); + Debug.WriteLine("Navigating: {url}"); webBrowser.Navigate(url); } catch