-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support of .NET Standard2.0 and .NET Core2.0. #235
Comments
Perform of verificationThere are some trajectory corrections, but we started verification.
By proceeding with the verification it will be closer to the final answer. |
Result of verificationCurrently, It have completed migration of Public namespace and Framework and Business namespace. Though the #IF-DEF directive will be needed in the work, the code base can be nearly equal state and I think that netstandard assembly can be generate by build without duplicating the source code. Obtain the following diff if you want to confirm. As a result, this netstandard assembly can added to the same NuGet package as target="lib\netstandard". And there is a attention matter that the features provided by the netstandard assembly is a subset of net assembly, it can not provide complete functions to net program. Therefore net program will continue to use the net assembly instead of netstandard assembly. On the other hand, netcore and mono program use netstandard assembly. But fortunately, this behavior is the default UX when using the NuGet package created in the above procedure. In addition, since the Business namespace is a customizable layer, I think that it should be implemented with netstandard and mono instead of netstandard. And, whether the libraries of netcore and mono should supplement missing functions, location of the supplementary layers should be considered at beforehand. ※ For above reasons the title of this issue has been fixed. Splitting namespace does not occur. And, support of netcore will also proceed at the same time.
|
Considerations related the testThe targetFramework of the first test runner should be netcore, and should be implemented as batch, MVC, Web API, UWP etc. therefore there is needs to add these netcore samples to Samples4NetCore folder in the OpenTouryo and OpenTouryoTemplate repository. It may be good to use NUnit according to the following information. As this result, will be able to get the netcore development know-how such as batch and MVC. Future prospects
|
Requirement
In the future, to support such as .NET Core, I try to separate the classes that operate on ".NET Standard" in the "Public" namespace into the "Standard" namespace.
The text was updated successfully, but these errors were encountered: