Skip to content
Merged
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
8 changes: 4 additions & 4 deletions src/Wasmtime.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ The .NET embedding of Wasmtime enables .NET code to instantiate WebAssembly modu
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>

<Target Name="RestoreTools" BeforeTargets="BeforeBuild">
<Target Name="RunCodeTemplates" BeforeTargets="DispatchToInnerBuilds">
<!-- Generate the code files from the T4 text templates.
We use the "DispatchToInnerBuilds" target so that they are only run once when
building the project, instead of for each target framework. -->
<Exec Command="dotnet tool restore" />
</Target>

<Target Name="RunCodeTemplates" BeforeTargets="BeforeBuild">
<Exec Command="dotnet tool run t4 Linker.DefineFunction.tt" />
<Exec Command="dotnet tool run t4 Function.FromCallback.tt" />
</Target>
Expand Down