Skip to content

Commit

Permalink
[msbuild] Transpile target should run if @(NESAssembly) files cha…
Browse files Browse the repository at this point in the history
…nge (#61)

There was previously an incremental build bug:

1. `dotnet run`

2. Modify `chr_generic.s`

3. `dotnet run`

Your changes aren't there! You would need to run `dotnet clean` or
`dotnet build` to fix it.
  • Loading branch information
jonathanpeppers authored Sep 20, 2024
1 parent 4f1e956 commit dd15ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dotnes.tasks/Targets/dotnes.targets
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<IncrementalCleanDependsOn>$(IncrementalCleanDependsOn);Transpile</IncrementalCleanDependsOn>
</PropertyGroup>
<Target Name="Transpile" AfterTargets="Build"
Inputs="$(TargetPath)" Outputs="$(NESTargetPath)">
Inputs="$(TargetPath);@(NESAssembly)" Outputs="$(NESTargetPath)">
<TranspileToNES
TargetPath="$(TargetPath)"
AssemblyFiles="@(NESAssembly)"
Expand Down

0 comments on commit dd15ad2

Please sign in to comment.