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

csproj in different folder breaks NetCoreBeauty #3

Closed Apostolique closed 4 years ago

Apostolique commented 4 years ago

Let's say I have a project in Source/Hello/World.csproj.

To publish I can do:

dotnet publish Source/Hello -r win-x64 -c Release

Specifying the csproj's folder like that makes NetCoreBeauty not apply it's changes (no errors are written in the console though).

If instead I do:

cd Source/Hello
dotnet publish -r win-x64 -c Release

NetCoreBeauty will work.

liesauer commented 4 years ago

fix in v1.1.6, update nuget package to v1.1.6 will fix.