I have tried to migrate one project in a big solution to the new csproj SDK style
But I get this error
Error MC1000 Unknown build error, 'Cannot resolve dependency to assembly 'Telerik.OpenAccess, Version=2013.2.702.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.' Reports C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFx.targets
To avoid having nuget packages inside our git repository we have all the telerik packages on our own private nuget server
<PackageReference Include="Seges.Dms.Telerik" Version="1.0.2" />
<PackageReference Include="Seges.Dms.Telerik.Reporting" Version="1.1.0" />
And it seems that in the old style all the telerik packages inside our Seges.Dms.Telerik package are added individually, but when I look now in "Manage nuget packages" they both have the same.
One "funny" note is that on my machine in the Repository where I changed the code it builds, but if I do a new clone and build again I get the error and so do TeamCity and a fellew programmer
Also when looking at https://www.telerik.com/forums/could-not-load-assembly-telerik-openaccess it sounds like people have installed OpenAccess SDK, but this have never been installed on our Teamcity server or my machine, so didnt find any help in this
Old csproj https://paste.ofcode.org/RBMWb74Mh75PNLAEkkAiE9
New csproj https://paste.ofcode.org/udNjMVcJLTQRJhGM4uSSEw