From c90ae13f242350786cf9103330c28e660d35eeb8 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sat, 22 Dec 2018 09:10:56 -0800 Subject: Update to latest Home\repo-template --- src/Directory.Build.props | 9 ++-- src/Directory.Build.targets | 48 ++++++++++++++++++++++ .../WixToolset.Core.Native.nuspec | 3 +- .../runtime.win-xxx.WixToolset.Core.Native.nuspec | 3 +- .../runtime.win.WixToolset.Core.Native.nuspec | 3 +- 5 files changed, 57 insertions(+), 9 deletions(-) create mode 100644 src/Directory.Build.targets (limited to 'src') diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 9eacf3f5..e853e22d 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,7 +1,7 @@ @@ -10,20 +10,17 @@ false $(MSBuildProjectName) - $(MSBuildThisFileDirectory)..\build\ + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\build\)) $(BaseOutputPath)obj\$(ProjectName)\ $(BaseOutputPath)$(Configuration)\ WiX Toolset Team WiX Toolset Copyright (c) .NET Foundation and contributors. All rights reserved. + MS-RL WiX Toolset - - $(MSBuildThisFileDirectory)..\..\ - - diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets new file mode 100644 index 00000000..dac7452a --- /dev/null +++ b/src/Directory.Build.targets @@ -0,0 +1,48 @@ + + + + + + + true + $(SolutionPath) + $(NCrunchOriginalSolutionPath) + + + + + + + $([System.IO.File]::ReadAllText($(TheSolutionPath))) + $([System.IO.Path]::GetDirectoryName( $(TheSolutionPath) )) + (?<="[PackageName]", ")(.*)(?=", ") + + + + + + %(Identity) + $(SolutionFileContent.Contains('\%(Identity).csproj')) + + + + + $(RegexPattern.Replace('[PackageName]','%(PackageName)') ) + $([System.Text.RegularExpressions.Regex]::Match('$(SolutionFileContent)', '%(Pattern)')) + + + + + + + + + + + diff --git a/src/WixToolset.Core.Native/WixToolset.Core.Native.nuspec b/src/WixToolset.Core.Native/WixToolset.Core.Native.nuspec index 3394f8ab..25034078 100644 --- a/src/WixToolset.Core.Native/WixToolset.Core.Native.nuspec +++ b/src/WixToolset.Core.Native/WixToolset.Core.Native.nuspec @@ -5,7 +5,8 @@ $version$ $authors$ $authors$ - https://github.com/wixtoolset/Core.Native/blob/master/LICENSE.TXT + + https://licenses.nuget.org/MS-RL https://github.com/wixtoolset/Core.Native false $description$ diff --git a/src/winterop/runtime.win-xxx.WixToolset.Core.Native.nuspec b/src/winterop/runtime.win-xxx.WixToolset.Core.Native.nuspec index 87cf0919..18676197 100644 --- a/src/winterop/runtime.win-xxx.WixToolset.Core.Native.nuspec +++ b/src/winterop/runtime.win-xxx.WixToolset.Core.Native.nuspec @@ -5,7 +5,8 @@ $version$ $authors$ $authors$ - https://github.com/wixtoolset/Core.Native/blob/master/LICENSE.TXT + + https://licenses.nuget.org/MS-RL https://github.com/wixtoolset/Core.Native false $description$ diff --git a/src/wixnative/runtime.win.WixToolset.Core.Native.nuspec b/src/wixnative/runtime.win.WixToolset.Core.Native.nuspec index d2b9c1e7..f7697694 100644 --- a/src/wixnative/runtime.win.WixToolset.Core.Native.nuspec +++ b/src/wixnative/runtime.win.WixToolset.Core.Native.nuspec @@ -5,7 +5,8 @@ $version$ $authors$ $authors$ - https://github.com/wixtoolset/Core.Native/blob/master/LICENSE.TXT + + https://licenses.nuget.org/MS-RL https://github.com/wixtoolset/Core.Native false $description$ -- cgit v1.2.3-55-g6feb