gitextensions / ICSharpCode.TextEditor

ICSharpCode.TextEditor for WinForms
14 stars 22 forks source link

Tests fail in .NET5/master #27

Open gerhardol opened 3 years ago

gerhardol commented 3 years ago

https://ci.appveyor.com/project/drewnoakes/icsharpcode-texteditor/builds/39014111/job/h55dotf5afqydj38

msbuild "C:\projects\icsharpcode-texteditor\ICSharpCode.TextEditor.sln" /m /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Program Files\dotnet\sdk\2.2.110\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets(96,5): error NETSDK1013: The TargetFramework value 'net5.0-windows' was not recognized. It may be misspelled. If not, then the TargetFrameworkIdentifier and/or TargetFrameworkVersion properties must be specified explicitly. [C:\projects\icsharpcode-texteditor\Project\ICSharpCode.TextEditor.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1657,5): error : Project '..\Project\ICSharpCode.TextEditor.csproj' targets 'net5.0-windows'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.6.1'. [C:\projects\icsharpcode-texteditor\ICSharpCode.TextEditor.Sample\ICSharpCode.TextEditor.Sample.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1657,5): error : Project '..\Project\ICSharpCode.TextEditor.csproj' targets 'net5.0-windows'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.6.1'. [C:\projects\icsharpcode-texteditor\Test\ICSharpCode.TextEditor.Tests.csproj]
gerhardol commented 3 years ago

Not fully working...

RussKie commented 3 years ago

The error means the branches are crossed net461 and net5.0

On Mon, 24 May 2021, 5:25 am Gerhard Olsson, @.***> wrote:

Closed #27 https://github.com/gitextensions/ICSharpCode.TextEditor/issues/27.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gitextensions/ICSharpCode.TextEditor/issues/27#event-4783652389, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBTEXSGFS5HTLFGMQRTHY3TPFJC5ANCNFSM45LZGL7Q .

gerhardol commented 3 years ago

Should have closed PR #25 instead...