Three Time Microsoft MVP

We are once again pleased to present you with the 2017-2018 Microsoft Most Valuable Professional (MVP) Award! As you know, this award is given to exceptional technical community leaders who share their remarkable passion, real-world knowledge, and technical expertise with others through demonstration of exemplary commitment. We appreciate your outstanding contributions in the Visual Studio and Development Technologies technical communities during the past year.

I’m honored and excited to be awarded the Microsoft MVP award for a third consecutive year! Thank you!

Tim Ferro

SharePoint Fest DC 2016 Info and Discount

I’m excited to be back in the DC metro area for SharePoint Fest DC 2016! Save $200 on a Gold or Platinum pass with my code ‘Ferro200’! If you aren’t already signed up, use my code and enjoy the discount! Hope to see you there. Check out my session info below and come see me at the RDA table during the conference.

Visual Studio for ALM and SharePoint
Thursday 4/28 at 4:20pm in Breakout 5 (Slide Deck)
Visual Studio 2013/2015 is a monumental leap forward for Microsoft development. There are so many useful enhancements and features that each could be their own session. This session will give an overview of the new features then focus on those related to Application Lifecycle Management, Mobile, Team Foundation Server, and SharePoint. From project planning, to deployment automation, to inline enhancements from CodeLens, this session will show developers, team leads, and project managers why Visual Studio 2013/2015 is worth upgrading to immediately!

Rarely do you find a session that attracts both developers and Project Managers, but this is it! Developers come and see all the new enhancements for Visual Studio 2015 and bring your Project Managers to show them how it will increase productivity. Project Managers come see the enhancements for project management and application lifecycle management and bring your developers to show them how to update burn down charts!

Tim Ferro

I’m No Giant, but I Have Shoulders… Microsoft MVP Award

Congratulations! We are pleased to present you with the 2016 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in Visual Studio and Development Technologies technical communities during the past year.

When I received my first MVP Award last year, I was shocked and humbled and thankful for all the help I have received over the years. This quote by Sir Isaac Newton felt most appropriate.

“If I have seen further it is by standing on the shoulders of giants.” – Sir Isaac Newton

The second time around, all of that is still completely true. I am still shocked and humbled and without the support of my family, friends, colleagues, technical communities, and the MVP community, this would not have been possible. If there is any way I can help you in your career, please reach out. I’m no giant, but I have shoulders. Thank you.

Tim Ferro

Cryptographic failure while signing assembly – Unknown error 8013141c

Terrible title, but read the whole thing as this gets interesting.

First, if you are here because you have this error, or more specifically these 2 errors

SGEN Cryptographic failure while signing assembly … Error signing assembly —  Unknown error (8013141c)
SGEN Unable to generate a temporary class (result=1)

then I have a number of options for you to try:

  1. Right click and run Visual Studio as admin
  2. Unmount the project, update the csproj file with some proxy related XML, remount project (this advice found elsewhere doesn’t even compile correctly in Visual Studio 2015 so I wont show the code)
  3. Change the permissions on the “c:\windows\temp” folder to include Everyone
  4. Remove read only from all folder/files related to this project and code
  5. Move all the code to your primary C drive
  6. Uncheck “Sign the Assembly” in the project properties (this works but is not an acceptable fix)

If like me you have been Googling for an answer all day, these are all you will find and none worked for me. Here are the steps that did work.

  1. You need to change security on directory or multiple directories. Most blogs pointed to “C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys” but sometimes that directory structure doesn’t exist. Search your C drive for “MachineKeys” and update each in order starting with “C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys”.
  2. A number of blogs mention to grant read/write permission to Everyone. That is not the best idea. Start with just your user, even if that use is already an Administrator on the machine like mine was. Then set the following permissions:
    • Create files / write data
    • Create folders / append data
    • Write attributes
    • Write extended attributes
    • Delete
  3. Hit apply. Some directories may say “Access Denied” but it still works.
  4. If this fails, grant Full Control to Everyone AND your specific user on all “MachineKeys” folders and recheck BUT DON’T LEAVE IT THIS WAY. If this works, start removing permissions until you figure out what is needed.
  5. Recompile in Debug mode and then Release mode to be sure. My issue only happened in Release mode.

