runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Rename System.Transactions assembly in .NET Core

Open weshaggard opened this issue 9 years ago • 14 comments

We cannot use the assembly name System.Transactions because that assembly already exist in the full .NET framework. We need to come up with another name and rename it before we try to ship this assembly.

weshaggard avatar Jan 18 '17 00:01 weshaggard

I like System.Transactions.Local.

jimcarley avatar Jan 23 '17 23:01 jimcarley

Sounds reasonable to me I tagged with api-ready-for-review to get other FXDC member opinions.

weshaggard avatar Jan 24 '17 01:01 weshaggard

I like System.Transactions.Local

Does that suggest that any support for distributed transactions would be in another, higher-level assembly?

stephentoub avatar Jan 24 '17 02:01 stephentoub

Yes. In my current vision for support of distributed transactions, we would add some abstract base classes to System.Transactions.Local and then have a new assembly, like System.Transactions.MSDTC, that will have implementations for those base classes along with the supporting code to talk to MSDTC on Windows. And somebody could write a separate assembly, like System.Transactions.DistributedOnLinux, that would use some other distributed transaction coordinator that runs on Linux. Without another assembly that has classes that derive from these new "distributed" abstract base classes in System.Transactions.Local, distributed transactions would not be supported, just like today.

jimcarley avatar Jan 24 '17 02:01 jimcarley

Sounds good.

stephentoub avatar Jan 24 '17 03:01 stephentoub

API review: Order of preference - @jimcarley and team, please choose

  1. System.Transactions.Ambient
  2. System.Transactions.Local

karelz avatar Jan 24 '17 18:01 karelz

@karelz Our team is in agreement on System.Transactions.Local

dmetzgar avatar Feb 07 '17 23:02 dmetzgar

@weshaggard @karelz if we change the assembly name, does that also change the package name?

dmetzgar avatar Feb 07 '17 23:02 dmetzgar

I don't think so - I let @weshaggard confirm for sure.

karelz avatar Feb 07 '17 23:02 karelz

Just changing the assembly name will not update the package name but this name change does apply to both the package and the assembly so you should rename both of them.

weshaggard avatar Feb 08 '17 00:02 weshaggard

Previously we encountered version mismatch when we were trying to use the package. Do you think the version issue was gone?

qizhanMS avatar Feb 08 '17 17:02 qizhanMS

@qizhanMS I need more information to help answer that question.

weshaggard avatar Feb 08 '17 17:02 weshaggard

@qizhanMS is it fixed by dotnet/corefx#16444?

Note: You can use GitHub auto closing if you add "Fixes <issue_reference>" into your PR description.

karelz avatar Mar 01 '17 23:03 karelz

Yes this is fixed by dotnet/corefx#16444

weshaggard avatar Mar 02 '17 00:03 weshaggard