Skip to content

Conversation

@yfakariya
Copy link
Member

This PR enables:

  • .NET Standard build with released tool set.
  • Consolidate .NET 3.5, 4.x and core in same solution, so build break will be found more quickly.
  • Consolidate unit test projects so it improve development life cycle.

Note:

  • Unfortunately, new csproj does not support including UWP yet, so UWP is built with old (vs2015) project.
  • Siliverlight projects are note supported in new format, so they are still built with old styles.
  • .NET 3.5 and Xamarin require VS 2017 toolset rather than .NET CLI, so the build script requires vs 2017.

...but it is not vs2017 because of silverlights.
Note that some C#7 features are disabled for Unity compatibility.
These restriction will be unlocked in Unity 2017.1
Visual Studio solution explorer uses first framework to show its source tree.
This commit migrates preview dotnet to latest msbuild.
Note that this script depends on Visual Studio 2017 because dotnet CLI does not
support .NET 3.5 and Xamarin yet.
In addition this script assumes that build env has path to latest msbuild since
it is hard to determine the path of msbuild due to it contains Visual Studio
edition.
This project now only supports that VS2015's test project will be able to refer netstadanrd1.1/1.3 builds.
So, .sh is no longer needed, and then just call dotnet build for only netstd (note that other frameworks causes build error because dotnet CLI does not support .NET 3.5, Xamarin, etc.)
@yfakariya yfakariya merged commit b23d82b into master May 3, 2017
@yfakariya yfakariya deleted the wip/vs2017 branch May 3, 2017 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants