- ABP Framework version: 8.0.1
- UI Type: MVC
- Database System: EF Core (PostgreSQL.)
- Tiered (for MVC) or Auth Server Separated (for Angular): no
- Exception message and full stack trace: C:\Program Files\dotnet\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: D:\Projects\MyProject\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web.Shared\Pages\Account_ViewImports.cshtml, D:\Projects\MyProject\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web\Pages\Account_ViewImports.cshtml, D:\Projects\MyProject\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Admin.Web\Pages\Account_ViewImports.cshtml, D:\Projects\MyProject\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web\Pages\Account_ViewStart.cshtml, D:\Projects\MyProject\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Admin.Web\Pages\Account_ViewStart.cshtml, D:\Projects\MyProject\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web.IdentityServer\Pages_ViewImports.cshtml, D:\Projects\MyProject\modules\Volo.OpenIddict.Pro\src\Volo.Abp.OpenIddict.Pro.Web\Pages_ViewImports.cshtml, D:\Projects\MyProject\modules\Volo.Saas\src\Volo.Saas.Host.Web\Pages_ViewImports.cshtml.
- Steps to reproduce the issue: When we publish the my web project in release mode. getting above issue. || Debugging is working fine...
10 Answer(s)
-
0
liming.ma@volosoft.com
I am sharing the code via email ...
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
ok, Thanks
I have sent an email with project code.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0
hi
Windows also work
PS C:\Users\malim\Downloads\Sustainium\src\Sustainium.Web> dotnet publish -c Release MSBuild version 17.8.3+195e7f5a3 for .NET Determining projects to restore... All projects are up-to-date for restore. p.Account.Pro.Public.Web.OpenIddict.dll Sustainium.Web -> C:\Users\malim\Downloads\Sustainium\src\Sustainium.Web\bin\Release\net8.0\Sustainium.Web.dll Sustainium.Web -> C:\Users\malim\Downloads\Sustainium\src\Sustainium.Web\bin\Release\net8.0\publish\ PS C:\Users\malim\Downloads\Sustainium\src\Sustainium.Web>Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi
Windows also work
PS C:\Users\malim\Downloads\Sustainium\src\Sustainium.Web> dotnet publish -c Release MSBuild version 17.8.3+195e7f5a3 for .NET Determining projects to restore... All projects are up-to-date for restore. p.Account.Pro.Public.Web.OpenIddict.dll Sustainium.Web -> C:\Users\malim\Downloads\Sustainium\src\Sustainium.Web\bin\Release\net8.0\Sustainium.Web.dll Sustainium.Web -> C:\Users\malim\Downloads\Sustainium\src\Sustainium.Web\bin\Release\net8.0\publish\ PS C:\Users\malim\Downloads\Sustainium\src\Sustainium.Web>On my machine, it was creating a problem, I have followed the stack overflow answer. https://stackoverflow.com/questions/69919664/publish-error-found-multiple-publish-output-files-with-the-same-relative-path
<PropertyGroup> <ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles> </PropertyGroup>
added in web app .csproj file.
Please suggest if any other way to fix it.
Thanks for your help and support.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
