首页 \ 问答 \ TPL DataFlow是否包含在.NET 4.5或.NET 4.5.1中?(Is TPL DataFlow included with either .NET 4.5 or .NET 4.5.1?)

TPL DataFlow是否包含在.NET 4.5或.NET 4.5.1中?(Is TPL DataFlow included with either .NET 4.5 or .NET 4.5.1?)

我糊涂了。 我们最近将项目升级到.NET 4.5.1。 我们在服务器上安装了.NET 4.5.1。

我在C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Threading.Tasks.Dataflow\v4.0_4.5.9.0__b03f5f7f11d50a3a\System.Threading.Tasks.Dataflow.dll引用来自GAC的C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Threading.Tasks.Dataflow\v4.0_4.5.9.0__b03f5f7f11d50a3a\System.Threading.Tasks.Dataflow.dll

CopyLocal设置为false,因为(我假设)它是Framework的一部分,因此应该已经安装在部署应用程序的任何位置。

问题是,当在服务器上运行时,它说它找不到这个程序集。

我在这里读到的是.NET Framework 4.5的一部分:

但是该库现在内置了.NET 4.5。

......我在这里读到它不是

TPL数据流库(System.Threading.Tasks.Dataflow命名空间)不随.NET Framework 4.5一起分发

是什么赋予了? 它看起来不像。 它只是'目标包'的一部分吗? 是我,或者这些就地升级是否比它们的价值更具农业价值?!


I'm confused. We upgraded our project recently to .NET 4.5.1. We installed .NET 4.5.1 on our servers.

I'm referencing assembly System.Threading.Tasks.Dataflow from the GAC at C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Threading.Tasks.Dataflow\v4.0_4.5.9.0__b03f5f7f11d50a3a\System.Threading.Tasks.Dataflow.dll

CopyLocal is set to false as (I assume) it's part of the Framework, so should be already installed wherever the app is deployed.

The trouble is, when running on the server, it says it can't find this assembly.

I've read here that is is part of .NET Framework 4.5:

but the library is now built-in with .NET 4.5.

...and I've read here that it isn't!

The TPL Dataflow Library (System.Threading.Tasks.Dataflow namespace) is not distributed with the .NET Framework 4.5

What gives? It doesn't look like it is. Is it just part of the 'targetting pack'? Is it me, or are these in-place upgrades more agro than they're worth?!


原文:https://stackoverflow.com/questions/23245713
更新时间:2020-03-26 12:02

最满意答案

我不确定为什么该页面说它是.NET 4.5的一部分 - 它仍然是一个带外的NuGet版本,如Entity Framework,MVC等。


I'm not sure why that page says it is part of .NET 4.5 -- it's still an out-of-band NuGet release, like Entity Framework, MVC, etc.

2014-04-23

相关文章

更多

最新问答

更多
  • css在元素之前中断列而不破坏包装器(css break column before element without breaking the wrapper)
  • 如何在Xamarin共享项目中使用自定义渲染器(How to use Custom Renderer in Xamarin Shared Project)
  • 如何为特定表中的特定字段设置唯一?(How to set unique for specific field from specific table?)
  • Google SDK iOS - sign()方法完成处理程序(Google SDK iOS - sign() method completion handler)
  • 在具有接口{}值的地图上实现String()(Implement String() on a map with interface{} values)
  • 检查数据库中是否已存在用户名(Check if username already exist in DB)
  • 使用javascript进行ajax调用时阻止用户交互(Block user interaction while doing ajax call using javascript)
  • 什么'if(err)'在Javascript中精确测试?(What does 'if (err)' tests precisely in Javascript?)
  • jQuery mouseleave无法正常工作(jQuery mouseleave not working)
  • 寻求使用的一些说明(Seeking some clarification on use of )
  • 将数组传递给注释的语法(syntax for passing array to annotation)
  • 用于从两个日期范围之间的文件中提取数据的Shell脚本(Shell script to extract data from file between two date ranges)
  • 元素隐藏但父()没有(Element hides but parent() not)
  • 如何使用Google App Engine Java平台开发web ui(How to develop web ui with Google App Engine Java platform)
  • 对于OWL A级;(For an OWL class A; Getting all properties that A is their domain)
  • Excel VBA公式格式问题(Excel VBA Formula Format Issue)
  • ORA - 02287序列号不允许在这里(ORA - 02287 sequence number not allowed here)
  • Github拉忽略特定文件(Github Pull Ignore Specific File)
  • SQL CONVERT函数在SQL Server中工作但不在应用程序中(SQL CONVERT function working in SQL Server but not in application)
  • backbone.js适用于大型应用程序(backbone.js for large applications)
  • 防止程序关闭(Preventing program from closing)
  • 生成不带图像的heightMap(Generating a heightMap without an Image)
  • Bootstrap - 如何将包含文本的div居中?(Bootstrap - How to center div that has text inside it?)
  • Android - 片段findViewById()总是null?(Android - Fragment findViewById() always null?)
  • 确定CSS中的高度(Figuring out heights in CSS)
  • 使用__autoload包含类和使用命名空间(Use __autoload to include class and use namespace)
  • setTimeout()不允许我传递文本值[重复](setTimeout() doesn't allow me to pass text values [duplicate])
  • 在NSUserDefault中恢复值(Restoring value in NSUserDefault)
  • 知道如何将这种下沉的悬停效果添加到图像/链接吗?(Any idea how to add this sinking hover effect to an image/link?)
  • 在XIB中淡入/淡出UISegmentedControl(fade in/fade out UISegmentedControl in XIB)