Skip to content

Instantly share code, notes, and snippets.

@mandel-macaque
Created May 12, 2020 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mandel-macaque/35f499dc495750003fbbf36131f2ccda to your computer and use it in GitHub Desktop.
Save mandel-macaque/35f499dc495750003fbbf36131f2ccda to your computer and use it in GitHub Desktop.
4>Done Building Project "/Users/mandel/Xamarin/xharness/src/Microsoft.DotNet.XHarness.iOS.Shared/Microsoft.DotNet.XHarness.iOS.Shared.csproj" (Clean target(s)).
4>Done Building Project "/Users/mandel/Xamarin/xharness/src/Microsoft.DotNet.XHarness.iOS.Shared/Microsoft.DotNet.XHarness.iOS.Shared.csproj" (Clean target(s)).
4>Done Building Project "/Users/mandel/Xamarin/xharness/src/Microsoft.DotNet.XHarness.iOS.Shared/Microsoft.DotNet.XHarness.iOS.Shared.csproj" (Clean target(s)).
1>Project "/Users/mandel/Xamarin/xharness/XHarness.sln" (1) is building "/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.Tests.Runners.Tests/Microsoft.DotNet.XHarness.Tests.Runners.Tests.csproj" (2) on node 1 (Clean target(s)).
2>/usr/local/share/dotnet/sdk/3.1.201/Microsoft.Common.CurrentVersion.targets(1655,5): error : Project '../../src/Microsoft.DotNet.XHarness.Tests.Runners/Microsoft.DotNet.XHarness.Tests.Runners.csproj' targets 'netstandard2.1;netcoreapp3.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v5.0'. [/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.Tests.Runners.Tests/Microsoft.DotNet.XHarness.Tests.Runners.Tests.csproj]
2>Done Building Project "/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.Tests.Runners.Tests/Microsoft.DotNet.XHarness.Tests.Runners.Tests.csproj" (Clean target(s)) -- FAILED.
1>Project "/Users/mandel/Xamarin/xharness/XHarness.sln" (1) is building "/Users/mandel/Xamarin/xharness/src/Microsoft.DotNet.XHarness.CLI/Microsoft.DotNet.XHarness.CLI.csproj" (7) on node 8 (Clean target(s)).
7>/usr/local/share/dotnet/sdk/3.1.201/Microsoft.Common.CurrentVersion.targets(1655,5): error : Project '../Microsoft.DotNet.XHarness.Android/Microsoft.DotNet.XHarness.Android.csproj' targets 'netstandard2.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v5.0'. [/Users/mandel/Xamarin/xharness/src/Microsoft.DotNet.XHarness.CLI/Microsoft.DotNet.XHarness.CLI.csproj]
7>/usr/local/share/dotnet/sdk/3.1.201/Microsoft.Common.CurrentVersion.targets(1655,5): error : Project '../Microsoft.DotNet.XHarness.iOS.Shared/Microsoft.DotNet.XHarness.iOS.Shared.csproj' targets 'netstandard2.1;netcoreapp3.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v5.0'. [/Users/mandel/Xamarin/xharness/src/Microsoft.DotNet.XHarness.CLI/Microsoft.DotNet.XHarness.CLI.csproj]
7>/usr/local/share/dotnet/sdk/3.1.201/Microsoft.Common.CurrentVersion.targets(1655,5): error : Project '../Microsoft.DotNet.XHarness.iOS/Microsoft.DotNet.XHarness.iOS.csproj' targets 'netstandard2.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v5.0'. [/Users/mandel/Xamarin/xharness/src/Microsoft.DotNet.XHarness.CLI/Microsoft.DotNet.XHarness.CLI.csproj]
1>Project "/Users/mandel/Xamarin/xharness/XHarness.sln" (1) is building "/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.iOS.Shared.Tests/Microsoft.DotNet.XHarness.iOS.Shared.Tests.csproj" (8) on node 2 (Clean target(s)).
8>/usr/local/share/dotnet/sdk/3.1.201/Microsoft.Common.CurrentVersion.targets(1655,5): error : Project '../../src/Microsoft.DotNet.XHarness.iOS.Shared/Microsoft.DotNet.XHarness.iOS.Shared.csproj' targets 'netstandard2.1;netcoreapp3.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v5.0'. [/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.iOS.Shared.Tests/Microsoft.DotNet.XHarness.iOS.Shared.Tests.csproj]
8>Done Building Project "/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.iOS.Shared.Tests/Microsoft.DotNet.XHarness.iOS.Shared.Tests.csproj" (Clean target(s)) -- FAILED.
7>Done Building Project "/Users/mandel/Xamarin/xharness/src/Microsoft.DotNet.XHarness.CLI/Microsoft.DotNet.XHarness.CLI.csproj" (Clean target(s)) -- FAILED.
1>Project "/Users/mandel/Xamarin/xharness/XHarness.sln" (1) is building "/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.iOS.Tests/Microsoft.DotNet.XHarness.iOS.Tests.csproj" (9) on node 3 (Clean target(s)).
9>/usr/local/share/dotnet/sdk/3.1.201/Microsoft.Common.CurrentVersion.targets(1655,5): error : Project '../../src/Microsoft.DotNet.XHarness.iOS.Shared/Microsoft.DotNet.XHarness.iOS.Shared.csproj' targets 'netstandard2.1;netcoreapp3.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v5.0'. [/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.iOS.Tests/Microsoft.DotNet.XHarness.iOS.Tests.csproj]
9>/usr/local/share/dotnet/sdk/3.1.201/Microsoft.Common.CurrentVersion.targets(1655,5): error : Project '../../src/Microsoft.DotNet.XHarness.iOS/Microsoft.DotNet.XHarness.iOS.csproj' targets 'netstandard2.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v5.0'. [/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.iOS.Tests/Microsoft.DotNet.XHarness.iOS.Tests.csproj]
9>Done Building Project "/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.iOS.Tests/Microsoft.DotNet.XHarness.iOS.Tests.csproj" (Clean target(s)) -- FAILED.
5>Done Building Project "/Users/mandel/Xamarin/xharness/src/Microsoft.DotNet.XHarness.iOS/Microsoft.DotNet.XHarness.iOS.csproj" (Clean target(s)).
1>Done Building Project "/Users/mandel/Xamarin/xharness/XHarness.sln" (Clean target(s)) -- FAILED.
Build FAILED.
"/Users/mandel/Xamarin/xharness/XHarness.sln" (Clean target) (1) ->
"/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.Tests.Runners.Tests/Microsoft.DotNet.XHarness.Tests.Runners.Tests.csproj" (Clean target) (2) ->
(_GetProjectReferenceTargetFrameworkProperties target) ->
/usr/local/share/dotnet/sdk/3.1.201/Microsoft.Common.CurrentVersion.targets(1655,5): error : Project '../../src/Microsoft.DotNet.XHarness.Tests.Runners/Microsoft.DotNet.XHarness.Tests.Runners.csproj' targets 'netstandard2.1;netcoreapp3.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v5.0'. [/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.Tests.Runners.Tests/Microsoft.DotNet.XHarness.Tests.Runners.Tests.csproj]
"/Users/mandel/Xamarin/xharness/XHarness.sln" (Clean target) (1) ->
"/Users/mandel/Xamarin/xharness/src/Microsoft.DotNet.XHarness.CLI/Microsoft.DotNet.XHarness.CLI.csproj" (Clean target) (7) ->
/usr/local/share/dotnet/sdk/3.1.201/Microsoft.Common.CurrentVersion.targets(1655,5): error : Project '../Microsoft.DotNet.XHarness.Android/Microsoft.DotNet.XHarness.Android.csproj' targets 'netstandard2.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v5.0'. [/Users/mandel/Xamarin/xharness/src/Microsoft.DotNet.XHarness.CLI/Microsoft.DotNet.XHarness.CLI.csproj]
/usr/local/share/dotnet/sdk/3.1.201/Microsoft.Common.CurrentVersion.targets(1655,5): error : Project '../Microsoft.DotNet.XHarness.iOS.Shared/Microsoft.DotNet.XHarness.iOS.Shared.csproj' targets 'netstandard2.1;netcoreapp3.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v5.0'. [/Users/mandel/Xamarin/xharness/src/Microsoft.DotNet.XHarness.CLI/Microsoft.DotNet.XHarness.CLI.csproj]
/usr/local/share/dotnet/sdk/3.1.201/Microsoft.Common.CurrentVersion.targets(1655,5): error : Project '../Microsoft.DotNet.XHarness.iOS/Microsoft.DotNet.XHarness.iOS.csproj' targets 'netstandard2.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v5.0'. [/Users/mandel/Xamarin/xharness/src/Microsoft.DotNet.XHarness.CLI/Microsoft.DotNet.XHarness.CLI.csproj]
"/Users/mandel/Xamarin/xharness/XHarness.sln" (Clean target) (1) ->
"/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.iOS.Shared.Tests/Microsoft.DotNet.XHarness.iOS.Shared.Tests.csproj" (Clean target) (8) ->
/usr/local/share/dotnet/sdk/3.1.201/Microsoft.Common.CurrentVersion.targets(1655,5): error : Project '../../src/Microsoft.DotNet.XHarness.iOS.Shared/Microsoft.DotNet.XHarness.iOS.Shared.csproj' targets 'netstandard2.1;netcoreapp3.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v5.0'. [/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.iOS.Shared.Tests/Microsoft.DotNet.XHarness.iOS.Shared.Tests.csproj]
"/Users/mandel/Xamarin/xharness/XHarness.sln" (Clean target) (1) ->
"/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.iOS.Tests/Microsoft.DotNet.XHarness.iOS.Tests.csproj" (Clean target) (9) ->
/usr/local/share/dotnet/sdk/3.1.201/Microsoft.Common.CurrentVersion.targets(1655,5): error : Project '../../src/Microsoft.DotNet.XHarness.iOS.Shared/Microsoft.DotNet.XHarness.iOS.Shared.csproj' targets 'netstandard2.1;netcoreapp3.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v5.0'. [/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.iOS.Tests/Microsoft.DotNet.XHarness.iOS.Tests.csproj]
/usr/local/share/dotnet/sdk/3.1.201/Microsoft.Common.CurrentVersion.targets(1655,5): error : Project '../../src/Microsoft.DotNet.XHarness.iOS/Microsoft.DotNet.XHarness.iOS.csproj' targets 'netstandard2.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v5.0'. [/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.iOS.Tests/Microsoft.DotNet.XHarness.iOS.Tests.csproj]
0 Warning(s)
7 Error(s)
@MattGal
Copy link

MattGal commented May 12, 2020

Pretty sure this was using the system's dotnet instead of the build scripts. Suggested he try that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment