Rank: Advanced Member
Groups: Registered
Joined: 5/17/2011(UTC) Posts: 209
Thanks: 11 times Was thanked: 55 time(s) in 51 post(s)
|
.NET Core/Standard 2.0 Grid Node Build is totally broken. With 3.11.9/5 it worked before. The NuGet Package Resolution seems broken. I'm getting weird of missing NuGet Packages in my UserProfile, and from the Visual Studio Installation Path. Yes, the errors are technically correct (it is an other Version of VS2017 installed on the Grid Node System, in this case the preview) and the nuget packages (.NET Standard 2.0 and others) are not in the User Profile (for whatever reason - i don't know - there are in different folders, the Grid Node Server than on my local machine). But the normal dotnet build is running, so the the must be available on the system ;) I installed the same Version of VS 2017 with the same toolset on the Grid Node, and i copied my complete user profile nuget package folder to the Grid Node User Profile Nuget Package Folder (the Grid node runs under then same Account as the VS and the local user). So the missing packages are now gone. but it still builds not. Quote: NCrunch: This project was built on server 'DELL-E-6420' WithFakes.cs (9, 55): The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. WithFakes.cs (9, 55): The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. WithFakes.cs (9, 55): The type 'ICollection<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. WithFakes.cs (9, 55): The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. WithFakes.cs (9, 55): The type 'IEnumerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. FakeFactory.cs (20, 68): The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. FakeFactory.cs (20, 68): The type 'ICollection<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. FakeFactory.cs (20, 68): The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. FakeFactory.cs (20, 68): The type 'IEnumerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. FakeFactory.cs (20, 59): 'ServiceProvider ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(IServiceCollection)' has the wrong return type FakeFactory.cs (20, 59): The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. FakeFactory.cs (20, 59): The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. FakeFactory.cs (20, 59): The type 'IDisposable' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. FakeFactory.cs (72, 24): The type 'ConstructorInfo' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. SubjectFactory.cs (61, 33): The type 'ConstructorInfo' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. SubjectFactory.cs (63, 20): The type 'ConstructorInfo' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
Yes, it builds and runs find on my local machine with NCrunch. And builds fine on the grid node with 'dotnet build'. I deleted all Build Folders from the Grid Node Server, did not help. .NET Core 1.1/Standard 1.x are building and testing fine on the same system.
|