Build under Ubuntu?

perodiaro's Avatar

perodiaro

04 Sep, 2018 01:16 PM

UserVoice request marked as completed in 6.0, but build under Linux still not working.

OS: Ubuntu 16.04
Dotnet version: 2.1.401
Postsharp version: 6.0.26

Build log:

root@vps:~/projects/ConsoleApp1# dotnet build
Microsoft (R) Build Engine version 15.8.166+gd4e8d81a88 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.


Restoring packages for /root/projects/ConsoleApp1/ConsoleApp1.csproj... Generating MSBuild file /root/projects/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.props. Generating MSBuild file /root/projects/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.targets. Restore completed in 300.74 ms for /root/projects/ConsoleApp1/ConsoleApp1.csproj. /root/.nuget/packages/postsharp/6.0.26/build/PostSharp.targets(149,5): error MSB4062: The "PostSharp.MSBuild.PostSharpValidateLanguageVersion" task could not be loaded from the assembly /root/.nuget/packages/postsharp/6.0.26/build/net471/PostSharp.MSBuild.v6.0.26.Release.dll. Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. [/root/projects/ConsoleApp1/ConsoleApp1.csproj] /root/.nuget/packages/postsharp/6.0.26/build/PostSharp.targets(149,5): error MSB4062: Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [/root/projects/ConsoleApp1/ConsoleApp1.csproj]


Build FAILED.


/root/.nuget/packages/postsharp/6.0.26/build/PostSharp.targets(149,5): error MSB4062: The "PostSharp.MSBuild.PostSharpValidateLanguageVersion" task could not be loaded from the assembly /root/.nuget/packages/postsharp/6.0.26/build/net471/PostSharp.MSBuild.v6.0.26.Release.dll. Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. [/root/projects/ConsoleApp1/ConsoleApp1.csproj] /root/.nuget/packages/postsharp/6.0.26/build/PostSharp.targets(149,5): error MSB4062: Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [/root/projects/ConsoleApp1/ConsoleApp1.csproj] 0 Warning(s) 1 Error(s)


Time Elapsed 00:00:04.59
  1. Support Staff 1 Posted by PostSharp Techn... on 05 Sep, 2018 01:04 PM

    PostSharp Technologies's Avatar

    Hello,

    the UserVoice request was marked as finished by mistake. We plan to support build on Linux/MacOS in the future, but we cannot provide any estimate on when the support will be finished at this point.

    We apologize for the inconvenience.

    Best regards,
    Daniel

  2. Support Staff 2 Posted by PostSharp Techn... on 11 Sep, 2018 03:48 PM

    PostSharp Technologies's Avatar

    Hello,

    We are going to close this request as we believe it was answered. Please feel free to reopen the discussion if you need more help.

    Best regards,
    PostSharp Team

  3. PostSharp Technologies closed this discussion on 11 Sep, 2018 03:48 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac