简体   繁体   中英

Cannot add own custom EFDataAcces Library Visual studio 2019

参考经理

In a web project i would like to add custom library I right click on dependencies => add reference It shows my custom library which i did for ef core. But when i click ok button it just does nothing. pretending like nothing happened.

csproj file contents

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>           
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.12"/> </ItemGroup> 
</Project>

It is fixed after updating nuget packages. Update Swashbuckle and Azure container tools.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM