You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.
While running on a SPA project (WebAPI + VueJS) i got the following error:
C:\Users\nordes\.nuget\packages\illink.tasks\0.1.5-preview-1841731\build\ILLink.Tasks.targets(451,5): error MSB4044: The "CheckEmbeddedRootDescriptor" task was not given a value for the required parameter "AssemblyPath".
The log prior to that in verbose are normal msbuild dll creation and all.
Full log:
PS C:\GitRepo\gitlab\MyProject> dotnet-warp --verbose
Running Publish...
Running dotnet publish -c Release -r win-x64 -o "C:\GitRepo\gitlab\MyProject\dotnetwarp_temp" "C:\GitRepo\gitlab\MyProject"
Microsoft (R) Build Engine version 16.0.443+g5775d0d6bb for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Persisting no-op dg to C:\GitRepo\gitlab\MyProject\obj\MyProject.csproj.nuget.dgspec.json
Restore completed in 199.15 ms for C:\GitRepo\gitlab\MyProject\MyProject.csproj.
C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(151,5): message NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview [C:\GitRepo\gitlab\MyProject\MyProject.csproj]
MyProject -> C:\GitRepo\gitlab\MyProject\bin\Release\netcoreapp2.2\win-x64\MyProject.dll
C:\Users\nordes\.nuget\packages\illink.tasks\0.1.5-preview-1841731\build\ILLink.Tasks.targets(451,5): error MSB4044: The "CheckEmbeddedRootDescriptor" task was not given a value for the required parameter "AssemblyPath". [C:\GitRepo\gitlab\MyProject\MyProject.csproj]
Publish failed. Set --verbose flag for more info.
You are using .NET Core 3.0 preview SDK, which has some problems like one you described. In preview 5, there is already similiar Single File Deployment functionality (https://devblogs.microsoft.com/dotnet/announcing-net-core-3-0-preview-5/).
From path you supplied, I can see that you are building .NET Core 2.2 project.
You can add global.json file to root solution folder with
dotnet new globaljson
This will create global.json file with current project SDK entry, so it will use .NET Core 2.2 SDK instead of 3.0, which should fix that issue. Let me know if it helped
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
While running on a SPA project (WebAPI + VueJS) i got the following error:
The log prior to that in verbose are normal msbuild dll creation and all.
Full log:
Any idea how to fix this?
(It looks a bit like: dotnet/linker#428 )
The text was updated successfully, but these errors were encountered: