You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dotnet publish error: Microsoft.NET.ConflictResolution.targets(112,5): error NETSDK1152: Found multiple publish output files with the same relative path
#108
Open
oyjonass opened this issue
Jan 8, 2024
· 3 comments
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.
The text was updated successfully, but these errors were encountered:
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?
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.
The text was updated successfully, but these errors were encountered: