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
{{ message }}
Repository navigation
Microsoft.Bcl.Async nags about missing "The type 'AnnouncementClient' is required here and is unavailable." #1117
The project is built to .net 4.6 so it should not do anything. At least I was under the impression it shouldn't do anything.
But to my suprise this ended up in my project file:
<WhenCondition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.0' Or $(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6')">
<ItemGroup>
<ReferenceInclude="Microsoft.Threading.Tasks.Extensions.Desktop">
<HintPath>..\..\packages\Microsoft.Bcl.Async\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
yadda yadda yadda
</itemGroup>
</when>
why does this reference get added to the project for 4.6 when the package is obviously meant for .net4.
I don't know if this is a paket issue, but I thought I'd ask here anyway.
I've recently started getting the same error message actually. For example this project currently builds as expected, but it will fail as soon as I paket update.
For the record, and reproducing our private discussion with @forki, the problem more likely has to do with a bug in paket when resolving the dependency graph for AWSSDK.Core, which has the following dependency tree
Activity
forki commentedon Oct 7, 2015
net40means .NET 4.0 and above. at least if there is no other net folder.Try with Nuget - it will install the same dlls.
albertjan commentedon Oct 7, 2015
Alright I believe you. 😄 I have to manually remove this ref from the project to get it to build.
eiriktsarpalis commentedon May 19, 2016
I've recently started getting the same error message actually. For example this project currently builds as expected, but it will fail as soon as I paket update.
eiriktsarpalis commentedon May 19, 2016
For the record, and reproducing our private discussion with @forki, the problem more likely has to do with a bug in paket when resolving the dependency graph for AWSSDK.Core, which has the following dependency tree
which however is resolved to the following paket.lock:
Fallback from portable to net45 must be conversative - #1117
Fallback from portable to net45 must be conversative - fixes #1117