How to migrate .NET Core Test projects to VS 2017?

Damir Dobric Posts

Next talks:



Follow me on Twitter: #ddobric




VS 2017 provides a new Unit Test project template related to .NET core projects.

However, you might already have a test project build with .NET Core 1.0. When migrating existing .NET Core Test projects to VS2017, this process might fail for several reasons.
If it does not work, please check following. To do this, edit project file (.csproj).


Then be sure that references to xunit are added as shown below:


Last, but not least, ‘OutputType’ must be set to EXE. Sometimes migration process set it to ‘Library’, which is not correct.


Posted Jan 12 2017, 04:22 AM by Damir Dobric
Filed under: , is a .Net Community Blog powered by daenet GmbH.