dotnet new xunit
dotnet restore
dotnet build
add a new test
dotnet test
build and test should not see any warnings
Build started, please wait...
C:\Program Files\dotnet\sdk\1.0.0-rc4-004842\Microsoft.Common.CurrentVersion.targets(1964,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed. [C:\Projects\Test1\Test1.csproj]
Build completed.
1.0.0-rc4-004842
Note: I don't see the warning when created from Visual studio
Try upgrading the package versions of xunit and xunit.runner.visualstudio to 2.2.0, and this warning should go away. This change is already working its way into the final RTM templates for both dotnet new and Visual Studio 2017.
yep. Thanks @bradwilson !
The new templates in the CLI have been updated.
Most helpful comment
Try upgrading the package versions of
xunitandxunit.runner.visualstudioto2.2.0, and this warning should go away. This change is already working its way into the final RTM templates for bothdotnet newand Visual Studio 2017.