A ShimsContext must be in scope in order to register shims. Use the snippet below to fix your code.
-- C#:
using Microsoft.QualityTools.Testing.Fakes;
using(ShimsContext.Create())
{
    // your test code using Shims here
}
-- VisualBasic.NET
Imports Microsoft.QualityTools.Testing.Fakes
Using ShimsContext.Create
    ' your test code using Shims here
End Using  
						A SharePoint content type item for creating a reusable collection of fields and settings that you can apply to a SharePoint ...
A SharePoint list item for specifying a custom list of fields, or creating a new list from an existing list, such as the ...
A SharePoint project item with the following name already exists: {0}. Please give a unique name to the project item you ...
A SharePoint server is not installed on this computer. A SharePoint server must be installed to work with SharePoint projects. ...
A ShimsContext must be in scope in order to register shims. Use the snippet below to fix your code. - C#: using Microsoft.QualityTools.Testing.Fakes; ...
A solution with the specified name already exists on disk in the specified location. Do you want to overwrite the existing ...
A span ended here but cannot be displayed because it began while another span was already active on the same thread. Span ...
A special path defines a common location that many graph objects can refer to. For example you might see something like $(SolutionDir) ...
A SQL command string built from user input is vulnerable to SQL injection attacks. Microsoft SQL Server and other database ...