我正在尝试在Mac上使用Visual Studio 2017构建一个.NET Core应用程序。我运行了'dotnet restore'命令,看起来完成得很正确。但是,当我进行构建时,出现以下错误信息:
/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]
还有一些类似于"error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)"的错误。
请问如何在Mac OS X上构建.NET Core项目?
/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]
还有一些类似于"error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)"的错误。
请问如何在Mac OS X上构建.NET Core项目?