Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Static checker fails with "Cannot connect to the cache" on VS2015 #80

@SergeyTeplyakov

Description

@SergeyTeplyakov

I was able to build and run ccrewriter on VS2015, but got following failure when I tried to run cccheck:

CodeContracts: ConsoleApplication1: Time spent trying to connect to the cache server: 00:00:00.0156274
CodeContracts: ConsoleApplication1: Diagnostic: Failed to connect to any cache.
(1,1): warning : CodeContracts: System.Diagnostics.Contracts.ContractDeclarativeAssemblyAttribute.#ctor()[0x6]: Cannot connect to the cache. The CodeContracts static check will not run
CodeContracts: ConsoleApplication1: 
CodeContracts: ConsoleApplication1: Background contract analysis done.

Disableing 'Cache results' options for Static Checking fixes the issue, but by default this option turned on.

Maybe the root cause of the issue, that following dbname is used for local cache: (LocalDb)\v11.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions