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
CopyToPublishDirectory does not work after changing from .net8 to .net9. So file conflict occurs.
21>C:\Program Files\dotnet\sdk\9.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ConflictResolution.targets(112,5): 오류 NETSDK1152: 상대 경로가 같은 여러 게시 출력 파일을 찾았습니다. P:\Projects\MyCompany\MyProduct\src\MyProduct.Api\aspnet-core\src\MyProduct.Api.Client.Windows\appsettings.json, P:\Projects\MyCompany\MyProduct\src\MyProduct.Api\aspnet-core\src\MyProduct.Api.Client.Web.Host\appsettings.json, P:\Projects\MyCompany\MyProduct\src\MyProduct.Api\aspnet-core\src\MyProduct.Api.Client.Windows\appsettings.Production.json, P:\Projects\MyCompany\MyProduct\src\MyProduct.Api\aspnet-core\src\MyProduct.Api.Client.Web.Host\appsettings.Production.json.
CopyToPublishDirectory does not work after changing from .net8 to .net9. So file conflict occurs.
21>C:\Program Files\dotnet\sdk\9.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ConflictResolution.targets(112,5): 오류 NETSDK1152: 상대 경로가 같은 여러 게시 출력 파일을 찾았습니다. P:\Projects\MyCompany\MyProduct\src\MyProduct.Api\aspnet-core\src\MyProduct.Api.Client.Windows\appsettings.json, P:\Projects\MyCompany\MyProduct\src\MyProduct.Api\aspnet-core\src\MyProduct.Api.Client.Web.Host\appsettings.json, P:\Projects\MyCompany\MyProduct\src\MyProduct.Api\aspnet-core\src\MyProduct.Api.Client.Windows\appsettings.Production.json, P:\Projects\MyCompany\MyProduct\src\MyProduct.Api\aspnet-core\src\MyProduct.Api.Client.Web.Host\appsettings.Production.json.
MyProduct.Api.Client.Web.Host
MyProduct.Api.Client.Windows
any temporary solution?
added --- The problem has been solved.
MyProduct.Api.Client.Web.Host:
Change None to Content in MyProduct.Api.Client.Web.Host
MyProduct.Api.Client.Windows:
Remove None+Remove from MyProduct.Api.Client.Windows. I don't know why this is there. VisualStudio added it.
It is true that this is not a problem in .net8.
The text was updated successfully, but these errors were encountered: