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
1 change: 1 addition & 0 deletions sdk.sln
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sdk", "Sdk", "{0C6854E8-01E
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Targets", "Targets", "{9446E46C-61A6-4DC0-975F-CF22B8A596A5}"
ProjectSection(SolutionItems) = preProject
src\WebSdk\ProjectSystem\Targets\Microsoft.NET.Sdk.Web.DefaultItems.props = src\WebSdk\ProjectSystem\Targets\Microsoft.NET.Sdk.Web.DefaultItems.props
src\WebSdk\ProjectSystem\Targets\Microsoft.NET.Sdk.Web.ProjectSystem.props = src\WebSdk\ProjectSystem\Targets\Microsoft.NET.Sdk.Web.ProjectSystem.props
src\WebSdk\ProjectSystem\Targets\Microsoft.NET.Sdk.Web.ProjectSystem.targets = src\WebSdk\ProjectSystem\Targets\Microsoft.NET.Sdk.Web.ProjectSystem.targets
EndProjectSection
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!--
***********************************************************************************************
Microsoft.NET.Sdk.Web.DefaultItems.props

WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.

Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project ToolsVersion="14.0">

<ItemGroup Condition="'$(EnableDefaultItems)' == 'true'
And '$(EnableDefaultContentItems)' == 'true'
And '$(EnableDefaultNoneItems)' == 'true'
And '$(AppDesignerFolder)' != ''">
Comment thread
vijayrkn marked this conversation as resolved.

<_WebToolingArtifacts Include="$(AppDesignerFolder)\launchSettings.json;
$(AppDesignerFolder)\serviceDependencies.json;
$(AppDesignerFolder)\serviceDependencies.*.json;
$(AppDesignerFolder)\ServiceDependencies\**;
$(AppDesignerFolder)\PublishProfiles\**"
Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)"/>

<!-- Removing the tooling artifacts from all other globs and adding it to the none glob. This ensures that the
up-to-date check is unimpacted by the changes to the tooling artifacts -->
<None Remove="@(_WebToolingArtifacts)" />
<None Include="@(_WebToolingArtifacts)"
CopyToOutputDirectory="Never"
CopyToPublishDirectory="Never"
ExcludeFromSingleFile="true" />

<Content Remove="@(_WebToolingArtifacts)" />
<Compile Remove="@(_WebToolingArtifacts)" />
<EmbeddedResource Remove="@(_WebToolingArtifacts)" />

<!-- Keep track of the default content items for later to distinguish them from newly generated content items -->
<_ContentIncludedByDefault Remove="@(_ContentIncludedByDefault)" />
Comment thread
vijayrkn marked this conversation as resolved.
<_ContentIncludedByDefault Include="@(Content)" />

</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@ Copyright (c) .NET Foundation. All rights reserved.
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props"
Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props')"/>

<Import Project="$(MSBuildThisFileDirectory)Microsoft.NET.Sdk.Web.DefaultItems.props"
Condition="Exists('$(MSBuildThisFileDirectory)Microsoft.NET.Sdk.Web.DefaultItems.props')"/>

</Project>

3 changes: 2 additions & 1 deletion src/WebSdk/Worker/Targets/Microsoft.NET.Sdk.Worker.props
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ Copyright (c) .NET Foundation. All rights reserved.

<!-- Keep track of the default content items for later to distinguish them from newly generated content items -->
<_ContentIncludedByDefault Include="@(Content)" />

</ItemGroup>

<Import Sdk="Microsoft.NET.Sdk.Web.ProjectSystem" Project="../Targets/Microsoft.NET.Sdk.Web.DefaultItems.props" />

</Project>