目前我正在构建单独的二进制文件以针对每个运行时
- .net 4
- Windows 手机
- 银光
现在,如果我将库移至单个 Portable Class Library ,并且我没有更改功能,这是否被视为重大更改?
或者在SemVer中条款是主要、次要还是补丁版本更改?
最佳答案
我想说这是一个较小的版本更改,因为链接到您的库的代码现在受 some specific whims of the PCL 的约束。 :
When you deploy a .NET Framework 4 application that references a Portable Class Library assembly, you must specify a dependency on the .NET Framework 4 update. By specifying this dependency, you ensure that the update is installed with your application.
此外,如果您暴露了 certain Framework types ,代码的使用者可能需要更改。
关于.net - 转移到可移植类库是一个重大变化吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10343214/