Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
247 views
in Technique[技术] by (71.8m points)

c# - Custom nested nuget package not available

I have a .net core 2.1 solution with 3 projects inside it, out of which Project A is main project. I have created custom nuget package of project A to use it in different API solution. Project A has reference of other 2 projects (Project B and Project C.. Lets say) I have given reference of project B and C by creating their respective nuget packages. Now in project B their are multiple system nuget packages referred (for example, sqlclient and many other).

So, Now the problem is when I am using this nuget package of Project A in other solution, It recognizes Project B and C nuget packages dependencies. It also recognizes dependencies of nuget packages which are used inside project B, but shows an error as those second level nuget packages(sqlclient and all) are not available.

As per my thinking if I am providing a whole package all the dependencies inside it should be accessible. So why it is giving error of 2nd level nested nuget package availability?

Any help would be highly appreciated. Thanks in advance.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...