Skip to content

Commit 03340b5

Browse files
committed
1 parent b8291d2 commit 03340b5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/SmallSharp/SmallSharp.targets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
Debugger="$(DebugSmallSharp)"/>
3535
</Target>
3636

37-
<Target Name="StartupFile" BeforeTargets="BeforeCompile;CoreCompile;CompileDesignTime" DependsOnTargets="$(StartupFileDependsOn)" />
37+
<Target Name="StartupFile" BeforeTargets="BeforeCompile;CoreCompile;CompileDesignTime;CollectUpToDateCheckInputDesignTime" DependsOnTargets="$(StartupFileDependsOn)" />
3838

3939
<Target Name="CollectStartupFile">
4040
<ItemGroup>
@@ -48,6 +48,7 @@
4848
causing those items to be hardcoded in the .csproj -->
4949
<Compile Remove="@(Compile -> WithMetadataValue('RelativeDir', ''))" />
5050
<Compile Include="$(StartupFile)" Condition="'$(StartupFile)' != '' and Exists('$(StartupFile)')" />
51+
<UpToDateCheckInput Include="$(StartupFile)" Condition="'$(StartupFile)' != '' and Exists('$(StartupFile)')" />
5152
</ItemGroup>
5253
</Target>
5354

0 commit comments

Comments
 (0)