Using Contentment in a class library project in .NET 6 #257
-
I have a two - project Umbraco solution; a core project + a web project. After upgrading to .NET 6, I get "Found multiple publish output files with the same relative path" error when publishing the app. Would be grateful for solution to this or a workaround (I guess one would be to move any custom IDataSource to the web project). Thank you for your time and efforts! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @rosspetev, which of the NuGet packages are you referencing in your class library project? It's better to use |
Beta Was this translation helpful? Give feedback.
Hi @rosspetev, which of the NuGet packages are you referencing in your class library project?
It's better to use
Our.Umbraco.Community.Contentment.Core
NuGet package, (which only contains the assembly DLL) instead of the mainOur.Umbraco.Community.Contentment
NuGet package, (which contains theApp_Plugins/Contentment
folder).