I am using ABP version 8, when I replace package with source code using ABP suite then I started getting build errors. dotnet restore
command is also failed and throwing error.
Looks like the problem is with the .csproj file E.g
Here Volo.Abp.Commercial.Core code is not downloaded by abp suite when I replace packages with source code but in the Volo.Abp.Account.Pro.Admin.Application.csproj
project file it's like this that's the reason it's not able to restore the package. if I write like below then it's started working.. but I don't want to do in each project file and do it manually it will take lots of time. Is it the issue with ABP? anyone facing same issue ?
hi
We fixed this in 8.0.1
You can use
VersionOverride
to replace theVersion.
https://github.com/abpframework/abp/pull/18566
I have verified the fix with latest version of ABP suite 8.0.1 and latest ABP CLI version 8.0.1, issue is fixed and now it's working as expected.
Thanks a lot for your support.
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.
liming.ma@volosoft.com
I am sharing the code via email ...
ok, Thanks
I have sent an email with project code.
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.
your problem still exists?
No, this issue is fixed in 8.0.1 version
"libs/abp" folder is missing after execution of abp install-libs command.
Also I have deleted yarn.lock file as you suggested in other answers still abp folder is not generating after executing install-libs command. This issue is not reproducible on local machine, but I am facing problem in windows server - 2019
hi
Are node npm and yarn installed on your Windows server?
Yes it's installed same version as local it's working on local and not on server.
also I am using pro templates..