ASP.Net Core Web API (.Net Framework) MSBuild error

Hi all,

Fresh install of VS2017 Community on TeamCity Build Agent.

Project build when mannually built using dotnet restore and msbuild using commandline.

Do the same in TeamCity with the same steps i.e. dotnet restore then solution build and i get the following errors:

error CS0234: The type or namespace name 'AspNetCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

Any ideas?

0
1 comment

Hi Rag,

could you share which Build Steps has your configuration set up to replicate the issue?

0

Please sign in to leave a comment.