Hubert-Rybak/dotnet-warp

Please stop bad error or exception!

Opened this issue · 0 comments

Hello everyone,

please do not annoy me! I feel disappointed why does dotnet-warp always have error if I use "dotnet-warp -l aggressive" than it always throw error....

dotnet-warp -l aggressive --verbose
Running AddLinkerPackage...
Running dotnet add package --source https://dotnet.myget.org/F/dotnet-core/api/v3/index.json ILLink.Tasks -v 0.1.5-preview-1841731
  Determining projects to restore...
  Writing /tmp/tmpfT2iei.tmp
info : Adding PackageReference for package 'ILLink.Tasks' into project '/home/jens/Projects/TestAppCore/myApp/myApp.csproj'.
info : Restoring packages for /home/jens/Projects/TestAppCore/myApp/myApp.csproj...
info : Package 'ILLink.Tasks' is compatible with all the specified frameworks in project '/home/jens/Projects/TestAppCore/myApp/myApp.csproj'.
info : PackageReference for package 'ILLink.Tasks' version '0.1.5-preview-1841731' added to file '/home/jens/Projects/TestAppCore/myApp/myApp.csproj'.
info : Committing restore...
info : Generating MSBuild file /home/jens/Projects/TestAppCore/myApp/obj/myApp.csproj.nuget.g.props.
info : Generating MSBuild file /home/jens/Projects/TestAppCore/myApp/obj/myApp.csproj.nuget.g.targets.
info : Writing assets file to disk. Path: /home/jens/Projects/TestAppCore/myApp/obj/project.assets.json
log  : Restored /home/jens/Projects/TestAppCore/myApp/myApp.csproj (in 188 ms).

Running Publish...
Running dotnet publish -c Release -r linux-x64 -o "/home/jens/Projects/TestAppCore/myApp/dotnetwarp_temp" /p:RootAllApplicationAssemblies=false "/home/jens/Projects/TestAppCore/myApp"
Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /home/jens/Projects/TestAppCore/myApp/myApp.csproj (in 222 ms).
  myApp -> /home/jens/Projects/TestAppCore/myApp/bin/Release/netcoreapp2.1/linux-x64/myApp.dll
  Determining projects to restore...
  All projects are up-to-date for restore.
/home/jens/.nuget/packages/illink.tasks/0.1.5-preview-1841731/build/ILLink.Tasks.targets(511,11): error MSB4057: The target "_HandlePublishFileConflicts" does not exist in the project. [/home/jens/Projects/TestAppCore/myApp/myApp.csproj]

Publish failed. Set --verbose flag for more info.

I use dotnet sdk 2.1 from Microsoft Server.

Please tell me safe how do I make sure?
I am broken on floor.. :(