ctaggart / google-cloud-dotnet

Google Cloud Client Library for .NET
https://googlecloudplatform.github.io/google-cloud-dotnet/
Apache License 2.0
0 stars 0 forks source link

xunit build errors #3

Closed ctaggart closed 7 years ago

ctaggart commented 7 years ago

Lots of warnings about downgrading xunit

C:\Program Files\dotnet\sdk\1.0.0-preview3-004056\NuGet.targets(70,5): warning : Dependency specified was xunit.runner.visualstudio (>= 2.2.0-beta4-build1188) but ended up with xunit.runner.visualstudio 2.2.0-beta4-build1194. [C:\Users\cameron\cs\google-cloud-dotnet\apis\Google.Cloud.BigQuery.V2\Google.Cloud.BigQuery.V2.sln]

And then lots of build errors

         BigQueryClientTest.cs(677,10): error CS0246: The type or namespace name 'Fact' could not be found (are you missin
g a using directive or an assembly reference?) [C:\Users\cameron\cs\google-cloud-dotnet\apis\Google.Cloud.BigQuery.V2\Goog
le.Cloud.BigQuery.V2.Tests\Google.Cloud.BigQuery.V2.Tests.csproj]
ctaggart commented 7 years ago
  <ItemGroup>
    <PackageReference Include="Microsoft.NET.Sdk">
      <Version>1.0.0-alpha-20161104-2</Version>
      <PrivateAssets>All</PrivateAssets>
    </PackageReference>
    <PackageReference Include="Microsoft.NET.Test.Sdk">
      <Version>15.0.0-preview-20161123-03</Version>
    </PackageReference>
    <PackageReference Include="xunit.runner.visualstudio">
      <Version>2.2.0-beta4-build1188</Version>
    </PackageReference>
    <PackageReference Include="xunit">
      <Version>2.2.0-beta3-build3402</Version>
    </PackageReference>
    <PackageReference Include="dotnet-test-xunit">
      <Version>2.2.0-preview2-build1029</Version>
    </PackageReference>
ctaggart commented 7 years ago
``` xml
  <ItemGroup>
    <PackageReference Include="xunit.runner.visualstudio">
      <Version>2.2.0-beta4-build1194</Version>
    </PackageReference>
    <PackageReference Include="xunit">
      <Version>2.2.0-beta4-build3444</Version>
    </PackageReference>

Upgrading xunit and xunit.runner.visualstudio to the above worked.