microsoft / CodeContracts

Source code for the CodeContracts tools for .NET
Other
882 stars 151 forks source link

Error trying to compile the latest source #471

Open richgilson opened 7 years ago

richgilson commented 7 years ago

Whenever I try to compile the source (whether using the buildcc.bat or Visual Studio), both of the Visual Basic projects (Microsoft.VisualBasic10 and Microsoft.VisualBasic.Compatibility10), I get the following error:

vbc : error BC2017: could not find library 'Microsoft.VisualBasic.dll'

The file exists in C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.dll just like the other .NET assemblies listed as references.

I'm at a loss as to where to go from here.

johncrim commented 7 years ago

I'm having the same issue. Did you find a fix?

I should clarify that I'm using VS 2015, so this may be the same issue as #375 . Looks like there's no separate issue for getting builds working with VS 2015.