Monthly Archives: November 2017

Visual Studio “Duplicate ‘Content’ items were included” Fix

Recently migrated a project from one machine to another.  Original machine was running Visual Studio 2015 Professional, and the new machine Visual Studio 2017 Professional.  Once I grabbed the source code from our Git repo I could not longer build the project.  When I tried I received this error within Visual Studio:

“Duplicate ‘Content’ items were included. The .NET SDK includes ‘Content’ items from your project directory by default. You can either remove these items from your project file, or set the ‘EnableDefaultContentItems’ property to ‘false’ if you want to explicitly include them in your project file. For more information, see https://aka.ms/sdkimplicititems. The duplicate items were:”

error

There is an easy fix though!  Shorthand is, just “exclude” then “include” your “wwwroot” directory.  This will make the necessary changes to your project.  I included step by step instructions below.

Step 1: Show all files in Visual Studio

Within in Visual Studio, inside your Solution Explorer tab you’ll want to enable “Show All Files”.  This will help you re-include the “wwwroot” directory later on.

Step1

Step 2: Exclude “wwwroot” folder from your project

Step2

Step 3: Include “wwwroot” folder in your project

Step3

That’s it!  You should be able to re-build your project now.

Advertisements

How To Change TEL: URL Protocol in Windows 10 To Custom App .EXE

Setting up a new softphone (Specifically the Comcast SoftPhone application) on some Windows 10 machines and the “Choose Default App” within Windows 10 was not letting me select a custom .EXE application to open with the tel: URL protocol. I found a work-around buried in the old Control Panel options.

Here is a quick, step by step guide to make changes to the tel: URL protocol in Windows 10.

Step 1: Open the “Set Default Programs” within the Control Panel

On your keyboard press the “Windows Key” and the “R” key at the same time.

Copy and Paste, or type in the following command:
control /name Microsoft.DefaultPrograms /page pageDefaultProgram

Step 2: Select the app you want to open when tel: is clicked.

Select the app you’d like to open the tel: URL’s (in my case it is the Comcast Softphone app, but it could be any app for you).

Step 3: Select TEL and save!

Select the “TEL” (URL:tel) option and then click save.

That is it! You are done! Next time you click a tel: URL it should open with your previously selected app!

Brookstone LED Fan Editor Software

I recently received a Brookstone Message Fan with Floating LED Display as a gift.  It lets users edit the floating text on the fan which displays while it rotates!  Cool!

Unfortunately the fan only comes with a CD for the software, and I did not have a CD drive (hello 2017!).  There is a link on Brookstone’s website that lists a link for the software, but it only contains an executable file when the application itself actually needs a few more references.  When I first opened the software I got an error: “Can’t Load LIB\WxkUSB.dll”.

A quick Google search led me to this YouTube Video “Brookstone fan message Lib Wxkusb.dll File to Install – https://www.youtube.com/watch?v=7GtIcglWmjQ&vl=en“.  That video links to a DropBox URL for the .dll file, but downloading that and trying to run the application I still got an error.

I finally got my hands on a CD drive and extracted the entire software package to edit the LED Fan from Brookstone.  Once I use these files I was able to edit the fan settings in just a few minutes!  I zipped them all up and uploaded them to my Google Drive and shared with everyone.  Hope this helps!

https://drive.google.com/file/d/1bakWV0ylNh5jaEyH9xIfkn5kETVZ4yJM/view?usp=sharing

Advertisements