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
.NET Command Line Tools (2.1.300-preview1-008174)
Product Information:
Version: 2.1.300-preview1-008174
Commit SHA-1 hash: b8df89a54f
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.13
OS Platform: Darwin
RID: osx.10.12-x64
Base Path: /usr/local/share/dotnet/sdk/2.1.300-preview1-008174/
Microsoft .NET Core Shared Framework Host
Version : 2.1.0-preview1-26216-03
Build : f2c3216183d20416568a4bbf5bb7d153e826f153
Issue:
I followed the steps for using the .NET Core IL Linker as demonstrated on this page. I am trying to use it on this repo, but when I run the command dotnet publish -c Release -r osx-x64 I get the following error:
/Users/phil/.nuget/packages/illink.tasks/0.1.4-preview-906439/build/ILLink.Tasks.targets(198,5): error MSB4044: The "ComputeManagedAssemblies" task was not given a value for the required parameter "SdkAssemblies". [/Users/phil/git/dotnet-native-test/Native.Cli/Native.Cli.csproj]
I've tried Googling the message but haven't had any luck. Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
@phil-harmoniq, this is happening because your example project uses the Microsoft.DotNet.ILCompiler package together with the linker, and these two packages happen to define different tasks with the same name (ComputeManagedAssemblies). It looks like you're trying to use corert together with the linker, and I'm not surprised that this scenario isn't working. The linker was designed with .NET Core in mind, and it would take some thought to see how it could fit in with corert.
@phil-harmoniq commented on Thu Mar 22 2018
Output of
dotnet --info
:Issue:
I followed the steps for using the .NET Core IL Linker as demonstrated on this page. I am trying to use it on this repo, but when I run the command
dotnet publish -c Release -r osx-x64
I get the following error:I've tried Googling the message but haven't had any luck. Am I doing something wrong?
The text was updated successfully, but these errors were encountered: