MSBuild 12 in TeamCity not finding reference assemblies for .NET 4.5.1

I'm getting the following warning messages in my TeamCity build log: [GetReferenceAssemblyPaths] C:Program Files (x86)MSBuild12.0binMicrosoft.Common.CurrentVersion.targets(989, 5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.5.1" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your app

TeamCity中的MSBuild 12没有找到.NET 4.5.1的参考程序集

我在TeamCity构建日志中收到以下警告消息: [GetReferenceAssemblyPaths] C: Program Files文件(x86) MSBuild 12.0 bin Microsoft.Common.CurrentVersion.targets(989,5):警告MSB3644:“.NETFramework,Version = v4.5.1”框架的参考程序集分别为未找到。 要解决此问题,请为此框架版本安装SDK或Targeting Pack,或将您的应用程序重定向到您安装了SDK或Targeting Pack的框架版本。 请注意,程序集将从全局程序集缓

.NET 4.0 build server reference assemblies warnings MSB3644

I'm getting a bunch of errors on my build server: C:WINDOWSMicrosoft.NETFrameworkv4.0.30319Microsoft.Common.targets(847,9): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have t

.NET 4.0构建服务器引用程序集警告MSB3644

我在构建服务器上遇到一堆错误: C: WINDOWS Microsoft.NET Framework v4.0.30319 Microsoft.Common.targets(847,9):警告MSB3644:找不到框架“.NETFramework,Version = v4.0”的引用程序集。 要解决此问题,请为此框架版本安装SDK或Targeting Pack,或将您的应用程序重定向到您安装了SDK或Targeting Pack的框架版本。 请注意,程序集将从全局程序集缓存(GAC)中解析出来,并将用于代替引用程序集。 因此,您的程序

Resolving MSBuild 4.0 warnings

I've upgraded a solution to use MSBuild 4.0. It compiles but I get lots of warnings, for example: "T:projectsCastle.CorebuildscriptsBuild.proj" (Package target) (1) -> "T:projectsCastle.CoreCastle.Core-vs2008.sln" (Build target) (2:2) -> "T:projectsCastle.CoresrcCastle.DynamicProxy.TestsCastle.DynamicProxy.Tests-vs2008.csproj" (default target) (3:2) -> D:WindowsMicrosoft.NETFrameworkv4.0

解决MSBuild 4.0警告

