Skip to content

Commit

Permalink
Build OData folder
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
congysu committed Jul 30, 2014
1 parent fb35292 commit 27e6385
Show file tree
Hide file tree
Showing 134 changed files with 12,717 additions and 91 deletions.
11 changes: 11 additions & 0 deletions OData/.nuget/NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
<packageSources>
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
<add key="buildTools" value="https://www.myget.org/F/30de4ee06dd54956a82013fa17a3accb/" />
<add key="externalComponentDependencies" value="https://www.myget.org/F/02a8fd0d231848d2ae32cd901e273000" />
</packageSources>
</configuration>
6 changes: 6 additions & 0 deletions OData/.nuget/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Web.SkipStrongNames" version="1.0.0" />
<package id="Microsoft.Web.StyleCop" version="1.0.0" />
<package id="StyleCop" version="4.7.10.0" />
</packages>
Loading

0 comments on commit 27e6385

Please sign in to comment.