Open oyjonass opened 10 months ago
if i add this dotnet publish has no issues
<Content Update="modules\_protected\Geta.NotFoundHandler.Optimizely\module.config" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="Never" />
I can not find anything about this in the doc, what am i missing here?
we hade the same problem
Adding this to csproj is also a solution:
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
When i add this package i get error on dotnet publish
C:\x\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ConflictResolution.targets(112,5): error NETSDK1152: Found multiple publish output files with the same relative path: C:\X\modules\_protected\Geta.NotFoundHandler.Optimizely\module.config, C:\X\.nuget\packages\geta.notfoundhandler.optimizely\5.0.8\contentFiles\any\any\modules\_protected\Geta.NotFoundHandler.Optimizely\module.config.