Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make build script work out of the box #54

Open
mario-d-s opened this issue Apr 25, 2018 · 1 comment
Open

Make build script work out of the box #54

mario-d-s opened this issue Apr 25, 2018 · 1 comment

Comments

@mario-d-s
Copy link

I just cloned the repo and tried to .\build.ps1. This is the output:

C:\Program Files\dotnet\sdk\2.1.104\Sdks\Microsoft.NET.Sdk\build\Microsoft.PackageDependencyResolution.targets(327,5): error : Assets file '
D:\src\Projects\Optional\src\Optional\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. [D:\src\Project
s\Optional\src\Optional\Optional.csproj]
C:\Program Files\dotnet\sdk\2.1.104\Sdks\Microsoft.NET.Sdk\build\Microsoft.PackageDependencyResolution.targets(167,5): error : Assets file '
D:\src\Projects\Optional\src\Optional\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. [D:\src\Project
s\Optional\src\Optional\Optional.csproj]
C:\Program Files\dotnet\sdk\2.1.104\Sdks\Microsoft.NET.Sdk\build\Microsoft.PackageDependencyResolution.targets(327,5): error : Assets file '
D:\src\Projects\Optional\src\Optional\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. [D:\src\Project
s\Optional\src\Optional\Optional.csproj]
C:\Program Files\dotnet\sdk\2.1.104\Sdks\Microsoft.NET.Sdk\build\Microsoft.PackageDependencyResolution.targets(167,5): error : Assets file '
D:\src\Projects\Optional\src\Optional\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. [D:\src\Project
s\Optional\src\Optional\Optional.csproj]
C:\Program Files\dotnet\sdk\2.1.104\Sdks\Microsoft.NET.Sdk\build\Microsoft.PackageDependencyResolution.targets(327,5): error : Assets file '
D:\src\Projects\Optional\src\Optional\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. [D:\src\Project
s\Optional\src\Optional\Optional.csproj]
C:\Program Files\dotnet\sdk\2.1.104\Sdks\Microsoft.NET.Sdk\build\Microsoft.PackageDependencyResolution.targets(167,5): error : Assets file '
D:\src\Projects\Optional\src\Optional\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. [D:\src\Project
s\Optional\src\Optional\Optional.csproj]
C:\Program Files\dotnet\sdk\2.1.104\Sdks\Microsoft.NET.Sdk\build\Microsoft.PackageDependencyResolution.targets(327,5): error : Assets file '
D:\src\Projects\Optional\src\Optional\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. [D:\src\Project
s\Optional\src\Optional\Optional.csproj]
C:\Program Files\dotnet\sdk\2.1.104\Sdks\Microsoft.NET.Sdk\build\Microsoft.PackageDependencyResolution.targets(167,5): error : Assets file '
D:\src\Projects\Optional\src\Optional\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. [D:\src\Project
s\Optional\src\Optional\Optional.csproj]

Imo there should be a one-shot build script that takes care of cleaning up previous artifacts, restoring NuGet packages and other dependencies, ...

If you like, I could figure it out and make a PR.

@nlkl
Copy link
Owner

nlkl commented May 25, 2018

Hi,

I agree and will take a look at it. Thanks for bringing it to my attention!

/ Nils

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants