-
Notifications
You must be signed in to change notification settings - Fork 418
Version 2.4 and .NET 4.7 #280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
When you say it doesn't work, can you share more details, like the compilation errors you're getting? |
Hi, here a little more information private async Task<(bool ret, bool excludeOutDated)>
ReadRealStatus(Request request, Status status, List<EPGEvent> epgEventsUI)
{
var result = await UdpSocketDriver.QueryAwait(Commands.GetCurrent);
var currentServiceInformation = XmlConverter.ExtractData<CurrentServiceInformation>(result);
if (currentServiceInformation == null)
{
await SendBack(request);
return (false, true);
}
ReadMuteVolume(currentServiceInformation, status);
var excludeOutDated = !string.IsNullOrEmpty(currentServiceInformation.ActualChannel.ProviderName);
epgEventsUI.Clear();
if (currentServiceInformation.MediaEvents != null)
epgEventsUI.AddRange(UtilitiesDb.ConvertEpgEventDbs2EpgEvents(currentServiceInformation.MediaEvents.AllEvents,
excludeOutDated));
return (true, excludeOutDated);
} And the call of the function, line 81: var ret = await ReadRealStatus(request, status, epgEventsUI); Error messages from visual
Any more question? Feel free to ask |
Thanks, @Hanno11. I'm afraid since there's no independent download available for .NET 4.7 currently besides having a Windows 10 machine with Creator Update, it's very hard to reproduce this issue. Your help in digging to the bottom of the issue would be much appreciated. The code you have shared has nothing to do with MoreLINQ, but if I understand correctly, upgrading MoreLINQ to 2.4.0 causes those seemingly unrelated errors in your project. I have a feeling this has less to do with MoreLINQ and more with one of the following:
|
Hi, |
.NET 4.7 is available now for Windows 7 SP1 and newer Windows versions. |
The solution to this will be to remove EDIT: This is a decent reference for conditional references: https://blogs.msmvps.com/punitganshani/2015/06/21/5-steps-to-targeting-multiple-net-frameworks/ |
@willson556 This should really be solved by the System.ValueTuple package instead of every dependent having to do it. The issue I see with adding the 4.7 target to MoreLINQ is that anyone wanting to build and contribute to the project will also need to have 4.7 installed, which is setting the bar pretty high for what seems to be an artificial requirement. |
The solution seems to be explicitly installing 4.4.0 was released along with .NET Core 2.0 13 days ago. Also NuGet defaults to installing the lowest available version of dependencies unless explicitly specified in |
Looks like they've addressed the issue in System.ValueTuple 4.4.0 as I see the assembly for 4.7 having types forwarded to
@ljani Thanks for bringing this to my attention; I'm re-opening this issue.
I'm afraid it doesn't. |
Helps with type unification under .NET 4.7 since System.ValueTuple types are also available from mscorlib there. See morelinq#280 for more details.
The |
|
Working fine here. For some reason it'll fail the very first rebuild after changing |
@ljani Thanks for testing and confirming that it works. 👍
Perhaps missing a |
Yeah, something like that, though 2.0 stated that dotnet restore is now an implicit command and it says it's restoring packages when building. Might VS' problem, dunno. |
The version 2.4 don't work with my project, based on .NET 4.7 + C# 7.0, version 2.3 does.
The problems are releated to the now integrated tuples in .NET 4.7
Greetings
Hanno
The text was updated successfully, but these errors were encountered: