I've a solution that has the following:
- multiple libraries net461 with old style csproj
- multiple projects net461 with new csproj (Net core libraries and we applications but tatgets net461) and references the old style csproj projects.
- I use VSTS Packages to manage some private nuget packages
I've VS 15.3 installed in my laptop and the build is working great but, on VSTS the build is failing. I tried the following scenarios
- When I use dotnet restore (the new tooling), the build fail on restore on the old style csproj and mentioned it's failed to build (I made sure to use the tool to restore only no build involved)
- When I use nuget restore, I got the below failure message Error : Assets file '[path_to_project_on_agent]\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. which is mentioned here in this github issue https://github.com/Microsoft/vsts-tasks/issues/3762
I need to know what is the correct tasks to get this project building. Thanks,