-
Notifications
You must be signed in to change notification settings - Fork 727
Closed
Labels
BacklogTestfixedFixed and available in the stable version of C# Extension.Fixed and available in the stable version of C# Extension.
Milestone
Description
I realize I'm on pretty bleeding edge (.NET Core 1.1.0, .NET CLI 1.0.0 preview 4 (csproj), etc) but wanted to raise this and see if I can help w/ anything.
Environment data
.NET Core version
Microsoft .NET Core Shared Framework Host
Version : 1.1.0
Build : 928f77c4bc3f49d892459992fb6e1d5542cb5e86
dotnet --info output:
.NET Command Line Tools (1.0.0-preview4-004233)
Product Information:
Version: 1.0.0-preview4-004233
Commit SHA-1 hash: 8cec61c6f7
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.12
OS Platform: Darwin
RID: osx.10.11-x64
Base Path: /usr/local/share/dotnet/sdk/1.0.0-preview4-004233
VS Code version:
Version 1.8.1 (1.8.1)
C# Extension version:
1.6.2
Steps to reproduce
Create new xunit project
dotnet new -t xunittest
Update references to 1.1.0 in csproj:
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp1.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="**\*.cs" />
<EmbeddedResource Include="**\*.resx" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETCore.App" Version="1.1.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0-preview-20161123-03" />
<PackageReference Include="xunit" Version="2.2.0-beta4-build3444" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0-beta4-build1194" />
</ItemGroup>
</Project>
Open in VS Code and navigate to Test.cs.
Run Test via Omnisharp
Expected behavior
Test runs
Actual behavior
"Failed to run test because null" error
turgayozgur, davidjmurphyjr, MatthewDavidCampbell, vcsjones, VladimirMakaev and 18 morenatemcmaster, xsoheilalizadeh and darth10xsoheilalizadeh
Metadata
Metadata
Assignees
Labels
BacklogTestfixedFixed and available in the stable version of C# Extension.Fixed and available in the stable version of C# Extension.