You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>dotnet restore
Nothing to do. None of the projects specified contain packages to restore.
>dotnet build
Microsoft (R) Build Engine version 15.1.509.30326
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Program Files\dotnet\sdk\1.0.0-preview5-004478\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.Sdk.targets(113,5): error : Assets file 'C:\Users\martin.ullrich\Downloads\TmpProj\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. [C:\Users\martin.ullrich\Downloads\TmpProj\TmpProj.csproj]
Workaround:
Change TargetFramework to TargetFrameworks => restore will produce an assets file.
dotnet --info:
>dotnet --info
.NET Command Line Tools (1.0.0-preview5-004478)
Product Information:
Version: 1.0.0-preview5-004478
Commit SHA-1 hash: 4d3e2872fe
Runtime Environment:
OS Name: Windows
OS Version: 10.0.14393
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\1.0.0-preview5-004478
Using dotnet cli
1.0.0-preview5-004478
.Create a
csproj
with the following content:Try to build:
Workaround:
Change
TargetFramework
toTargetFrameworks
=> restore will produce an assets file.dotnet --info
:cc @emgarten @rrelyea (don't know better..)
The text was updated successfully, but these errors were encountered: