Reduce use of MSBuildAllProjects as per Microsoft guidance
Rob Mensching committed
Dec 10, 2021 at 13:47 UTC
f736593cd8cd7486132109e01df03921e5c24000
2 files changed
+1
-9
src/internal/WixBuildTools.MsgGen/build/WixBuildTools.MsgGen.targets
-4
@@ -2,10 +2,6 @@
2
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3
4
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
5
- <PropertyGroup>
6
- <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
7
- </PropertyGroup>
8
-
5
<ItemGroup>
6
<!--Provide support for setting type (BuildAction) from VS-->
7
<AvailableItemName Include="MsgGenSource" />
src/internal/WixBuildTools.XsdGen/build/WixBuildTools.XsdGen.targets
+1
-5
@@ -2,10 +2,6 @@
2
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3
4
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
5
- <PropertyGroup>
6
- <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
7
- </PropertyGroup>
8
-
5
<ItemGroup>
6
<!--Provide support for setting type (BuildAction) from VS-->
7
<AvailableItemName Include="XsdGenSource" />
@@ -42,7 +38,7 @@
38
BeforeTargets="PrepareResources"
39
DependsOnTargets="$(XsdGenDependsOn)"
40
Condition=" '@(XsdGenSource)' != '' "
45
- Inputs="$(MSBuildAllProjects);@(XsdGenSource)"
41
+ Inputs="@(XsdGenSource)"
42
Outputs="$(IntermediateOutputPath)%(XsdGenSource.Filename).cs">
43
44
<PropertyGroup>