update the reference in UpdateDocs project
This commit is contained in:
parent
c249cc53f3
commit
c2947702ea
|
@ -13,7 +13,6 @@ using Microsoft.OpenApi;
|
|||
using Microsoft.OpenApi.Models;
|
||||
using Microsoft.OpenApi.OData;
|
||||
using Microsoft.OpenApi.Extensions;
|
||||
using Microsoft.OpenApi.OData.Edm;
|
||||
|
||||
namespace UpdateDocs
|
||||
{
|
||||
|
@ -29,6 +28,8 @@ namespace UpdateDocs
|
|||
|
||||
foreach (var filePath in Directory.GetFiles(csdl, "*.xml"))
|
||||
{
|
||||
Console.WriteLine(filePath);
|
||||
|
||||
IEdmModel model = LoadEdmModel(filePath);
|
||||
if (model == null)
|
||||
{
|
||||
|
|
|
@ -35,8 +35,8 @@
|
|||
<Reference Include="Microsoft.OData.Edm, Version=7.5.0.20627, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Microsoft.OData.Edm.7.5.0\lib\portable-net45+win8+wpa81\Microsoft.OData.Edm.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.OpenApi, Version=1.1.0.0, Culture=neutral, PublicKeyToken=3f5743946376f042, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Microsoft.OpenApi.1.1.0\lib\net46\Microsoft.OpenApi.dll</HintPath>
|
||||
<Reference Include="Microsoft.OpenApi, Version=1.1.2.0, Culture=neutral, PublicKeyToken=3f5743946376f042, processorArchitecture=MSIL">
|
||||
<HintPath>packages\Microsoft.OpenApi.1.1.2\lib\net46\Microsoft.OpenApi.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Microsoft.OData.Edm" version="7.5.0" targetFramework="net461" />
|
||||
<package id="Microsoft.OpenApi" version="1.1.0" targetFramework="net461" />
|
||||
<package id="Microsoft.OpenApi" version="1.1.2" targetFramework="net461" />
|
||||
</packages>
|
Loading…
Reference in a new issue