Build OData folder
Add build related files etc. to OData folder:
build.cmd
WebApiOData.msbuild
WebApiOData.sln
.nuget
tools
src
Common (some depending files, e.g., for Error.ArgumentNull)
CommonAssemblyInfo.cs
GlobalSuppressions.cs
Settings.StyleCop
Strict.ruleset
test
Common (ContextUtil.cs, MediaTypeFormatterTestBase.cs)
Microsoft.TestCommon (a .csproj contains xUnit ref, Assert etc.)
Settings.StyleCop
Change project references to nuget ref:
System.Net.Http.Formatting
System.Web.Http
=>
src packages.config:
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.0" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.0" targetFramework="net45" />
test packages.config:
+ <package id="Microsoft.AspNet.WebApi.SelfHost" version="5.2.0" targetFramework="net45" />
Remove OData src and test projects from Runtime.sln and repositories.config
Build succeeds, all test cases pass.