From 66cf8ad09d3f03e4a25dae44f5ec0e80739cdbdd Mon Sep 17 00:00:00 2001 From: JeromyWalsh Date: Sat, 30 Sep 2023 15:41:20 -0700 Subject: [PATCH] [Build] Fix wildcard expansion with AssemblyProcessor + PropertyGroup for environment variables (#1860) --- .../Stride.Core.AssemblyProcessor.csproj | 44 ++++++++++++++----- .../Stride.Core/build/Stride.Core.targets | 12 ++--- sources/targets/Stride.Core.targets | 5 +++ 3 files changed, 45 insertions(+), 16 deletions(-) diff --git a/sources/core/Stride.Core.AssemblyProcessor/Stride.Core.AssemblyProcessor.csproj b/sources/core/Stride.Core.AssemblyProcessor/Stride.Core.AssemblyProcessor.csproj index 0f82202d6..e12232ac1 100644 --- a/sources/core/Stride.Core.AssemblyProcessor/Stride.Core.AssemblyProcessor.csproj +++ b/sources/core/Stride.Core.AssemblyProcessor/Stride.Core.AssemblyProcessor.csproj @@ -24,6 +24,25 @@ + + + + $(ProjectDir)..\..\..\build\ + + + + + + + + + + + + + + + Core\DataMemberMode.cs @@ -63,19 +82,25 @@ True + + + + + + - - - - - + + + + + - - - - - + + + $(ILRepack) Stride.Core.AssemblyProcessor$(TargetExt) Mono.Cecil.dll Mono.Cecil.Mdb.dll Mono.Cecil.Pdb.dll Mono.Cecil.Rocks.dll Mono.Options.dll /out:Stride.Core.AssemblyProcessor.Packed$(TargetExt)"/> + + + + $([System.IO.Path]::GetTempPath()) + + true @@ -48,13 +54,9 @@ $(MSBuildThisFileDirectory)..\..\..\..\deps\AssemblyProcessor\$(StrideAssemblyProcessorFramework)\ $(StrideAssemblyProcessorBasePath)Stride.Core.AssemblyProcessor.Packed$(StrideAssemblyProcessorExt) $(IntermediateOutputPath)$(TargetName).sdserializationhash - - $(TEMP) - $(TMPDIR) - /tmp $([System.IO.File]::ReadAllText('$(StrideAssemblyProcessorPath).hash')) - $(TempFolder)\Stride\AssemblyProcessor\$(StrideAssemblyProcessorFramework)\$(StrideAssemblyProcessorHash)\ + $(TEMP)\Stride\AssemblyProcessor\$(StrideAssemblyProcessorFramework)\$(StrideAssemblyProcessorHash)\ $(StrideAssemblyProcessorTempBasePath)Stride.Core.AssemblyProcessor.Packed$(StrideAssemblyProcessorExt) diff --git a/sources/targets/Stride.Core.targets b/sources/targets/Stride.Core.targets index 2cd8a708e..0892af8c9 100644 --- a/sources/targets/Stride.Core.targets +++ b/sources/targets/Stride.Core.targets @@ -23,6 +23,11 @@ + + + $([System.IO.Path]::GetTempPath()) + + $(MSBuildThisFileDirectory)Stride.ruleset