Full credit to this blog for helping me figure this out http://aadhoc.blogspot.com/2010/05/cryptographic-failure-while-signing.html

Second, if you are still reading and wondering why I wrote this post then keep going, it gets interesting.

I wrote this post for 3 main reasons.

  1. Google Index vs Bing Index – I spent about a full work day searching the internet for an answer to this issue using Google. I have been a software developer professionally for almost a dozen years and I have found Google search to be better for most of my queries. The blog that contained the answer above; however, did not show up in any Google query but when I switched to Bing it was on page 2. My blog gets good indexing from Google so I hope this post is picked up for future searches.
  2. PowerShell Help – Even though I had found the answer, I still did not find any useful information on “Unknown error 8013141c”. A much better developer than me showed me this trick in PowerShell.
    PowerShell Tip
    You can see where the error ID was added to the command and a decently useful message is displayed.
  3. My Blog is my reference – Many technical posts I write are for my own benefit and I have gone back to my blog hundreds of times to look something up that I know I solved previously.

I hope this helps. Leave a comment if you found other ways to fix this issue or if you confirm it helped.

Tim Ferro

Visual Studio 2015 Connected Services

Visual Studio 2015 RC Connected Services: Focus on Office 365 APIs and Walkthrough

“The new Add Connected Service dialog in Visual Studio 2015 enables you to easily connect your application to Azure Application InsightsAzure StorageAzure Mobile ServicesOffice 365, and Salesforce.

The Add Connected Service dialog contains all of the Connected Service providers currently installed and provides a way to get more information about the provider, the technologies it uses, and whether it’s supported in the current project. Other providers can be discovered in the Extensions and Updates gallery by using the Find more services… link.” – https://www.visualstudio.com/news/vs2015-vs#misc

I’ve got a walkthrough below of how to get up and running with Visual Studio 2015 Connected Services for Office 365 but this video does a much better job.

https://channel9.msdn.com/Events/Visual-Studio/Connect-event-2014/713

Seriously the above video from Jeremy Thake is fantastic but if you’re already this far and want to see the pics keep going…

Visual Studio 2015 RC Web Application

Visual Studio 2015 Add Service Reference

Add Connected Service Office 365 API

Register Your Web App With Office 365

Enter Your Office 365 Account

Choose Your Service

Choose Your Permissions

Integrate Office 365 APIs Into .NET Visual Studio Projects

Office 365 Service References Added and Output

Tim Ferro

Visual Studio 2015 CodeLens Announcements!

In the last couple of weeks we have seen a plethora of awesome announcements and updates regarding Visual Studio 2015! The biggest one has to do with the new product versions. The “merging” of Premium and Ultimate into the new Enterprise level brings a ton of great features, including CodeLens, to a larger group of developers!

Visual Studio 2015 Product Offerings

Source: http://blogs.msdn.com/b/visualstudio/archive/2015/03/31/announcing-the-visual-studio-2015-product-line.aspx

That alone was a major announcement, but wait, there’s more. Due to the overwhelming response on User Voice for Visual Studio to make CodeLens available for Visual Studio Professional users, they have done that as well!

User Voice: Visual Studio – CodeLens

Source: http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/4150271-make-codelens-available-outside-of-ultimate

This is absolutely amazing and I could not be more excited for all developers. I have been giving a presentation about Visual Studio for ALM and development and this was the number 1 question I have ever been asked. Check out the update below.

Visual Studio 2015 IDE Code Lens

Source: https://www.visualstudio.com/products/compare-visual-studio-2015-products-vs

I encourage everyone to keep checking out the Visual Studio 2015 updates as well as vote for your favorite suggestions on User Voice for Visual Studio.

— Tim Ferro

Standing on the Shoulders of Giants… Microsoft MVP Award

Congratulations! We are pleased to present you with the 2015 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in Visual Studio ALM technical communities during the past year.

“If I have seen further it is by standing on the shoulders of giants.” – Isaac Newton

Being honored with the Microsoft® MVP Award would not have happened without the help and support of my family, friends, and colleagues. Thank you to my wife and kids. Thank you to my family. Thank you to all my current and former colleagues. Thank you to the MVP, Visual Studio, .NET, and SharePoint communities. Thank you to my teachers in college, high school, and grade school. You all deserve part of this award.

Thank You!

Tim Ferro