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

migrated TestHost doesn't support net451 #2

Closed ctaggart closed 7 years ago

ctaggart commented 7 years ago
C:\Program Files\dotnet\sdk\1.0.0-preview3-004056\NuGet.targets(70,5): error : Package Microsoft.TestPlatform.TestHost 15.0.0
-preview-20161012-02 is not compatible with net451 (.NETFramework,Version=v4.5.1). Package Microsoft.TestPlatform.TestHost 15
.0.0-preview-20161012-02 supports:\r [C:\Users\cameron\cs\google-cloud-dotnet\tools\Google.Cloud.Tools.sln]
C:\Program Files\dotnet\sdk\1.0.0-preview3-004056\NuGet.targets(70,5): error :   - net46 (.NETFramework,Version=v4.6)\r [C:\U
sers\cameron\cs\google-cloud-dotnet\tools\Google.Cloud.Tools.sln]
C:\Program Files\dotnet\sdk\1.0.0-preview3-004056\NuGet.targets(70,5): error :   - netstandard1.5 (.NETStandard,Version=v1.5)
 [C:\Users\cameron\cs\google-cloud-dotnet\tools\Google.Cloud.Tools.sln]
C:\Program Files\dotnet\sdk\1.0.0-preview3-004056\NuGet.targets(70,5): error : Package Microsoft.TestPlatform.ObjectModel 15.
0.0-preview-20161012-02 is not compatible with net451 (.NETFramework,Version=v4.5.1). Package Microsoft.TestPlatform.ObjectMo
del 15.0.0-preview-20161012-02 supports:\r [C:\Users\cameron\cs\google-cloud-dotnet\tools\Google.Cloud.Tools.sln]
C:\Program Files\dotnet\sdk\1.0.0-preview3-004056\NuGet.targets(70,5): error :   - net46 (.NETFramework,Version=v4.6)\r [C:\U
sers\cameron\cs\google-cloud-dotnet\tools\Google.Cloud.Tools.sln]
C:\Program Files\dotnet\sdk\1.0.0-preview3-004056\NuGet.targets(70,5): error :   - netstandard1.5 (.NETStandard,Version=v1.5)
 [C:\Users\cameron\cs\google-cloud-dotnet\tools\Google.Cloud.Tools.sln]
C:\Program Files\dotnet\sdk\1.0.0-preview3-004056\NuGet.targets(70,5): error : One or more packages are incompatible with .NE
TFramework,Version=v4.5.1. [C:\Users\cameron\cs\google-cloud-dotnet\tools\Google.Cloud.Tools.sln]
ctaggart commented 7 years ago

It doesn't look like Microsoft.TestPlatform.TestHost supports net451, only 46

image

It looks like the most recent TestHost supports net45. The dotnet migrate tools simply has the old version.

image

image