我升级了一个使用MSBuild 4.0的解决方案。 它编译但我得到很多警告,例如: "T:projectsCastle.CorebuildscriptsBuild.proj" (Package target) (1) -> "T:projectsCastle.CoreCastle.Core-vs2008.sln" (Build target) (2:2) -> "T:projectsCastle.CoresrcCastle.DynamicProxy.TestsCastle.DynamicProxy.Tests-vs2008.csproj" (default target) (3:2) -> D:WindowsMicrosoft.NETFrameworkv4.0.30319Microsoft.Common.targets(

.NET 4.0 build issues on CI server

Anybody manage to get .NET 4.0 applications compiling on a CI server without installing Visual Studio 2010 on a CI server? No SDK exists for .NET 4.0. Have installed .NET 4.0 on CI Server. Msbuild.exe works for simple projects and give the following warning: (GetReferenceAssemblyPaths target) -> C:WindowsMicrosoft.NETFrameworkv4.0.30319Microsoft.Common.targets(847,9): warning MSB3644: Th

.NET 4.0构建CI服务器上的问题

任何人都可以在CI服务器上编译.NET 4.0应用程序而无需在CI服务器上安装Visual Studio 2010? .NET 4.0没有SDK。 在CI服务器上安装了.NET 4.0。 Msbuild.exe适用于简单的项目,并提供以下警告: (GetReferenceAssemblyPaths target) - > C: Windows Microsoft.NET Framework v4.0.30319 Microsoft.Common.targets(847,9):警告MSB3644:框架“.NETFramework,Version = v4.0”的参考程序集没有找到。 要解决此问

Where can I download the .NET 4.5 Multitargeting Pack for my build server?

I want to build a .net 4.5/VS2012 solution in TeamCity. My builds work on the agent that has VS2012 installed, but on the agent that doesn't have VS2012, I get warnings like this: C:WindowsMicrosoft.NETFrameworkv4.0.30319Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.5" were not found. To resolve this, install

我在哪里可以下载用于构建服务器的.NET 4.5 Multitargeting Pack?

我想在TeamCity中构建一个.net 4.5 / VS2012解决方案。 我的版本适用于安装了VS2012的代理,但在没有VS2012的代理上,我收到如下警告: C: Windows Microsoft.NET Framework v4.0.30319 Microsoft.Common.targets(983,5):警告MSB3644:找不到框架“.NETFramework,Version = v4.5”的引用程序集。 要解决此问题,请为此框架版本安装SDK或Targeting Pack,或将您的应用程序重定向到您安装了SDK或Targeting Pack的框架

My MouseHook is blocking the hook notifications of other applications

I've implemented an LL mouse hook that captures when the mouse receives movement if the mouse is moving on an specified area. The problem is that when my mouse hook is active, it blocks the hooks of other applications, other applications that tries to catch mouse events. Like for example FoldersPopup which is a tiny and free application that hooks the middle mouse button on the windows exp

我的MouseHook阻止其他应用程序的挂钩通知

我已经实现了一个LL鼠标钩子,当鼠标在指定区域移动时,捕捉鼠标的移动。 问题是,当我的鼠标挂钩处于活动状态时,它会阻止其他应用程序的钩子,其他应用程序试图捕获鼠标事件。 比如FoldersPopup,它是一个小巧且免费的应用程序,它钩住windows资源管理器标题栏上的中间鼠标按钮以打开菜单,当我的钩子处于活动状态时,该程序的钩子不起作用。 我不知道它是否可以成为我的钩子或第三方钩子的设计问题,但我认为是我的错,

what rules exist for when !T is used vs !0?

I'm writing an IL static analysis tool, and I'm having a hard time understanding the rules governing how generic type parameters are referenced: take this IL (from the IList<T> interface): .property instance !T Item( int32 index ) { .get instance !0 System.Collections.Generic.IList`1::get_Item(int32) .set instance void System.Collections.Generic.IList`1::set_Item(int3

什么时候存在什么规则!T被使用vs!0?

我正在编写一个IL静态分析工具,并且我很难理解如何引用泛型类型参数的规则: 取这个IL(来自IList<T>界面): .property instance !T Item( int32 index ) { .get instance !0 System.Collections.Generic.IList`1::get_Item(int32) .set instance void System.Collections.Generic.IList`1::set_Item(int32, !0) } 为什么!0代替!T ? 我认为它们与虚拟机的功能是等价的,只要保证名称的存在,使用位置

What exactly is the Windows AppFabric?

Microsoft released a beta of Windows Server AppFabric that "makes it easier to build, scale and manage Web and composite applications that run on IIS". MS has also said that you can deploy AppFabric on your own servers, on a 3rd party host and on Windows Azure. So far we haven't done any Azure development mostly because the API differs from ASP.NET and you can only deploy your a

Windows AppFabric究竟是什么?

微软发布了Windows Server AppFabric测试版,该版本“可以更轻松地构建,扩展和管理在IIS上运行的Web和组合应用程序”。 MS也表示可以在自己的服务器,第三方主机和Windows Azure上部署AppFabric。 到目前为止,我们还没有进行任何Azure开发,主要是因为API与ASP.NET不同,您只能将您的应用程序部署到云(而不是您自己的服务器上)。 因此,如果我使用AppFabric API,是否可以创建应用程序,我可以在内部部署,在第三方主机

Is there a way to visually author WPF Custom Controls?

Is there a way to use a visual XAML designer to author WPF Custom Controls , just like you would with User Controls? As far as I can see there is nothing like this in Visual Studio 2010 and 2012. I've also looked at Expression Blend 4 and none of them seem to support this. I find this hard to believe as it seems to me like this would be an obvious and necessary feature. Just to be clear

有没有一种方法可视化编辑WPF自定义控件?

有没有办法像使用用户控件一样使用可视化XAML设计器来编写WPF 自定义控件 ? 据我所知,在Visual Studio 2010和2012中没有这样的东西。我也看了一下Expression Blend 4,他们都没有支持。 我觉得这很难相信,因为在我看来,这将是一个显而易见的必要特征。 为了清楚起见,我正在寻找一个XAML编辑器,我可以直观地看到XAML作为渲染控件的结果,就像我在Visual Studio 2010中编写用户控件时一样。 这是我想到的一件事情:

MySQL .NET Connector documentation confusion

MySQL 5.0 Connector.NET Examples states: GetBytes returns the number of available bytes in the field. In most cases this is the exact length of the field. However, MySQL 5.0 Connector.NET Documentation lists the return value of GetBytes as the number of bytes read into the buffer. To me this isn't the same thing at all! Regardless, my question is: what's the most readable constru

MySQL .NET Connector文档混淆

MySQL 5.0 Connector.NET示例指出: GetBytes返回字段中可用字节的数量。 在大多数情况下,这是该领域的确切长度。 但是,MySQL 5.0 Connector.NET文档列出GetBytes的返回值作为读入缓冲区的字节数。 对我来说,这根本不是一回事! 无论如何,我的问题是:从数据源获取内容到MemoryStream对象的最可读构造是什么? 我使用GetBytes的返回值来增加GetBytes方法的数据索引参数,但看起来我保持溢出该字段,因为我得到Inde