nulastudio / NetBeauty2

Move a .NET Framework/.NET Core app runtime components and dependencies into a sub-directory and make it beauty.
MIT License
419 stars 21 forks source link

Weird artifact error #45

Closed the-black-wolf closed 1 year ago

the-black-wolf commented 1 year ago

Getting this from publish:

1>------ Publish started: Project: RevenueGovernance, Configuration: Release Any CPU ------
1>Determining projects to restore...
1>All projects are up-to-date for restore.
1>RevenueGovernance -> C:\projects\RevenueGovernance\RevenueGovernance\bin\Release\net7.0-windows\win-x64\RevenueGovernance.dll
1>RevenueGovernance -> C:\projects\RevenueGovernance\RevenueGovernance\bin\Release\net7.0-windows\win-x64\publish\
1>"C:\Users\Administrator\.nuget\packages\nulastudio.netcorebeauty\1.2.9.3\targets\../tools/win-x86/ncbeauty.exe"   --loglevel Info     "C:\projects\RevenueGovernance\RevenueGovernance\bin\Release\net7.0-windows\win-x64\publish\/." ./libraries 
1>running ncbeauty...
1>checking runtime.*.json version...
1>runtime.compatibility.json no need to update
1>runtime.supported.json no need to update
1>incomplete fxr info [v/] found in deps.json: C:/projects/RevenueGovernance/RevenueGovernance/bin/Release/net7.0-windows/win-x64/publish/RevenueGovernance.deps.json
1>Artifact does not exist. /

It does not look like a standard missing artifact issue.

.net core 7 in case its important. win70-windows/win-x64

liesauer commented 1 year ago

looks like it fails to extract the fxr info, please upload your deps.json and runtimeconfig.json.

n0099 commented 1 year ago

I've encounter this issue too while publishing with following profile: image

2>"C:\Users\n0099\.nuget\packages\nulastudio.netcorebeauty\1.2.9.3\targets\../tools/win-x86/ncbeauty.exe"   --loglevel Detail     "G:\n0099.dev\tbm\dev\crawler\bin\Release\net6.0\publish\/." ./libs 
2>incomplete fxr info [v/] found in deps.json: G:/n0099.dev/tbm/dev/crawler/bin/Release/net6.0/publish/tbm.Crawler.deps.json
2>Artifact does not exist. /
2>The command ""C:\Users\n0099\.nuget\packages\nulastudio.netcorebeauty\1.2.9.3\targets\../tools/win-x86/ncbeauty.exe"   --loglevel Detail     "G:\n0099.dev\tbm\dev\crawler\bin\Release\net6.0\publish\/." ./libs " exited with code 1.

here's my deps.json: tbm.Crawler.deps.zip

liesauer commented 1 year ago

FDD and FDE only supported by NetBeauty2, so you guys need update to the lastest NetBeauty v2.0+. @the-black-wolf @n0099

n0099 commented 1 year ago

What's the NuGet package name of 2.0? searching nulastudio.NetBeauty only gives me two package with different name but same version and author: image

It's under the pre-release flag: image

so is there any reason to keep three package with same version?

liesauer commented 1 year ago

NetCoreBeauty only supports .NET Core and SCD mode, ncbeauty is the cli version of NetCoreBeauty. NetBeauty supports .NET Core and .Net Fx(unfinished) and all deployment mode.