-
The NuGet package "Teronis.MSBuild.Packaging.ProjectBuildInPackage" works well on adding the project references for dotnet pack, but the main issue is the unit test project which is referencing the project (i.e. the project which I am trying to package) doest recognize it has reference project when adding the attribute PrivateAssets="all". I am getting errors "Severity Code Description Project File Line Suppression State Is there a way to fix this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
One idea is to create another csproj, it may be a copy of your original but without PrivateAssets="all", and this is the |
Beta Was this translation helpful? Give feedback.
-
Are there any other possibilities? |
Beta Was this translation helpful? Give feedback.
One idea is to create another csproj, it may be a copy of your original but without PrivateAssets="all", and this is the
.csproj
you would reference in your test project.