简体   繁体   中英

Visual Studio 2012 - Can't find System.Transactions assembly in .NET 4.5 framework

I'm trying to add a reference to System.Transactions in a C# Visual Studio 2012 project, but System.Transactions isn't available among the framework assemblies, as you can see for yourselves in the below screenshot:可用的框架程序集

Does anyone know why System.Transactions would be unavailable to me? How can I make it reappear?

Edit: Fixed the screenshot, thanks Marc!

There was a Microsoft Connect entry posted for this, which had a comment suggesting that you can browse for it. The path given is:

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Transactions.dll

install in packages NuGet... Visual Studio: Castle.Services.Transaction

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM