I'm trying to build a .NET Core application that I created on Visual Studio 2017 on Windows on Visual Studio 2017 for Mac.
I've run a 'dotnet restore' which seems to complete correctly. However, when I build, I get the following:
/usr/local/share/dotnet/sdk/1.0.1/Sdks/Microsoft.NET.Sdk/build/Microsoft.PackageDependencyResolution.targets(154,5): error : Assets file '.../obj/project.assets.json' not found. Run a NuGet package restore to generate this file. [.../TME.PatternLibrary.csproj]
And several error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
How can I build the .NET Core project on Mac OS X?
json
files are replaced withxproj
files. – pwasdotnet.exe --version
on OSX. – pwas