Skip to content

Commit c74de04

Browse files
committed
Pin code gen version also
1 parent 635b611 commit c74de04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NuttyTree.NetDaemon.Infrastructure/NuttyTree.NetDaemon.Infrastructure.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
</ItemGroup>
2323

2424
<Target Name="PreBuild" BeforeTargets="PrepareForBuild">
25-
<Exec Command="dotnet tool update -g NetDaemon.HassModel.CodeGen" />
25+
<Exec Command="dotnet tool update -g NetDaemon.HassModel.CodeGen --version 24.28.1" />
2626
<Exec Command="nd-codegen -o ../NuttyTree.NetDaemon.Infrastructure/HomeAssistant/EntitiesAndServices.cs -ns NuttyTree.NetDaemon.Infrastructure.HomeAssistant" WorkingDirectory="..\NuttyTree.NetDaemon" />
2727

2828
<ItemGroup>

0 commit comments

Comments
 (0)