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
3 changes: 3 additions & 0 deletions src/NoTargets.UnitTests/NoTargetsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ public void ProjectsCanDependOnNoTargetsProjects()
[InlineData("SkipCopyBuildProduct", "true")]
[InlineData("AutomaticallyUseReferenceAssemblyPackages", "false")]
[InlineData("NoCompilerStandardLib", "false")]
[InlineData("DebugType", "None")]
[InlineData("DebugSymbols", "false")]
[InlineData("DisableFastUpToDateCheck", "true")]
public void PropertiesHaveExpectedValues(string propertyName, string expectedValue)
{
ProjectCreator.Templates.NoTargetsProject(
Expand Down
7 changes: 7 additions & 0 deletions src/NoTargets/Sdk/Sdk.props
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@
<!-- Don't automatically reference assembly packages since NoTargets don't need reference assemblies -->
<AutomaticallyUseReferenceAssemblyPackages Condition="'$(AutomaticallyUseReferenceAssemblyPackages)' == ''">false</AutomaticallyUseReferenceAssemblyPackages>
<NoCompilerStandardLib Condition="'$(NoCompilerStandardLib)' == ''">false</NoCompilerStandardLib>

<!-- Indicate no symbols will be generated -->
<DebugType Condition="'$(DebugType)' == ''">None</DebugType>
<DebugSymbols Condition="'$(DebugSymbols)' == ''">false</DebugSymbols>

<!-- Disable Visual Studio's Fast Up-to-date Check and rely on MSBuild to determine -->
<DisableFastUpToDateCheck Condition="'$(DisableFastUpToDateCheck )' == ''">true</DisableFastUpToDateCheck>
</PropertyGroup>

<ItemDefinitionGroup Condition=" '$(NoTargetsDoNotReferenceOutputAssemblies)' != 'false' ">
Expand Down