Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.AspNetCore.App 引用指定版本号导致vs2019编译警告CS1701 #51

Open
byebyebt opened this issue Dec 24, 2019 · 0 comments

Comments

@byebyebt
Copy link

byebyebt commented Dec 24, 2019

各项目文件中配置项&lgPackageReference Include="Microsoft.AspNetCore.App" Version="2.1.5"/> 指定了版本号,vs2019编译会触发警告CS1701(不应指定版本号)。

删除版本号,并在VOL.Order项目文件添加&lgPackageReference Include="Microsoft.AspNetCore.App" >引用,解决方案可以编译通过(运行加载2.1.14版),但在vs2017中编译报错NU1107(版本冲突)。

@byebyebt byebyebt changed the title Microsoft.AspNetCore.App 引 指定版本号导致vs2019编译警告CS1701 Microsoft.AspNetCore.App 引用指定版本号导致vs2019编译警告CS1701 Dec 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant