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

Do dotnet tool restore automatically in build target #613

Merged
merged 2 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Build.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@
</ItemGroup>

<Import Project=".paket\Paket.Restore.targets" />
<Target Name="DotNetToolRestore" BeforeTargets="PaketRestore">
<Exec Command="dotnet tool restore" />
</Target>
</Project>
3 changes: 3 additions & 0 deletions Content/default/Build.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@
<None Include="paket.references" />
</ItemGroup>
<Import Project=".paket\Paket.Restore.targets" />
<Target Name="DotNetToolRestore" BeforeTargets="PaketRestore">
<Exec Command="dotnet tool restore" />
</Target>
</Project>
6 changes: 0 additions & 6 deletions Content/default/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ You'll need to install the following pre-requisites in order to build SAFE appli

## Starting the application

Before you run the project **for the first time only** you must install dotnet "local tools" with this command:

```bash
dotnet tool restore
```

To concurrently run the server and the client components in watch mode use the following command:

```bash
Expand Down