TL;DR - Make sure your tsconfig.json file has the Build Action set to Content
I almost pulling out my hair in frustration, so I decided to dig in deeper to find out why this was happening. First, I ran msbuild with detailed logging. That showed up the following line just before the CompileTypeScript target was run:
Target "PreComputeCompileTypeScriptWithTSConfig" skipped, due to false condition; ('@(ConfigFiles)' != '') was evaluated as ('' != '').
A bit more digging led me to
packages\Microsoft.TypeScript.MSBuild.2.3.1\tools\net45\Microsoft.TypeScript.targets– This defines that
PreComputeCompileTypeScriptWithTSConfigtarget which is looking for
@(ConfigFiles), which in turn is set in target
FindConfigFiles. That target calls the
FindConfigFilestask that is in TypeScript.Tasks.dll.
Firing up JetBrains dotPeek to reflect on the code for FindConfigTasks shows that it uses the
ContentFilesproperty to look for existing tsconfig.json files, and that property is set to
@(Content)in the targets file.
Jumping back to my project, I notice this:
Ah haa! Let’s set that Build Action to Content and try again.. Yes! Building the project shows
tsc.exebeing passed the
--projectparameter pointing to the tsconfig.json file!
Well this happened!
Yes, my talk “Life is like a Box of Chocolate(y)” was accepted for NDC Sydney!
I’ll be speaking about using Chocolatey and BoxStarter as a way of scripting out the configuration of your developer workstation. You might think of these as more “IT” tools, but I want to show developers how easy they are to use.
Last year I attended NDC as a volunteer crew member and afterwards said that “this is THE developer event in Australia”.
I hope to see you there!
One in a series of posts on Facebook Security and Privacy
First off, don’t panic! Unless you have a really poor password, it’s unlikely that you have been hacked. Instead an annoying person has just created a new Facebook account, copied your profile picture and name, and is presumably now going through your friend list asking to become friends, and confusing all your friends who thought you were already their friend.
What can you do?
Use the Facebook “Report” function to ask Facebook to delete the fake account.
- Open the fake profile page (Just click on the name)
- Click on the ‘…’ button (to the right of the Message button), then click Report.
- Select Report this profile and click Continue
- Select They’re pretending to be me or someone I know and click Continue
- Select Me and click Continue
- Select Submit to Facebook for Review
- Usually within a matter of hours, someone at Facebook will review the details and shut down the offending account.
How can you reduce the risk of this happening?
Review your Facebook privacy and sharing settings to stop non-friends from seeing your friends list and your profile photo.
Enable Two Factor Authentication to reduce the risk of your actual Facebook account being really compromised.