Skip to content
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
2 changes: 1 addition & 1 deletion src/SmallSharp/SmallSharp.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<!-- This disables compilation error in VS for #: prefix -->
<Features Condition="'$(MSBuildIsRestoring)' != 'true'">$(Features);FileBasedProgram</Features>
<Features>$(Features);FileBasedProgram</Features>

<!-- Capture project-level properties before they are defaulted by Microsoft.Common.targets -->
<CustomBeforeMicrosoftCSharpTargets>$(MSBuildThisFileDirectory)\SmallSharp.Before.props</CustomBeforeMicrosoftCSharpTargets>
Expand Down
6 changes: 3 additions & 3 deletions src/SmallSharp/SmallSharp.targets
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

<ItemGroup>
<!-- Ensures all top-level files show up in the IDE -->
<None Include="*$(DefaultLanguageSourceExtension)" Exclude="$(ActiveDebugProfile);$(ActiveFile)" />
<Compile Remove="*$(DefaultLanguageSourceExtension)" />
<None Include="*.cs" Exclude="$(ActiveDebugProfile);$(ActiveFile)" />
<Compile Remove="*.cs" />
<!-- Ensure changes we make to this file trigger a new DTB -->
<UpToDateCheckBuilt Include="Properties\launchSettings.json" />
<UpToDateCheckBuilt Include="$(SmallSharpPackagesProps);$(SmallSharpPackagesTargets)" />
Expand All @@ -47,7 +47,7 @@

<Target Name="CollectStartupFile">
<ItemGroup>
<StartupFile Include="*$(DefaultLanguageSourceExtension)" />
<StartupFile Include="*.cs" />
</ItemGroup>
</Target>

Expand Down