From 5cff34fd846fabaeeb16305975c604f6d5e23c5c Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sat, 4 Nov 2023 13:12:52 +0000 Subject: [PATCH 01/29] Start --- MSBuild.CompilerCache/AllRefData.cs | 13 +++- MSBuild.CompilerCache/LocatorAndPopulator.cs | 68 +++++++++++++++++++- 2 files changed, 79 insertions(+), 2 deletions(-) diff --git a/MSBuild.CompilerCache/AllRefData.cs b/MSBuild.CompilerCache/AllRefData.cs index 1c61479..a75f84f 100644 --- a/MSBuild.CompilerCache/AllRefData.cs +++ b/MSBuild.CompilerCache/AllRefData.cs @@ -2,12 +2,23 @@ namespace MSBuild.CompilerCache; +/// +/// Information about a dll, and its trimmed versions (reference assemblies). +/// +/// Metadata about the original trimmed file. +/// +/// Hash of the dll resulting from trimming the original to public symbols only +/// +/// Hash of the dll resulting from trimming the original to public and internal symbols only. +/// If is false, this will be null. +/// public record AllRefData( LocalFileExtract Original, ImmutableArray InternalsVisibleToAssemblies, string PublicRefHash, - string PublicAndInternalsRefHash + string? PublicAndInternalsRefHash ) { public string Name() => Path.GetFileNameWithoutExtension(Original.Path); + public bool HasAnyInternalsVisibleToAssemblies => InternalsVisibleToAssemblies.Length > 0; } \ No newline at end of file diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index 871c9c6..281984a 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -116,6 +116,7 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A _assemblyName = inputs.AssemblyName; //logTime?.Invoke("Caches created"); + (_localInputs, _localInputsHash) = CalculateLocalInputsWithHash(logTime); //logTime?.Invoke("LocalInputs with hash created"); @@ -200,6 +201,46 @@ static FileHashCacheKey[] Extract(string[] files) => Other: Extract(decomposed.FileInputs) ); } + + public SourceFileResult ProcessSourceFile(string relativePath) + { + // Open the file for reading, and don't allow anyone to modify it. + var f = File.Open(relativePath, FileMode.Open, FileAccess.Read, FileShare.Read); + var info = new FileInfo(relativePath); + var fileHashCacheKey = FileHashCacheKey.FromFileInfo(info); + var hash = _fileHashCache.Get(fileHashCacheKey); + if (hash == null) + { + var bytes = File.ReadAllBytes(fileHashCacheKey.FullName); + hash = Utils.BytesToHashHex(bytes); + _fileHashCache.Set(fileHashCacheKey, hash); + } + + var localFileExtract = new LocalFileExtract(fileHashCacheKey, hash); + + return new SourceFileResult(f, localFileExtract); + } + + + public SourceFileResult ProcessReference(string relativePath, string assemblyName) + { + // Open the file for reading, and don't allow anyone to modify it. + var f = File.Open(relativePath, FileMode.Open, FileAccess.Read, FileShare.Read); + var info = new FileInfo(relativePath); + var fileHashCacheKey = FileHashCacheKey.FromFileInfo(info); + var hash = _fileHashCache.Get(fileHashCacheKey); + if (hash == null) + { + var bytes = File.ReadAllBytes(fileHashCacheKey.FullName); + hash = Utils.BytesToHashHex(bytes); + _fileHashCache.Set(fileHashCacheKey, hash); + } + + var allRefData = GetAllRefData(relativePath, _refCache, _fileHashCache, _hasher); + var data = AllRefDataToExtract(allRefData, assemblyName, _config.RefTrimming.IgnoreInternalsIfPossible); + var extract = new LocalFileExtract(fileHashCacheKey, data.Hash); + return new SourceFileResult(f, extract); + } internal static LocalInputs CalculateLocalInputs(DecomposedCompilerProps decomposed, IRefCache refCache, string assemblyName, RefTrimmingConfig trimmingConfig, IFileHashCache fileHashCache, IHash hasher, Action? logTime = null) @@ -281,6 +322,27 @@ private static CompilationMetadata GetCompilationMetadata(DateTime postCompilati WorkingDirectory: Environment.CurrentDirectory ); + internal static AllRefData GetAllRefData2(IRefCache refCache, byte[] content, string hashString, string dllName, LocalFileExtract extract) + { + var cacheKey = BuildRefCacheKey(dllName, hashString); + var cached = refCache.Get(cacheKey); + if (cached == null) + { + var trimmer = new RefTrimmer(); + var toBeCached = trimmer.GenerateRefData(ImmutableArray.Create(content)); + cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: extract); + refCache.Set(cacheKey, cached); + } + + return new AllRefData( + Original: cached.Original, + InternalsVisibleToAssemblies: cached.Ref.InternalsVisibleTo, + PublicRefHash: cached.Ref.PublicRefHash, + PublicAndInternalsRefHash: cached.Ref.PublicAndInternalRefHash + ); + } + + internal static AllRefData GetAllRefData(string filepath, IRefCache refCache, IFileHashCache fileHashCache, IHash hasher) { var fileInfo = new FileInfo(filepath); @@ -521,4 +583,8 @@ public partial class OutputExtractsJsonContext : JsonSerializerContext [JsonSerializable(typeof(AllCompilationMetadata))] [JsonSourceGenerationOptions(WriteIndented = true)] public partial class AllCompilationMetadataJsonContext : JsonSerializerContext -{ } \ No newline at end of file +{ } + +public record struct FileHash(string Hash); + +public record SourceFileResult(FileStream f, LocalFileExtract fileHashCacheKey); From dfdc08769467636d6692e6ab182c905615029800 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sat, 4 Nov 2023 17:09:17 +0000 Subject: [PATCH 02/29] Updates. Use .NET SDK 8, TargetFramework 7.0, latest LangVersion --- Directory.Build.props | 6 ++ .../MSBuild.CompilerCache.Benchmarks.csproj | 4 +- .../MSBuild.CompilerCache.Tests.csproj | 2 - MSBuild.CompilerCache/AllRefData.cs | 19 +++++-- MSBuild.CompilerCache/LocatorAndPopulator.cs | 56 +++++++++++-------- .../MSBuild.CompilerCache.csproj | 5 +- MSBuild.CompilerCache/RefTrimmer.cs | 2 +- global.json | 6 ++ 8 files changed, 64 insertions(+), 36 deletions(-) create mode 100644 global.json diff --git a/Directory.Build.props b/Directory.Build.props index 84068b4..9ffb047 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -6,4 +6,10 @@ 3.5.119 + + + preview + enable + enable + \ No newline at end of file diff --git a/MSBuild.CompilerCache.Benchmarks/MSBuild.CompilerCache.Benchmarks.csproj b/MSBuild.CompilerCache.Benchmarks/MSBuild.CompilerCache.Benchmarks.csproj index bb38bf6..9d49a46 100644 --- a/MSBuild.CompilerCache.Benchmarks/MSBuild.CompilerCache.Benchmarks.csproj +++ b/MSBuild.CompilerCache.Benchmarks/MSBuild.CompilerCache.Benchmarks.csproj @@ -2,9 +2,7 @@ Exe - net6.0 - enable - enable + net7.0 Benchmarks diff --git a/MSBuild.CompilerCache.Tests/MSBuild.CompilerCache.Tests.csproj b/MSBuild.CompilerCache.Tests/MSBuild.CompilerCache.Tests.csproj index 02c4a1f..b7b0892 100644 --- a/MSBuild.CompilerCache.Tests/MSBuild.CompilerCache.Tests.csproj +++ b/MSBuild.CompilerCache.Tests/MSBuild.CompilerCache.Tests.csproj @@ -3,8 +3,6 @@ Library net7.0 - enable - enable diff --git a/MSBuild.CompilerCache/AllRefData.cs b/MSBuild.CompilerCache/AllRefData.cs index a75f84f..65f19af 100644 --- a/MSBuild.CompilerCache/AllRefData.cs +++ b/MSBuild.CompilerCache/AllRefData.cs @@ -14,11 +14,22 @@ namespace MSBuild.CompilerCache; /// public record AllRefData( LocalFileExtract Original, - ImmutableArray InternalsVisibleToAssemblies, - string PublicRefHash, - string? PublicAndInternalsRefHash + RefData RefData ) { - public string Name() => Path.GetFileNameWithoutExtension(Original.Path); + public AllRefData( + LocalFileExtract Original, + ImmutableArray InternalsVisibleToAssemblies, + string PublicRefHash, + string? PublicAndInternalsRefHash + ) : this(Original, new RefData(PublicRefHash, PublicAndInternalsRefHash, InternalsVisibleToAssemblies)) + { } + + public ImmutableArray InternalsVisibleToAssemblies => RefData.InternalsVisibleTo; + + public string PublicRefHash => RefData.PublicRefHash; + public string? PublicAndInternalsRefHash => RefData.PublicAndInternalRefHash; + + public string DllName() => Path.GetFileNameWithoutExtension(Original.Path); public bool HasAnyInternalsVisibleToAssemblies => InternalsVisibleToAssemblies.Length > 0; } \ No newline at end of file diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index 281984a..8348ff2 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -229,14 +229,30 @@ public SourceFileResult ProcessReference(string relativePath, string assemblyNam var info = new FileInfo(relativePath); var fileHashCacheKey = FileHashCacheKey.FromFileInfo(info); var hash = _fileHashCache.Get(fileHashCacheKey); + byte[]? bytes = null; if (hash == null) { - var bytes = File.ReadAllBytes(fileHashCacheKey.FullName); + bytes ??= File.ReadAllBytes(fileHashCacheKey.FullName); hash = Utils.BytesToHashHex(bytes); _fileHashCache.Set(fileHashCacheKey, hash); } - var allRefData = GetAllRefData(relativePath, _refCache, _fileHashCache, _hasher); + var dllName = Path.GetFileNameWithoutExtension(fileHashCacheKey.FullName); + var refCacheKey = BuildRefCacheKey(dllName, hash); + var cached = _refCache.Get(refCacheKey); + var originalExtract = new LocalFileExtract(fileHashCacheKey, hash); + if (cached == null) + { + bytes ??= File.ReadAllBytes(fileHashCacheKey.FullName); + + var trimmer = new RefTrimmer(); + var toBeCached = trimmer.GenerateRefData(ImmutableArray.Create(bytes)); + cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: originalExtract); + _refCache.Set(refCacheKey, cached); + } + + var allRefData = new AllRefData(Original: cached.Original, RefData: cached.Ref); + var data = AllRefDataToExtract(allRefData, assemblyName, _config.RefTrimming.IgnoreInternalsIfPossible); var extract = new LocalFileExtract(fileHashCacheKey, data.Hash); return new SourceFileResult(f, extract); @@ -334,14 +350,8 @@ internal static AllRefData GetAllRefData2(IRefCache refCache, byte[] content, st refCache.Set(cacheKey, cached); } - return new AllRefData( - Original: cached.Original, - InternalsVisibleToAssemblies: cached.Ref.InternalsVisibleTo, - PublicRefHash: cached.Ref.PublicRefHash, - PublicAndInternalsRefHash: cached.Ref.PublicAndInternalRefHash - ); + return new AllRefData(Original: cached.Original, RefData: cached.Ref); } - internal static AllRefData GetAllRefData(string filepath, IRefCache refCache, IFileHashCache fileHashCache, IHash hasher) { @@ -375,27 +385,29 @@ internal static AllRefData GetAllRefData(string filepath, IRefCache refCache, IF refCache.Set(cacheKey, cached); } - return new AllRefData( - Original: cached.Original, - InternalsVisibleToAssemblies: cached.Ref.InternalsVisibleTo, - PublicRefHash: cached.Ref.PublicRefHash, - PublicAndInternalsRefHash: cached.Ref.PublicAndInternalRefHash - ); + return new AllRefData(Original: cached.Original, RefData: cached.Ref); } - private static LocalFileExtract AllRefDataToExtract(AllRefData data, string assemblyName, + /// + /// Decide which trimmed version of an assembly to use as an "input" for hashing, + /// and return a that represents that version. + /// + /// Data about the original DLL and its trimmed versions + /// Name of the assembly being compiled - used to decide whether internal symbols are relevant to that assembly. + /// If false, will always use the assembly version with both Public and Internal symbols + /// + private static LocalFileExtract AllRefDataToExtract(AllRefData data, string compilingAssemblyName, bool ignoreInternalsIfPossible) { bool internalsVisibleToOurAssembly = data.InternalsVisibleToAssemblies.Any(x => - string.Equals(x, assemblyName, StringComparison.OrdinalIgnoreCase)); + string.Equals(x, compilingAssemblyName, StringComparison.OrdinalIgnoreCase)); - var ignoreInternals = ignoreInternalsIfPossible && !internalsVisibleToOurAssembly; - var trimmedHash = - ignoreInternals ? data.PublicRefHash : data.PublicAndInternalsRefHash; + bool ignoreInternals = ignoreInternalsIfPossible && !internalsVisibleToOurAssembly; + string? trimmedHash = ignoreInternals ? data.PublicRefHash : data.PublicAndInternalsRefHash; - // TODO It's not very clean that we keep other properties of the original dll and only modify the hash, but it's enough for caching to work. - // We also depend on it working this way, when comparing file metadata in the 'PopulateCache' stage. + // This extract is used to find cached compilation results. + // We want it to return the same value if the appropriately trimmed version of the dll is the same. return data.Original with { Hash = trimmedHash }; } diff --git a/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj b/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj index 1eeab63..fb68701 100644 --- a/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj +++ b/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj @@ -2,10 +2,7 @@ Library - net6.0 - enable - 10 - enable + net7.0 MSBuild.CompilerCache 0.0.2 diff --git a/MSBuild.CompilerCache/RefTrimmer.cs b/MSBuild.CompilerCache/RefTrimmer.cs index 52d14f3..c5fd0bc 100644 --- a/MSBuild.CompilerCache/RefTrimmer.cs +++ b/MSBuild.CompilerCache/RefTrimmer.cs @@ -13,7 +13,7 @@ namespace MSBuild.CompilerCache; /// Hash of a reference assembly for this assembly, that excluded internal symbols. /// Hash of a reference assembly for this assembly, that included internal symbols. /// A list of assembly names that can access internal symbols from this assembly, via the InternalsVisibleTo attribute. -public record RefData(string PublicRefHash, string PublicAndInternalRefHash, ImmutableArray InternalsVisibleTo); +public record RefData(string PublicRefHash, string? PublicAndInternalRefHash, ImmutableArray InternalsVisibleTo); public record RefDataWithOriginalExtract(RefData Ref, LocalFileExtract Original); diff --git a/global.json b/global.json new file mode 100644 index 0000000..c2eb8bd --- /dev/null +++ b/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "8.0.100-rc.2", + "rollForward": "latestFeature" + } + } \ No newline at end of file From e90376fbe721f5f983128edd13992410354bd656 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sat, 4 Nov 2023 19:10:16 +0000 Subject: [PATCH 03/29] Refactor --- MSBuild.CompilerCache.Benchmarks/Program.cs | 2 +- .../InMemoryTaskBasedTests.cs | 5 +- MSBuild.CompilerCache.Tests/PerfTests.cs | 2 +- MSBuild.CompilerCache/CacheCombiner.cs | 21 +- .../CompilationResultsCache.cs | 7 +- MSBuild.CompilerCache/DictionaryBasedCache.cs | 6 +- MSBuild.CompilerCache/FileHashCache.cs | 49 ++-- MSBuild.CompilerCache/ICacheBase.cs | 7 +- MSBuild.CompilerCache/LocatorAndPopulator.cs | 220 ++++++------------ MSBuild.CompilerCache/RefCache.cs | 19 +- MSBuild.CompilerCache/RefTrimmer.cs | 30 +-- 11 files changed, 160 insertions(+), 208 deletions(-) diff --git a/MSBuild.CompilerCache.Benchmarks/Program.cs b/MSBuild.CompilerCache.Benchmarks/Program.cs index 25e4b89..f8579dd 100644 --- a/MSBuild.CompilerCache.Benchmarks/Program.cs +++ b/MSBuild.CompilerCache.Benchmarks/Program.cs @@ -38,7 +38,7 @@ public void HashCalculationPerfTest() void Act() { - var inputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, refCache, "assembly", refTrimmingConfig, new DictionaryBasedCache(), Utils.DefaultHasher); + var inputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, refCache, "assembly", refTrimmingConfig, new DictionaryBasedCache()); if (inputs.Files.Length == 0) throw new Exception(); } diff --git a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs index f4bc8ea..8438eba 100644 --- a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs +++ b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs @@ -66,9 +66,8 @@ public record All(LocateInputs LocateInputs, LocalInputs LocalInputs, CacheKey C public static All AllFromInputs(LocateInputs inputs, IRefCache refCache) { var decomposed = TargetsExtractionUtils.DecomposeCompilerProps(inputs.AllProps); - var localInputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, refCache, assemblyName: "", - trimmingConfig: new RefTrimmingConfig(), fileHashCache: new DictionaryBasedCache(), - hasher: Utils.DefaultHasher); + var localInputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, refCache, compilingAssemblyName: "", + trimmingConfig: new RefTrimmingConfig(), fileHashCache: new DictionaryBasedCache()); var extract = localInputs.ToFullExtract(); var hashString = Utils.ObjectToHash(extract, Utils.DefaultHasher); var cacheKey = LocatorAndPopulator.GenerateKey(inputs, hashString); diff --git a/MSBuild.CompilerCache.Tests/PerfTests.cs b/MSBuild.CompilerCache.Tests/PerfTests.cs index 2134ec5..879679c 100644 --- a/MSBuild.CompilerCache.Tests/PerfTests.cs +++ b/MSBuild.CompilerCache.Tests/PerfTests.cs @@ -40,7 +40,7 @@ public void HashCalculationPerfTest() var refTrimmingConfig = new RefTrimmingConfig(); var localInputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, combinedRefCache, "assembly", refTrimmingConfig, - combinedFileHashCache, Utils.DefaultHasher); + combinedFileHashCache); var extract = localInputs.ToFullExtract(); var hashString = Utils.ObjectToHash(extract); var cacheKey = LocatorAndPopulator.GenerateKey(inputs, hashString); diff --git a/MSBuild.CompilerCache/CacheCombiner.cs b/MSBuild.CompilerCache/CacheCombiner.cs index fb506fe..aa266d7 100644 --- a/MSBuild.CompilerCache/CacheCombiner.cs +++ b/MSBuild.CompilerCache/CacheCombiner.cs @@ -1,5 +1,3 @@ -using IRefCache = MSBuild.CompilerCache.ICacheBase; - namespace MSBuild.CompilerCache; public class CacheCombiner : ICacheBase where TValue : class @@ -15,16 +13,16 @@ public CacheCombiner(ICacheBase cache1, ICacheBase c public bool Exists(TKey key) => _cache1.Exists(key) || _cache2.Exists(key); - public TValue? Get(TKey key) + public async Task GetAsync(TKey key) { - var cache1Res = _cache1.Get(key); + var cache1Res = await _cache1.GetAsync(key); if (cache1Res != null) { return cache1Res; } else { - var cache2Res = _cache2.Get(key); + var cache2Res = await _cache2.GetAsync(key); if (cache2Res != null) { _cache1.Set(key, cache2Res); @@ -49,6 +47,19 @@ public bool Set(TKey key, TValue value) return false; } } + + public async Task SetAsync(TKey key, TValue value) + { + if (await _cache1.SetAsync(key, value)) + { + await _cache2.SetAsync(key, value); + return true; + } + else + { + return false; + } + } } public static class CacheCombiner diff --git a/MSBuild.CompilerCache/CompilationResultsCache.cs b/MSBuild.CompilerCache/CompilationResultsCache.cs index 2a6259b..cbd3e24 100644 --- a/MSBuild.CompilerCache/CompilationResultsCache.cs +++ b/MSBuild.CompilerCache/CompilationResultsCache.cs @@ -97,11 +97,11 @@ public string GetCacheFileName() /// Used only for debugging purposes, stored alongside cache items. /// [Serializable] -public record LocalInputs(LocalFileExtract[] Files, (string, string)[] Props, OutputItem[] OutputFiles) +public record LocalInputs(InputResult[] Files, (string, string)[] Props, OutputItem[] OutputFiles) { public FullExtract ToFullExtract() { - return new FullExtract(Files: Files.Select(f => f.ToFileExtract()).ToArray(), Props: Props, + return new FullExtract(Files: Files.Select(f => f.fileHashCacheKey.ToFileExtract()).ToArray(), Props: Props, OutputFiles: OutputFiles.Select(o => o.Name).ToArray()); } } @@ -268,5 +268,4 @@ private string[] GetOutputVersions(CacheKey key) [JsonSerializable(typeof(FullExtract))] [JsonSourceGenerationOptions(WriteIndented = true)] -public partial class FullExtractJsonContext : JsonSerializerContext -{ } +public partial class FullExtractJsonContext : JsonSerializerContext; diff --git a/MSBuild.CompilerCache/DictionaryBasedCache.cs b/MSBuild.CompilerCache/DictionaryBasedCache.cs index 1f67299..bd41fd7 100644 --- a/MSBuild.CompilerCache/DictionaryBasedCache.cs +++ b/MSBuild.CompilerCache/DictionaryBasedCache.cs @@ -8,11 +8,11 @@ public class DictionaryBasedCache : ICacheBase where public bool Exists(TKey key) => _cache.ContainsKey(key); - public TValue Get(TKey key) + public Task GetAsync(TKey key) { _cache.TryGetValue(key, out var value); - return value; + return Task.FromResult(value); } - public bool Set(TKey key, TValue value) => _cache.TryAdd(key, value); + public Task SetAsync(TKey key, TValue value) => Task.FromResult(_cache.TryAdd(key, value)); } \ No newline at end of file diff --git a/MSBuild.CompilerCache/FileHashCache.cs b/MSBuild.CompilerCache/FileHashCache.cs index dc26a46..cc1f1b1 100644 --- a/MSBuild.CompilerCache/FileHashCache.cs +++ b/MSBuild.CompilerCache/FileHashCache.cs @@ -27,26 +27,49 @@ public bool Exists(FileHashCacheKey originalKey) return File.Exists(entryPath); } - public string Get(FileHashCacheKey originalKey) + public async Task GetAsync(FileHashCacheKey originalKey) { var key = ExtractKey(originalKey); var entryPath = EntryPath(key); var fi = new FileInfo(entryPath); if (fi.Exists) { - string Read() - { - using var fs = fi.OpenText(); - return fs.ReadToEnd(); - } - return IOActionWithRetries(Read); + Task Read() => File.ReadAllTextAsync(entryPath); + return await IOActionWithRetriesAsync(Read); } else { return null; } } + + internal static async Task IOActionWithRetriesAsync(Func> action) + { + var attempts = 5; + var retryDelayBaseMs = 50; + for (int attempt = 1; attempt <= attempts; attempt++) + { + try + { + return await action(); + } + catch(IOException) + { + if (attempt < attempts) + { + var delay = TimeSpan.FromMilliseconds(Math.Pow(2, attempt-1) * retryDelayBaseMs); + await Task.Delay(delay); + } + else + { + throw; + } + } + } + throw new InvalidOperationException("Unexpected code location reached"); + } + internal static T IOActionWithRetries(Func action) { var attempts = 5; @@ -74,20 +97,20 @@ internal static T IOActionWithRetries(Func action) throw new InvalidOperationException("Unexpected code location reached"); } - public bool Set(FileHashCacheKey originalKey, string value) + public async Task SetAsync(FileHashCacheKey originalKey, string value) { var key = ExtractKey(originalKey); - var entryPath = EntryPath(key); + string entryPath = EntryPath(key); if (File.Exists(entryPath)) { - return false; + return await Task.FromResult(false); } using var tmpFile = new TempFile(); { - using var fs = tmpFile.File.OpenWrite(); - using var sw = new StreamWriter(fs, Encoding.UTF8); - sw.Write(value); + await using var fs = tmpFile.File.OpenWrite(); + await using var sw = new StreamWriter(fs, Encoding.UTF8); + await sw.WriteAsync(value); } return CompilationResultsCache.AtomicCopy(tmpFile.FullName, entryPath, throwIfDestinationExists: false); diff --git a/MSBuild.CompilerCache/ICacheBase.cs b/MSBuild.CompilerCache/ICacheBase.cs index 87acd31..94f410a 100644 --- a/MSBuild.CompilerCache/ICacheBase.cs +++ b/MSBuild.CompilerCache/ICacheBase.cs @@ -3,12 +3,13 @@ namespace MSBuild.CompilerCache; public interface ICacheBase where TValue : class { bool Exists(TKey key); - TValue? Get(TKey key); + Task GetAsync(TKey key); bool Set(TKey key, TValue value); + Task SetAsync(TKey key, TValue value); - sealed TValue GetOrSet(TKey key, Func creator) + sealed async Task GetOrSet(TKey key, Func creator) { - var value = Get(key); + var value = await GetAsync(key); if (value == null) { value = creator(key); diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index 8348ff2..7b85636 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -183,9 +183,10 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A } private LocalInputs CalculateLocalInputs(Action? logTime = null) => - CalculateLocalInputs(_decomposed, _refCache, _assemblyName, _config.RefTrimming, _fileHashCache, _hasher, logTime); + CalculateLocalInputs(_decomposed, _refCache, _assemblyName, _config.RefTrimming, _fileHashCache, logTime); public record FileInputs(FileHashCacheKey[] References, FileHashCacheKey[] Other); + public record FileInputs2(string[] References, string[] Other); private static FileInputs ExtractFileInputs(DecomposedCompilerProps decomposed) { @@ -202,113 +203,97 @@ static FileHashCacheKey[] Extract(string[] files) => ); } - public SourceFileResult ProcessSourceFile(string relativePath) + public static async Task ProcessSourceFile(string relativePath, IFileHashCache fileHashCache) { // Open the file for reading, and don't allow anyone to modify it. var f = File.Open(relativePath, FileMode.Open, FileAccess.Read, FileShare.Read); var info = new FileInfo(relativePath); var fileHashCacheKey = FileHashCacheKey.FromFileInfo(info); - var hash = _fileHashCache.Get(fileHashCacheKey); + var hash = await fileHashCache.GetAsync(fileHashCacheKey); if (hash == null) { - var bytes = File.ReadAllBytes(fileHashCacheKey.FullName); + var bytes = await File.ReadAllBytesAsync(fileHashCacheKey.FullName); hash = Utils.BytesToHashHex(bytes); - _fileHashCache.Set(fileHashCacheKey, hash); + fileHashCache.Set(fileHashCacheKey, hash); } var localFileExtract = new LocalFileExtract(fileHashCacheKey, hash); - return new SourceFileResult(f, localFileExtract); + return new InputResult(f, localFileExtract); } - public SourceFileResult ProcessReference(string relativePath, string assemblyName) + public static async Task ProcessReference(string relativePath, string compilingAssemblyName, IFileHashCache fileHashCache, IRefCache refCache, RefTrimmingConfig refTrimmingConfig) { // Open the file for reading, and don't allow anyone to modify it. var f = File.Open(relativePath, FileMode.Open, FileAccess.Read, FileShare.Read); var info = new FileInfo(relativePath); var fileHashCacheKey = FileHashCacheKey.FromFileInfo(info); - var hash = _fileHashCache.Get(fileHashCacheKey); + var hash = await fileHashCache.GetAsync(fileHashCacheKey); byte[]? bytes = null; + if (hash == null) { - bytes ??= File.ReadAllBytes(fileHashCacheKey.FullName); + bytes ??= await File.ReadAllBytesAsync(fileHashCacheKey.FullName); hash = Utils.BytesToHashHex(bytes); - _fileHashCache.Set(fileHashCacheKey, hash); + fileHashCache.Set(fileHashCacheKey, hash); } - var dllName = Path.GetFileNameWithoutExtension(fileHashCacheKey.FullName); - var refCacheKey = BuildRefCacheKey(dllName, hash); - var cached = _refCache.Get(refCacheKey); + var referenceDllName = Path.GetFileNameWithoutExtension(fileHashCacheKey.FullName); var originalExtract = new LocalFileExtract(fileHashCacheKey, hash); + + var refCacheKey = BuildRefCacheKey(referenceDllName, hash); + var cached = await refCache.GetAsync(refCacheKey); if (cached == null) { - bytes ??= File.ReadAllBytes(fileHashCacheKey.FullName); - - var trimmer = new RefTrimmer(); - var toBeCached = trimmer.GenerateRefData(ImmutableArray.Create(bytes)); + bytes ??= await File.ReadAllBytesAsync(fileHashCacheKey.FullName); + + var toBeCached = await new RefTrimmer().GenerateRefData(ImmutableArray.Create(bytes)); cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: originalExtract); - _refCache.Set(refCacheKey, cached); + refCache.Set(refCacheKey, cached); } var allRefData = new AllRefData(Original: cached.Original, RefData: cached.Ref); - var data = AllRefDataToExtract(allRefData, assemblyName, _config.RefTrimming.IgnoreInternalsIfPossible); + var data = AllRefDataToExtract(allRefData, compilingAssemblyName, refTrimmingConfig.IgnoreInternalsIfPossible); var extract = new LocalFileExtract(fileHashCacheKey, data.Hash); - return new SourceFileResult(f, extract); + return new InputResult(f, extract); } internal static LocalInputs CalculateLocalInputs(DecomposedCompilerProps decomposed, IRefCache refCache, - string assemblyName, RefTrimmingConfig trimmingConfig, IFileHashCache fileHashCache, IHash hasher, Action? logTime = null) + string compilingAssemblyName, RefTrimmingConfig trimmingConfig, IFileHashCache fileHashCache, Action? logTime = null) { - var _fileInputs = ExtractFileInputs(decomposed); - var fileInputs = trimmingConfig.Enabled - ? _fileInputs.Other - : _fileInputs.Other.Concat(_fileInputs.References).ToArray(); - var fileExtracts = - fileInputs - .Chunk(4) - // .AsParallel() - // .AsOrdered() - // .WithDegreeOfParallelism(Math.Max(2, Environment.ProcessorCount / 2)) - // Preserve original order of files - .SelectMany(paths => paths.Select(p => GetLocalFileExtract(p, fileHashCache))) - .ToImmutableArray(); - - //logTime?.Invoke("file extracts done"); + string[] fileInputs2, references2; + if (trimmingConfig.Enabled) + { + fileInputs2 = decomposed.FileInputs; + references2 = decomposed.References; + } + else + { + fileInputs2 = decomposed.FileInputs.Concat(decomposed.References).ToArray(); + references2 = Array.Empty(); + } - var refExtracts = trimmingConfig.Enabled - ? decomposed.References + var fileTasks = fileInputs2.Select(f => (Func>)(() => ProcessSourceFile(f, fileHashCache))); + var refTasks = references2.Select(r => (Func>)(() => ProcessReference(r, compilingAssemblyName, fileHashCache, refCache, trimmingConfig))); + var allTaskFuncs = fileTasks.Concat(refTasks).ToArray(); + var allTasks = + allTaskFuncs .Chunk(20) + .SelectMany(taskFuncs => taskFuncs.Select(tf => tf())) .AsParallel() - // Preserve original order of files - .AsOrdered() - .WithDegreeOfParallelism(8) - .SelectMany(dlls => - { - return dlls.Select(dll => - { - var fileInfo = new FileInfo(dll); - var lastWrite = fileInfo.LastWriteTimeUtc; - var length = fileInfo.Length; - var allRefData = GetAllRefData(dll, refCache, fileHashCache, hasher); - var data = AllRefDataToExtract(allRefData, assemblyName, trimmingConfig.IgnoreInternalsIfPossible); - return data with { Info = data.Info with {LastWriteTimeUtc = lastWrite, Length = length} }; - }).ToArray(); - }) - .ToImmutableArray() - : ImmutableArray.Create(); + .ToArray(); + var allItems = System.Threading.Tasks.Task.WhenAll(allTasks).GetAwaiter().GetResult(); //logTime?.Invoke("ref extracts done"); - var allExtracts = fileExtracts.Union(refExtracts).ToArray(); - var props = decomposed.PropertyInputs.Select(kvp => (kvp.Key, kvp.Value)).OrderBy(kvp => kvp.Key).ToArray(); var outputs = decomposed.OutputsToCache.OrderBy(x => x.Name).ToArray(); //logTime?.Invoke("orders done"); - return new LocalInputs(allExtracts, props, outputs); + return new LocalInputs(allItems, props, outputs); } private static LocalFileExtract GetLocalFileExtract(FileInfo fileInfo, FileHashCacheKey fileHash) @@ -323,9 +308,9 @@ public static string CreateHashString(FileHashCacheKey fileHashCacheKey) return Utils.BytesToHashHex(bytes); } - private static LocalFileExtract GetLocalFileExtract(FileHashCacheKey fileKey, IFileHashCache fileHashCache) + private static async Task GetLocalFileExtract(FileHashCacheKey fileKey, IFileHashCache fileHashCache) { - var hashString = fileHashCache.GetOrSet(fileKey, CreateHashString); + var hashString = await fileHashCache.GetOrSet(fileKey, CreateHashString); return new LocalFileExtract(Info: fileKey, Hash: hashString); } @@ -338,22 +323,7 @@ private static CompilationMetadata GetCompilationMetadata(DateTime postCompilati WorkingDirectory: Environment.CurrentDirectory ); - internal static AllRefData GetAllRefData2(IRefCache refCache, byte[] content, string hashString, string dllName, LocalFileExtract extract) - { - var cacheKey = BuildRefCacheKey(dllName, hashString); - var cached = refCache.Get(cacheKey); - if (cached == null) - { - var trimmer = new RefTrimmer(); - var toBeCached = trimmer.GenerateRefData(ImmutableArray.Create(content)); - cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: extract); - refCache.Set(cacheKey, cached); - } - - return new AllRefData(Original: cached.Original, RefData: cached.Ref); - } - - internal static AllRefData GetAllRefData(string filepath, IRefCache refCache, IFileHashCache fileHashCache, IHash hasher) + internal static async Task GetAllRefData(string filepath, IRefCache refCache, IFileHashCache fileHashCache, IHash hasher) { var fileInfo = new FileInfo(filepath); if (!fileInfo.Exists) @@ -362,11 +332,11 @@ internal static AllRefData GetAllRefData(string filepath, IRefCache refCache, IF } var fileCacheKey = FileHashCacheKey.FromFileInfo(fileInfo); - var hashString = fileHashCache.Get(fileCacheKey); - byte[] bytes = null; + var hashString = await fileHashCache.GetAsync(fileCacheKey); + byte[]? bytes = null; if (hashString == null) { - bytes = File.ReadAllBytes(filepath); + bytes ??= await File.ReadAllBytesAsync(filepath); hashString = Utils.BytesToHashHex(bytes, hasher); fileHashCache.Set(fileCacheKey, hashString); } @@ -375,12 +345,12 @@ internal static AllRefData GetAllRefData(string filepath, IRefCache refCache, IF var name = Path.GetFileNameWithoutExtension(fileInfo.Name); var cacheKey = BuildRefCacheKey(name, hashString); - var cached = refCache.Get(cacheKey); + var cached = refCache.GetAsync(cacheKey).GetAwaiter().GetResult(); if (cached == null) { - bytes ??= File.ReadAllBytes(filepath); + bytes ??= await File.ReadAllBytesAsync(filepath); var trimmer = new RefTrimmer(); - var toBeCached = trimmer.GenerateRefData(ImmutableArray.Create(bytes)); + var toBeCached = await trimmer.GenerateRefData(ImmutableArray.Create(bytes)); cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: extract); refCache.Set(cacheKey, cached); } @@ -432,48 +402,7 @@ internal static CacheKey GenerateKey(LocateInputs inputs, string hash) var name = Path.GetFileName(inputs.ProjectFullPath); return new CacheKey($"{name}_{hash}"); } - - public record struct SomeFileMetadata(long Length, DateTime LastWriteTimeUtc); - public record struct InputsConsistencyResult(bool Changed, - (SomeFileMetadata Before, SomeFileMetadata After)? ChangedFile); - - private string? CheckInputsConsistency(TaskLoggingHelper taskLoggingHelper) - { - bool FileChanged(FileHashCacheKey file) - { - var before = new SomeFileMetadata(file.Length, file.LastWriteTimeUtc); - var refreshedFile = new FileInfo(file.FullName); - var after = new SomeFileMetadata(refreshedFile.Length, refreshedFile.LastWriteTimeUtc); - var changed = after != before; - if (changed) - { - taskLoggingHelper.LogWarning($"{file.FullName} changed. Before: {before}, after: {after}"); - } - return changed; - } - - var changedFile = - _localInputs.Files - .Chunk(Math.Max(1, _localInputs.Files.Length / 8)) - .AsParallel() - .WithExecutionMode(ParallelExecutionMode.ForceParallelism) - .Select(files => - { - foreach (var file in files) - { - if (FileChanged(file.Info)) - { - return file.Info.FullName; - } - } - - return null; - }) - .FirstOrDefault(changedFile => changedFile != null); - return changedFile; - } - public UseOrPopulateResult PopulateCache(TaskLoggingHelper log, Action? logTime = null) { // Trigger RefTrimmer for newly-built dlls/exe files - should speed up builds of dependent projects, @@ -483,18 +412,18 @@ public UseOrPopulateResult PopulateCache(TaskLoggingHelper log, Action? var postCompilationTimeUtc = DateTime.UtcNow; // TODO Refactor, deduplicate - void RefasmCompiledDlls() + async System.Threading.Tasks.Task RefasmCompiledDlls() { - bool RefasmableOutputItem(OutputItem o) => Path.GetExtension(o.LocalPath) is ".dll"; + static bool RefasmableOutputItem(OutputItem o) => Path.GetExtension(o.LocalPath) is ".dll"; var dllsToRefasm = _decomposed.OutputsToCache.Where(RefasmableOutputItem).ToArray(); foreach (var dll in dllsToRefasm) { - var bytes = File.ReadAllBytes(dll.LocalPath); + var bytes = await File.ReadAllBytesAsync(dll.LocalPath); var trimmer = new RefTrimmer(); - var toBeCached = trimmer.GenerateRefData(ImmutableArray.Create(bytes)); + var toBeCached = await trimmer.GenerateRefData(ImmutableArray.Create(bytes)); var fileInfo = new FileInfo(dll.LocalPath); var fileCacheKey = FileHashCacheKey.FromFileInfo(fileInfo); - var hashString = _fileHashCache.GetOrSet(fileCacheKey, CreateHashString); + var hashString = await _fileHashCache.GetOrSet(fileCacheKey, CreateHashString); var extract = new LocalFileExtract(fileCacheKey, hashString); var name = Path.GetFileNameWithoutExtension(fileInfo.Name); var cacheKey = BuildRefCacheKey(name, hashString); @@ -511,28 +440,13 @@ void RefasmCompiledDlls() using var tmpDir = new DisposableDir(); var outputZip = BuildOutputsZip(tmpDir, _decomposed.OutputsToCache, stuff, Utils.DefaultHasher, log); - - var changedFile = CheckInputsConsistency(log); - - //logTime?.Invoke("Calculated local inputs with hash"); - var consistent = changedFile == null; - var consistencyString = consistent ? "Consistent" : $"Some files changed. Example: {changedFile}"; - log.LogMessage(MessageImportance.Normal, $"CompilationCache info: {consistencyString}"); - if (consistent) - { - //logTime?.Invoke("Hashes match"); - log.LogMessage(MessageImportance.Normal, - $"CompilationCache - copying {_decomposed.OutputsToCache.Length} files from output to cache"); - //logTime?.Invoke("Outputs zip created"); - _cache.Set(_locateResult.CacheKey!.Value, _extract, outputZip); - //logTime?.Invoke("cache entry set"); - } - else - { - log.LogMessage(MessageImportance.Normal, - $"CompilationCache miss and inputs changed during compilation. The cache will not be populated as we are not certain what inputs the compiler used."); - } + //logTime?.Invoke("Hashes match"); + log.LogMessage(MessageImportance.Normal, + $"CompilationCache - copying {_decomposed.OutputsToCache.Length} files from output to cache"); + //logTime?.Invoke("Outputs zip created"); + _cache.Set(_locateResult.CacheKey!.Value, _extract, outputZip); + //logTime?.Invoke("cache entry set"); refasmCompiledDllsTask.GetAwaiter().GetResult(); @@ -589,14 +503,12 @@ await JsonSerializer.SerializeAsync(fs, metadata, [JsonSerializable(typeof(FileExtract[]))] [JsonSourceGenerationOptions(WriteIndented = true)] -public partial class OutputExtractsJsonContext : JsonSerializerContext -{ } +public partial class OutputExtractsJsonContext : JsonSerializerContext; [JsonSerializable(typeof(AllCompilationMetadata))] [JsonSourceGenerationOptions(WriteIndented = true)] -public partial class AllCompilationMetadataJsonContext : JsonSerializerContext -{ } +public partial class AllCompilationMetadataJsonContext : JsonSerializerContext; public record struct FileHash(string Hash); -public record SourceFileResult(FileStream f, LocalFileExtract fileHashCacheKey); +public record InputResult(FileStream f, LocalFileExtract fileHashCacheKey); diff --git a/MSBuild.CompilerCache/RefCache.cs b/MSBuild.CompilerCache/RefCache.cs index d04eabe..d52a9cd 100644 --- a/MSBuild.CompilerCache/RefCache.cs +++ b/MSBuild.CompilerCache/RefCache.cs @@ -88,7 +88,22 @@ public bool Set(CacheKey key, RefDataWithOriginalExtract data) } return CompilationResultsCache.AtomicCopy(tmpFile.FullName, entryPath, throwIfDestinationExists: false); } + + public async Task SetAsync(CacheKey key, RefDataWithOriginalExtract data) + { + var entryPath = EntryPath(key); + if (File.Exists(entryPath)) + { + return false; + } + + using var tmpFile = new TempFile(); + { + await using var fs = tmpFile.File.OpenWrite(); + await JsonSerializer.SerializeAsync(fs, data, RefDataWithOriginalExtractJsonContext.Default.RefDataWithOriginalExtract); + } + return CompilationResultsCache.AtomicCopy(tmpFile.FullName, entryPath, throwIfDestinationExists: false); + } } -public class InMemoryRefCache : DictionaryBasedCache -{ } \ No newline at end of file +public class InMemoryRefCache : DictionaryBasedCache; \ No newline at end of file diff --git a/MSBuild.CompilerCache/RefTrimmer.cs b/MSBuild.CompilerCache/RefTrimmer.cs index c5fd0bc..5c1dd25 100644 --- a/MSBuild.CompilerCache/RefTrimmer.cs +++ b/MSBuild.CompilerCache/RefTrimmer.cs @@ -11,7 +11,7 @@ namespace MSBuild.CompilerCache; /// Information about an assembly used for hash calculations in dependant projects' compilation. /// /// Hash of a reference assembly for this assembly, that excluded internal symbols. -/// Hash of a reference assembly for this assembly, that included internal symbols. +/// Hash of a reference assembly for this assembly, that included internal symbols. Can be null if internals are not visible to any assemblies. /// A list of assembly names that can access internal symbols from this assembly, via the InternalsVisibleTo attribute. public record RefData(string PublicRefHash, string? PublicAndInternalRefHash, ImmutableArray InternalsVisibleTo); @@ -19,8 +19,7 @@ public record RefDataWithOriginalExtract(RefData Ref, LocalFileExtract Original) [JsonSerializable(typeof(RefDataWithOriginalExtract))] [JsonSourceGenerationOptions(WriteIndented = true)] -public partial class RefDataWithOriginalExtractJsonContext : JsonSerializerContext -{ } +public partial class RefDataWithOriginalExtractJsonContext : JsonSerializerContext; public class RefTrimmer @@ -103,7 +102,7 @@ public static string MakeRefasmAndGetHash(LoggerBase logger, RefAsmType refAsmTy return hash; } - public RefData GenerateRefData(ImmutableArray content) + public async Task GenerateRefData(ImmutableArray content) { var logger = new VerySimpleLogger(Console.Out, LogLevel.Warning); var loggerBase = new LoggerBase(logger); @@ -114,22 +113,15 @@ public RefData GenerateRefData(ImmutableArray content) // If no assemblies can see the internals, there is no need to generate public+internal ref assembly var internalsNeverAccessible = internalsVisibleToAssemblies.IsEmpty; - string GetPublicHash() - { - var peReader2 = new PEReader(content); - return MakeRefasmAndGetHash(loggerBase, RefAsmType.Public, peReader2); - } - - string GetPublicAndInternalHash() - { - var peReader3 = new PEReader(content); - return MakeRefasmAndGetHash(loggerBase, RefAsmType.PublicAndInternal, peReader3); - } + string GetPublicHash() => MakeRefasmAndGetHash(loggerBase, RefAsmType.Public, new PEReader(content)); + + string GetPublicAndInternalHash() => MakeRefasmAndGetHash(loggerBase, RefAsmType.PublicAndInternal, new PEReader(content)); - string? publicRefHash = null; string? publicAndInternalRefHash = null; + string? publicRefHash = null, publicAndInternalRefHash = null; if (internalsNeverAccessible) { - publicRefHash = publicAndInternalRefHash = GetPublicHash(); + publicRefHash = GetPublicHash(); + publicAndInternalRefHash = null; } else { @@ -138,12 +130,12 @@ string GetPublicAndInternalHash() Task.Factory.StartNew(() => { publicRefHash = GetPublicHash();}), Task.Factory.StartNew(() => { publicAndInternalRefHash = GetPublicAndInternalHash();}) }; - Task.WaitAll(tasks); + await Task.WhenAll(tasks); } return new RefData( PublicRefHash: publicRefHash!, - PublicAndInternalRefHash: publicAndInternalRefHash!, + PublicAndInternalRefHash: publicAndInternalRefHash, InternalsVisibleTo: internalsVisibleToAssemblies ); } From 032e6e3bdc115fa7eb9322225d272a50c335c578 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sat, 4 Nov 2023 19:29:08 +0000 Subject: [PATCH 04/29] Refactor --- .../InMemoryTaskBasedTests.cs | 14 ++--- MSBuild.CompilerCache.Tests/RefCacheTests.cs | 13 ++--- .../TestOutputBuildAndCache.cs | 8 +-- MSBuild.CompilerCache.Tests/TrimmingTests.cs | 6 +- MSBuild.CompilerCache/CacheCombiner.cs | 8 +-- .../CompilationResultsCache.cs | 31 +++++------ MSBuild.CompilerCache/ICacheBase.cs | 4 +- MSBuild.CompilerCache/LocatorAndPopulator.cs | 12 ++-- MSBuild.CompilerCache/RefCache.cs | 55 ++----------------- 9 files changed, 51 insertions(+), 100 deletions(-) diff --git a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs index 8438eba..d8d2152 100644 --- a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs +++ b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs @@ -89,7 +89,7 @@ public string SaveConfig(Config config) } [Test] - public void SimpleCacheHitTest() + public async Task SimpleCacheHitTest() { var outputItems = new[] { @@ -123,7 +123,7 @@ public void SimpleCacheHitTest() File.Move(outputItem.LocalPath, outputItem.LocalPath + ".copy"); } - _compilationResultsCache.Set(all.CacheKey, all.FullExtract, zip); + await _compilationResultsCache.SetAsync(all.CacheKey, all.FullExtract, zip); locate.SetInputs(inputs); var locateSuccess = locate.Execute(); @@ -145,13 +145,13 @@ public void SimpleCacheHitTest() foreach (var outputItem in outputItems) { Assert.That(File.Exists(outputItem.LocalPath)); - Assert.That(File.ReadAllText(outputItem.LocalPath), - Is.EqualTo(File.ReadAllText(outputItem.LocalPath + ".copy"))); + Assert.That(await File.ReadAllTextAsync(outputItem.LocalPath), + Is.EqualTo(await File.ReadAllTextAsync(outputItem.LocalPath + ".copy"))); } } [Test] - public void SimpleCacheMissTest() + public async Task SimpleCacheMissTest() { var outputItems = new[] { @@ -199,7 +199,7 @@ public void SimpleCacheMissTest() var allKeys = _compilationResultsCache.GetAllExistingKeys(); Assert.That(allKeys, Is.EquivalentTo(new[] { all.CacheKey })); - var zip = _compilationResultsCache.Get(all.CacheKey); + var zip = await _compilationResultsCache.GetAsync(all.CacheKey); Assert.That(zip, Is.Not.Null); var fromCacheDir = tmpDir.Dir.CreateSubdirectory("from_cache"); ZipFile.ExtractToDirectory(zip, fromCacheDir.FullName); @@ -208,7 +208,7 @@ public void SimpleCacheMissTest() { var cachedFile = fromCacheDir.CombineAsFile(outputItem.CacheFileName); Assert.That(File.Exists(cachedFile.FullName)); - Assert.That(File.ReadAllText(cachedFile.FullName), Is.EqualTo(File.ReadAllText(outputItem.LocalPath))); + Assert.That(await File.ReadAllTextAsync(cachedFile.FullName), Is.EqualTo(await File.ReadAllTextAsync(outputItem.LocalPath))); } } diff --git a/MSBuild.CompilerCache.Tests/RefCacheTests.cs b/MSBuild.CompilerCache.Tests/RefCacheTests.cs index e7ea36d..c1de6aa 100644 --- a/MSBuild.CompilerCache.Tests/RefCacheTests.cs +++ b/MSBuild.CompilerCache.Tests/RefCacheTests.cs @@ -13,10 +13,10 @@ public void EmptyCacheMisses() using var dir = new DisposableDir(); var cache = new RefCache(dir.FullName); var key = new CacheKey("a"); - Assert.Multiple(() => + Assert.Multiple(async () => { Assert.That(cache.Exists(key), Is.False); - Assert.That(cache.Get(key), Is.Null); + Assert.That(await cache.GetAsync(key), Is.Null); }); } @@ -40,14 +40,13 @@ public void AfterSetCacheHits() Hash: null ) ); - cache.Set(key, data); - - Assert.Multiple(() => + + Assert.Multiple(async () => { Assert.That(cache.Exists(key), Is.True); - var cached = cache.Get(key); + var cached = await cache.GetAsync(key); Assert.That(cached, Is.Not.Null); - Assert.That(cached.ToJson(), Is.EqualTo(data.ToJson())); + Assert.That(cached!.ToJson(), Is.EqualTo(data.ToJson())); Assert.That(cache.Exists(new CacheKey("b")), Is.False); }); } diff --git a/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs b/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs index 96928cf..1811e7f 100644 --- a/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs +++ b/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs @@ -7,7 +7,7 @@ namespace Tests; public class TestOutputBuildAndCache { [Test] - public void Test() + public async Task Test() { using var dir = new DisposableDir(); var outputsDir = dir.Dir.CreateSubdirectory("outputs"); @@ -25,7 +25,7 @@ public void Test() WorkingDirectory: "e:/foo"), LocalInputs: new LocalInputs( - Files: Array.Empty(), + Files: Array.Empty(), Props: new[]{("a", "b")}, OutputFiles: items ) @@ -35,13 +35,13 @@ public void Test() var cache = new CompilationResultsCache(dir.Dir.CombineAsDir(".cache").FullName); var key = new CacheKey("a"); - cache.Set(key, metadata.LocalInputs.ToFullExtract(), zipPath); + await cache.SetAsync(key, metadata.LocalInputs.ToFullExtract(), zipPath); var count = cache.OutputVersionsCount(key); Assert.That(count, Is.EqualTo(1)); - var cachedZip = cache.Get(key); + var cachedZip = await cache.GetAsync(key); Assert.That(cachedZip, Is.Not.Null); var mainOutputsDir = new DirectoryInfo(outputsDir.FullName); diff --git a/MSBuild.CompilerCache.Tests/TrimmingTests.cs b/MSBuild.CompilerCache.Tests/TrimmingTests.cs index bde01d2..4d8aad1 100644 --- a/MSBuild.CompilerCache.Tests/TrimmingTests.cs +++ b/MSBuild.CompilerCache.Tests/TrimmingTests.cs @@ -9,12 +9,12 @@ namespace Tests; public class TrimmingTests { [Test] - public void InternalsVisibleToAreResolvedCorrectly() + public async Task InternalsVisibleToAreResolvedCorrectly() { var path = Assembly.GetExecutingAssembly().Location.Replace(".Tests.dll", ".dll"); - var bytes = File.ReadAllBytes(path); + var bytes = await File.ReadAllBytesAsync(path); var t = new RefTrimmer(); - var res = t.GenerateRefData(bytes.ToImmutableArray()); + var res = await t.GenerateRefData(bytes.ToImmutableArray()); Assert.That(res.InternalsVisibleTo, Is.EquivalentTo(new[] { "MSBuild.CompilerCache.Tests", "MSBuild.CompilerCache.Benchmarks" })); Assert.That(res.PublicRefHash, Is.Not.EqualTo(res.PublicAndInternalRefHash)); diff --git a/MSBuild.CompilerCache/CacheCombiner.cs b/MSBuild.CompilerCache/CacheCombiner.cs index aa266d7..d382c50 100644 --- a/MSBuild.CompilerCache/CacheCombiner.cs +++ b/MSBuild.CompilerCache/CacheCombiner.cs @@ -25,7 +25,7 @@ public CacheCombiner(ICacheBase cache1, ICacheBase c var cache2Res = await _cache2.GetAsync(key); if (cache2Res != null) { - _cache1.Set(key, cache2Res); + await _cache1.SetAsync(key, cache2Res); return cache2Res; } else @@ -35,11 +35,11 @@ public CacheCombiner(ICacheBase cache1, ICacheBase c } } - public bool Set(TKey key, TValue value) + public async Task Set(TKey key, TValue value) { - if (_cache1.Set(key, value)) + if (await _cache1.SetAsync(key, value)) { - _cache2.Set(key, value); + await _cache2.SetAsync(key, value); return true; } else diff --git a/MSBuild.CompilerCache/CompilationResultsCache.cs b/MSBuild.CompilerCache/CompilationResultsCache.cs index cbd3e24..22e105d 100644 --- a/MSBuild.CompilerCache/CompilationResultsCache.cs +++ b/MSBuild.CompilerCache/CompilationResultsCache.cs @@ -120,13 +120,12 @@ public record struct CacheKey(string Key) public interface ICompilationResultsCache { bool Exists(CacheKey key); - /// - /// - /// - /// - /// - void Set(CacheKey key, FullExtract fullExtract, FileInfo resultZipToBeMoved); - string? Get(CacheKey key); + public sealed void Set(CacheKey key, FullExtract fullExtract, FileInfo resultZipToBeMoved) => + SetAsync(key, fullExtract, resultZipToBeMoved).GetAwaiter().GetResult(); + Task SetAsync(CacheKey key, FullExtract fullExtract, FileInfo resultZipToBeMoved); + + sealed string? Get(CacheKey key) => GetAsync(key).GetAwaiter().GetResult(); + Task GetAsync(CacheKey key); } public class CompilationResultsCache : ICompilationResultsCache @@ -201,7 +200,7 @@ public CacheKey[] GetAllExistingKeys() .ToArray(); } - public void Set(CacheKey key, FullExtract fullExtract, FileInfo resultZipToBeMoved) + public async Task SetAsync(CacheKey key, FullExtract fullExtract, FileInfo resultZipToBeMoved) { var dir = new DirectoryInfo(CacheDir(key)); dir.Create(); @@ -218,14 +217,14 @@ public void Set(CacheKey key, FullExtract fullExtract, FileInfo resultZipToBeMov // TODO Serialise directly to the cache dir (as a tmp file) using var tmpFile = new TempFile(); { - using var fs = tmpFile.File.OpenWrite(); - JsonSerializer.Serialize(fs, fullExtract, FullExtractJsonContext.Default.FullExtract); + await using var fs = tmpFile.File.OpenWrite(); + await JsonSerializer.SerializeAsync(fs, fullExtract, FullExtractJsonContext.Default.FullExtract); } AtomicCopy(tmpFile.FullName, extractPath, throwIfDestinationExists: false, moveInsteadOfCopy: true); } } - public string? Get(CacheKey key) + public Task GetAsync(CacheKey key) { var dir = new DirectoryInfo(CacheDir(key)); if (dir.Exists) @@ -244,18 +243,14 @@ public void Set(CacheKey key, FullExtract fullExtract, FileInfo resultZipToBeMov default: { var tmpPath = Path.GetTempFileName(); - FileHashCache.IOActionWithRetries(() => - { - File.Copy(outputVersionsZips[0], tmpPath, overwrite: true); - return 0; - }); - return tmpPath; + File.Copy(outputVersionsZips[0], tmpPath, overwrite: true); + return Task.FromResult(tmpPath)!; } } } } - return null; + return Task.FromResult(null); } public int OutputVersionsCount(CacheKey key) => GetOutputVersions(key).Length; diff --git a/MSBuild.CompilerCache/ICacheBase.cs b/MSBuild.CompilerCache/ICacheBase.cs index 94f410a..6a944a1 100644 --- a/MSBuild.CompilerCache/ICacheBase.cs +++ b/MSBuild.CompilerCache/ICacheBase.cs @@ -4,7 +4,7 @@ public interface ICacheBase where TValue : class { bool Exists(TKey key); Task GetAsync(TKey key); - bool Set(TKey key, TValue value); + bool Set(TKey key, TValue value) => SetAsync(key, value).GetAwaiter().GetResult(); Task SetAsync(TKey key, TValue value); sealed async Task GetOrSet(TKey key, Func creator) @@ -13,7 +13,7 @@ sealed async Task GetOrSet(TKey key, Func creator) if (value == null) { value = creator(key); - Set(key, value); + await SetAsync(key, value); } return value; } diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index 7b85636..a51d3f3 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -214,7 +214,7 @@ public static async Task ProcessSourceFile(string relativePath, IFi { var bytes = await File.ReadAllBytesAsync(fileHashCacheKey.FullName); hash = Utils.BytesToHashHex(bytes); - fileHashCache.Set(fileHashCacheKey, hash); + await fileHashCache.SetAsync(fileHashCacheKey, hash); } var localFileExtract = new LocalFileExtract(fileHashCacheKey, hash); @@ -236,7 +236,7 @@ public static async Task ProcessReference(string relativePath, stri { bytes ??= await File.ReadAllBytesAsync(fileHashCacheKey.FullName); hash = Utils.BytesToHashHex(bytes); - fileHashCache.Set(fileHashCacheKey, hash); + await fileHashCache.SetAsync(fileHashCacheKey, hash); } var referenceDllName = Path.GetFileNameWithoutExtension(fileHashCacheKey.FullName); @@ -250,7 +250,7 @@ public static async Task ProcessReference(string relativePath, stri var toBeCached = await new RefTrimmer().GenerateRefData(ImmutableArray.Create(bytes)); cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: originalExtract); - refCache.Set(refCacheKey, cached); + await refCache.SetAsync(refCacheKey, cached); } var allRefData = new AllRefData(Original: cached.Original, RefData: cached.Ref); @@ -338,7 +338,7 @@ internal static async Task GetAllRefData(string filepath, IRefCache { bytes ??= await File.ReadAllBytesAsync(filepath); hashString = Utils.BytesToHashHex(bytes, hasher); - fileHashCache.Set(fileCacheKey, hashString); + await fileHashCache.SetAsync(fileCacheKey, hashString); } var extract = new LocalFileExtract(fileCacheKey, hashString); @@ -352,7 +352,7 @@ internal static async Task GetAllRefData(string filepath, IRefCache var trimmer = new RefTrimmer(); var toBeCached = await trimmer.GenerateRefData(ImmutableArray.Create(bytes)); cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: extract); - refCache.Set(cacheKey, cached); + await refCache.SetAsync(cacheKey, cached); } return new AllRefData(Original: cached.Original, RefData: cached.Ref); @@ -428,7 +428,7 @@ async System.Threading.Tasks.Task RefasmCompiledDlls() var name = Path.GetFileNameWithoutExtension(fileInfo.Name); var cacheKey = BuildRefCacheKey(name, hashString); var cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: extract); - _refCache.Set(cacheKey, cached); + await _refCache.SetAsync(cacheKey, cached); } } diff --git a/MSBuild.CompilerCache/RefCache.cs b/MSBuild.CompilerCache/RefCache.cs index d52a9cd..c520f7b 100644 --- a/MSBuild.CompilerCache/RefCache.cs +++ b/MSBuild.CompilerCache/RefCache.cs @@ -27,18 +27,18 @@ public bool Exists(CacheKey key) return File.Exists(entryPath); } - public RefDataWithOriginalExtract? Get(CacheKey key) + public async Task GetAsync(CacheKey key) { var entryPath = EntryPath(key); if (File.Exists(entryPath)) { - RefDataWithOriginalExtract Read() + async Task Read() { - using var fs = File.OpenRead(entryPath); - return JsonSerializer.Deserialize(fs, - RefDataWithOriginalExtractJsonContext.Default.RefDataWithOriginalExtract)!; + await using var fs = File.OpenRead(entryPath); + return await JsonSerializer.DeserializeAsync(fs, + RefDataWithOriginalExtractJsonContext.Default.RefDataWithOriginalExtract); } - return IOActionWithRetries(Read); + return await FileHashCache.IOActionWithRetriesAsync(Read); } else { @@ -46,49 +46,6 @@ RefDataWithOriginalExtract Read() } } - private static T IOActionWithRetries(Func action) - { - var attempts = 5; - var retryDelay = 50; - for (int attempt = 1; attempt <= attempts; attempt++) - { - try - { - return action(); - } - catch(IOException e) - { - if (attempt < attempts) - { - var delay = (int)(Math.Pow(2, attempt-1) * retryDelay); - Thread.Sleep(delay); - } - else - { - throw; - } - } - } - - throw new InvalidOperationException("Unexpected code location reached"); - } - - public bool Set(CacheKey key, RefDataWithOriginalExtract data) - { - var entryPath = EntryPath(key); - if (File.Exists(entryPath)) - { - return false; - } - - using var tmpFile = new TempFile(); - { - using var fs = tmpFile.File.OpenWrite(); - JsonSerializer.Serialize(fs, data, RefDataWithOriginalExtractJsonContext.Default.RefDataWithOriginalExtract); - } - return CompilationResultsCache.AtomicCopy(tmpFile.FullName, entryPath, throwIfDestinationExists: false); - } - public async Task SetAsync(CacheKey key, RefDataWithOriginalExtract data) { var entryPath = EntryPath(key); From 1eee1062f692e8eaf34ec8ede60b1e1145a928cc Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sat, 4 Nov 2023 19:48:46 +0000 Subject: [PATCH 05/29] tests work --- .../InMemoryTaskBasedTests.cs | 13 ++---- MSBuild.CompilerCache.Tests/RefCacheTests.cs | 4 +- .../TestOutputBuildAndCache.cs | 4 +- .../CompilationResultsCache.cs | 14 +++++- MSBuild.CompilerCache/LocatorAndPopulator.cs | 43 +++++++++++-------- .../MSBuild.CompilerCache.csproj | 2 +- 6 files changed, 47 insertions(+), 33 deletions(-) diff --git a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs index d8d2152..8b106ec 100644 --- a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs +++ b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs @@ -60,8 +60,7 @@ public void TearDown() tmpDir.Dispose(); } - public record All(LocateInputs LocateInputs, LocalInputs LocalInputs, CacheKey CacheKey, - string LocalInputsHash, FullExtract FullExtract); + public record All(LocalInputs LocalInputs, CacheKey CacheKey, FullExtract FullExtract); public static All AllFromInputs(LocateInputs inputs, IRefCache refCache) { @@ -71,13 +70,9 @@ public static All AllFromInputs(LocateInputs inputs, IRefCache refCache) var extract = localInputs.ToFullExtract(); var hashString = Utils.ObjectToHash(extract, Utils.DefaultHasher); var cacheKey = LocatorAndPopulator.GenerateKey(inputs, hashString); - var localInputsHash = Utils.ObjectToHash(localInputs, Utils.DefaultHasher); - return new All( - LocateInputs: inputs, - LocalInputs: localInputs, + return new All(LocalInputs: localInputs, CacheKey: cacheKey, - LocalInputsHash: localInputsHash, FullExtract: extract ); } @@ -116,7 +111,7 @@ public async Task SimpleCacheHitTest() var refCache = new RefCache(tmpDir.Dir.CombineAsDir(".refcache").FullName); var all = AllFromInputs(inputs, refCache); var zip = LocatorAndPopulator.BuildOutputsZip(tmpDir.Dir, outputItems, - new AllCompilationMetadata(null, all.LocalInputs), Utils.DefaultHasher); + new AllCompilationMetadata(null, all.LocalInputs.ToSlim()), Utils.DefaultHasher); foreach (var outputItem in outputItems) { @@ -134,7 +129,6 @@ public async Task SimpleCacheHitTest() { Assert.That(locateResult.CacheHit, Is.True); Assert.That(locateResult.CacheKey, Is.EqualTo(all.CacheKey)); - Assert.That(locateResult.LocalInputsHash, Is.EqualTo(all.LocalInputsHash)); Assert.That(locateResult.CacheSupported, Is.True); Assert.That(locateResult.RunCompilation, Is.False); }); @@ -188,7 +182,6 @@ public async Task SimpleCacheMissTest() { Assert.That(locateResult.CacheHit, Is.False); Assert.That(locateResult.CacheKey, Is.EqualTo(all.CacheKey)); - Assert.That(locateResult.LocalInputsHash, Is.EqualTo(all.LocalInputsHash)); Assert.That(locateResult.CacheSupported, Is.True); Assert.That(locateResult.RunCompilation, Is.True); }); diff --git a/MSBuild.CompilerCache.Tests/RefCacheTests.cs b/MSBuild.CompilerCache.Tests/RefCacheTests.cs index c1de6aa..04cd632 100644 --- a/MSBuild.CompilerCache.Tests/RefCacheTests.cs +++ b/MSBuild.CompilerCache.Tests/RefCacheTests.cs @@ -21,7 +21,7 @@ public void EmptyCacheMisses() } [Test] - public void AfterSetCacheHits() + public async Task AfterSetCacheHits() { using var dir = new DisposableDir(); var cache = new RefCache(dir.FullName); @@ -40,6 +40,8 @@ public void AfterSetCacheHits() Hash: null ) ); + + await cache.SetAsync(key, data); Assert.Multiple(async () => { diff --git a/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs b/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs index 1811e7f..ecb18ac 100644 --- a/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs +++ b/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs @@ -24,8 +24,8 @@ public async Task Test() StopTimeUtc: DateTime.Today, WorkingDirectory: "e:/foo"), LocalInputs: - new LocalInputs( - Files: Array.Empty(), + new LocalInputsSlim( + Files: Array.Empty(), Props: new[]{("a", "b")}, OutputFiles: items ) diff --git a/MSBuild.CompilerCache/CompilationResultsCache.cs b/MSBuild.CompilerCache/CompilationResultsCache.cs index 22e105d..0a8724f 100644 --- a/MSBuild.CompilerCache/CompilationResultsCache.cs +++ b/MSBuild.CompilerCache/CompilationResultsCache.cs @@ -96,7 +96,6 @@ public string GetCacheFileName() /// Used to describe raw compilation inputs, with absolute paths and machine-specific values. /// Used only for debugging purposes, stored alongside cache items. /// -[Serializable] public record LocalInputs(InputResult[] Files, (string, string)[] Props, OutputItem[] OutputFiles) { public FullExtract ToFullExtract() @@ -104,10 +103,21 @@ public FullExtract ToFullExtract() return new FullExtract(Files: Files.Select(f => f.fileHashCacheKey.ToFileExtract()).ToArray(), Props: Props, OutputFiles: OutputFiles.Select(o => o.Name).ToArray()); } + public LocalInputsSlim ToSlim() => new LocalInputsSlim(Files: Files.Select(f => f.fileHashCacheKey).ToArray(), Props, OutputFiles); +} + +[Serializable] +public record LocalInputsSlim(LocalFileExtract[] Files, (string, string)[] Props, OutputItem[] OutputFiles) +{ + public FullExtract ToFullExtract() + { + return new FullExtract(Files: Files.Select(f => f.ToFileExtract()).ToArray(), Props: Props, + OutputFiles: OutputFiles.Select(o => o.Name).ToArray()); + } } [Serializable] -public record AllCompilationMetadata(CompilationMetadata Metadata, LocalInputs LocalInputs); +public record AllCompilationMetadata(CompilationMetadata Metadata, LocalInputsSlim LocalInputs); public record struct CacheKey(string Key) { diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index a51d3f3..2490d61 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -31,7 +31,6 @@ public enum LocateOutcome public record LocateResult( LocateOutcome Outcome, CacheKey? CacheKey, - string? LocalInputsHash, DateTime PreCompilationTimeUtc, LocateInputs Inputs, DecomposedCompilerProps? DecomposedCompilerProps @@ -46,14 +45,13 @@ public static LocateResult CreateNotSupported(LocateInputs inputs) => new( Outcome: LocateOutcome.CacheNotSupported, CacheKey: null, - LocalInputsHash: null, PreCompilationTimeUtc: DateTime.MinValue, Inputs: inputs, DecomposedCompilerProps: null ); } -public class LocatorAndPopulator +public class LocatorAndPopulator : IDisposable { private readonly IRefCache _inMemoryRefCache; @@ -83,7 +81,6 @@ public class LocatorAndPopulator private FullExtract _extract; private CacheKey _cacheKey; private LocalInputs _localInputs; - private string _localInputsHash; private readonly IFileHashCache _inMemoryFileHashCache; private ICacheBase _fileHashCache; private IHash _hasher; @@ -117,7 +114,7 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A //logTime?.Invoke("Caches created"); - (_localInputs, _localInputsHash) = CalculateLocalInputsWithHash(logTime); + (_localInputs) = CalculateLocalInputsWithHash(logTime); //logTime?.Invoke("LocalInputs with hash created"); _extract = _localInputs.ToFullExtract(); @@ -163,7 +160,6 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A _locateResult = new LocateResult( CacheKey: _cacheKey, - LocalInputsHash: _localInputsHash, PreCompilationTimeUtc: preCompilationTimeUtc, Inputs: inputs, Outcome: outcome, @@ -173,14 +169,7 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A return _locateResult; } - private (LocalInputs, string) CalculateLocalInputsWithHash(Action? logTime = null) - { - var localInputs = CalculateLocalInputs(logTime); - //logTime?.Invoke("localinputs done"); - var localInputsHash = Utils.ObjectToHash(localInputs, _hasher); - //logTime?.Invoke("hash done"); - return (localInputs, localInputsHash); - } + private LocalInputs CalculateLocalInputsWithHash(Action? logTime = null) => CalculateLocalInputs(logTime); private LocalInputs CalculateLocalInputs(Action? logTime = null) => CalculateLocalInputs(_decomposed, _refCache, _assemblyName, _config.RefTrimming, _fileHashCache, logTime); @@ -435,7 +424,7 @@ async System.Threading.Tasks.Task RefasmCompiledDlls() var refasmCompiledDllsTask = System.Threading.Tasks.Task.Factory.StartNew(RefasmCompiledDlls); var meta = GetCompilationMetadata(postCompilationTimeUtc); - var stuff = new AllCompilationMetadata(Metadata: meta, LocalInputs: _localInputs); + var stuff = new AllCompilationMetadata(Metadata: meta, LocalInputs: _localInputs.ToSlim()); //logTime?.Invoke("Got stuff"); using var tmpDir = new DisposableDir(); @@ -452,6 +441,8 @@ async System.Threading.Tasks.Task RefasmCompiledDlls() return new UseOrPopulateResult(); } + + public static FileInfo BuildOutputsZip(DirectoryInfo baseTmpDir, OutputItem[] items, AllCompilationMetadata metadata, IHash hasher, @@ -499,6 +490,25 @@ await JsonSerializer.SerializeAsync(fs, metadata, CompressionLevel.NoCompression, includeBaseDirectory: false); return tempZipPath; } + + public void Dispose() + { + var files = _localInputs?.Files; + if (files != null) + { + foreach (var f in files) + { + try + { + f.f.Dispose(); + } + catch (Exception) + { + // ignored + } + } + } + } } [JsonSerializable(typeof(FileExtract[]))] @@ -509,6 +519,5 @@ public partial class OutputExtractsJsonContext : JsonSerializerContext; [JsonSourceGenerationOptions(WriteIndented = true)] public partial class AllCompilationMetadataJsonContext : JsonSerializerContext; -public record struct FileHash(string Hash); - +[Serializable] public record InputResult(FileStream f, LocalFileExtract fileHashCacheKey); diff --git a/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj b/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj index fb68701..6d65eed 100644 --- a/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj +++ b/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj @@ -2,7 +2,7 @@ Library - net7.0 + net6.0 MSBuild.CompilerCache 0.0.2 From 83fb1858e8c3513cc34f0829c46ee8833ab0428d Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sat, 4 Nov 2023 20:30:36 +0000 Subject: [PATCH 06/29] Ref --- MSBuild.CompilerCache/CompilerCacheLocate.cs | 4 +- MSBuild.CompilerCache/Config.cs | 8 +- MSBuild.CompilerCache/LocatorAndPopulator.cs | 121 ++++++++++--------- MSBuild.CompilerCache/RefTrimmer.cs | 1 - 4 files changed, 72 insertions(+), 62 deletions(-) diff --git a/MSBuild.CompilerCache/CompilerCacheLocate.cs b/MSBuild.CompilerCache/CompilerCacheLocate.cs index c7d965e..d6caef9 100644 --- a/MSBuild.CompilerCache/CompilerCacheLocate.cs +++ b/MSBuild.CompilerCache/CompilerCacheLocate.cs @@ -34,7 +34,7 @@ private record InMemoryCaches(InMemoryRefCache InMemoryRefCache, IFileHashCache private readonly object _refCacheLock = new object(); - private InMemoryCaches GetInMemoryRefCache() + private InMemoryCaches GetInMemoryCaches() { var key = "CompilerCache_InMemoryRefCache"; lock (_refCacheLock) @@ -56,7 +56,7 @@ public override bool Execute() { var sw = Stopwatch.StartNew(); var guid = System.Guid.NewGuid(); - var (inMemoryRefCache, fileHashCache) = GetInMemoryRefCache(); + var (inMemoryRefCache, fileHashCache) = GetInMemoryCaches(); var locator = new LocatorAndPopulator(inMemoryRefCache, fileHashCache); var inputs = GatherInputs(); void LogTime(string name) => Log.LogMessage($"[{sw.ElapsedMilliseconds}ms] {name}"); diff --git a/MSBuild.CompilerCache/Config.cs b/MSBuild.CompilerCache/Config.cs index 734fb9a..d6f6e16 100644 --- a/MSBuild.CompilerCache/Config.cs +++ b/MSBuild.CompilerCache/Config.cs @@ -1,3 +1,4 @@ +using System.Text.Json.Serialization; using Microsoft.Build.Framework; namespace MSBuild.CompilerCache; @@ -25,4 +26,9 @@ public class Config public bool CheckCompileOutputAgainstCache { get; set; } public HasherType Hasher { get; set; } = HasherType.XxHash64; -} \ No newline at end of file +} + + +[JsonSerializable(typeof(Config))] +[JsonSourceGenerationOptions(WriteIndented = true)] +public partial class ConfigJsonContext : JsonSerializerContext; \ No newline at end of file diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index 2490d61..c001c7d 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -59,7 +59,7 @@ public class LocatorAndPopulator : IDisposable Action? logTime = null) { using var fs = File.OpenRead(configPath); - var config = JsonSerializer.Deserialize(fs)!; + var config = JsonSerializer.Deserialize(fs, ConfigJsonContext.Default.Config)!; //logTime?.Invoke("Config deserialized"); var cache = new CompilationResultsCache(config.CacheDir); var refCache = new RefCache(config.InferRefCacheDir()); @@ -114,7 +114,7 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A //logTime?.Invoke("Caches created"); - (_localInputs) = CalculateLocalInputsWithHash(logTime); + _localInputs = CalculateLocalInputsWithHash(logTime); //logTime?.Invoke("LocalInputs with hash created"); _extract = _localInputs.ToFullExtract(); @@ -174,24 +174,6 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A private LocalInputs CalculateLocalInputs(Action? logTime = null) => CalculateLocalInputs(_decomposed, _refCache, _assemblyName, _config.RefTrimming, _fileHashCache, logTime); - public record FileInputs(FileHashCacheKey[] References, FileHashCacheKey[] Other); - public record FileInputs2(string[] References, string[] Other); - - private static FileInputs ExtractFileInputs(DecomposedCompilerProps decomposed) - { - static FileHashCacheKey[] Extract(string[] files) => - files - .Chunk(Math.Max(1, files.Length / 4)) - .AsParallel() - .AsOrdered() - .SelectMany(refs => refs.Select(r => FileHashCacheKey.FromFileInfo(new FileInfo(r)))).ToArray(); - - return new FileInputs( - References: Extract(decomposed.References), - Other: Extract(decomposed.FileInputs) - ); - } - public static async Task ProcessSourceFile(string relativePath, IFileHashCache fileHashCache) { // Open the file for reading, and don't allow anyone to modify it. @@ -285,25 +267,12 @@ internal static LocalInputs CalculateLocalInputs(DecomposedCompilerProps decompo return new LocalInputs(allItems, props, outputs); } - private static LocalFileExtract GetLocalFileExtract(FileInfo fileInfo, FileHashCacheKey fileHash) - { - var hashString = Utils.FileBytesToHashHex(fileInfo.FullName, Utils.DefaultHasher); - return new LocalFileExtract(Info: fileHash, Hash: hashString); - } - public static string CreateHashString(FileHashCacheKey fileHashCacheKey) { var bytes = File.ReadAllBytes(fileHashCacheKey.FullName); return Utils.BytesToHashHex(bytes); } - private static async Task GetLocalFileExtract(FileHashCacheKey fileKey, IFileHashCache fileHashCache) - { - var hashString = await fileHashCache.GetOrSet(fileKey, CreateHashString); - - return new LocalFileExtract(Info: fileKey, Hash: hashString); - } - private static CompilationMetadata GetCompilationMetadata(DateTime postCompilationTimeUtc) => new( Hostname: Environment.MachineName, @@ -412,47 +381,81 @@ async System.Threading.Tasks.Task RefasmCompiledDlls() var toBeCached = await trimmer.GenerateRefData(ImmutableArray.Create(bytes)); var fileInfo = new FileInfo(dll.LocalPath); var fileCacheKey = FileHashCacheKey.FromFileInfo(fileInfo); - var hashString = await _fileHashCache.GetOrSet(fileCacheKey, CreateHashString); - var extract = new LocalFileExtract(fileCacheKey, hashString); + var dllHash = await _fileHashCache.GetAsync(fileCacheKey); + if (dllHash == null) + { + dllHash = Utils.BytesToHashHex(bytes); + await _fileHashCache.SetAsync(fileCacheKey, dllHash); + } + + var extract = new LocalFileExtract(fileCacheKey, dllHash); var name = Path.GetFileNameWithoutExtension(fileInfo.Name); - var cacheKey = BuildRefCacheKey(name, hashString); + var cacheKey = BuildRefCacheKey(name, dllHash); var cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: extract); await _refCache.SetAsync(cacheKey, cached); } } - var refasmCompiledDllsTask = System.Threading.Tasks.Task.Factory.StartNew(RefasmCompiledDlls); + List streams = new List(); - var meta = GetCompilationMetadata(postCompilationTimeUtc); - var stuff = new AllCompilationMetadata(Metadata: meta, LocalInputs: _localInputs.ToSlim()); - //logTime?.Invoke("Got stuff"); + try + { + var outputsWithStreams = _decomposed.OutputsToCache.Select(file => + { + var f = File.Open(file.LocalPath, FileMode.Open, FileAccess.Read, FileShare.Read); + try + { + streams.Add(f); + } + catch (Exception) + { + f.Dispose(); + throw; + } + + return (f, File.ReadAllBytes(file.LocalPath), + FileHashCacheKey.FromFileInfo(new FileInfo(file.LocalPath))); + }).ToArray(); + + + var refasmCompiledDllsTask = System.Threading.Tasks.Task.Factory.StartNew(RefasmCompiledDlls); + + var meta = GetCompilationMetadata(postCompilationTimeUtc); + var stuff = new AllCompilationMetadata(Metadata: meta, LocalInputs: _localInputs.ToSlim()); + //logTime?.Invoke("Got stuff"); - using var tmpDir = new DisposableDir(); - var outputZip = BuildOutputsZip(tmpDir, _decomposed.OutputsToCache, stuff, Utils.DefaultHasher, log); + using var tmpDir = new DisposableDir(); + var outputZip = BuildOutputsZip(tmpDir, _decomposed.OutputsToCache, stuff, Utils.DefaultHasher, log).GetAwaiter().GetResult(); - //logTime?.Invoke("Hashes match"); - log.LogMessage(MessageImportance.Normal, - $"CompilationCache - copying {_decomposed.OutputsToCache.Length} files from output to cache"); - //logTime?.Invoke("Outputs zip created"); - _cache.Set(_locateResult.CacheKey!.Value, _extract, outputZip); - //logTime?.Invoke("cache entry set"); + //logTime?.Invoke("Hashes match"); + log.LogMessage(MessageImportance.Normal, + $"CompilationCache - copying {_decomposed.OutputsToCache.Length} files from output to cache"); + //logTime?.Invoke("Outputs zip created"); + _cache.Set(_locateResult.CacheKey!.Value, _extract, outputZip); + //logTime?.Invoke("cache entry set"); - refasmCompiledDllsTask.GetAwaiter().GetResult(); + refasmCompiledDllsTask.GetAwaiter().GetResult(); - return new UseOrPopulateResult(); + return new UseOrPopulateResult(); + } + finally + { + // Make sure all opened files are closed + foreach(var s in streams) s.Dispose(); + } } - public static FileInfo BuildOutputsZip(DirectoryInfo baseTmpDir, OutputItem[] items, + public static async Task BuildOutputsZip(DirectoryInfo baseTmpDir, OutputItem[] items, AllCompilationMetadata metadata, IHash hasher, TaskLoggingHelper? log = null) { var outputsDir = baseTmpDir.CreateSubdirectory("outputs_zip_building"); - async System.Threading.Tasks.Task SaveInputs() + async System.Threading.Tasks.Task SaveInputsAsync() { - var metaPath = outputsDir!.CombineAsFile("__inputs.json").FullName; + var metaPath = outputsDir.CombineAsFile("__inputs.json").FullName; // ReSharper disable once UseAwaitUsing using var fs = File.OpenWrite(metaPath); await JsonSerializer.SerializeAsync(fs, metadata, @@ -460,7 +463,7 @@ await JsonSerializer.SerializeAsync(fs, metadata, } // Write inputs json in parallel to the rest - var saveInputsTask = SaveInputs(); + var saveInputsTask = SaveInputsAsync(); var outputExtracts = items.Select(item => @@ -469,19 +472,21 @@ await JsonSerializer.SerializeAsync(fs, metadata, log?.LogMessage(MessageImportance.Normal, $"CompilationCache: Copy {item.LocalPath} -> {tempPath.FullName}"); File.Copy(item.LocalPath, tempPath.FullName); - return GetLocalFileExtract(tempPath, FileHashCacheKey.FromFileInfo(tempPath)).ToFileExtract(); + var fileHashCacheKey = FileHashCacheKey.FromFileInfo(tempPath); + string hashString = Utils.FileBytesToHashHex(tempPath.FullName, Utils.DefaultHasher); + return new LocalFileExtract(Info: fileHashCacheKey, Hash: hashString).ToFileExtract(); }).ToArray(); var hashForFileName = Utils.ObjectToHash(outputExtracts, hasher); var outputsExtractJsonPath = outputsDir.CombineAsFile("__outputs.json").FullName; { - using var fs = File.OpenWrite(outputsExtractJsonPath); - JsonSerializer.Serialize(fs, outputExtracts, OutputExtractsJsonContext.Default.FileExtractArray); + await using var fs = File.OpenWrite(outputsExtractJsonPath); + await JsonSerializer.SerializeAsync(fs, outputExtracts, OutputExtractsJsonContext.Default.FileExtractArray); } // Make sure inputs json written before zipping the whole directory - saveInputsTask.GetAwaiter().GetResult(); + await saveInputsTask; var tempZipPath = baseTmpDir.CombineAsFile($"{hashForFileName}.zip"); // TODO Create zip archive from in-memory data rather than files on disk diff --git a/MSBuild.CompilerCache/RefTrimmer.cs b/MSBuild.CompilerCache/RefTrimmer.cs index 5c1dd25..b64e79f 100644 --- a/MSBuild.CompilerCache/RefTrimmer.cs +++ b/MSBuild.CompilerCache/RefTrimmer.cs @@ -21,7 +21,6 @@ public record RefDataWithOriginalExtract(RefData Ref, LocalFileExtract Original) [JsonSourceGenerationOptions(WriteIndented = true)] public partial class RefDataWithOriginalExtractJsonContext : JsonSerializerContext; - public class RefTrimmer { public static void MakeRefasm(string inputPath, string outputPath, LoggerBase logger, IImportFilter filter) From 2c81967c815f95b85dbc99d0dc313c9a1ff5494f Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sun, 5 Nov 2023 00:24:23 +0000 Subject: [PATCH 07/29] Refactor, async --- .../InMemoryTaskBasedTests.cs | 2 +- .../TestOutputBuildAndCache.cs | 2 +- .../CompilerCachePopulateCache.cs | 2 +- MSBuild.CompilerCache/FileHashCacheKey.cs | 4 +- MSBuild.CompilerCache/LocatorAndPopulator.cs | 121 ++++++++---------- 5 files changed, 58 insertions(+), 73 deletions(-) diff --git a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs index 8b106ec..7697905 100644 --- a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs +++ b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs @@ -110,7 +110,7 @@ public async Task SimpleCacheHitTest() ); var refCache = new RefCache(tmpDir.Dir.CombineAsDir(".refcache").FullName); var all = AllFromInputs(inputs, refCache); - var zip = LocatorAndPopulator.BuildOutputsZip(tmpDir.Dir, outputItems, + var zip = await LocatorAndPopulator.BuildOutputsZip(tmpDir.Dir, outputItems, new AllCompilationMetadata(null, all.LocalInputs.ToSlim()), Utils.DefaultHasher); foreach (var outputItem in outputItems) diff --git a/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs b/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs index ecb18ac..68e9ee9 100644 --- a/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs +++ b/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs @@ -30,7 +30,7 @@ public async Task Test() OutputFiles: items ) ); - var zipPath = LocatorAndPopulator.BuildOutputsZip(dir, items, metadata, Utils.DefaultHasher); + var zipPath = await LocatorAndPopulator.BuildOutputsZip(dir, items, metadata, Utils.DefaultHasher); var cache = new CompilationResultsCache(dir.Dir.CombineAsDir(".cache").FullName); diff --git a/MSBuild.CompilerCache/CompilerCachePopulateCache.cs b/MSBuild.CompilerCache/CompilerCachePopulateCache.cs index 08dbe6e..953c663 100644 --- a/MSBuild.CompilerCache/CompilerCachePopulateCache.cs +++ b/MSBuild.CompilerCache/CompilerCachePopulateCache.cs @@ -27,7 +27,7 @@ public override bool Execute() throw new Exception("Cached result is of unexpected type"); var sw = Stopwatch.StartNew(); void LogTime(string name) => Log.LogMessage($"[{sw.ElapsedMilliseconds}ms] {name}"); - var results = locator.PopulateCache(Log, LogTime); + UseOrPopulateResult result = locator.PopulateCacheAsync(Log, LogTime).GetAwaiter().GetResult(); return true; } } \ No newline at end of file diff --git a/MSBuild.CompilerCache/FileHashCacheKey.cs b/MSBuild.CompilerCache/FileHashCacheKey.cs index 7707054..ef55d02 100644 --- a/MSBuild.CompilerCache/FileHashCacheKey.cs +++ b/MSBuild.CompilerCache/FileHashCacheKey.cs @@ -1,3 +1,5 @@ +using System.Text.Json.Serialization; + namespace MSBuild.CompilerCache; /// @@ -16,7 +18,7 @@ public FileHashCacheKey(string FullName, long Length, DateTime LastWriteTimeUtc) public static FileHashCacheKey FromFileInfo(FileInfo file) => new FileHashCacheKey(FullName: file.FullName, Length: file.Length, LastWriteTimeUtc: file.LastWriteTimeUtc); - + public string FullName { get; set; } public long Length { get; set; } public DateTime LastWriteTimeUtc { get; set; } diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index c001c7d..89bca87 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -361,91 +361,74 @@ internal static CacheKey GenerateKey(LocateInputs inputs, string hash) return new CacheKey($"{name}_{hash}"); } - public UseOrPopulateResult PopulateCache(TaskLoggingHelper log, Action? logTime = null) + public record OutputData(OutputItem Item, byte[] Content); + + public async Task PopulateCacheAsync(TaskLoggingHelper log, Action? logTime = null) { + var postCompilationTimeUtc = DateTime.UtcNow; + + var outputs = await System.Threading.Tasks.Task.WhenAll(_decomposed.OutputsToCache.Select(async file => + { + await using var f = File.Open(file.LocalPath, FileMode.Open, FileAccess.Read, FileShare.Read); + return new OutputData(file, await File.ReadAllBytesAsync(file.LocalPath)); + }).ToArray()); + // Trigger RefTrimmer for newly-built dlls/exe files - should speed up builds of dependent projects, // and avoid any duplicate calculations due to multiple dependants redoing the same thing if timings are bad. - - //logTime?.Invoke("Start"); - var postCompilationTimeUtc = DateTime.UtcNow; - // TODO Refactor, deduplicate - async System.Threading.Tasks.Task RefasmCompiledDlls() + async System.Threading.Tasks.Task RefasmCompiledDllsAsync(OutputData[] outputs) { - static bool RefasmableOutputItem(OutputItem o) => Path.GetExtension(o.LocalPath) is ".dll"; - var dllsToRefasm = _decomposed.OutputsToCache.Where(RefasmableOutputItem).ToArray(); - foreach (var dll in dllsToRefasm) + static bool RefasmableOutputItem(OutputData o) => Path.GetExtension(o.Item.LocalPath) is ".dll"; + var outputsToRefasm = outputs.Where(RefasmableOutputItem).ToArray(); + if (outputsToRefasm.Length <= 1) { - var bytes = await File.ReadAllBytesAsync(dll.LocalPath); - var trimmer = new RefTrimmer(); - var toBeCached = await trimmer.GenerateRefData(ImmutableArray.Create(bytes)); - var fileInfo = new FileInfo(dll.LocalPath); - var fileCacheKey = FileHashCacheKey.FromFileInfo(fileInfo); - var dllHash = await _fileHashCache.GetAsync(fileCacheKey); - if (dllHash == null) + foreach (var dll in outputsToRefasm) { - dllHash = Utils.BytesToHashHex(bytes); - await _fileHashCache.SetAsync(fileCacheKey, dllHash); + await RefasmAndPopulateCacheWithOutputDll(dll); } - - var extract = new LocalFileExtract(fileCacheKey, dllHash); - var name = Path.GetFileNameWithoutExtension(fileInfo.Name); - var cacheKey = BuildRefCacheKey(name, dllHash); - var cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: extract); - await _refCache.SetAsync(cacheKey, cached); } - } - - List streams = new List(); - - try - { - var outputsWithStreams = _decomposed.OutputsToCache.Select(file => + else { - var f = File.Open(file.LocalPath, FileMode.Open, FileAccess.Read, FileShare.Read); - try - { - streams.Add(f); - } - catch (Exception) - { - f.Dispose(); - throw; - } - - return (f, File.ReadAllBytes(file.LocalPath), - FileHashCacheKey.FromFileInfo(new FileInfo(file.LocalPath))); - }).ToArray(); - - - var refasmCompiledDllsTask = System.Threading.Tasks.Task.Factory.StartNew(RefasmCompiledDlls); - - var meta = GetCompilationMetadata(postCompilationTimeUtc); - var stuff = new AllCompilationMetadata(Metadata: meta, LocalInputs: _localInputs.ToSlim()); - //logTime?.Invoke("Got stuff"); + await Parallel.ForEachAsync(outputsToRefasm, (output, _) => RefasmAndPopulateCacheWithOutputDll(output)); + } + } - using var tmpDir = new DisposableDir(); - var outputZip = BuildOutputsZip(tmpDir, _decomposed.OutputsToCache, stuff, Utils.DefaultHasher, log).GetAwaiter().GetResult(); + var refasmCompiledDllsTask = RefasmCompiledDllsAsync(outputs); + var meta = GetCompilationMetadata(postCompilationTimeUtc); + var allCompMetadata = new AllCompilationMetadata(Metadata: meta, LocalInputs: _localInputs.ToSlim()); + + using var tmpDir = new DisposableDir(); + var outputZip = await BuildOutputsZip(tmpDir, _decomposed.OutputsToCache, allCompMetadata, _hasher, log); - //logTime?.Invoke("Hashes match"); - log.LogMessage(MessageImportance.Normal, - $"CompilationCache - copying {_decomposed.OutputsToCache.Length} files from output to cache"); - //logTime?.Invoke("Outputs zip created"); - _cache.Set(_locateResult.CacheKey!.Value, _extract, outputZip); - //logTime?.Invoke("cache entry set"); + log.LogMessage(MessageImportance.Normal, + $"CompilationCache - copying {_decomposed.OutputsToCache.Length} files from output to cache"); + //logTime?.Invoke("Outputs zip created"); + await _cache.SetAsync(_locateResult.CacheKey!.Value, _extract, outputZip); + //logTime?.Invoke("cache entry set"); - refasmCompiledDllsTask.GetAwaiter().GetResult(); - - return new UseOrPopulateResult(); - } - finally + await refasmCompiledDllsTask; + + return new UseOrPopulateResult(); + } + + private async ValueTask RefasmAndPopulateCacheWithOutputDll(OutputData dll) + { + var trimmer = new RefTrimmer(); + var toBeCached = await trimmer.GenerateRefData(ImmutableArray.Create(dll.Content)); + var fileCacheKey = FileHashCacheKey.FromFileInfo(new FileInfo(dll.Item.LocalPath)); + var dllHash = await _fileHashCache.GetAsync(fileCacheKey); + if (dllHash == null) { - // Make sure all opened files are closed - foreach(var s in streams) s.Dispose(); + dllHash = Utils.BytesToHashHex(dll.Content); + await _fileHashCache.SetAsync(fileCacheKey, dllHash); } + + var extract = new LocalFileExtract(fileCacheKey, dllHash); + var name = Path.GetFileNameWithoutExtension(fileCacheKey.FullName); + var cacheKey = BuildRefCacheKey(name, dllHash); + var cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: extract); + await _refCache.SetAsync(cacheKey, cached); } - - public static async Task BuildOutputsZip(DirectoryInfo baseTmpDir, OutputItem[] items, AllCompilationMetadata metadata, IHash hasher, From d5a874f3cb1041e9d317de36a2854f75ef9d8158 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sun, 5 Nov 2023 15:37:09 +0000 Subject: [PATCH 08/29] Refactor WIP --- MSBuild.CompilerCache/LocatorAndPopulator.cs | 53 ++++++++++++++++++-- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index 89bca87..e30e141 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -361,7 +361,10 @@ internal static CacheKey GenerateKey(LocateInputs inputs, string hash) return new CacheKey($"{name}_{hash}"); } - public record OutputData(OutputItem Item, byte[] Content); + public record OutputData(OutputItem Item, byte[] Content, byte[] BytesHash, string BytesHashString) + { + public long Length => Content.Length; + } public async Task PopulateCacheAsync(TaskLoggingHelper log, Action? logTime = null) { @@ -370,7 +373,10 @@ public async Task PopulateCacheAsync(TaskLoggingHelper log, var outputs = await System.Threading.Tasks.Task.WhenAll(_decomposed.OutputsToCache.Select(async file => { await using var f = File.Open(file.LocalPath, FileMode.Open, FileAccess.Read, FileShare.Read); - return new OutputData(file, await File.ReadAllBytesAsync(file.LocalPath)); + byte[] bytes = await File.ReadAllBytesAsync(file.LocalPath); + var bytesHash = _hasher.ComputeHash(bytes); + var bytesHashString = Utils.BytesToHashHex(bytesHash, _hasher); + return new OutputData(file, bytes, bytesHash, bytesHashString); }).ToArray()); // Trigger RefTrimmer for newly-built dlls/exe files - should speed up builds of dependent projects, @@ -398,7 +404,7 @@ async System.Threading.Tasks.Task RefasmCompiledDllsAsync(OutputData[] outputs) var allCompMetadata = new AllCompilationMetadata(Metadata: meta, LocalInputs: _localInputs.ToSlim()); using var tmpDir = new DisposableDir(); - var outputZip = await BuildOutputsZip(tmpDir, _decomposed.OutputsToCache, allCompMetadata, _hasher, log); + var outputZip = await BuildOutputsZip2(tmpDir, outputs, allCompMetadata, _hasher, log); log.LogMessage(MessageImportance.Normal, $"CompilationCache - copying {_decomposed.OutputsToCache.Length} files from output to cache"); @@ -430,6 +436,47 @@ private async ValueTask RefasmAndPopulateCacheWithOutputDll(OutputData dll) await _refCache.SetAsync(cacheKey, cached); } + + public static async Task BuildOutputsZip2(DirectoryInfo baseTmpDir, OutputData[] items, + AllCompilationMetadata metadata, IHash hasher, + TaskLoggingHelper? log = null) + { + var outputsDir = baseTmpDir.CreateSubdirectory("outputs_zip_building"); + + async Task SaveInputsAndReturnBytesAsync() + { + string metaPath = outputsDir.CombineAsFile("__inputs.json").FullName; + await using var fs = File.OpenWrite(metaPath); + byte[] bytes2 = JsonSerializer.SerializeToUtf8Bytes(metadata, AllCompilationMetadataJsonContext.Default.AllCompilationMetadata); + await fs.WriteAsync(bytes2); + return bytes2; + } + + // Write inputs json in parallel to the rest + var saveInputsTask = SaveInputsAndReturnBytesAsync(); + + var objectToHash = items.Select(i => (i.Item.Name, i.BytesHash)).ToArray(); + + var hashForFileName = Utils.ObjectToHash(objectToHash, hasher); + + var outputsExtractJsonPath = outputsDir.CombineAsFile("__outputs.json").FullName; + { + await using var fs = File.OpenWrite(outputsExtractJsonPath); + var outputExtracts = items.Select(i => new FileExtract(i.Item.Name, i.BytesHashString, i.Length)).ToArray(); + await JsonSerializer.SerializeAsync(fs, outputExtracts, OutputExtractsJsonContext.Default.FileExtractArray); + } + + // Make sure inputs json written before zipping the whole directory + var inputsJsonBytes = await saveInputsTask; + + var tempZipPath = baseTmpDir.CombineAsFile($"{hashForFileName}.zip"); + // TODO Create zip archive from in-memory data rather than files on disk + + ZipFile.CreateFromDirectory(outputsDir.FullName, tempZipPath.FullName, + CompressionLevel.NoCompression, includeBaseDirectory: false); + return tempZipPath; + } + public static async Task BuildOutputsZip(DirectoryInfo baseTmpDir, OutputItem[] items, AllCompilationMetadata metadata, IHash hasher, TaskLoggingHelper? log = null) From 9140cf828a7e0ba0e625211f9fde4a2e1a1794b5 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sun, 5 Nov 2023 16:04:06 +0000 Subject: [PATCH 09/29] refactor wip --- MSBuild.CompilerCache/LocatorAndPopulator.cs | 24 +++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index e30e141..019e7a6 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -436,6 +436,7 @@ private async ValueTask RefasmAndPopulateCacheWithOutputDll(OutputData dll) await _refCache.SetAsync(cacheKey, cached); } + record ArchiveEntry(string Name, byte[] Bytes); public static async Task BuildOutputsZip2(DirectoryInfo baseTmpDir, OutputData[] items, AllCompilationMetadata metadata, IHash hasher, @@ -460,17 +461,38 @@ async Task SaveInputsAndReturnBytesAsync() var hashForFileName = Utils.ObjectToHash(objectToHash, hasher); var outputsExtractJsonPath = outputsDir.CombineAsFile("__outputs.json").FullName; + byte[] outputsJsonBytes; { await using var fs = File.OpenWrite(outputsExtractJsonPath); var outputExtracts = items.Select(i => new FileExtract(i.Item.Name, i.BytesHashString, i.Length)).ToArray(); - await JsonSerializer.SerializeAsync(fs, outputExtracts, OutputExtractsJsonContext.Default.FileExtractArray); + outputsJsonBytes = JsonSerializer.SerializeToUtf8Bytes(outputExtracts, OutputExtractsJsonContext.Default.FileExtractArray); + await fs.WriteAsync(outputsJsonBytes); } // Make sure inputs json written before zipping the whole directory var inputsJsonBytes = await saveInputsTask; + var metaEntries = new[] + { + new ArchiveEntry("__inputs.json", inputsJsonBytes), + new ArchiveEntry("__outputs.json", outputsJsonBytes), + }; + var outputsEntries = items.Select(o => new ArchiveEntry(o.Item.CacheFileName, o.BytesHash)).ToArray(); + var archiveEntries = metaEntries.Concat(outputsEntries).ToArray(); + var tempZipPath = baseTmpDir.CombineAsFile($"{hashForFileName}.zip"); // TODO Create zip archive from in-memory data rather than files on disk + + { + await using var zip = File.OpenWrite(tempZipPath.FullName); + var a = new ZipArchive(zip, ZipArchiveMode.Create); + foreach (var ae in archiveEntries) + { + var e = a.CreateEntry(ae.Name, CompressionLevel.NoCompression); + await using var es = e.Open(); + await es.WriteAsync(ae.Bytes); + } + } ZipFile.CreateFromDirectory(outputsDir.FullName, tempZipPath.FullName, CompressionLevel.NoCompression, includeBaseDirectory: false); From c3209d8131eefda4afb4f387f82ebdd7f5d0ee68 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sun, 5 Nov 2023 23:23:42 +0000 Subject: [PATCH 10/29] WIP --- .../CompilationResultsCache.cs | 35 ++++++++++--------- MSBuild.CompilerCache/FileHashCache.cs | 6 ++-- MSBuild.CompilerCache/LocatorAndPopulator.cs | 7 ++-- MSBuild.CompilerCache/RefCache.cs | 6 ++-- 4 files changed, 26 insertions(+), 28 deletions(-) diff --git a/MSBuild.CompilerCache/CompilationResultsCache.cs b/MSBuild.CompilerCache/CompilationResultsCache.cs index 0a8724f..596f24f 100644 --- a/MSBuild.CompilerCache/CompilationResultsCache.cs +++ b/MSBuild.CompilerCache/CompilationResultsCache.cs @@ -163,27 +163,31 @@ public bool Exists(CacheKey key) /// /// /// If true, will throw if the destination already exists + /// /// - public static bool AtomicCopy(string source, string destination, bool throwIfDestinationExists = true, bool moveInsteadOfCopy = false) + public static bool AtomicCopyOrMove(FileInfo source, FileInfo destination, bool throwIfDestinationExists = true, bool moveInsteadOfCopy = false) { - var dir = Path.GetDirectoryName(destination)!; + var dir = destination.DirectoryName!; var tmpDestination = Path.Combine(dir, $".__tmp_{Guid.NewGuid()}"); + FileInfo tmp; if (moveInsteadOfCopy) { - File.Move(source, tmpDestination); + source.MoveTo(tmpDestination); + tmp = source; } else { - File.Copy(source, tmpDestination); + tmp = source.CopyTo(tmpDestination); } try { - File.Move(tmpDestination, destination, overwrite: false); + tmp.MoveTo(destination.FullName, overwrite: false); return true; } - catch (IOException e) + catch (IOException) { - if (!throwIfDestinationExists && File.Exists(destination)) + tmp.Delete(); + if (!throwIfDestinationExists && File.Exists(destination.FullName)) { return false; } @@ -192,10 +196,6 @@ public static bool AtomicCopy(string source, string destination, bool throwIfDes throw; } } - finally - { - File.Delete(tmpDestination); - } } public CacheKey[] GetAllExistingKeys() @@ -214,15 +214,16 @@ public async Task SetAsync(CacheKey key, FullExtract fullExtract, FileInfo resul { var dir = new DirectoryInfo(CacheDir(key)); dir.Create(); - var extractPath = ExtractPath(key); - var outputPath = Path.Combine(dir.FullName, resultZipToBeMoved.Name); + + var extractFile = new FileInfo(ExtractPath(key)); + var outputFile = new FileInfo(Path.Combine(dir.FullName, resultZipToBeMoved.Name)); - if (!File.Exists(outputPath)) + if (!outputFile.Exists) { - AtomicCopy(resultZipToBeMoved.FullName, outputPath, throwIfDestinationExists: false, moveInsteadOfCopy: true); + AtomicCopyOrMove(resultZipToBeMoved, outputFile, throwIfDestinationExists: false, moveInsteadOfCopy: true); } - if (!File.Exists(extractPath)) + if (!extractFile.Exists) { // TODO Serialise directly to the cache dir (as a tmp file) using var tmpFile = new TempFile(); @@ -230,7 +231,7 @@ public async Task SetAsync(CacheKey key, FullExtract fullExtract, FileInfo resul await using var fs = tmpFile.File.OpenWrite(); await JsonSerializer.SerializeAsync(fs, fullExtract, FullExtractJsonContext.Default.FullExtract); } - AtomicCopy(tmpFile.FullName, extractPath, throwIfDestinationExists: false, moveInsteadOfCopy: true); + AtomicCopyOrMove(tmpFile.File, extractFile, throwIfDestinationExists: false, moveInsteadOfCopy: true); } } diff --git a/MSBuild.CompilerCache/FileHashCache.cs b/MSBuild.CompilerCache/FileHashCache.cs index cc1f1b1..89a4a23 100644 --- a/MSBuild.CompilerCache/FileHashCache.cs +++ b/MSBuild.CompilerCache/FileHashCache.cs @@ -100,8 +100,8 @@ internal static T IOActionWithRetries(Func action) public async Task SetAsync(FileHashCacheKey originalKey, string value) { var key = ExtractKey(originalKey); - string entryPath = EntryPath(key); - if (File.Exists(entryPath)) + FileInfo entryFile = new FileInfo(EntryPath(key)); + if (entryFile.Exists) { return await Task.FromResult(false); } @@ -113,6 +113,6 @@ public async Task SetAsync(FileHashCacheKey originalKey, string value) await sw.WriteAsync(value); } - return CompilationResultsCache.AtomicCopy(tmpFile.FullName, entryPath, throwIfDestinationExists: false); + return CompilationResultsCache.AtomicCopyOrMove(tmpFile.File, entryFile, throwIfDestinationExists: false); } } \ No newline at end of file diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index 019e7a6..fcb8241 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -477,15 +477,14 @@ async Task SaveInputsAndReturnBytesAsync() new ArchiveEntry("__inputs.json", inputsJsonBytes), new ArchiveEntry("__outputs.json", outputsJsonBytes), }; - var outputsEntries = items.Select(o => new ArchiveEntry(o.Item.CacheFileName, o.BytesHash)).ToArray(); + var outputsEntries = items.Select(o => new ArchiveEntry(o.Item.CacheFileName, o.Content)).ToArray(); var archiveEntries = metaEntries.Concat(outputsEntries).ToArray(); var tempZipPath = baseTmpDir.CombineAsFile($"{hashForFileName}.zip"); - // TODO Create zip archive from in-memory data rather than files on disk { await using var zip = File.OpenWrite(tempZipPath.FullName); - var a = new ZipArchive(zip, ZipArchiveMode.Create); + using var a = new ZipArchive(zip, ZipArchiveMode.Create); foreach (var ae in archiveEntries) { var e = a.CreateEntry(ae.Name, CompressionLevel.NoCompression); @@ -494,8 +493,6 @@ async Task SaveInputsAndReturnBytesAsync() } } - ZipFile.CreateFromDirectory(outputsDir.FullName, tempZipPath.FullName, - CompressionLevel.NoCompression, includeBaseDirectory: false); return tempZipPath; } diff --git a/MSBuild.CompilerCache/RefCache.cs b/MSBuild.CompilerCache/RefCache.cs index c520f7b..5bacbbb 100644 --- a/MSBuild.CompilerCache/RefCache.cs +++ b/MSBuild.CompilerCache/RefCache.cs @@ -48,8 +48,8 @@ public bool Exists(CacheKey key) public async Task SetAsync(CacheKey key, RefDataWithOriginalExtract data) { - var entryPath = EntryPath(key); - if (File.Exists(entryPath)) + var entryFile = new FileInfo(EntryPath(key)); + if (entryFile.Exists) { return false; } @@ -59,7 +59,7 @@ public async Task SetAsync(CacheKey key, RefDataWithOriginalExtract data) await using var fs = tmpFile.File.OpenWrite(); await JsonSerializer.SerializeAsync(fs, data, RefDataWithOriginalExtractJsonContext.Default.RefDataWithOriginalExtract); } - return CompilationResultsCache.AtomicCopy(tmpFile.FullName, entryPath, throwIfDestinationExists: false); + return CompilationResultsCache.AtomicCopyOrMove(tmpFile.File, entryFile, throwIfDestinationExists: false); } } From f2862789bbb5147513b5091eba66bc3871a33468 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Mon, 6 Nov 2023 00:03:19 +0000 Subject: [PATCH 11/29] ready --- .../InMemoryTaskBasedTests.cs | 6 +- MSBuild.CompilerCache.Tests/RefCacheTests.cs | 2 +- .../TestOutputBuildAndCache.cs | 6 +- .../CompilationResultsCache.cs | 13 ++-- MSBuild.CompilerCache/FileHashCache.cs | 4 +- MSBuild.CompilerCache/LocatorAndPopulator.cs | 75 ++++--------------- MSBuild.CompilerCache/Utils.cs | 10 +-- 7 files changed, 35 insertions(+), 81 deletions(-) diff --git a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs index 7697905..84312f8 100644 --- a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs +++ b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs @@ -110,8 +110,10 @@ public async Task SimpleCacheHitTest() ); var refCache = new RefCache(tmpDir.Dir.CombineAsDir(".refcache").FullName); var all = AllFromInputs(inputs, refCache); - var zip = await LocatorAndPopulator.BuildOutputsZip(tmpDir.Dir, outputItems, - new AllCompilationMetadata(null, all.LocalInputs.ToSlim()), Utils.DefaultHasher); + var hasher = Utils.DefaultHasher; + var outputData = await Task.WhenAll(outputItems.Select(i => LocatorAndPopulator.GatherSingleOutputData(i, hasher)).ToArray()); + var zip = await LocatorAndPopulator.BuildOutputsZip(tmpDir.Dir, outputData, + new AllCompilationMetadata(null, all.LocalInputs.ToSlim()), hasher); foreach (var outputItem in outputItems) { diff --git a/MSBuild.CompilerCache.Tests/RefCacheTests.cs b/MSBuild.CompilerCache.Tests/RefCacheTests.cs index 04cd632..cdb9024 100644 --- a/MSBuild.CompilerCache.Tests/RefCacheTests.cs +++ b/MSBuild.CompilerCache.Tests/RefCacheTests.cs @@ -37,7 +37,7 @@ public async Task AfterSetCacheHits() Length: 1212, LastWriteTimeUtc: new DateTime(2023, 7, 1, 0, 0, 0, kind: DateTimeKind.Utc) ), - Hash: null + Hash: "hash" ) ); diff --git a/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs b/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs index 68e9ee9..38e9e9e 100644 --- a/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs +++ b/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs @@ -12,7 +12,7 @@ public async Task Test() using var dir = new DisposableDir(); var outputsDir = dir.Dir.CreateSubdirectory("outputs"); var foo = outputsDir.CombineAsFile("foo.txt"); - File.WriteAllText(foo.FullName, "foo"); + await File.WriteAllTextAsync(foo.FullName, "foo"); var items = new[] { new OutputItem("foo", foo.FullName) @@ -30,7 +30,9 @@ public async Task Test() OutputFiles: items ) ); - var zipPath = await LocatorAndPopulator.BuildOutputsZip(dir, items, metadata, Utils.DefaultHasher); + var hasher = Utils.DefaultHasher; + var outputData = await Task.WhenAll(items.Select(i => LocatorAndPopulator.GatherSingleOutputData(i, hasher)).ToArray()); + var zipPath = await LocatorAndPopulator.BuildOutputsZip(dir, outputData, metadata, hasher); var cache = new CompilationResultsCache(dir.Dir.CombineAsDir(".cache").FullName); diff --git a/MSBuild.CompilerCache/CompilationResultsCache.cs b/MSBuild.CompilerCache/CompilationResultsCache.cs index 596f24f..9760c89 100644 --- a/MSBuild.CompilerCache/CompilationResultsCache.cs +++ b/MSBuild.CompilerCache/CompilationResultsCache.cs @@ -40,10 +40,10 @@ public LocalFileExtract(FileHashCacheKey Info, string? Hash) public string Path => Info.FullName; public long Length => Info.Length; public DateTime LastWriteTimeUtc => Info.LastWriteTimeUtc; - public string? Hash { get; set; } + public string Hash { get; set; } public FileExtract ToFileExtract() => new(Name: System.IO.Path.GetFileName(Path), ContentHash: Hash, Length: Length); - public void Deconstruct(out FileHashCacheKey Info, out string? Hash) + public void Deconstruct(out FileHashCacheKey Info, out string Hash) { Info = this.Info; Hash = this.Hash; @@ -215,7 +215,6 @@ public async Task SetAsync(CacheKey key, FullExtract fullExtract, FileInfo resul var dir = new DirectoryInfo(CacheDir(key)); dir.Create(); - var extractFile = new FileInfo(ExtractPath(key)); var outputFile = new FileInfo(Path.Combine(dir.FullName, resultZipToBeMoved.Name)); if (!outputFile.Exists) @@ -223,15 +222,15 @@ public async Task SetAsync(CacheKey key, FullExtract fullExtract, FileInfo resul AtomicCopyOrMove(resultZipToBeMoved, outputFile, throwIfDestinationExists: false, moveInsteadOfCopy: true); } + var extractFile = new FileInfo(ExtractPath(key)); if (!extractFile.Exists) { - // TODO Serialise directly to the cache dir (as a tmp file) - using var tmpFile = new TempFile(); + var tmpFile = new FileInfo(TempFile.GetTempFilePath()); { - await using var fs = tmpFile.File.OpenWrite(); + await using var fs = tmpFile.OpenWrite(); await JsonSerializer.SerializeAsync(fs, fullExtract, FullExtractJsonContext.Default.FullExtract); } - AtomicCopyOrMove(tmpFile.File, extractFile, throwIfDestinationExists: false, moveInsteadOfCopy: true); + AtomicCopyOrMove(tmpFile, extractFile, throwIfDestinationExists: false, moveInsteadOfCopy: true); } } diff --git a/MSBuild.CompilerCache/FileHashCache.cs b/MSBuild.CompilerCache/FileHashCache.cs index 89a4a23..ca446f9 100644 --- a/MSBuild.CompilerCache/FileHashCache.cs +++ b/MSBuild.CompilerCache/FileHashCache.cs @@ -100,10 +100,10 @@ internal static T IOActionWithRetries(Func action) public async Task SetAsync(FileHashCacheKey originalKey, string value) { var key = ExtractKey(originalKey); - FileInfo entryFile = new FileInfo(EntryPath(key)); + var entryFile = new FileInfo(EntryPath(key)); if (entryFile.Exists) { - return await Task.FromResult(false); + return false; } using var tmpFile = new TempFile(); diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index fcb8241..df8bab5 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -332,7 +332,7 @@ private static LocalFileExtract AllRefDataToExtract(AllRefData data, string comp string.Equals(x, compilingAssemblyName, StringComparison.OrdinalIgnoreCase)); bool ignoreInternals = ignoreInternalsIfPossible && !internalsVisibleToOurAssembly; - string? trimmedHash = ignoreInternals ? data.PublicRefHash : data.PublicAndInternalsRefHash; + string trimmedHash = ignoreInternals ? data.PublicRefHash : data.PublicAndInternalsRefHash ?? data.PublicRefHash; // This extract is used to find cached compilation results. // We want it to return the same value if the appropriately trimmed version of the dll is the same. @@ -370,14 +370,7 @@ public async Task PopulateCacheAsync(TaskLoggingHelper log, { var postCompilationTimeUtc = DateTime.UtcNow; - var outputs = await System.Threading.Tasks.Task.WhenAll(_decomposed.OutputsToCache.Select(async file => - { - await using var f = File.Open(file.LocalPath, FileMode.Open, FileAccess.Read, FileShare.Read); - byte[] bytes = await File.ReadAllBytesAsync(file.LocalPath); - var bytesHash = _hasher.ComputeHash(bytes); - var bytesHashString = Utils.BytesToHashHex(bytesHash, _hasher); - return new OutputData(file, bytes, bytesHash, bytesHashString); - }).ToArray()); + var outputs = await System.Threading.Tasks.Task.WhenAll(_decomposed.OutputsToCache.Select(outputItem => GatherSingleOutputData(outputItem, _hasher)).ToArray()); // Trigger RefTrimmer for newly-built dlls/exe files - should speed up builds of dependent projects, // and avoid any duplicate calculations due to multiple dependants redoing the same thing if timings are bad. @@ -404,8 +397,8 @@ async System.Threading.Tasks.Task RefasmCompiledDllsAsync(OutputData[] outputs) var allCompMetadata = new AllCompilationMetadata(Metadata: meta, LocalInputs: _localInputs.ToSlim()); using var tmpDir = new DisposableDir(); - var outputZip = await BuildOutputsZip2(tmpDir, outputs, allCompMetadata, _hasher, log); - + var outputZip = await BuildOutputsZip(tmpDir, outputs, allCompMetadata, _hasher, log); + log.LogMessage(MessageImportance.Normal, $"CompilationCache - copying {_decomposed.OutputsToCache.Length} files from output to cache"); //logTime?.Invoke("Outputs zip created"); @@ -417,6 +410,15 @@ async System.Threading.Tasks.Task RefasmCompiledDllsAsync(OutputData[] outputs) return new UseOrPopulateResult(); } + internal static async Task GatherSingleOutputData(OutputItem outputItem, IHash hasher) + { + await using var f = File.Open(outputItem.LocalPath, FileMode.Open, FileAccess.Read, FileShare.Read); + byte[] bytes = await File.ReadAllBytesAsync(outputItem.LocalPath); + var bytesHash = hasher.ComputeHash(bytes); + var bytesHashString = Utils.BytesToHashHex(bytesHash, hasher); + return new OutputData(outputItem, bytes, bytesHash, bytesHashString); + } + private async ValueTask RefasmAndPopulateCacheWithOutputDll(OutputData dll) { var trimmer = new RefTrimmer(); @@ -438,7 +440,7 @@ private async ValueTask RefasmAndPopulateCacheWithOutputDll(OutputData dll) record ArchiveEntry(string Name, byte[] Bytes); - public static async Task BuildOutputsZip2(DirectoryInfo baseTmpDir, OutputData[] items, + public static async Task BuildOutputsZip(DirectoryInfo baseTmpDir, OutputData[] items, AllCompilationMetadata metadata, IHash hasher, TaskLoggingHelper? log = null) { @@ -495,55 +497,6 @@ async Task SaveInputsAndReturnBytesAsync() return tempZipPath; } - - public static async Task BuildOutputsZip(DirectoryInfo baseTmpDir, OutputItem[] items, - AllCompilationMetadata metadata, IHash hasher, - TaskLoggingHelper? log = null) - { - var outputsDir = baseTmpDir.CreateSubdirectory("outputs_zip_building"); - - async System.Threading.Tasks.Task SaveInputsAsync() - { - var metaPath = outputsDir.CombineAsFile("__inputs.json").FullName; - // ReSharper disable once UseAwaitUsing - using var fs = File.OpenWrite(metaPath); - await JsonSerializer.SerializeAsync(fs, metadata, - AllCompilationMetadataJsonContext.Default.AllCompilationMetadata); - } - - // Write inputs json in parallel to the rest - var saveInputsTask = SaveInputsAsync(); - - var outputExtracts = - items.Select(item => - { - var tempPath = outputsDir.CombineAsFile(item.CacheFileName); - log?.LogMessage(MessageImportance.Normal, - $"CompilationCache: Copy {item.LocalPath} -> {tempPath.FullName}"); - File.Copy(item.LocalPath, tempPath.FullName); - var fileHashCacheKey = FileHashCacheKey.FromFileInfo(tempPath); - string hashString = Utils.FileBytesToHashHex(tempPath.FullName, Utils.DefaultHasher); - return new LocalFileExtract(Info: fileHashCacheKey, Hash: hashString).ToFileExtract(); - }).ToArray(); - - var hashForFileName = Utils.ObjectToHash(outputExtracts, hasher); - - var outputsExtractJsonPath = outputsDir.CombineAsFile("__outputs.json").FullName; - { - await using var fs = File.OpenWrite(outputsExtractJsonPath); - await JsonSerializer.SerializeAsync(fs, outputExtracts, OutputExtractsJsonContext.Default.FileExtractArray); - } - - // Make sure inputs json written before zipping the whole directory - await saveInputsTask; - - var tempZipPath = baseTmpDir.CombineAsFile($"{hashForFileName}.zip"); - // TODO Create zip archive from in-memory data rather than files on disk - - ZipFile.CreateFromDirectory(outputsDir.FullName, tempZipPath.FullName, - CompressionLevel.NoCompression, includeBaseDirectory: false); - return tempZipPath; - } public void Dispose() { diff --git a/MSBuild.CompilerCache/Utils.cs b/MSBuild.CompilerCache/Utils.cs index e49df0c..01d59ef 100644 --- a/MSBuild.CompilerCache/Utils.cs +++ b/MSBuild.CompilerCache/Utils.cs @@ -2,15 +2,13 @@ namespace MSBuild.CompilerCache; -public class TempFile : IDisposable +public sealed class TempFile : IDisposable { - public FileInfo File { get; } = new(Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString())); + public static string GetTempFilePath() => Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString()); + public FileInfo File { get; } = new FileInfo(GetTempFilePath()); public string FullName => File.FullName; - public void Dispose() - { - File.Delete(); - } + public void Dispose() => File.Delete(); } public record RelativePath(string Path) From 2f23b29f9a5ebe42097b48369a18852e0164c0aa Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Mon, 6 Nov 2023 00:19:27 +0000 Subject: [PATCH 12/29] Refactor, tests work --- MSBuild.CompilerCache.Benchmarks/Program.cs | 2 +- .../InMemoryTaskBasedTests.cs | 2 +- MSBuild.CompilerCache.Tests/PerfTests.cs | 2 +- MSBuild.CompilerCache.Tests/TrimmingTests.cs | 2 +- MSBuild.CompilerCache/FileHashCacheKey.cs | 2 - MSBuild.CompilerCache/LocatorAndPopulator.cs | 46 ++++++++----------- MSBuild.CompilerCache/RefCache.cs | 1 - MSBuild.CompilerCache/RefTrimmer.cs | 16 +++++-- MSBuild.CompilerCache/Utils.cs | 5 +- 9 files changed, 35 insertions(+), 43 deletions(-) diff --git a/MSBuild.CompilerCache.Benchmarks/Program.cs b/MSBuild.CompilerCache.Benchmarks/Program.cs index f8579dd..25e4b89 100644 --- a/MSBuild.CompilerCache.Benchmarks/Program.cs +++ b/MSBuild.CompilerCache.Benchmarks/Program.cs @@ -38,7 +38,7 @@ public void HashCalculationPerfTest() void Act() { - var inputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, refCache, "assembly", refTrimmingConfig, new DictionaryBasedCache()); + var inputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, refCache, "assembly", refTrimmingConfig, new DictionaryBasedCache(), Utils.DefaultHasher); if (inputs.Files.Length == 0) throw new Exception(); } diff --git a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs index 84312f8..8771922 100644 --- a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs +++ b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs @@ -66,7 +66,7 @@ public static All AllFromInputs(LocateInputs inputs, IRefCache refCache) { var decomposed = TargetsExtractionUtils.DecomposeCompilerProps(inputs.AllProps); var localInputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, refCache, compilingAssemblyName: "", - trimmingConfig: new RefTrimmingConfig(), fileHashCache: new DictionaryBasedCache()); + trimmingConfig: new RefTrimmingConfig(), fileHashCache: new DictionaryBasedCache(), hasher: Utils.DefaultHasher); var extract = localInputs.ToFullExtract(); var hashString = Utils.ObjectToHash(extract, Utils.DefaultHasher); var cacheKey = LocatorAndPopulator.GenerateKey(inputs, hashString); diff --git a/MSBuild.CompilerCache.Tests/PerfTests.cs b/MSBuild.CompilerCache.Tests/PerfTests.cs index 879679c..2134ec5 100644 --- a/MSBuild.CompilerCache.Tests/PerfTests.cs +++ b/MSBuild.CompilerCache.Tests/PerfTests.cs @@ -40,7 +40,7 @@ public void HashCalculationPerfTest() var refTrimmingConfig = new RefTrimmingConfig(); var localInputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, combinedRefCache, "assembly", refTrimmingConfig, - combinedFileHashCache); + combinedFileHashCache, Utils.DefaultHasher); var extract = localInputs.ToFullExtract(); var hashString = Utils.ObjectToHash(extract); var cacheKey = LocatorAndPopulator.GenerateKey(inputs, hashString); diff --git a/MSBuild.CompilerCache.Tests/TrimmingTests.cs b/MSBuild.CompilerCache.Tests/TrimmingTests.cs index 4d8aad1..62529e2 100644 --- a/MSBuild.CompilerCache.Tests/TrimmingTests.cs +++ b/MSBuild.CompilerCache.Tests/TrimmingTests.cs @@ -13,7 +13,7 @@ public async Task InternalsVisibleToAreResolvedCorrectly() { var path = Assembly.GetExecutingAssembly().Location.Replace(".Tests.dll", ".dll"); var bytes = await File.ReadAllBytesAsync(path); - var t = new RefTrimmer(); + var t = new RefTrimmer(Utils.DefaultHasher); var res = await t.GenerateRefData(bytes.ToImmutableArray()); Assert.That(res.InternalsVisibleTo, Is.EquivalentTo(new[] { "MSBuild.CompilerCache.Tests", "MSBuild.CompilerCache.Benchmarks" })); diff --git a/MSBuild.CompilerCache/FileHashCacheKey.cs b/MSBuild.CompilerCache/FileHashCacheKey.cs index ef55d02..5bee88a 100644 --- a/MSBuild.CompilerCache/FileHashCacheKey.cs +++ b/MSBuild.CompilerCache/FileHashCacheKey.cs @@ -1,5 +1,3 @@ -using System.Text.Json.Serialization; - namespace MSBuild.CompilerCache; /// diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index df8bab5..8fdeeb1 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -4,7 +4,6 @@ namespace MSBuild.CompilerCache; using System.Collections.Immutable; using System.IO.Compression; -using System.Text.Json; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using JsonSerializer = System.Text.Json.JsonSerializer; @@ -112,7 +111,6 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A (_config, _cache, _refCache, _fileHashCache, _hasher) = CreateCaches(inputs.ConfigPath, logTime); _assemblyName = inputs.AssemblyName; //logTime?.Invoke("Caches created"); - _localInputs = CalculateLocalInputsWithHash(logTime); //logTime?.Invoke("LocalInputs with hash created"); @@ -172,9 +170,9 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A private LocalInputs CalculateLocalInputsWithHash(Action? logTime = null) => CalculateLocalInputs(logTime); private LocalInputs CalculateLocalInputs(Action? logTime = null) => - CalculateLocalInputs(_decomposed, _refCache, _assemblyName, _config.RefTrimming, _fileHashCache, logTime); + CalculateLocalInputs(_decomposed, _refCache, _assemblyName, _config.RefTrimming, _fileHashCache, _hasher, logTime); - public static async Task ProcessSourceFile(string relativePath, IFileHashCache fileHashCache) + public static async Task ProcessSourceFile(string relativePath, IFileHashCache fileHashCache, IHash hasher) { // Open the file for reading, and don't allow anyone to modify it. var f = File.Open(relativePath, FileMode.Open, FileAccess.Read, FileShare.Read); @@ -184,7 +182,7 @@ public static async Task ProcessSourceFile(string relativePath, IFi if (hash == null) { var bytes = await File.ReadAllBytesAsync(fileHashCacheKey.FullName); - hash = Utils.BytesToHashHex(bytes); + hash = Utils.BytesToHashHex(bytes, hasher); await fileHashCache.SetAsync(fileHashCacheKey, hash); } @@ -194,7 +192,7 @@ public static async Task ProcessSourceFile(string relativePath, IFi } - public static async Task ProcessReference(string relativePath, string compilingAssemblyName, IFileHashCache fileHashCache, IRefCache refCache, RefTrimmingConfig refTrimmingConfig) + public static async Task ProcessReference(string relativePath, string compilingAssemblyName, IFileHashCache fileHashCache, IRefCache refCache, RefTrimmingConfig refTrimmingConfig, IHash hasher) { // Open the file for reading, and don't allow anyone to modify it. var f = File.Open(relativePath, FileMode.Open, FileAccess.Read, FileShare.Read); @@ -206,7 +204,7 @@ public static async Task ProcessReference(string relativePath, stri if (hash == null) { bytes ??= await File.ReadAllBytesAsync(fileHashCacheKey.FullName); - hash = Utils.BytesToHashHex(bytes); + hash = Utils.BytesToHashHex(bytes, hasher); await fileHashCache.SetAsync(fileHashCacheKey, hash); } @@ -219,7 +217,7 @@ public static async Task ProcessReference(string relativePath, stri { bytes ??= await File.ReadAllBytesAsync(fileHashCacheKey.FullName); - var toBeCached = await new RefTrimmer().GenerateRefData(ImmutableArray.Create(bytes)); + var toBeCached = await new RefTrimmer(hasher).GenerateRefData(ImmutableArray.Create(bytes)); cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: originalExtract); await refCache.SetAsync(refCacheKey, cached); } @@ -232,7 +230,7 @@ public static async Task ProcessReference(string relativePath, stri } internal static LocalInputs CalculateLocalInputs(DecomposedCompilerProps decomposed, IRefCache refCache, - string compilingAssemblyName, RefTrimmingConfig trimmingConfig, IFileHashCache fileHashCache, Action? logTime = null) + string compilingAssemblyName, RefTrimmingConfig trimmingConfig, IFileHashCache fileHashCache, IHash hasher, Action? logTime = null) { string[] fileInputs2, references2; if (trimmingConfig.Enabled) @@ -246,8 +244,8 @@ internal static LocalInputs CalculateLocalInputs(DecomposedCompilerProps decompo references2 = Array.Empty(); } - var fileTasks = fileInputs2.Select(f => (Func>)(() => ProcessSourceFile(f, fileHashCache))); - var refTasks = references2.Select(r => (Func>)(() => ProcessReference(r, compilingAssemblyName, fileHashCache, refCache, trimmingConfig))); + var fileTasks = fileInputs2.Select(f => (Func>)(() => ProcessSourceFile(f, fileHashCache, hasher))); + var refTasks = references2.Select(r => (Func>)(() => ProcessReference(r, compilingAssemblyName, fileHashCache, refCache, trimmingConfig, hasher))); var allTaskFuncs = fileTasks.Concat(refTasks).ToArray(); var allTasks = allTaskFuncs @@ -267,12 +265,6 @@ internal static LocalInputs CalculateLocalInputs(DecomposedCompilerProps decompo return new LocalInputs(allItems, props, outputs); } - public static string CreateHashString(FileHashCacheKey fileHashCacheKey) - { - var bytes = File.ReadAllBytes(fileHashCacheKey.FullName); - return Utils.BytesToHashHex(bytes); - } - private static CompilationMetadata GetCompilationMetadata(DateTime postCompilationTimeUtc) => new( Hostname: Environment.MachineName, @@ -307,7 +299,7 @@ internal static async Task GetAllRefData(string filepath, IRefCache if (cached == null) { bytes ??= await File.ReadAllBytesAsync(filepath); - var trimmer = new RefTrimmer(); + var trimmer = new RefTrimmer(hasher); var toBeCached = await trimmer.GenerateRefData(ImmutableArray.Create(bytes)); cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: extract); await refCache.SetAsync(cacheKey, cached); @@ -421,13 +413,13 @@ internal static async Task GatherSingleOutputData(OutputItem outputI private async ValueTask RefasmAndPopulateCacheWithOutputDll(OutputData dll) { - var trimmer = new RefTrimmer(); + var trimmer = new RefTrimmer(_hasher); var toBeCached = await trimmer.GenerateRefData(ImmutableArray.Create(dll.Content)); var fileCacheKey = FileHashCacheKey.FromFileInfo(new FileInfo(dll.Item.LocalPath)); var dllHash = await _fileHashCache.GetAsync(fileCacheKey); if (dllHash == null) { - dllHash = Utils.BytesToHashHex(dll.Content); + dllHash = Utils.BytesToHashHex(dll.Content, _hasher); await _fileHashCache.SetAsync(fileCacheKey, dllHash); } @@ -450,22 +442,20 @@ async Task SaveInputsAndReturnBytesAsync() { string metaPath = outputsDir.CombineAsFile("__inputs.json").FullName; await using var fs = File.OpenWrite(metaPath); - byte[] bytes2 = JsonSerializer.SerializeToUtf8Bytes(metadata, AllCompilationMetadataJsonContext.Default.AllCompilationMetadata); - await fs.WriteAsync(bytes2); - return bytes2; + byte[] bytes = JsonSerializer.SerializeToUtf8Bytes(metadata, AllCompilationMetadataJsonContext.Default.AllCompilationMetadata); + await fs.WriteAsync(bytes); + return bytes; } // Write inputs json in parallel to the rest var saveInputsTask = SaveInputsAndReturnBytesAsync(); - var objectToHash = items.Select(i => (i.Item.Name, i.BytesHash)).ToArray(); - var hashForFileName = Utils.ObjectToHash(objectToHash, hasher); var outputsExtractJsonPath = outputsDir.CombineAsFile("__outputs.json").FullName; byte[] outputsJsonBytes; + await using(var fs = File.OpenWrite(outputsExtractJsonPath)) { - await using var fs = File.OpenWrite(outputsExtractJsonPath); var outputExtracts = items.Select(i => new FileExtract(i.Item.Name, i.BytesHashString, i.Length)).ToArray(); outputsJsonBytes = JsonSerializer.SerializeToUtf8Bytes(outputExtracts, OutputExtractsJsonContext.Default.FileExtractArray); await fs.WriteAsync(outputsJsonBytes); @@ -484,9 +474,9 @@ async Task SaveInputsAndReturnBytesAsync() var tempZipPath = baseTmpDir.CombineAsFile($"{hashForFileName}.zip"); + await using(var zip = File.OpenWrite(tempZipPath.FullName)) + using(var a = new ZipArchive(zip, ZipArchiveMode.Create)) { - await using var zip = File.OpenWrite(tempZipPath.FullName); - using var a = new ZipArchive(zip, ZipArchiveMode.Create); foreach (var ae in archiveEntries) { var e = a.CreateEntry(ae.Name, CompressionLevel.NoCompression); diff --git a/MSBuild.CompilerCache/RefCache.cs b/MSBuild.CompilerCache/RefCache.cs index 5bacbbb..3cc3380 100644 --- a/MSBuild.CompilerCache/RefCache.cs +++ b/MSBuild.CompilerCache/RefCache.cs @@ -2,7 +2,6 @@ namespace MSBuild.CompilerCache; -using System.Collections.Concurrent; using IRefCache = ICacheBase; /// diff --git a/MSBuild.CompilerCache/RefTrimmer.cs b/MSBuild.CompilerCache/RefTrimmer.cs index b64e79f..3866e28 100644 --- a/MSBuild.CompilerCache/RefTrimmer.cs +++ b/MSBuild.CompilerCache/RefTrimmer.cs @@ -23,6 +23,13 @@ public partial class RefDataWithOriginalExtractJsonContext : JsonSerializerConte public class RefTrimmer { + private IHash _hasher; + + public RefTrimmer(IHash hasher) + { + _hasher = hasher; + } + public static void MakeRefasm(string inputPath, string outputPath, LoggerBase logger, IImportFilter filter) { logger.Debug?.Invoke($"Reading assembly {inputPath}"); @@ -94,11 +101,10 @@ public static ImmutableArray MakeRefasm(LoggerBase logger, RefAsmType refA return ImmutableArray.Create(refBytes); } - public static string MakeRefasmAndGetHash(LoggerBase logger, RefAsmType refAsmType, PEReader peReader) + public static string MakeRefasmAndGetHash(LoggerBase logger, RefAsmType refAsmType, PEReader peReader, IHash hasher) { var bytes = MakeRefasm(logger, refAsmType, peReader); - var hash = Utils.BytesToHashHex(bytes.AsSpan()); - return hash; + return Utils.BytesToHashHex(bytes.AsSpan(), hasher); } public async Task GenerateRefData(ImmutableArray content) @@ -112,9 +118,9 @@ public async Task GenerateRefData(ImmutableArray content) // If no assemblies can see the internals, there is no need to generate public+internal ref assembly var internalsNeverAccessible = internalsVisibleToAssemblies.IsEmpty; - string GetPublicHash() => MakeRefasmAndGetHash(loggerBase, RefAsmType.Public, new PEReader(content)); + string GetPublicHash() => MakeRefasmAndGetHash(loggerBase, RefAsmType.Public, new PEReader(content), _hasher); - string GetPublicAndInternalHash() => MakeRefasmAndGetHash(loggerBase, RefAsmType.PublicAndInternal, new PEReader(content)); + string GetPublicAndInternalHash() => MakeRefasmAndGetHash(loggerBase, RefAsmType.PublicAndInternal, new PEReader(content), _hasher); string? publicRefHash = null, publicAndInternalRefHash = null; if (internalsNeverAccessible) diff --git a/MSBuild.CompilerCache/Utils.cs b/MSBuild.CompilerCache/Utils.cs index 01d59ef..45a98cb 100644 --- a/MSBuild.CompilerCache/Utils.cs +++ b/MSBuild.CompilerCache/Utils.cs @@ -52,15 +52,14 @@ public static byte[] ObjectToBytes(object item) return bytes; } - public static string FileBytesToHashHex(string path, IHash? hasher = null) + public static string FileBytesToHashHex(string path, IHash hasher) { var bytes = File.ReadAllBytes(path); return BytesToHashHex(bytes, hasher); } - public static string BytesToHashHex(ReadOnlySpan bytes, IHash? hasher = null) + public static string BytesToHashHex(ReadOnlySpan bytes, IHash hasher) { - hasher ??= DefaultHasher; var hash = hasher.ComputeHash(bytes); return Convert.ToHexString(hash); } From 6c4bd2c0ab0bb25f98d2850208f2c8a4a0d97a4f Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Mon, 6 Nov 2023 21:07:22 +0000 Subject: [PATCH 13/29] WIP --- MSBuild.CompilerCache.Tests/EndToEndTests.cs | 6 +- MSBuild.CompilerCache.Tests/PerfTests.cs | 2 +- .../TestOutputBuildAndCache.cs | 2 +- MSBuild.CompilerCache/FileHashCache.cs | 6 +- MSBuild.CompilerCache/LocatorAndPopulator.cs | 133 +++++++++--------- MSBuild.CompilerCache/RefTrimmer.cs | 2 +- MSBuild.CompilerCache/Utils.cs | 10 +- 7 files changed, 81 insertions(+), 80 deletions(-) diff --git a/MSBuild.CompilerCache.Tests/EndToEndTests.cs b/MSBuild.CompilerCache.Tests/EndToEndTests.cs index 480ca48..4d579f5 100644 --- a/MSBuild.CompilerCache.Tests/EndToEndTests.cs +++ b/MSBuild.CompilerCache.Tests/EndToEndTests.cs @@ -249,9 +249,9 @@ FileInfo DllFile(DirectoryInfo projDir, ProjectFileBuilder proj) => var dll2 = DllFile(projDir2, proj); var dll3 = DllFile(projDir3, proj); - var hash1 = Utils.FileBytesToHashHex(dll1.FullName, Utils.DefaultHasher); - var hash2 = Utils.FileBytesToHashHex(dll2.FullName, Utils.DefaultHasher); - var hash3 = Utils.FileBytesToHashHex(dll3.FullName, Utils.DefaultHasher); + var hash1 = Utils.FileBytesToHash(dll1.FullName, Utils.DefaultHasher); + var hash2 = Utils.FileBytesToHash(dll2.FullName, Utils.DefaultHasher); + var hash3 = Utils.FileBytesToHash(dll3.FullName, Utils.DefaultHasher); Assert.That(hash2, Is.EqualTo(hash1)); Assert.That(hash3, Is.Not.EqualTo(hash2)); diff --git a/MSBuild.CompilerCache.Tests/PerfTests.cs b/MSBuild.CompilerCache.Tests/PerfTests.cs index 2134ec5..7535c21 100644 --- a/MSBuild.CompilerCache.Tests/PerfTests.cs +++ b/MSBuild.CompilerCache.Tests/PerfTests.cs @@ -15,7 +15,7 @@ public class PerfTests public void HashCalculationPerfTest() { var sw = Stopwatch.StartNew(); - var fileHashCache = new FileHashCache(".filehashcache"); + var fileHashCache = new FileHashCache(".filehashcache", Utils.DefaultHasher); var inMemoryFileHashCache = new DictionaryBasedCache(); var combinedFileHashCache = new CacheCombiner(inMemoryFileHashCache, fileHashCache); var inMemoryRefCache = new InMemoryRefCache(); diff --git a/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs b/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs index 38e9e9e..2161db7 100644 --- a/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs +++ b/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs @@ -58,7 +58,7 @@ public static void AssertDirsSame(DirectoryInfo a, DirectoryInfo b) (string Name, string Hash)[] GetInfo(DirectoryInfo dir) => dir .EnumerateFileSystemInfos("*", SearchOption.AllDirectories) - .Select(x => (x.Name, Hash: Utils.FileBytesToHashHex(x.FullName, Utils.DefaultHasher))) + .Select(x => (x.Name, Hash: Utils.FileBytesToHash(x.FullName, Utils.DefaultHasher))) .Order() .ToArray(); diff --git a/MSBuild.CompilerCache/FileHashCache.cs b/MSBuild.CompilerCache/FileHashCache.cs index ca446f9..1b8812b 100644 --- a/MSBuild.CompilerCache/FileHashCache.cs +++ b/MSBuild.CompilerCache/FileHashCache.cs @@ -9,16 +9,18 @@ namespace MSBuild.CompilerCache; public class FileHashCache : ICacheBase { private readonly string _cacheDir; + private readonly IHash _hasher; - public FileHashCache(string cacheDir) + public FileHashCache(string cacheDir, IHash hasher) { + _hasher = hasher; _cacheDir = cacheDir; Directory.CreateDirectory(_cacheDir); } public string EntryPath(CacheKey key) => Path.Combine(_cacheDir, key.Key); - public static CacheKey ExtractKey(FileHashCacheKey key) => new CacheKey(Utils.ObjectToHash(key, Utils.DefaultHasher)); + public CacheKey ExtractKey(FileHashCacheKey key) => new CacheKey(Utils.ObjectToHash(key, _hasher)); public bool Exists(FileHashCacheKey originalKey) { diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index 8fdeeb1..cbe779d 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -54,8 +54,9 @@ public class LocatorAndPopulator : IDisposable { private readonly IRefCache _inMemoryRefCache; - private (Config config, ICompilationResultsCache Cache, IRefCache RefCache, IFileHashCache FileHashCache, IHash) CreateCaches(string configPath, - Action? logTime = null) + private (Config config, ICompilationResultsCache Cache, IRefCache RefCache, IFileHashCache FileHashCache, IHash) + CreateCaches(string configPath, + Action? logTime = null) { using var fs = File.OpenRead(configPath); var config = JsonSerializer.Deserialize(fs, ConfigJsonContext.Default.Config)!; @@ -64,9 +65,9 @@ public class LocatorAndPopulator : IDisposable var refCache = new RefCache(config.InferRefCacheDir()); var combinedRefCache = CacheCombiner.Combine(_inMemoryRefCache, refCache); //logTime?.Invoke("Finish"); - var fileBasedFileHashCache = new FileHashCache(config.InferFileHashCacheDir()); - var fileHashCache = new CacheCombiner(_inMemoryFileHashCache, fileBasedFileHashCache); var hasher = HasherFactory.CreateHash(config.Hasher); + var fileBasedFileHashCache = new FileHashCache(config.InferFileHashCacheDir(), hasher); + var fileHashCache = new CacheCombiner(_inMemoryFileHashCache, fileBasedFileHashCache); return (config, cache, combinedRefCache, fileHashCache, hasher); } @@ -81,7 +82,7 @@ public class LocatorAndPopulator : IDisposable private CacheKey _cacheKey; private LocalInputs _localInputs; private readonly IFileHashCache _inMemoryFileHashCache; - private ICacheBase _fileHashCache; + private ICacheBase _fileHashCache; private IHash _hasher; public LocatorAndPopulator(IRefCache? inMemoryRefCache = null, IFileHashCache? inMemoryFileHashCache = null) @@ -111,10 +112,10 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A (_config, _cache, _refCache, _fileHashCache, _hasher) = CreateCaches(inputs.ConfigPath, logTime); _assemblyName = inputs.AssemblyName; //logTime?.Invoke("Caches created"); - + _localInputs = CalculateLocalInputsWithHash(logTime); //logTime?.Invoke("LocalInputs with hash created"); - + _extract = _localInputs.ToFullExtract(); var hashString = Utils.ObjectToHash(_extract, _hasher); _cacheKey = GenerateKey(inputs, hashString); @@ -170,9 +171,11 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A private LocalInputs CalculateLocalInputsWithHash(Action? logTime = null) => CalculateLocalInputs(logTime); private LocalInputs CalculateLocalInputs(Action? logTime = null) => - CalculateLocalInputs(_decomposed, _refCache, _assemblyName, _config.RefTrimming, _fileHashCache, _hasher, logTime); + CalculateLocalInputs(_decomposed, _refCache, _assemblyName, _config.RefTrimming, _fileHashCache, _hasher, + logTime); - public static async Task ProcessSourceFile(string relativePath, IFileHashCache fileHashCache, IHash hasher) + public static async Task ProcessSourceFile(string relativePath, IFileHashCache fileHashCache, + IHash hasher) { // Open the file for reading, and don't allow anyone to modify it. var f = File.Open(relativePath, FileMode.Open, FileAccess.Read, FileShare.Read); @@ -182,7 +185,7 @@ public static async Task ProcessSourceFile(string relativePath, IFi if (hash == null) { var bytes = await File.ReadAllBytesAsync(fileHashCacheKey.FullName); - hash = Utils.BytesToHashHex(bytes, hasher); + hash = Utils.BytesToHash(bytes, hasher); await fileHashCache.SetAsync(fileHashCacheKey, hash); } @@ -190,9 +193,10 @@ public static async Task ProcessSourceFile(string relativePath, IFi return new InputResult(f, localFileExtract); } - - - public static async Task ProcessReference(string relativePath, string compilingAssemblyName, IFileHashCache fileHashCache, IRefCache refCache, RefTrimmingConfig refTrimmingConfig, IHash hasher) + + + public static async Task ProcessReference(string relativePath, string compilingAssemblyName, + IFileHashCache fileHashCache, IRefCache refCache, RefTrimmingConfig refTrimmingConfig, IHash hasher) { // Open the file for reading, and don't allow anyone to modify it. var f = File.Open(relativePath, FileMode.Open, FileAccess.Read, FileShare.Read); @@ -200,14 +204,14 @@ public static async Task ProcessReference(string relativePath, stri var fileHashCacheKey = FileHashCacheKey.FromFileInfo(info); var hash = await fileHashCache.GetAsync(fileHashCacheKey); byte[]? bytes = null; - + if (hash == null) { bytes ??= await File.ReadAllBytesAsync(fileHashCacheKey.FullName); - hash = Utils.BytesToHashHex(bytes, hasher); + hash = Utils.BytesToHash(bytes, hasher); await fileHashCache.SetAsync(fileHashCacheKey, hash); } - + var referenceDllName = Path.GetFileNameWithoutExtension(fileHashCacheKey.FullName); var originalExtract = new LocalFileExtract(fileHashCacheKey, hash); @@ -223,14 +227,15 @@ public static async Task ProcessReference(string relativePath, stri } var allRefData = new AllRefData(Original: cached.Original, RefData: cached.Ref); - + var data = AllRefDataToExtract(allRefData, compilingAssemblyName, refTrimmingConfig.IgnoreInternalsIfPossible); var extract = new LocalFileExtract(fileHashCacheKey, data.Hash); return new InputResult(f, extract); } - + internal static LocalInputs CalculateLocalInputs(DecomposedCompilerProps decomposed, IRefCache refCache, - string compilingAssemblyName, RefTrimmingConfig trimmingConfig, IFileHashCache fileHashCache, IHash hasher, Action? logTime = null) + string compilingAssemblyName, RefTrimmingConfig trimmingConfig, IFileHashCache fileHashCache, IHash hasher, + Action? logTime = null) { string[] fileInputs2, references2; if (trimmingConfig.Enabled) @@ -243,9 +248,11 @@ internal static LocalInputs CalculateLocalInputs(DecomposedCompilerProps decompo fileInputs2 = decomposed.FileInputs.Concat(decomposed.References).ToArray(); references2 = Array.Empty(); } - - var fileTasks = fileInputs2.Select(f => (Func>)(() => ProcessSourceFile(f, fileHashCache, hasher))); - var refTasks = references2.Select(r => (Func>)(() => ProcessReference(r, compilingAssemblyName, fileHashCache, refCache, trimmingConfig, hasher))); + + var fileTasks = + fileInputs2.Select(f => (Func>)(() => ProcessSourceFile(f, fileHashCache, hasher))); + var refTasks = references2.Select(r => (Func>)(() => + ProcessReference(r, compilingAssemblyName, fileHashCache, refCache, trimmingConfig, hasher))); var allTaskFuncs = fileTasks.Concat(refTasks).ToArray(); var allTasks = allTaskFuncs @@ -256,10 +263,10 @@ internal static LocalInputs CalculateLocalInputs(DecomposedCompilerProps decompo var allItems = System.Threading.Tasks.Task.WhenAll(allTasks).GetAwaiter().GetResult(); //logTime?.Invoke("ref extracts done"); - + var props = decomposed.PropertyInputs.Select(kvp => (kvp.Key, kvp.Value)).OrderBy(kvp => kvp.Key).ToArray(); var outputs = decomposed.OutputsToCache.OrderBy(x => x.Name).ToArray(); - + //logTime?.Invoke("orders done"); return new LocalInputs(allItems, props, outputs); @@ -273,7 +280,8 @@ private static CompilationMetadata GetCompilationMetadata(DateTime postCompilati WorkingDirectory: Environment.CurrentDirectory ); - internal static async Task GetAllRefData(string filepath, IRefCache refCache, IFileHashCache fileHashCache, IHash hasher) + internal static async Task GetAllRefData(string filepath, IRefCache refCache, + IFileHashCache fileHashCache, IHash hasher) { var fileInfo = new FileInfo(filepath); if (!fileInfo.Exists) @@ -287,7 +295,7 @@ internal static async Task GetAllRefData(string filepath, IRefCache if (hashString == null) { bytes ??= await File.ReadAllBytesAsync(filepath); - hashString = Utils.BytesToHashHex(bytes, hasher); + hashString = Utils.BytesToHash(bytes, hasher); await fileHashCache.SetAsync(fileCacheKey, hashString); } @@ -324,7 +332,8 @@ private static LocalFileExtract AllRefDataToExtract(AllRefData data, string comp string.Equals(x, compilingAssemblyName, StringComparison.OrdinalIgnoreCase)); bool ignoreInternals = ignoreInternalsIfPossible && !internalsVisibleToOurAssembly; - string trimmedHash = ignoreInternals ? data.PublicRefHash : data.PublicAndInternalsRefHash ?? data.PublicRefHash; + string trimmedHash = + ignoreInternals ? data.PublicRefHash : data.PublicAndInternalsRefHash ?? data.PublicRefHash; // This extract is used to find cached compilation results. // We want it to return the same value if the appropriately trimmed version of the dll is the same. @@ -357,13 +366,14 @@ public record OutputData(OutputItem Item, byte[] Content, byte[] BytesHash, stri { public long Length => Content.Length; } - + public async Task PopulateCacheAsync(TaskLoggingHelper log, Action? logTime = null) { var postCompilationTimeUtc = DateTime.UtcNow; - var outputs = await System.Threading.Tasks.Task.WhenAll(_decomposed.OutputsToCache.Select(outputItem => GatherSingleOutputData(outputItem, _hasher)).ToArray()); - + var outputs = await System.Threading.Tasks.Task.WhenAll(_decomposed.OutputsToCache + .Select(outputItem => GatherSingleOutputData(outputItem, _hasher)).ToArray()); + // Trigger RefTrimmer for newly-built dlls/exe files - should speed up builds of dependent projects, // and avoid any duplicate calculations due to multiple dependants redoing the same thing if timings are bad. @@ -380,17 +390,18 @@ async System.Threading.Tasks.Task RefasmCompiledDllsAsync(OutputData[] outputs) } else { - await Parallel.ForEachAsync(outputsToRefasm, (output, _) => RefasmAndPopulateCacheWithOutputDll(output)); + await Parallel.ForEachAsync(outputsToRefasm, + (output, _) => RefasmAndPopulateCacheWithOutputDll(output)); } } - + var refasmCompiledDllsTask = RefasmCompiledDllsAsync(outputs); var meta = GetCompilationMetadata(postCompilationTimeUtc); var allCompMetadata = new AllCompilationMetadata(Metadata: meta, LocalInputs: _localInputs.ToSlim()); - + using var tmpDir = new DisposableDir(); var outputZip = await BuildOutputsZip(tmpDir, outputs, allCompMetadata, _hasher, log); - + log.LogMessage(MessageImportance.Normal, $"CompilationCache - copying {_decomposed.OutputsToCache.Length} files from output to cache"); //logTime?.Invoke("Outputs zip created"); @@ -398,7 +409,7 @@ async System.Threading.Tasks.Task RefasmCompiledDllsAsync(OutputData[] outputs) //logTime?.Invoke("cache entry set"); await refasmCompiledDllsTask; - + return new UseOrPopulateResult(); } @@ -407,7 +418,7 @@ internal static async Task GatherSingleOutputData(OutputItem outputI await using var f = File.Open(outputItem.LocalPath, FileMode.Open, FileAccess.Read, FileShare.Read); byte[] bytes = await File.ReadAllBytesAsync(outputItem.LocalPath); var bytesHash = hasher.ComputeHash(bytes); - var bytesHashString = Utils.BytesToHashHex(bytesHash, hasher); + var bytesHashString = Utils.BytesToHash(bytesHash, hasher); return new OutputData(outputItem, bytes, bytesHash, bytesHashString); } @@ -419,10 +430,10 @@ private async ValueTask RefasmAndPopulateCacheWithOutputDll(OutputData dll) var dllHash = await _fileHashCache.GetAsync(fileCacheKey); if (dllHash == null) { - dllHash = Utils.BytesToHashHex(dll.Content, _hasher); + dllHash = Utils.BytesToHash(dll.Content, _hasher); await _fileHashCache.SetAsync(fileCacheKey, dllHash); } - + var extract = new LocalFileExtract(fileCacheKey, dllHash); var name = Path.GetFileNameWithoutExtension(fileCacheKey.FullName); var cacheKey = BuildRefCacheKey(name, dllHash); @@ -431,35 +442,21 @@ private async ValueTask RefasmAndPopulateCacheWithOutputDll(OutputData dll) } record ArchiveEntry(string Name, byte[] Bytes); - + public static async Task BuildOutputsZip(DirectoryInfo baseTmpDir, OutputData[] items, AllCompilationMetadata metadata, IHash hasher, TaskLoggingHelper? log = null) { - var outputsDir = baseTmpDir.CreateSubdirectory("outputs_zip_building"); - - async Task SaveInputsAndReturnBytesAsync() - { - string metaPath = outputsDir.CombineAsFile("__inputs.json").FullName; - await using var fs = File.OpenWrite(metaPath); - byte[] bytes = JsonSerializer.SerializeToUtf8Bytes(metadata, AllCompilationMetadataJsonContext.Default.AllCompilationMetadata); - await fs.WriteAsync(bytes); - return bytes; - } - // Write inputs json in parallel to the rest - var saveInputsTask = SaveInputsAndReturnBytesAsync(); + var saveInputsTask = System.Threading.Tasks.Task.Run( + () => JsonSerializer.SerializeToUtf8Bytes(metadata, + AllCompilationMetadataJsonContext.Default.AllCompilationMetadata)); var objectToHash = items.Select(i => (i.Item.Name, i.BytesHash)).ToArray(); var hashForFileName = Utils.ObjectToHash(objectToHash, hasher); - var outputsExtractJsonPath = outputsDir.CombineAsFile("__outputs.json").FullName; - byte[] outputsJsonBytes; - await using(var fs = File.OpenWrite(outputsExtractJsonPath)) - { - var outputExtracts = items.Select(i => new FileExtract(i.Item.Name, i.BytesHashString, i.Length)).ToArray(); - outputsJsonBytes = JsonSerializer.SerializeToUtf8Bytes(outputExtracts, OutputExtractsJsonContext.Default.FileExtractArray); - await fs.WriteAsync(outputsJsonBytes); - } + var outputExtracts = items.Select(i => new FileExtract(i.Item.Name, i.BytesHashString, i.Length)).ToArray(); + byte[] outputsJsonBytes = + JsonSerializer.SerializeToUtf8Bytes(outputExtracts, OutputExtractsJsonContext.Default.FileExtractArray); // Make sure inputs json written before zipping the whole directory var inputsJsonBytes = await saveInputsTask; @@ -471,21 +468,23 @@ async Task SaveInputsAndReturnBytesAsync() }; var outputsEntries = items.Select(o => new ArchiveEntry(o.Item.CacheFileName, o.Content)).ToArray(); var archiveEntries = metaEntries.Concat(outputsEntries).ToArray(); - - var tempZipPath = baseTmpDir.CombineAsFile($"{hashForFileName}.zip"); - await using(var zip = File.OpenWrite(tempZipPath.FullName)) - using(var a = new ZipArchive(zip, ZipArchiveMode.Create)) + return await BuildZip(); + + async Task BuildZip() { + var tempZipPath = baseTmpDir.CombineAsFile($"{hashForFileName}.zip"); + await using var zip = tempZipPath.OpenWrite(); + using var a = new ZipArchive(zip, ZipArchiveMode.Create); foreach (var ae in archiveEntries) { var e = a.CreateEntry(ae.Name, CompressionLevel.NoCompression); await using var es = e.Open(); await es.WriteAsync(ae.Bytes); } + + return tempZipPath; } - - return tempZipPath; } public void Dispose() @@ -501,7 +500,7 @@ public void Dispose() } catch (Exception) { - // ignored + // This is a best effort attempt to clean up files. } } } @@ -517,4 +516,4 @@ public partial class OutputExtractsJsonContext : JsonSerializerContext; public partial class AllCompilationMetadataJsonContext : JsonSerializerContext; [Serializable] -public record InputResult(FileStream f, LocalFileExtract fileHashCacheKey); +public record InputResult(FileStream f, LocalFileExtract fileHashCacheKey); \ No newline at end of file diff --git a/MSBuild.CompilerCache/RefTrimmer.cs b/MSBuild.CompilerCache/RefTrimmer.cs index 3866e28..63e82c6 100644 --- a/MSBuild.CompilerCache/RefTrimmer.cs +++ b/MSBuild.CompilerCache/RefTrimmer.cs @@ -104,7 +104,7 @@ public static ImmutableArray MakeRefasm(LoggerBase logger, RefAsmType refA public static string MakeRefasmAndGetHash(LoggerBase logger, RefAsmType refAsmType, PEReader peReader, IHash hasher) { var bytes = MakeRefasm(logger, refAsmType, peReader); - return Utils.BytesToHashHex(bytes.AsSpan(), hasher); + return Utils.BytesToHash(bytes.AsSpan(), hasher); } public async Task GenerateRefData(ImmutableArray content) diff --git a/MSBuild.CompilerCache/Utils.cs b/MSBuild.CompilerCache/Utils.cs index 45a98cb..d217310 100644 --- a/MSBuild.CompilerCache/Utils.cs +++ b/MSBuild.CompilerCache/Utils.cs @@ -34,10 +34,10 @@ public static class Utils { internal static readonly IHash DefaultHasher = HasherFactory.CreateHash(HasherType.XxHash64); - public static string ObjectToHash(object item, IHash? hasher = null) + public static string ObjectToHash(object item, IHash hasher) { var bytes = ObjectToBytes(item); - return BytesToHashHex(bytes, hasher); + return BytesToHash(bytes, hasher); } public static byte[] ObjectToBytes(object item) @@ -52,13 +52,13 @@ public static byte[] ObjectToBytes(object item) return bytes; } - public static string FileBytesToHashHex(string path, IHash hasher) + public static string FileBytesToHash(string path, IHash hasher) { var bytes = File.ReadAllBytes(path); - return BytesToHashHex(bytes, hasher); + return BytesToHash(bytes, hasher); } - public static string BytesToHashHex(ReadOnlySpan bytes, IHash hasher) + public static string BytesToHash(ReadOnlySpan bytes, IHash hasher) { var hash = hasher.ComputeHash(bytes); return Convert.ToHexString(hash); From acb82f10c596fbdf5b5baf0adc0fbbf9ac961223 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Mon, 6 Nov 2023 22:38:55 +0000 Subject: [PATCH 14/29] Fix tests & update targets files. Add analyzer dlls as inputs --- MSBuild.CompilerCache/TempFile.cs | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 MSBuild.CompilerCache/TempFile.cs diff --git a/MSBuild.CompilerCache/TempFile.cs b/MSBuild.CompilerCache/TempFile.cs new file mode 100644 index 0000000..e69de29 From 44b57bfc2bbe0b884b2fa035791bd7afbe812556 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Mon, 6 Nov 2023 22:56:56 +0000 Subject: [PATCH 15/29] Actually commit --- MSBuild.CompilerCache.Benchmarks/Program.cs | 3 +- MSBuild.CompilerCache.Tests/EndToEndTests.cs | 50 +- MSBuild.CompilerCache.Tests/Extensions.cs | 4 +- .../InMemoryTaskBasedTests.cs | 12 +- MSBuild.CompilerCache.Tests/PerfTests.cs | 9 +- .../Samples/Program.cs | 2 +- .../TargetsExtraction.cs | 36 +- .../TestOutputBuildAndCache.cs | 4 +- MSBuild.CompilerCache.Tests/TestUtils.cs | 11 +- MSBuild.CompilerCache.Tests/TrimmingTests.cs | 2 +- MSBuild.CompilerCache/CacheCombiner.cs | 30 +- .../CompilationResultsCache.cs | 49 +- MSBuild.CompilerCache/CompilerCacheLocate.cs | 17 +- .../CompilerCachePopulateCache.cs | 18 +- MSBuild.CompilerCache/FileHashCache.cs | 6 +- MSBuild.CompilerCache/LocatorAndPopulator.cs | 82 +- MSBuild.CompilerCache/NuGet.README.md | 2 +- MSBuild.CompilerCache/RefCache.cs | 6 +- .../Cached.CoreCompile.6.0.300.CSharp.targets | 27 +- .../Cached.CoreCompile.6.0.300.FSharp.targets | 27 +- .../Cached.CoreCompile.6.0.301.CSharp.targets | 16 +- .../Cached.CoreCompile.6.0.301.FSharp.targets | 16 +- .../Cached.CoreCompile.6.0.408.CSharp.targets | 16 +- .../Cached.CoreCompile.6.0.408.FSharp.targets | 16 +- .../Cached.CoreCompile.7.0.105.CSharp.targets | 16 +- .../Cached.CoreCompile.7.0.105.FSharp.targets | 16 +- .../Cached.CoreCompile.7.0.202.CSharp.targets | 27 +- .../Cached.CoreCompile.7.0.202.FSharp.targets | 27 +- .../Cached.CoreCompile.7.0.203.CSharp.targets | 16 +- .../Cached.CoreCompile.7.0.203.FSharp.targets | 16 +- .../Cached.CoreCompile.7.0.302.CSharp.targets | 16 +- .../Cached.CoreCompile.7.0.302.FSharp.targets | 16 +- .../Targets/MSBuild.CompilerCache.targets | 2 +- .../Targets.6.0.300.CSharp.xml | 16954 +++++++-------- .../Targets.6.0.300.FSharp.xml | 16884 +++++++-------- .../Targets.7.0.202.CSharp.xml | 17724 ++++++++-------- .../Targets.7.0.202.FSharp.xml | 17586 +++++++-------- .../TargetsExtractionUtils.cs | 26 +- MSBuild.CompilerCache/TempFile.cs | 10 + MSBuild.CompilerCache/Utils.cs | 36 - README.md | 4 +- SampleProjects/CSharp.1/Program.cs | 4 +- SampleProjects/Directory.Build.props | 2 +- 43 files changed, 34917 insertions(+), 34926 deletions(-) diff --git a/MSBuild.CompilerCache.Benchmarks/Program.cs b/MSBuild.CompilerCache.Benchmarks/Program.cs index 25e4b89..cdfc1a2 100644 --- a/MSBuild.CompilerCache.Benchmarks/Program.cs +++ b/MSBuild.CompilerCache.Benchmarks/Program.cs @@ -38,7 +38,8 @@ public void HashCalculationPerfTest() void Act() { - var inputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, refCache, "assembly", refTrimmingConfig, new DictionaryBasedCache(), Utils.DefaultHasher); + var hasher = HasherFactory.CreateHash(HasherType.XxHash64); + var inputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, refCache, "assembly", refTrimmingConfig, new DictionaryBasedCache(), hasher); if (inputs.Files.Length == 0) throw new Exception(); } diff --git a/MSBuild.CompilerCache.Tests/EndToEndTests.cs b/MSBuild.CompilerCache.Tests/EndToEndTests.cs index 4d579f5..dc62452 100644 --- a/MSBuild.CompilerCache.Tests/EndToEndTests.cs +++ b/MSBuild.CompilerCache.Tests/EndToEndTests.cs @@ -47,21 +47,21 @@ private static string NugetConfig(string sourcePath) => """; private static readonly string PropsFile = - $""" - - - - true - Embedded - true - - - - $(MSBuildThisFileDirectory).cache/ - - - -"""; + """ + + + + true + Embedded + true + + + + $(MSBuildThisFileDirectory).cache/ + + + + """; public void Dispose() { @@ -133,9 +133,9 @@ public record ProjectFileBuilder public bool GenerateDocumentationFile { get; init; } = true; public bool ProduceReferenceAssembly { get; init; } = true; public string? AssemblyName { get; init; } = null; - public string? CompilationCacheConfigPath { get; init; } = null; + public string? CompilerCacheConfigPath { get; init; } public string TargetFramework { get; init; } = "net6.0"; - public string Name { get; init; } = null; + public string Name { get; init; } public ProjectFileBuilder(string name) => Name = name; @@ -176,7 +176,7 @@ void AddIfNotNull(string name, string? value) } AddIfNotNull("AssemblyName", AssemblyName); - AddIfNotNull("CompilationCacheConfigPath", CompilationCacheConfigPath); + AddIfNotNull("CompilerCacheConfigPath", CompilerCacheConfigPath); return properties; } @@ -249,9 +249,9 @@ FileInfo DllFile(DirectoryInfo projDir, ProjectFileBuilder proj) => var dll2 = DllFile(projDir2, proj); var dll3 = DllFile(projDir3, proj); - var hash1 = Utils.FileBytesToHash(dll1.FullName, Utils.DefaultHasher); - var hash2 = Utils.FileBytesToHash(dll2.FullName, Utils.DefaultHasher); - var hash3 = Utils.FileBytesToHash(dll3.FullName, Utils.DefaultHasher); + var hash1 = TestUtils.FileBytesToHash(dll1.FullName, TestUtils.DefaultHasher); + var hash2 = TestUtils.FileBytesToHash(dll2.FullName, TestUtils.DefaultHasher); + var hash3 = TestUtils.FileBytesToHash(dll3.FullName, TestUtils.DefaultHasher); Assert.That(hash2, Is.EqualTo(hash1)); Assert.That(hash3, Is.Not.EqualTo(hash2)); @@ -269,7 +269,7 @@ public class Class { } var proj = new ProjectFileBuilder("C.csproj") { - CompilationCacheConfigPath = configFile.FullName, + CompilerCacheConfigPath = configFile.FullName, ProduceReferenceAssembly = produceRefAssembly } .WithSource(source); @@ -285,7 +285,7 @@ namespace CSharp var proj = new ProjectFileBuilder("F.fsproj") { - CompilationCacheConfigPath = configFile.FullName, + CompilerCacheConfigPath = configFile.FullName, ProduceReferenceAssembly = produceRefAssembly } .WithSource(source); @@ -313,7 +313,7 @@ private static string[] BuildProject(DirectoryInfo dir, ProjectFileBuilder proje { Environment.SetEnvironmentVariable("MSBuildSDKsPath", null); Environment.SetEnvironmentVariable("MSBuildExtensionsPath", null); - TestUtils.RunProcess("dotnet", $"add package MSBuild.CompilerCache --prerelease", dir); - return TestUtils.RunProcess("dotnet", $"build -verbosity:normal", dir); + TestUtils.RunProcess("dotnet", "add package MSBuild.CompilerCache --prerelease", dir); + return TestUtils.RunProcess("dotnet", "build -verbosity:normal", dir); } } \ No newline at end of file diff --git a/MSBuild.CompilerCache.Tests/Extensions.cs b/MSBuild.CompilerCache.Tests/Extensions.cs index 7d3b2d1..d68fa60 100644 --- a/MSBuild.CompilerCache.Tests/Extensions.cs +++ b/MSBuild.CompilerCache.Tests/Extensions.cs @@ -1,6 +1,8 @@ +using Newtonsoft.Json; + namespace Tests; public static class Extensions { - public static string ToJson(this object x) => Newtonsoft.Json.JsonConvert.SerializeObject(x); + public static string ToJson(this object x) => JsonConvert.SerializeObject(x); } \ No newline at end of file diff --git a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs index 8771922..b1f4411 100644 --- a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs +++ b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs @@ -4,8 +4,7 @@ using MSBuild.CompilerCache; using Newtonsoft.Json; using NUnit.Framework; -using IRefCache = - MSBuild.CompilerCache.ICacheBase; +using IRefCache = MSBuild.CompilerCache.ICacheBase; namespace Tests; @@ -35,7 +34,7 @@ public void SetUp() dict[(key, life)] = value); _buildEngine - .Setup(x => x.GetRegisteredTaskObject(It.IsAny(), It.IsAny())) + .Setup(x => x.UnregisterTaskObject(It.IsAny(), It.IsAny())) .Returns((object key, RegisteredTaskObjectLifetime life) => { var k = (key, life); @@ -66,9 +65,9 @@ public static All AllFromInputs(LocateInputs inputs, IRefCache refCache) { var decomposed = TargetsExtractionUtils.DecomposeCompilerProps(inputs.AllProps); var localInputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, refCache, compilingAssemblyName: "", - trimmingConfig: new RefTrimmingConfig(), fileHashCache: new DictionaryBasedCache(), hasher: Utils.DefaultHasher); + trimmingConfig: new RefTrimmingConfig(), fileHashCache: new DictionaryBasedCache(), hasher: TestUtils.DefaultHasher); var extract = localInputs.ToFullExtract(); - var hashString = Utils.ObjectToHash(extract, Utils.DefaultHasher); + var hashString = Utils.ObjectToHash(extract, TestUtils.DefaultHasher); var cacheKey = LocatorAndPopulator.GenerateKey(inputs, hashString); return new All(LocalInputs: localInputs, @@ -110,7 +109,7 @@ public async Task SimpleCacheHitTest() ); var refCache = new RefCache(tmpDir.Dir.CombineAsDir(".refcache").FullName); var all = AllFromInputs(inputs, refCache); - var hasher = Utils.DefaultHasher; + var hasher = TestUtils.DefaultHasher; var outputData = await Task.WhenAll(outputItems.Select(i => LocatorAndPopulator.GatherSingleOutputData(i, hasher)).ToArray()); var zip = await LocatorAndPopulator.BuildOutputsZip(tmpDir.Dir, outputData, new AllCompilationMetadata(null, all.LocalInputs.ToSlim()), hasher); @@ -189,6 +188,7 @@ public async Task SimpleCacheMissTest() }); use.Guid = locate.Guid; + use.CompilationSucceeded = true; Assert.That(use.Execute(), Is.True); var allKeys = _compilationResultsCache.GetAllExistingKeys(); diff --git a/MSBuild.CompilerCache.Tests/PerfTests.cs b/MSBuild.CompilerCache.Tests/PerfTests.cs index 7535c21..2612954 100644 --- a/MSBuild.CompilerCache.Tests/PerfTests.cs +++ b/MSBuild.CompilerCache.Tests/PerfTests.cs @@ -15,7 +15,7 @@ public class PerfTests public void HashCalculationPerfTest() { var sw = Stopwatch.StartNew(); - var fileHashCache = new FileHashCache(".filehashcache", Utils.DefaultHasher); + var fileHashCache = new FileHashCache(".filehashcache", TestUtils.DefaultHasher); var inMemoryFileHashCache = new DictionaryBasedCache(); var combinedFileHashCache = new CacheCombiner(inMemoryFileHashCache, fileHashCache); var inMemoryRefCache = new InMemoryRefCache(); @@ -38,13 +38,14 @@ public void HashCalculationPerfTest() ); var decomposed = TargetsExtractionUtils.DecomposeCompilerProps(inputs.AllProps); var refTrimmingConfig = new RefTrimmingConfig(); + var hasher = TestUtils.DefaultHasher; var localInputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, combinedRefCache, "assembly", refTrimmingConfig, - combinedFileHashCache, Utils.DefaultHasher); + combinedFileHashCache, hasher); var extract = localInputs.ToFullExtract(); - var hashString = Utils.ObjectToHash(extract); + var hashString = Utils.ObjectToHash(extract, hasher); var cacheKey = LocatorAndPopulator.GenerateKey(inputs, hashString); - var localInputsHash = Utils.ObjectToHash(localInputs); + var localInputsHash = Utils.ObjectToHash(localInputs, hasher); } Console.WriteLine($"[{i}] {sw.ElapsedMilliseconds}ms"); } diff --git a/MSBuild.CompilerCache.Tests/Samples/Program.cs b/MSBuild.CompilerCache.Tests/Samples/Program.cs index 115f845..21751ed 100644 --- a/MSBuild.CompilerCache.Tests/Samples/Program.cs +++ b/MSBuild.CompilerCache.Tests/Samples/Program.cs @@ -1 +1 @@ -System.Console.WriteLine("Hello"); \ No newline at end of file +Console.WriteLine("Hello"); \ No newline at end of file diff --git a/MSBuild.CompilerCache.Tests/TargetsExtraction.cs b/MSBuild.CompilerCache.Tests/TargetsExtraction.cs index b1357e8..01a5a9f 100644 --- a/MSBuild.CompilerCache.Tests/TargetsExtraction.cs +++ b/MSBuild.CompilerCache.Tests/TargetsExtraction.cs @@ -24,9 +24,9 @@ public class TargetsExtraction { private static readonly string ProjFile = """ - - -"""; + + + """; public static string LanguageProjExtension(SupportedLanguage lang) => lang == SupportedLanguage.CSharp @@ -50,7 +50,8 @@ public void GenerateAllTargets(SDKVersion sdk, SupportedLanguage language, strin var text = File.ReadAllText(targetsPath); var text2 = text.Replace(Path.GetTempPath(), "%TempPath%" + Path.DirectorySeparatorChar); - text2 = text2.Replace(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "%UserProfile%" + Path.DirectorySeparatorChar); + text2 = text2.Replace(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), + "%UserProfile%" + Path.DirectorySeparatorChar); Directory.CreateDirectory(Path.GetDirectoryName(outputPath)!); File.WriteAllText(outputPath, text2); } @@ -141,7 +142,7 @@ public void Extract((SDKVersion sdk, SupportedLanguage language) test) var originalCompilationConditionValue = condition.Value; - condition.Value = $"'$(CacheRunCompilation)' == 'true' AND {condition.Value}"; + condition.Value = $"'$(CompilerCacheRunCompilation)' == 'true' AND {condition.Value}"; var regularAttributes = compilationTask.Attributes() .Where(a => a.Name.LocalName != "Condition" && !a.IsNamespaceDeclaration) @@ -149,7 +150,7 @@ public void Extract((SDKVersion sdk, SupportedLanguage language) test) var itemgroup2 = Name("ItemGroup"); var allItemGroup = new XElement(itemgroup2); - var all = new XElement(Name("CacheAllCompilerProperties"), + var all = new XElement(Name("CompilerCacheAllCompilerProperties"), new XAttribute("Include", "___nonexistent___")); all.Add(regularAttributes); allItemGroup.Add(all); @@ -178,27 +179,27 @@ public void Extract((SDKVersion sdk, SupportedLanguage language) test) var firstPropsGroupElement = new XElement(propertygroup); var canCacheElement = new XElement(Name("CanCache"), new XAttribute("Condition", doNotUseCacheCondition), "false"); - var compilationWouldRunElement = new XElement(Name("CompilationWouldRun"), + var compilerCacheCompilationWouldRunElement = new XElement(Name("CompilerCacheCompilationWouldRun"), new XAttribute("Condition", originalCompilationConditionValue), "true"); - firstPropsGroupElement.Add(canCacheElement, compilationWouldRunElement); + firstPropsGroupElement.Add(canCacheElement, compilerCacheCompilationWouldRunElement); XElement Elem(string taskParameter, string? propertyName = null) => new XElement(Name("Output"), new XAttribute("TaskParameter", taskParameter), new XAttribute("PropertyName", propertyName ?? taskParameter)); - + var locateElement = new XElement(Name("CompilerCacheLocate"), - new XAttribute("Condition", $"'$(CanCache)' == 'true' AND '$(CompilationWouldRun)' == 'true'"), - new XAttribute("ConfigPath", "$(CompilationCacheConfigPath)"), - new XAttribute("AllCompilerProperties", "@(CacheAllCompilerProperties)"), + new XAttribute("Condition", "'$(CanCache)' == 'true' AND '$(CompilerCacheCompilationWouldRun)' == 'true'"), + new XAttribute("ConfigPath", "$(CompilerCacheConfigPath)"), + new XAttribute("AllCompilerProperties", "@(CompilerCacheAllCompilerProperties)"), new XAttribute("ProjectFullPath", "$(MSBuildProjectFullPath)"), new XAttribute("AssemblyName", "$(AssemblyName)"), - Elem("RunCompilation", "CacheRunCompilation"), - Elem("PopulateCache", "CachePopulateCache"), + Elem("RunCompilation", "CompilerCacheRunCompilation"), + Elem("PopulateCache", "CompilerCachePopulateCache"), Elem("Guid", "CompilerCacheGuid") ); var gElement = new XElement(propertygroup, - new XElement(Name("CacheRunCompilation"), new XAttribute("Condition", "'$(CanCache)' != 'true'"), + new XElement(Name("CompilerCacheRunCompilation"), new XAttribute("Condition", "'$(CanCache)' != 'true'"), "true")); var endComment = new XComment("END OF CACHING EXTENSION CODE"); compilationTask.AddBeforeSelf(startComment, allItemGroup, firstPropsGroupElement, locateElement, @@ -206,8 +207,9 @@ XElement Elem(string taskParameter, string? propertyName = null) => var populateCacheElement = new XElement(Name("CompilerCachePopulateCache"), - new XAttribute("Condition", "'$(CachePopulateCache)' == 'true' AND '$(MSBuildLastTaskResult)' == 'True'"), - new XAttribute("Guid", "$(CompilerCacheGuid)") + new XAttribute("Condition", "'$(CompilerCachePopulateCache)' == 'true'"), + new XAttribute("Guid", "$(CompilerCacheGuid)"), + new XAttribute("CompilationSucceeded", "$(MSBuildLastTaskResult)") ); compilationTask.AddAfterSelf(startComment, populateCacheElement, endComment); diff --git a/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs b/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs index 2161db7..01c13c1 100644 --- a/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs +++ b/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs @@ -30,7 +30,7 @@ public async Task Test() OutputFiles: items ) ); - var hasher = Utils.DefaultHasher; + var hasher = TestUtils.DefaultHasher; var outputData = await Task.WhenAll(items.Select(i => LocatorAndPopulator.GatherSingleOutputData(i, hasher)).ToArray()); var zipPath = await LocatorAndPopulator.BuildOutputsZip(dir, outputData, metadata, hasher); @@ -58,7 +58,7 @@ public static void AssertDirsSame(DirectoryInfo a, DirectoryInfo b) (string Name, string Hash)[] GetInfo(DirectoryInfo dir) => dir .EnumerateFileSystemInfos("*", SearchOption.AllDirectories) - .Select(x => (x.Name, Hash: Utils.FileBytesToHash(x.FullName, Utils.DefaultHasher))) + .Select(x => (x.Name, Hash: TestUtils.FileBytesToHash(x.FullName, TestUtils.DefaultHasher))) .Order() .ToArray(); diff --git a/MSBuild.CompilerCache.Tests/TestUtils.cs b/MSBuild.CompilerCache.Tests/TestUtils.cs index a4c8441..4293761 100644 --- a/MSBuild.CompilerCache.Tests/TestUtils.cs +++ b/MSBuild.CompilerCache.Tests/TestUtils.cs @@ -1,4 +1,5 @@ using System.Diagnostics; +using MSBuild.CompilerCache; namespace Tests; @@ -42,9 +43,17 @@ public static string[] RunProcess(string name, string args, DirectoryInfo workin p.WaitForExit(); if (p.ExitCode != 0) { - throw new Exception($"Running process failed with non-zero exit code."); + throw new Exception("Running process failed with non-zero exit code."); } return output.ToArray(); } + + public static readonly IHash DefaultHasher = HasherFactory.CreateHash(HasherType.XxHash64); + + public static string FileBytesToHash(string path, IHash hasher) + { + var bytes = File.ReadAllBytes(path); + return Utils.BytesToHash(bytes, hasher); + } } \ No newline at end of file diff --git a/MSBuild.CompilerCache.Tests/TrimmingTests.cs b/MSBuild.CompilerCache.Tests/TrimmingTests.cs index 62529e2..52fae62 100644 --- a/MSBuild.CompilerCache.Tests/TrimmingTests.cs +++ b/MSBuild.CompilerCache.Tests/TrimmingTests.cs @@ -13,7 +13,7 @@ public async Task InternalsVisibleToAreResolvedCorrectly() { var path = Assembly.GetExecutingAssembly().Location.Replace(".Tests.dll", ".dll"); var bytes = await File.ReadAllBytesAsync(path); - var t = new RefTrimmer(Utils.DefaultHasher); + var t = new RefTrimmer(TestUtils.DefaultHasher); var res = await t.GenerateRefData(bytes.ToImmutableArray()); Assert.That(res.InternalsVisibleTo, Is.EquivalentTo(new[] { "MSBuild.CompilerCache.Tests", "MSBuild.CompilerCache.Benchmarks" })); diff --git a/MSBuild.CompilerCache/CacheCombiner.cs b/MSBuild.CompilerCache/CacheCombiner.cs index d382c50..80c3ec8 100644 --- a/MSBuild.CompilerCache/CacheCombiner.cs +++ b/MSBuild.CompilerCache/CacheCombiner.cs @@ -20,19 +20,15 @@ public CacheCombiner(ICacheBase cache1, ICacheBase c { return cache1Res; } - else + + var cache2Res = await _cache2.GetAsync(key); + if (cache2Res != null) { - var cache2Res = await _cache2.GetAsync(key); - if (cache2Res != null) - { - await _cache1.SetAsync(key, cache2Res); - return cache2Res; - } - else - { - return null; - } + await _cache1.SetAsync(key, cache2Res); + return cache2Res; } + + return null; } public async Task Set(TKey key, TValue value) @@ -42,10 +38,8 @@ public async Task Set(TKey key, TValue value) await _cache2.SetAsync(key, value); return true; } - else - { - return false; - } + + return false; } public async Task SetAsync(TKey key, TValue value) @@ -55,10 +49,8 @@ public async Task SetAsync(TKey key, TValue value) await _cache2.SetAsync(key, value); return true; } - else - { - return false; - } + + return false; } } diff --git a/MSBuild.CompilerCache/CompilationResultsCache.cs b/MSBuild.CompilerCache/CompilationResultsCache.cs index 9760c89..6247b28 100644 --- a/MSBuild.CompilerCache/CompilationResultsCache.cs +++ b/MSBuild.CompilerCache/CompilationResultsCache.cs @@ -13,7 +13,10 @@ namespace MSBuild.CompilerCache; [Serializable] public record struct FileExtract(string Name, string? ContentHash, long Length); -// TODO Use a dictionary to disambiguate files in different Item lists +[JsonSerializable(typeof(FileExtract[]))] +[JsonSourceGenerationOptions(WriteIndented = true)] +public partial class FileExtractsJsonContext : JsonSerializerContext; + /// /// All compilation inputs, used to generate a hash for caching. /// @@ -29,11 +32,11 @@ public record FullExtract(FileExtract[] Files, (string, string)[] Props, string[ [Serializable] public record LocalFileExtract { - public LocalFileExtract(FileHashCacheKey Info, string? Hash) + public LocalFileExtract(FileHashCacheKey Info, string Hash) { this.Info = Info; this.Hash = Hash; - if(Info.FullName == null) throw new Exception("File info name empty"); + if (Info.FullName == null) throw new Exception("File info name empty"); } public FileHashCacheKey Info { get; set; } @@ -41,13 +44,9 @@ public LocalFileExtract(FileHashCacheKey Info, string? Hash) public long Length => Info.Length; public DateTime LastWriteTimeUtc => Info.LastWriteTimeUtc; public string Hash { get; set; } - public FileExtract ToFileExtract() => new(Name: System.IO.Path.GetFileName(Path), ContentHash: Hash, Length: Length); - public void Deconstruct(out FileHashCacheKey Info, out string Hash) - { - Info = this.Info; - Hash = this.Hash; - } + public FileExtract ToFileExtract() => + new(Name: System.IO.Path.GetFileName(Path), ContentHash: Hash, Length: Length); } /// @@ -73,7 +72,7 @@ public OutputItem(string Name, string LocalPath) this.Name = Name; this.LocalPath = LocalPath; - this.CacheFileName = GetCacheFileName(); + CacheFileName = GetCacheFileName(); } public string CacheFileName { get; } @@ -103,7 +102,9 @@ public FullExtract ToFullExtract() return new FullExtract(Files: Files.Select(f => f.fileHashCacheKey.ToFileExtract()).ToArray(), Props: Props, OutputFiles: OutputFiles.Select(o => o.Name).ToArray()); } - public LocalInputsSlim ToSlim() => new LocalInputsSlim(Files: Files.Select(f => f.fileHashCacheKey).ToArray(), Props, OutputFiles); + + public LocalInputsSlim ToSlim() => + new LocalInputsSlim(Files: Files.Select(f => f.fileHashCacheKey).ToArray(), Props, OutputFiles); } [Serializable] @@ -119,6 +120,13 @@ public FullExtract ToFullExtract() [Serializable] public record AllCompilationMetadata(CompilationMetadata Metadata, LocalInputsSlim LocalInputs); +[JsonSerializable(typeof(AllCompilationMetadata))] +[JsonSourceGenerationOptions(WriteIndented = true)] +public partial class AllCompilationMetadataJsonContext : JsonSerializerContext; + +[Serializable] +public record InputResult(FileStream f, LocalFileExtract fileHashCacheKey); + public record struct CacheKey(string Key) { public static implicit operator string(CacheKey key) => key.Key; @@ -130,10 +138,11 @@ public record struct CacheKey(string Key) public interface ICompilationResultsCache { bool Exists(CacheKey key); + public sealed void Set(CacheKey key, FullExtract fullExtract, FileInfo resultZipToBeMoved) => SetAsync(key, fullExtract, resultZipToBeMoved).GetAwaiter().GetResult(); - Task SetAsync(CacheKey key, FullExtract fullExtract, FileInfo resultZipToBeMoved); + Task SetAsync(CacheKey key, FullExtract fullExtract, FileInfo resultZipToBeMoved); sealed string? Get(CacheKey key) => GetAsync(key).GetAwaiter().GetResult(); Task GetAsync(CacheKey key); } @@ -165,7 +174,8 @@ public bool Exists(CacheKey key) /// If true, will throw if the destination already exists /// /// - public static bool AtomicCopyOrMove(FileInfo source, FileInfo destination, bool throwIfDestinationExists = true, bool moveInsteadOfCopy = false) + public static bool AtomicCopyOrMove(FileInfo source, FileInfo destination, bool throwIfDestinationExists = true, + bool moveInsteadOfCopy = false) { var dir = destination.DirectoryName!; var tmpDestination = Path.Combine(dir, $".__tmp_{Guid.NewGuid()}"); @@ -179,6 +189,7 @@ public static bool AtomicCopyOrMove(FileInfo source, FileInfo destination, bool { tmp = source.CopyTo(tmpDestination); } + try { tmp.MoveTo(destination.FullName, overwrite: false); @@ -191,10 +202,8 @@ public static bool AtomicCopyOrMove(FileInfo source, FileInfo destination, bool { return false; } - else - { - throw; - } + + throw; } } @@ -216,12 +225,12 @@ public async Task SetAsync(CacheKey key, FullExtract fullExtract, FileInfo resul dir.Create(); var outputFile = new FileInfo(Path.Combine(dir.FullName, resultZipToBeMoved.Name)); - + if (!outputFile.Exists) { AtomicCopyOrMove(resultZipToBeMoved, outputFile, throwIfDestinationExists: false, moveInsteadOfCopy: true); } - + var extractFile = new FileInfo(ExtractPath(key)); if (!extractFile.Exists) { @@ -273,4 +282,4 @@ private string[] GetOutputVersions(CacheKey key) [JsonSerializable(typeof(FullExtract))] [JsonSourceGenerationOptions(WriteIndented = true)] -public partial class FullExtractJsonContext : JsonSerializerContext; +public partial class FullExtractJsonContext : JsonSerializerContext; \ No newline at end of file diff --git a/MSBuild.CompilerCache/CompilerCacheLocate.cs b/MSBuild.CompilerCache/CompilerCacheLocate.cs index d6caef9..93e4ab7 100644 --- a/MSBuild.CompilerCache/CompilerCacheLocate.cs +++ b/MSBuild.CompilerCache/CompilerCacheLocate.cs @@ -1,11 +1,12 @@ using System.Collections; using System.Diagnostics; +using JetBrains.Annotations; +using Microsoft.Build.Framework; using Microsoft.Build.Utilities; +using Task = Microsoft.Build.Utilities.Task; namespace MSBuild.CompilerCache; -using Microsoft.Build.Framework; -using JetBrains.Annotations; using IFileHashCache = ICacheBase; // ReSharper disable once UnusedType.Global @@ -13,7 +14,7 @@ namespace MSBuild.CompilerCache; /// Task that calculates compilation inputs and uses cached outputs if they exist. /// // ReSharper disable once ClassNeverInstantiated.Global -public class CompilerCacheLocate : Microsoft.Build.Utilities.Task +public class CompilerCacheLocate : Task { #pragma warning disable CS8618 // Inputs @@ -43,12 +44,10 @@ private InMemoryCaches GetInMemoryCaches() { return cached; } - else - { - var fresh = new InMemoryCaches(new InMemoryRefCache(), new DictionaryBasedCache()); - BuildEngine9.RegisterTaskObject(key, fresh, RegisteredTaskObjectLifetime.Build, false); - return fresh; - } + + var fresh = new InMemoryCaches(new InMemoryRefCache(), new DictionaryBasedCache()); + BuildEngine9.RegisterTaskObject(key, fresh, RegisteredTaskObjectLifetime.Build, false); + return fresh; } } diff --git a/MSBuild.CompilerCache/CompilerCachePopulateCache.cs b/MSBuild.CompilerCache/CompilerCachePopulateCache.cs index 953c663..3788fe4 100644 --- a/MSBuild.CompilerCache/CompilerCachePopulateCache.cs +++ b/MSBuild.CompilerCache/CompilerCachePopulateCache.cs @@ -1,33 +1,31 @@ using System.Diagnostics; using System.Diagnostics.CodeAnalysis; +using Microsoft.Build.Framework; +using Task = Microsoft.Build.Utilities.Task; namespace MSBuild.CompilerCache; -using Microsoft.Build.Framework; - // ReSharper disable once UnusedType.Global /// /// Task that populates the compilation cache with newly compiled outputs. /// [SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global")] -public class CompilerCachePopulateCache : Microsoft.Build.Utilities.Task +public class CompilerCachePopulateCache : Task { #pragma warning disable CS8618 [Required] public string Guid { get; set; } - public bool CheckCompileOutputAgainstCache { get; set; } + [Required] public bool CompilationSucceeded { get; set; } #pragma warning restore CS8618 public override bool Execute() { - var _locator = - BuildEngine4.GetRegisteredTaskObject(Guid, RegisteredTaskObjectLifetime.Build) + object _locator = + BuildEngine4.UnregisterTaskObject(Guid, RegisteredTaskObjectLifetime.Build) ?? throw new Exception($"Could not find registered task object for {nameof(LocatorAndPopulator)} from the Locate task, using key {Guid}"); - BuildEngine4.UnregisterTaskObject(Guid, RegisteredTaskObjectLifetime.Build); - var locator = _locator as LocatorAndPopulator ?? - throw new Exception("Cached result is of unexpected type"); + var locator = _locator as LocatorAndPopulator ?? throw new Exception("Cached result is of unexpected type"); var sw = Stopwatch.StartNew(); void LogTime(string name) => Log.LogMessage($"[{sw.ElapsedMilliseconds}ms] {name}"); - UseOrPopulateResult result = locator.PopulateCacheAsync(Log, LogTime).GetAwaiter().GetResult(); + UseOrPopulateResult result = locator.PopulateCacheOrJustDispose(Log, LogTime, CompilationSucceeded).GetAwaiter().GetResult(); return true; } } \ No newline at end of file diff --git a/MSBuild.CompilerCache/FileHashCache.cs b/MSBuild.CompilerCache/FileHashCache.cs index 1b8812b..9a236d5 100644 --- a/MSBuild.CompilerCache/FileHashCache.cs +++ b/MSBuild.CompilerCache/FileHashCache.cs @@ -39,10 +39,8 @@ public bool Exists(FileHashCacheKey originalKey) Task Read() => File.ReadAllTextAsync(entryPath); return await IOActionWithRetriesAsync(Read); } - else - { - return null; - } + + return null; } internal static async Task IOActionWithRetriesAsync(Func> action) diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index cbe779d..a27e7e0 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -1,16 +1,17 @@ -using System.Text.Json.Serialization; - -namespace MSBuild.CompilerCache; - using System.Collections.Immutable; using System.IO.Compression; +using System.Text.Json; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; -using JsonSerializer = System.Text.Json.JsonSerializer; +using Task = System.Threading.Tasks.Task; + +namespace MSBuild.CompilerCache; + +using JsonSerializer = JsonSerializer; using IFileHashCache = ICacheBase; using IRefCache = ICacheBase; -public record UseOrPopulateResult; +public record UseOrPopulateResult(bool CachePopulated); public record LocateInputs( string ConfigPath, @@ -93,11 +94,9 @@ public LocatorAndPopulator(IRefCache? inMemoryRefCache = null, IFileHashCache? i public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, Action logTime = null) { - //logTime?.Invoke("Start Locate"); var preCompilationTimeUtc = DateTime.UtcNow; _decomposed = TargetsExtractionUtils.DecomposeCompilerProps(inputs.AllProps, log); - //logTime?.Invoke("Decomposed compiler props"); if (_decomposed.UnsupportedPropsSet.Any()) { var s = string.Join(Environment.NewLine, @@ -111,15 +110,10 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A (_config, _cache, _refCache, _fileHashCache, _hasher) = CreateCaches(inputs.ConfigPath, logTime); _assemblyName = inputs.AssemblyName; - //logTime?.Invoke("Caches created"); - - _localInputs = CalculateLocalInputsWithHash(logTime); - //logTime?.Invoke("LocalInputs with hash created"); - + _localInputs = CalculateLocalInputs(logTime); _extract = _localInputs.ToFullExtract(); var hashString = Utils.ObjectToHash(_extract, _hasher); _cacheKey = GenerateKey(inputs, hashString); - //logTime?.Invoke("Key generated"); LocateOutcome outcome; @@ -127,7 +121,7 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A { outcome = LocateOutcome.OnlyPopulateCache; log?.LogMessage(MessageImportance.Normal, - $"CompilationCache: CheckCompileOutputAgainstCache is set - not using cached outputs."); + "CompilationCache: CheckCompileOutputAgainstCache is set - not using cached outputs."); } else { @@ -168,8 +162,6 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A return _locateResult; } - private LocalInputs CalculateLocalInputsWithHash(Action? logTime = null) => CalculateLocalInputs(logTime); - private LocalInputs CalculateLocalInputs(Action? logTime = null) => CalculateLocalInputs(_decomposed, _refCache, _assemblyName, _config.RefTrimming, _fileHashCache, _hasher, logTime); @@ -237,21 +229,21 @@ internal static LocalInputs CalculateLocalInputs(DecomposedCompilerProps decompo string compilingAssemblyName, RefTrimmingConfig trimmingConfig, IFileHashCache fileHashCache, IHash hasher, Action? logTime = null) { - string[] fileInputs2, references2; + string[] fileInputs, references; if (trimmingConfig.Enabled) { - fileInputs2 = decomposed.FileInputs; - references2 = decomposed.References; + fileInputs = decomposed.FileInputs; + references = decomposed.References; } else { - fileInputs2 = decomposed.FileInputs.Concat(decomposed.References).ToArray(); - references2 = Array.Empty(); + fileInputs = decomposed.FileInputs.Concat(decomposed.References).ToArray(); + references = Array.Empty(); } var fileTasks = - fileInputs2.Select(f => (Func>)(() => ProcessSourceFile(f, fileHashCache, hasher))); - var refTasks = references2.Select(r => (Func>)(() => + fileInputs.Select(f => (Func>)(() => ProcessSourceFile(f, fileHashCache, hasher))); + var refTasks = references.Select(r => (Func>)(() => ProcessReference(r, compilingAssemblyName, fileHashCache, refCache, trimmingConfig, hasher))); var allTaskFuncs = fileTasks.Concat(refTasks).ToArray(); var allTasks = @@ -260,7 +252,7 @@ internal static LocalInputs CalculateLocalInputs(DecomposedCompilerProps decompo .SelectMany(taskFuncs => taskFuncs.Select(tf => tf())) .AsParallel() .ToArray(); - var allItems = System.Threading.Tasks.Task.WhenAll(allTasks).GetAwaiter().GetResult(); + var allItems = Task.WhenAll(allTasks).GetAwaiter().GetResult(); //logTime?.Invoke("ref extracts done"); @@ -371,13 +363,13 @@ public async Task PopulateCacheAsync(TaskLoggingHelper log, { var postCompilationTimeUtc = DateTime.UtcNow; - var outputs = await System.Threading.Tasks.Task.WhenAll(_decomposed.OutputsToCache + var outputs = await Task.WhenAll(_decomposed.OutputsToCache .Select(outputItem => GatherSingleOutputData(outputItem, _hasher)).ToArray()); // Trigger RefTrimmer for newly-built dlls/exe files - should speed up builds of dependent projects, // and avoid any duplicate calculations due to multiple dependants redoing the same thing if timings are bad. - async System.Threading.Tasks.Task RefasmCompiledDllsAsync(OutputData[] outputs) + async Task RefasmCompiledDllsAsync(OutputData[] outputs) { static bool RefasmableOutputItem(OutputData o) => Path.GetExtension(o.Item.LocalPath) is ".dll"; var outputsToRefasm = outputs.Where(RefasmableOutputItem).ToArray(); @@ -410,7 +402,7 @@ await Parallel.ForEachAsync(outputsToRefasm, await refasmCompiledDllsTask; - return new UseOrPopulateResult(); + return new UseOrPopulateResult(CachePopulated: true); } internal static async Task GatherSingleOutputData(OutputItem outputItem, IHash hasher) @@ -448,7 +440,7 @@ public static async Task BuildOutputsZip(DirectoryInfo baseTmpDir, Out TaskLoggingHelper? log = null) { // Write inputs json in parallel to the rest - var saveInputsTask = System.Threading.Tasks.Task.Run( + var saveInputsTask = Task.Run( () => JsonSerializer.SerializeToUtf8Bytes(metadata, AllCompilationMetadataJsonContext.Default.AllCompilationMetadata)); var objectToHash = items.Select(i => (i.Item.Name, i.BytesHash)).ToArray(); @@ -456,7 +448,7 @@ public static async Task BuildOutputsZip(DirectoryInfo baseTmpDir, Out var outputExtracts = items.Select(i => new FileExtract(i.Item.Name, i.BytesHashString, i.Length)).ToArray(); byte[] outputsJsonBytes = - JsonSerializer.SerializeToUtf8Bytes(outputExtracts, OutputExtractsJsonContext.Default.FileExtractArray); + JsonSerializer.SerializeToUtf8Bytes(outputExtracts, FileExtractsJsonContext.Default.FileExtractArray); // Make sure inputs json written before zipping the whole directory var inputsJsonBytes = await saveInputsTask; @@ -487,6 +479,25 @@ async Task BuildZip() } } + public async Task PopulateCacheOrJustDispose(TaskLoggingHelper log, Action logTime, bool compilationSucceeded) + { + try + { + if (compilationSucceeded) + { + return await PopulateCacheAsync(log, logTime); + } + else + { + return new UseOrPopulateResult(CachePopulated: false); + } + } + finally + { + Dispose(); + } + } + public void Dispose() { var files = _localInputs?.Files; @@ -506,14 +517,3 @@ public void Dispose() } } } - -[JsonSerializable(typeof(FileExtract[]))] -[JsonSourceGenerationOptions(WriteIndented = true)] -public partial class OutputExtractsJsonContext : JsonSerializerContext; - -[JsonSerializable(typeof(AllCompilationMetadata))] -[JsonSourceGenerationOptions(WriteIndented = true)] -public partial class AllCompilationMetadataJsonContext : JsonSerializerContext; - -[Serializable] -public record InputResult(FileStream f, LocalFileExtract fileHashCacheKey); \ No newline at end of file diff --git a/MSBuild.CompilerCache/NuGet.README.md b/MSBuild.CompilerCache/NuGet.README.md index de58b0b..f9fbe4b 100644 --- a/MSBuild.CompilerCache/NuGet.README.md +++ b/MSBuild.CompilerCache/NuGet.README.md @@ -14,7 +14,7 @@ It extends the `CoreCompile` targets from the .NET SDK with caching steps and us To use the cache, add the following to your project file (or `Directory.Build.props` in your directory structure): ```xml - c:/accessible/filesystem/location/compilation_cache_config.json + c:/accessible/filesystem/location/compilation_cache_config.json diff --git a/MSBuild.CompilerCache/RefCache.cs b/MSBuild.CompilerCache/RefCache.cs index 3cc3380..7cb457e 100644 --- a/MSBuild.CompilerCache/RefCache.cs +++ b/MSBuild.CompilerCache/RefCache.cs @@ -39,10 +39,8 @@ public bool Exists(CacheKey key) } return await FileHashCache.IOActionWithRetriesAsync(Read); } - else - { - return null; - } + + return null; } public async Task SetAsync(CacheKey key, RefDataWithOriginalExtract data) diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.300.CSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.300.CSharp.targets index 08c4161..08c393f 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.300.CSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.300.CSharp.targets @@ -51,7 +51,7 @@ - false - true + true + PropertyName="CompilerCacheRunCompilation" /> + PropertyName="CompilerCachePopulateCache" /> - true + true + Condition="'$(CompilerCachePopulateCache)' == 'true'" + Guid="$(CompilerCacheGuid)" + CompilationSucceeded="$(MSBuildLastTaskResult)" /> <_CoreCompileResourceInputs diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.300.FSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.300.FSharp.targets index 9351d50..9308322 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.300.FSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.300.FSharp.targets @@ -73,7 +73,7 @@ - false - true + true + PropertyName="CompilerCacheRunCompilation" /> + PropertyName="CompilerCachePopulateCache" /> - true + true + Condition="'$(CompilerCachePopulateCache)' == 'true'" + Guid="$(CompilerCacheGuid)" + CompilationSucceeded="$(MSBuildLastTaskResult)" /> <_CoreCompileResourceInputs diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.301.CSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.301.CSharp.targets index 08c4161..ab28bc5 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.301.CSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.301.CSharp.targets @@ -51,7 +51,7 @@ - false - true + true + PropertyName="CompilerCacheRunCompilation" /> + PropertyName="CompilerCachePopulateCache" /> diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.301.FSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.301.FSharp.targets index 9351d50..b1825d0 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.301.FSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.301.FSharp.targets @@ -73,7 +73,7 @@ - false - true + true + PropertyName="CompilerCacheRunCompilation" /> + PropertyName="CompilerCachePopulateCache" /> diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.408.CSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.408.CSharp.targets index 08c4161..ab28bc5 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.408.CSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.408.CSharp.targets @@ -51,7 +51,7 @@ - false - true + true + PropertyName="CompilerCacheRunCompilation" /> + PropertyName="CompilerCachePopulateCache" /> diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.408.FSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.408.FSharp.targets index b567e33..e9820bc 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.408.FSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.408.FSharp.targets @@ -74,7 +74,7 @@ - false - true + true + PropertyName="CompilerCacheRunCompilation" /> + PropertyName="CompilerCachePopulateCache" /> diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.105.CSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.105.CSharp.targets index 08c4161..ab28bc5 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.105.CSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.105.CSharp.targets @@ -51,7 +51,7 @@ - false - true + true + PropertyName="CompilerCacheRunCompilation" /> + PropertyName="CompilerCachePopulateCache" /> diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.105.FSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.105.FSharp.targets index dd27ea3..7c6e3e7 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.105.FSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.105.FSharp.targets @@ -74,7 +74,7 @@ - false - true + true + PropertyName="CompilerCacheRunCompilation" /> + PropertyName="CompilerCachePopulateCache" /> diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.202.CSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.202.CSharp.targets index 132ddde..55b2880 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.202.CSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.202.CSharp.targets @@ -52,7 +52,7 @@ - false - true + true + PropertyName="CompilerCacheRunCompilation" /> + PropertyName="CompilerCachePopulateCache" /> - true + true + Condition="'$(CompilerCachePopulateCache)' == 'true'" + Guid="$(CompilerCacheGuid)" + CompilationSucceeded="$(MSBuildLastTaskResult)" /> <_CoreCompileResourceInputs diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.202.FSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.202.FSharp.targets index dd27ea3..7bef151 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.202.FSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.202.FSharp.targets @@ -74,7 +74,7 @@ - false - true + true + PropertyName="CompilerCacheRunCompilation" /> + PropertyName="CompilerCachePopulateCache" /> - true + true + Condition="'$(CompilerCachePopulateCache)' == 'true'" + Guid="$(CompilerCacheGuid)" + CompilationSucceeded="$(MSBuildLastTaskResult)" /> <_CoreCompileResourceInputs diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.203.CSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.203.CSharp.targets index 132ddde..8a832bd 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.203.CSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.203.CSharp.targets @@ -52,7 +52,7 @@ - false - true + true + PropertyName="CompilerCacheRunCompilation" /> + PropertyName="CompilerCachePopulateCache" /> diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.203.FSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.203.FSharp.targets index dd27ea3..7c6e3e7 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.203.FSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.203.FSharp.targets @@ -74,7 +74,7 @@ - false - true + true + PropertyName="CompilerCacheRunCompilation" /> + PropertyName="CompilerCachePopulateCache" /> diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.302.CSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.302.CSharp.targets index 132ddde..8a832bd 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.302.CSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.302.CSharp.targets @@ -52,7 +52,7 @@ - false - true + true + PropertyName="CompilerCacheRunCompilation" /> + PropertyName="CompilerCachePopulateCache" /> diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.302.FSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.302.FSharp.targets index dd27ea3..7c6e3e7 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.302.FSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.302.FSharp.targets @@ -74,7 +74,7 @@ - false - true + true + PropertyName="CompilerCacheRunCompilation" /> + PropertyName="CompilerCachePopulateCache" /> diff --git a/MSBuild.CompilerCache/Targets/MSBuild.CompilerCache.targets b/MSBuild.CompilerCache/Targets/MSBuild.CompilerCache.targets index 15fafb3..e47a19e 100644 --- a/MSBuild.CompilerCache/Targets/MSBuild.CompilerCache.targets +++ b/MSBuild.CompilerCache/Targets/MSBuild.CompilerCache.targets @@ -4,7 +4,7 @@ true false - false + false false diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.CSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.CSharp.xml index daae495..06a19dd 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.CSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.CSharp.xml @@ -1,17 +1,17 @@ - +--> + +--> - +--> + - true + --> + true - true - - - $(ProjectExtensionsPathForSpecifiedProject) - - + --> + true + + + $(ProjectExtensionsPathForSpecifiedProject) + + +--> - - true - true - true - true - true - +--> + + true + true + true + true + true + - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - + --> + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + - + --> + - obj\ - $(BaseIntermediateOutputPath)\ - <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) - $(BaseIntermediateOutputPath) + --> + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) - $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) - $(MSBuildProjectExtensionsPath)\ - true - <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) - - + --> + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) - - + --> + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + - - true - - - $(DefaultProjectConfiguration) - $(DefaultProjectPlatform) - - - WJProject - JavaScript - - - - - + e.g. by the project itself. --> + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props - $(MSBuildToolsPath)\NuGet.props - + --> + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + +--> +--> - - true - + --> + + true + - - <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props - <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) - $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) - - - - true - + --> + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + - - true - true - true - true - true - true - true - true - true - true - true - true - true - +C:\Program Files\dotnet\sdk\6.0.300\Current\Microsoft.Common.props +============================================================================================================================================ +--> + + true + true + true + true + true + true + true + true + true + true + true + true + true + +--> +--> - - - true - - - - Debug;Release - AnyCPU - Debug - AnyCPU - - - - Library - 512 - prompt - $(MSBuildProjectName) - $(MSBuildProjectName.Replace(" ", "_")) - true - - - - true - false - - - true - - +--> + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + - - <_PlatformWithoutConfigurationInference>$(Platform) - - - x64 - - - x86 - - - ARM - - - - portable - - false - - true - true + --> + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + + portable + + false + + true + true - PackageReference - - {CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName} - $(AssemblySearchPaths) - false - false - false - false - false - false - false - false - false - true - 1.0.2 - false - true - true - - - - - - $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj - - + a project targets .NET Framework and doesn't have any direct package dependencies. --> + PackageReference + + {CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName} + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.2 + false + true + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + - - - $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)../../')) - $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs - 6.0 - 6.0 - 6.0.5 - 2.1 - 2.1.0 - 6.0.3 - $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json - 6.0.300 - linux-x64 - linux-x64 - <_NETCoreSdkIsPreview>false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +--> + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + 6.0 + 6.0 + 6.0.5 + 2.1 + 2.1.0 + 6.0.3 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 6.0.300 + win-x64 + win-x64 + <_NETCoreSdkIsPreview>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +--> + - $(BundledRuntimeIdentifierGraphFile) - - - - false - - - <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif - - - - - - - - - - - - - - - - + BundledRuntimeIdentifierGraphFile is set. --> + $(BundledRuntimeIdentifierGraphFile) + + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + - - - - - - - - - + evaluated in the second pass of evaluation, after all properties have been evaluated. --> + + + + + + + + + - + an implicit FrameworkReference --> + - - - - - + Packing an DotnetCliTool should include the Microsoft.NETCore.App package dependency. --> + + + + + +--> - - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel - true - - + putting an EnableWorkloadResolver.sentinel file beside the MSBuild SDK resolver DLL --> + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + +--> - - +--> + + - +--> + +--> +--> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + This is used by VS to show the list of frameworks to which projects can be retargeted. --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +--> + +--> - - - - - - +--> + + + + + + - +--> + +--> - - - - - - - - - - - - +--> + + + + + + + + + + + + +--> +--> - - 4 - 1701;1702 - - $(WarningsAsErrors);NU1605 - - - $(DefineConstants); - $(DefineConstants)TRACE - - - - - - - - - - - +--> + + 4 + 1701;1702 + + $(WarningsAsErrors);NU1605 + + + $(DefineConstants); + $(DefineConstants)TRACE + + + + + + + + + + + - - +--> + + +--> +--> +--> - +--> + +--> - - true - $(MSBuildThisFileDirectory)..\tools\net6.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll - +--> + + true + $(MSBuildThisFileDirectory)..\tools\net6.0\ILLink.Tasks.dll + $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll + +--> +--> +--> - - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.Compatibility.dll - $(MSBuildThisFileDirectory)..\tools\net6.0\Microsoft.DotNet.Compatibility.dll - +--> + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.Compatibility.dll + $(MSBuildThisFileDirectory)..\tools\net6.0\Microsoft.DotNet.Compatibility.dll + +--> +--> - - $(TargetsForTfmSpecificContentInPackage);PackTool - +--> + + $(TargetsForTfmSpecificContentInPackage);PackTool + +--> +--> - - $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation - +--> + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + +--> - - - MSBuild:Compile - $(DefaultXamlRuntime) - - - MSBuild:Compile - $(DefaultXamlRuntime) - - - MSBuild:Compile - $(DefaultXamlRuntime) - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props +============================================================================================================================================ +--> + + + MSBuild:Compile + $(DefaultXamlRuntime) + + + MSBuild:Compile + $(DefaultXamlRuntime) + + + MSBuild:Compile + $(DefaultXamlRuntime) + - - - - - - - + --> + + + + + + + - + --> + - <_WpfCommonNetFxReference Include="WindowsBase" /> - <_WpfCommonNetFxReference Include="PresentationCore" /> - <_WpfCommonNetFxReference Include="PresentationFramework" /> - <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> - 4.0 - - <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> - - - <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> - <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> - <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> - + --> + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + --> - + --> + - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + --> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> - <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + --> + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> - <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> - - - - - + --> + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + --> +--> + --> - + --> + - - - - + --> + + + + +--> - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + +--> +--> +--> - - - - + --> + + + + +--> +--> +--> - - - - - true - - <_TargetFrameworkVersionValue>0.0 - <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 - +--> + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + +--> +--> +--> +--> - - - true - - +--> + + + true + + +--> +--> - - - - - - - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - - - $(_IsExecutable) - <_UsingDefaultForHasRuntimeOutput>true - + So import them here. --> + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + +--> - - 1.0.0 - $(VersionPrefix)-$(VersionSuffix) - $(VersionPrefix) - - - $(AssemblyName) - $(Authors) - $(AssemblyName) - $(AssemblyName) - +--> + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + - +--> + +--> +--> - - Debug - AnyCPU - $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - + --> + + Debug + AnyCPU + $(Platform) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + +--> + respected by the SDK. --> +--> - - - true - <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) - <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties - <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ - $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) - $(_PublishProfileRootFolder)$(PublishProfileName).pubxml - $(PublishProfileFullPath) +--> + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) - false - - - + to limit the import to the project being published. --> + false + + + +--> + --> +--> +--> - - + --> + + - - $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) - v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) - + --> + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + - - $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) - - - Windows - + --> + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + - - <_UnsupportedTargetFrameworkError>true - + --> + + <_UnsupportedTargetFrameworkError>true + - - - - + --> + + + + - - - true - - - - - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + true + + + + + + + - - v0.0 - - - _ - + --> + + v0.0 + + + _ + - - - + --> + + + - - - - - - <_EnableDefaultWindowsPlatform>false - false - - - 2.1 - - - - - - - - - - - - - - <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> - - - @(_ValidTargetPlatformVersion) - - - - - true - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None - - - + --> + + + + + + <_EnableDefaultWindowsPlatform>false + false + + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - + in the project file, the specified value will be used for the exclude. --> + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + - - true - - - true - + Configuration-specific PropertyGroup), so in that case we won't append to it by default. --> + + true + + + true + - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ - + --> + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + - - - - true - - false - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - +--> + + + + true + + false + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + - - + --> + + +--> - - +--> + + - - - - - - +--> + + + + +--> - - true - - - <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true - WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ - - - true - $(WasmNativeWorkload) - - - false - false - - - - - - +C:\Program Files\dotnet\sdk-manifests\6.0.300\microsoft.net.sdk.ios\WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + +--> - - - - +--> + + + + +--> - - - - +--> + + + + +--> - - - - +--> + + + + + + +--> - - - - - +--> + + + + +--> - - 6.0.5 - true - - - - true - $(WasmNativeWorkload) - - - false - false - - - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(RuntimePackInWorkloadVersion) - - - - - - - - - - - - - - +C:\Program Files\dotnet\sdk-manifests\6.0.300\microsoft.net.workload.emscripten\WorkloadManifest.targets +============================================================================================================================================ +--> + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + +--> - - - - +C:\Program Files\dotnet\sdk-manifests\6.0.300\microsoft.net.workload.mono.toolchain\WorkloadManifest.targets +============================================================================================================================================ +--> + + 6.0.4 + true + + + + true + $(WasmNativeWorkload) + + + false + false + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(RuntimePackInWorkloadVersion) + + + + + + + + + + + + + + - - - - - - +--> + + + + + + - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + - - - - - - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> - - + need to be set to "true" to avoid requiring restore (which would likely fail if the required workloads aren't already installed).--> + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + +--> + --> +--> +--> - - <_UsingDefaultRuntimeIdentifier>true - win7-x64 - win7-x86 - - - $(NETCoreSdkPortableRuntimeIdentifier) - - - <_UsingDefaultPlatformTarget>true - - - - - - - x86 - - - - - x64 - - - - - arm - - - - - arm64 - - - - - AnyCPU - - - + --> + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + - - <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - true - false - <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false - <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true - true - false - - - - $(NETCoreSdkRuntimeIdentifier) - win-x64 - win-x86 - win-arm - win-arm64 - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - - - - - + --> + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + - - - - - - - - - - - - - - - - - - - - + because we do not want the behavior to be a breaking change compared to version 3.0 --> + + + + + + + + + + + + + + + + + + + + - - - true - + Configuration-specific PropertyGroup), so in that case we won't append to it by default. --> + + + true + - - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ - - + --> + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + - - - - - + --> + + + + + - +--> + +--> - - - true - +--> + + + true + - - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0" /> - - - - + --> + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0" /> + + + + - - - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true - - - - true - true - true - - - true - - - - true +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.BeforeCommon.targets +============================================================================================================================================ +--> + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true - true - - .dll + runtime minor version roll-forward: https://github.com/dotnet/core-setup/issues/3546 --> + true + + .dll - false - - - - $(PreserveCompilationContext) - - - - publish - - $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ - $(OutputPath)$(PublishDirName)\ - + is not needed for NETStandard or NETCore since references come from NuGet packages--> + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + --> +--> - - <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder - <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true - <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs - - - $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) - - - $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) - +--> + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + - - <_SDKImplicitReference Include="System" /> - <_SDKImplicitReference Include="System.Data" /> - <_SDKImplicitReference Include="System.Drawing" /> - <_SDKImplicitReference Include="System.Xml" /> +--> + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> - - <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - - <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> - - <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - + such if the parse succeeds. --> + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + <_SDKImplicitReference Include="System.Net.Http" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' "/>--> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> - <_SDKImplicitReference Remove="@(Reference)" /> - - - - - - false - - - $(AssetTargetFallback);net461;net462;net47;net471;net472;net48 - - - - <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET - $(_FrameworkIdentifierForImplicitDefine) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET - <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) - <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) - <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) - $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) - $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - - - - - <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) - <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) - - - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> - - - - - - <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - - - - - - <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> - - - - - - $(DefineConstants);@(_ImplicitDefineConstant) - $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') - - - - - false - true - - - $(AssemblyName).xml - $(IntermediateOutputPath)$(AssemblyName).xml - - - - - - true - true - true - - - - - - - true - + NuGet package, you can just add the Reference to your project file. --> + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + - - $(MSBuildToolsPath)\Microsoft.CSharp.targets - $(MSBuildToolsPath)\Microsoft.VisualBasic.targets - $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets +--> + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets - $(MSBuildToolsPath)\Microsoft.Common.targets - + languages could either be supplied via an SDK or via a NuGet package. --> + $(MSBuildToolsPath)\Microsoft.Common.targets + + using Sdk attribute (from .NET Core Sdk 1.0.0-preview4) --> +--> - - - - $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets - - - - - $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets - - - +--> + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets + + + +--> +--> - - true - + --> + + true + +--> +--> - - true - true - true - true - - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets - - - - .cs - C# - Managed - true - true - true - true - true - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Properties - - - - - File - - - BrowseObject - - - - - - +--> + + true + true + true + true + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets + + + + .cs + C# + Managed + true + true + true + true + true + {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Properties + + + + + File + + + BrowseObject + + + + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - true - - - - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet - true - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + true + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet + true + - +--> + - - $(NoWarn);1701;1702 - - - - $(NoWarn);2008 - - - - - - - + so the compiler warning would be redundant. --> + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + + + + - $(AppConfig) - - $(IntermediateOutputPath)$(TargetName).compile.pdb - - - - false - - - - - - - true - - - - + then we'll use AppConfig --> + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + false + + + + + + + true + + + + - - - - - $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets - +--> + + + + + $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets + - +--> + - +--> + - + --> + - - roslyn4.2 - +--> + + roslyn4.2 + - +--> + - - - - - - - - - - - - - false - + --> + + + + + + + + + + + + + false + - - - - - - true - - + https://github.com/dotnet/roslyn/issues/12223 --> + + + + + + true + + - - - - - <_SkipAnalyzers /> - <_ImplicitlySkipAnalyzers /> - + --> + + + + + <_SkipAnalyzers /> + <_ImplicitlySkipAnalyzers /> + - - <_SkipAnalyzers>true - + --> + + <_SkipAnalyzers>true + - - <_ImplicitlySkipAnalyzers>true - <_SkipAnalyzers>true - run-nullable-analysis=never;$(Features) - - - - - - <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers - + --> + + <_ImplicitlySkipAnalyzers>true + <_SkipAnalyzers>true + run-nullable-analysis=never;$(Features) + + + + + + <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers + - - - - - - - - - + --> + + + + + + + + + - - <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> + --> + + <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> - - - - - + compilation includes linked files with relative paths - https://github.com/microsoft/msbuild/issues/4392 --> + + + + + - - - - - $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig - true - <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true - <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true - - - - - - <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> - $(%(CompilerVisibleProperty.Identity)) - - - <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> - %(Identity) - %(CompilerVisibleItemMetadata.MetadataName) - - - - - - - - + --> + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig + true + <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true + <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true + + + + + + <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> + $(%(CompilerVisibleProperty.Identity)) + + + <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> + %(Identity) + %(CompilerVisibleItemMetadata.MetadataName) + + + + + + + + - - true - + --> + + true + - - - <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> - - - - - - - - - + --> + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + - - true - + --> + + true + - + --> + - - - <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> - $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) - $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) - - - + --> + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + - @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) - - + --> + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + - - - - - + --> + + + + + - - false - - $(IntermediateOutputPath)/generated - - - - - + --> + + false + + $(IntermediateOutputPath)/generated + + + + + - - - + --> + + + - - - <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 - - <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 - - <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '5.0' AND '$(_MaxSupportedLangVersion)' == ''">9.0 - - <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '6.0' AND '$(_MaxSupportedLangVersion)' == ''">10.0 - $(_MaxSupportedLangVersion) - $(_MaxSupportedLangVersion) - - +C:\Program Files\dotnet\sdk\6.0.300\Roslyn\Microsoft.CSharp.Core.targets +============================================================================================================================================ +--> + + + <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 + + <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '5.0' AND '$(_MaxSupportedLangVersion)' == ''">9.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '6.0' AND '$(_MaxSupportedLangVersion)' == ''">10.0 + $(_MaxSupportedLangVersion) + $(_MaxSupportedLangVersion) + + - - $(NoWarn);1701;1702 - - - - $(NoWarn);2008 - - + so the compiler warning would be redundant. --> + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + - $(AppConfig) - - $(IntermediateOutputPath)$(TargetName).compile.pdb - - - - - - - <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> - - - + then we'll use AppConfig --> + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + - - - - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets - - +--> + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets + + +--> - - $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets - +--> + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + +--> - - - true - true - true - true - - - - - - - 10.0 - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets - - - - - Managed - +--> + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + - - .NETFramework - v4.0 - - - - Any CPU,x86,x64,Itanium - Any CPU,x86,x64 - - - - - - - true - - true - - - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) - - $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + Native apps) because they do not target a .NET Framework. --> + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) - $(MSBuildFrameworkToolsPath) - - - Windows - 7.0 - $(TargetPlatformSdkRootOverride)\ - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - $(TargetPlatformSdkPath)Windows Metadata - $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral - $(TargetPlatformSdkMetadataLocation) - true - $(WinDir)\System32\WinMetadata - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - + we need to find a directory which does contain mscorlib to allow the inproc compiler to initialize and give us the chance to show certain dialogs in the IDE (which only happen after initialization).--> + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + - - - <_OriginalPlatform>$(Platform) - - <_OriginalConfiguration>$(Configuration) - - <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true - - true - - - AnyCPU - $(Platform) - Debug - $(Configuration) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(TargetType) - library - exe - true - - <_DebugSymbolsProduced>false - <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false - <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false - <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false - - <_DocumentationFileProduced>true - <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false - - false - + --> + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + - + --> + - <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true - <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true - + --> + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + - - .exe - .exe - .exe - .dll - .netmodule - .winmdobj - - - - true - $(OutputPath) - - - $(OutDir)\ - $(MSBuildProjectName) - - - $(OutDir)$(ProjectName)\ - $(MSBuildProjectName) - $(RootNamespace) - $(AssemblyName) - - $(MSBuildProjectFile) - - $(MSBuildProjectExtension) - - $(TargetName).winmd - $(WinMDExpOutputWindowsMetadataFilename) - $(TargetName)$(TargetExt) - - - + --> + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + - <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true - $(_DeploymentPublishableProjectDefault) - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest - - $(AssemblyName).application - - $(AssemblyName).xbap - - $(GenerateManifests) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days - <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) - <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - 100 - - + --> + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + - * - $(UICulture) - - - - <_OutputPathItem Include="$(OutDir)" /> - <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> - <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> - - - + --> + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + - $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) - - $(TargetDir)$(TargetFileName) - $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) - - $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) - - $(ProjectDir)$(ProjectFileName) - - - - - + --> + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + - - *Undefined* - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - - - true - - true - - - true - false - - - $(MSBuildProjectFile).FileListAbsolute.txt - - false - - true - true - <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false - <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true - false - false - - - <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config - - - - - - - - - - - - - - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> - - - $(IntermediateOutputPath)$(TargetName).pdb - <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) - - - $(IntermediateOutputPath)$(TargetName).xml - <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) - - - <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) - <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) - - - - <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> - $(TargetFileName) - - - - <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> - $(ApplicationIcon) - - - - $(_DeploymentTargetApplicationManifestFileName) - + --> + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + - <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> - $(_DeploymentTargetApplicationManifestFileName) - - - - $(TargetDeployManifestFileName) - - - <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> - + references and for copying to the publish output location. --> + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + - - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) - <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> - <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + --> + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) - <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> - <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> - - - - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) - <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) - - - - $(PublishDir)\ - $(OutputPath)app.publish\ - + --> + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + - + --> + - $(PlatformTarget) + --> + $(PlatformTarget) - msil - amd64 - ia64 - x86 - arm - - - true - - - - $(Platform) - msil - amd64 - ia64 - x86 - arm - - None - $(PROCESSOR_ARCHITECTURE) - + --> + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + - - CLR2 - CLR4 - CurrentRuntime - true - false - $(PlatformTarget) - x86 - x64 - CurrentArchitecture - - - - Client - + If support for out-of-proc task execution is added on other runtimes, make sure each task's logic is checked against the current state of support. --> + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + - - false - - - - - true - true - false - + --> + + false + + + + + true + true + false + - - AssemblyFoldersEx - Software\Microsoft\$(TargetFrameworkIdentifier) - Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) - $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config - {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> .winmd; .dll; .exe - + + --> .pdb; .xml; .pri; .dll.config; .exe.config - + - Full - - + --> + Full + + - {CandidateAssemblyFiles} - $(AssemblySearchPaths);$(ReferencePath) - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) - $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} - $(AssemblySearchPaths);{AssemblyFolders} - $(AssemblySearchPaths);{GAC} - $(AssemblySearchPaths);{RawFileName} - $(AssemblySearchPaths);$(OutDir) - + --> + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + - - false - - - - $(NoWarn) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - - - - $(MSBuildThisFileDirectory)$(LangName)\ - - - - $(MSBuildThisFileDirectory)en-US\ - - - - - Project - - - BrowseObject - - - File - - - Invisible - - - File;BrowseObject - - - File;ProjectSubscriptionService - - - - $(DefineCommonItemSchemas) - - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - - - - - - Never - - - Never - - - Never - - - Never - - + typically expect --> + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + - - - true - + --> + + + true + - - - <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath - - + --> + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + - - - <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. - - - - - - - - - + --> + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + - - x86 - + correct value when we're trying to figure out PlatformTargetAsMSBuildArchitecture --> + + x86 + - + --> + - - + --> + + - + --> + BeforeBuild; CoreBuild; AfterBuild - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -3726,52 +3726,52 @@ Copyright (C) Microsoft Corporation. All rights reserved. UnmanagedRegistration; IncrementalClean; PostBuildEvent - - - - - - + + + + + + - - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + --> + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build BeforeRebuild; Clean; $(_ProjectDefaultTargets); AfterRebuild; - + BeforeRebuild; Clean; Build; AfterRebuild; - - - + + + - + --> + - + --> + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - + --> + - - - - - - - - + --> + + + + + + + + + --> - - false - - - - true - - + --> + + false + + + + true + + + --> - - $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata - - - - - $(TargetFileName).config - - - - - - - - - - + --> + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + - - @(_TargetFramework40DirectoryItem) - @(_TargetFramework35DirectoryItem) - @(_TargetFramework30DirectoryItem) - @(_TargetFramework20DirectoryItem) - - @(_TargetFramework20DirectoryItem) - @(_TargetFramework40DirectoryItem) - @(_TargetedFrameworkDirectoryItem) - @(_TargetFrameworkSDKDirectoryItem) - - - - + --> + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + - - - - - - - - - - - - - $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) - $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) - + --> + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + - - true - - - $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) - - - - - - - $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) - - - - - - - - - + resolving from the assemblyfolders global location if we are not acutally targeting a framework--> + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + - + E.g "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0.1\;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\" --> + - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - + --> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + --> - - - - - - + --> + + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + --> - + --> + - + --> + BeforeResolveReferences; AssignProjectConfiguration; @@ -4114,25 +4114,25 @@ Copyright (C) Microsoft Corporation. All rights reserved. GenerateBindingRedirects; ResolveComReferences; AfterResolveReferences - - - + + + - + --> + - + --> + - - - true - true - false + --> + + + true + true + false - false - - true - - - - - - - - - - - <_ProjectReferenceWithConfiguration> - true - true - - - true - true - - - + want this to happen, so just turn off synthetic project reference generation for Silverlight projects. --> + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + - + --> + - - - - + --> + + + + - - <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> - - - - <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> - <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> - - + --> + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + - - true - + --> + + true + - - - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> - true - - - - <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - - - - - <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> - - x86=Win32 - - - <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> - Win32=x86 - - - - - + Configuration information. --> + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + - - - - Platform=%(ProjectsWithNearestPlatform.NearestPlatform) - - - - %(ProjectsWithNearestPlatform.UndefineProperties);Platform - - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> - - + that can't multiplatform. --> + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + - + --> + - - $(NuGetTargetMoniker) - $(TargetFrameworkMoniker) - + --> + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> - true - %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework - - + --> + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> - true - - + --> + true + + - - - - + --> + + + + - <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> - <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> - <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> - - + --> + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + - - - - - - - + that we are using a version of NuGet which supports that parameter on this task. --> + + + + + + + - - - - TargetFramework=%(AnnotatedProjects.NearestTargetFramework) - + --> + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + - - %(AnnotatedProjects.UndefineProperties);TargetFramework - - - - %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier - + --> + + %(AnnotatedProjects.UndefineProperties);TargetFramework + + + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier + - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> - - - - - - - - - <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> - @(_TargetFrameworkInfo) - @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') - @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') - $(_AdditionalPropertiesFromProject) - true - - false - true - - true - $(Platforms) + --> + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + + false + true + + true + $(Platforms) - @(ProjectConfiguration->'%(Platform)'->Distinct()) - - - - - - <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> - $(%(AdditionalTargetFrameworkInfoProperty.Identity)) - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false - - - - - - <_TargetFrameworkInfo Include="$(TargetFramework)"> - $(TargetFramework) - $(TargetFrameworkMoniker) - $(TargetPlatformMoniker) - None - $(_AdditionalTargetFrameworkInfoProperties) - - - + Build the `Platforms` property from that. --> + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) + + + - + --> + - + --> + AssignProjectConfiguration; _SplitProjectReferencesByFileExistence; _GetProjectReferenceTargetFrameworkProperties; _GetProjectReferencePlatformProperties - - - + + + - - - - - $(ProjectReferenceBuildTargets) - - - ProjectReference - - - + --> + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + - - - - + --> + + + + - - - - + --> + + + + - - - - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + --> + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> - <_ResolvedProjectReferencePaths> - %(_ResolvedProjectReferencePaths.OriginalItemSpec) - - - - - - + --> + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + - - <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> - %(ReferencePath.ProjectReferenceOriginalItemSpec) - - - - + --> + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + - - $(GetTargetPathDependsOn) - - + --> + + $(GetTargetPathDependsOn) + + - - $(GetTargetPathDependsOn) - + --> + + $(GetTargetPathDependsOn) + - - - - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion.TrimStart('vV')) - $(TargetRefPath) - @(CopyUpToDateMarker) - - - + BeforeTargets. --> + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + - - - - %(_ApplicationManifestFinal.FullPath) - - - + --> + + + + %(_ApplicationManifestFinal.FullPath) + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + ResolveProjectReferences; FindInvalidProjectReferences; @@ -4695,69 +4695,69 @@ Copyright (C) Microsoft Corporation. All rights reserved. PrepareForBuild; ResolveSDKReferences; ExpandSDKReferences; - - - - - <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> - + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + - - $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache - - - - <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> - - - - <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false - true - false - Warning - $(BuildingProject) - $(BuildingProject) - $(BuildingProject) - false - - + --> + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + - - - true - - + ide will show one of the references as not resolved, this will not break the build but is a display issue --> + + + true + + - - false - true - - - - - - - - - - - - - - - - - + --> + + false + true + + + + + + + + + + + + + + + + + - - + --> + + - - %(FullPath) - - - %(ReferencePath.Identity) - - - - + assembly unless already specified. --> + + %(FullPath) + + + %(ReferencePath.Identity) + + + + - - - - - + --> + + + + + - - - $(_GenerateBindingRedirectsIntermediateAppConfig) - - - - - $(TargetFileName).config - - - + --> + + + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + - - Software\Microsoft\Microsoft SDKs - $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs - - $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 - - true - Windows - 8.1 - - false - WindowsPhoneApp - 8.1 - - - - - - - - - - - - - + --> + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + - + --> + GetInstalledSDKLocations - - - - Debug - Retail - Retail - $(ProcessorArchitecture) - Neutral - - - true - - - - - - - - - - - - + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + - + --> + GetReferenceTargetPlatformMonikers - - - - - - - - <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> - - - - - - - + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + - + --> + ResolveSDKReferences - + .winmd; .dll - - - - - - - - - - - + + + + + + + + + + + - - - - false - false - false - $(TargetFrameworkSDKToolsDirectory) - true - - - - - - - - - - - - - - - <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> - - - + --> + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5015,8 +5015,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(TargetDir) - - + + - + --> + GetFrameworkPaths; GetReferenceAssemblyPaths; ResolveReferences - - - - - <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - - - $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache - - + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5057,29 +5057,29 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(OutDir) - - - - false - false - false - false - false - true - false - - - <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> - - - <_RARResolvedReferencePath Include="@(ReferencePath)" /> - - - - - - - + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + - - false - - - - $(IntermediateOutputPath) - - + --> + + false + + + + $(IntermediateOutputPath) + + - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - false - - - - - - - - - - - - - - + --> + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + - + --> + + --> - + --> + $(PrepareResourcesDependsOn); PrepareResourceNames; ResGen; CompileLicxFiles - - - + + + - + --> + AssignTargetPaths; SplitResourcesByCulture; CreateManifestResourceNames; CreateCustomManifestResourceNames - - - + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + - + --> + - - - - - - - <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> - - - Resx - - - Non-Resx - - - - - - - - - + --> + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + - - - - - - Resx - - - Non-Resx - - - - - - - - - - - - <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> - <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> - - + i.e. either Licx, or resources that don't have culture info --> + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + - - - - + --> + + + + - - ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen - FindReferenceAssembliesForReferences - true - false - - + --> + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + - + --> + - + --> + - - - <_Temporary Remove="@(_Temporary)" /> - - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - - + --> + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - true - - - true - - - - true - - - true - - - + suddenly start failing to build.--> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + --> - - - - - - - + --> + + + + + + + + --> - + --> + ResolveReferences; ResolveKeySource; @@ -5473,96 +5473,96 @@ Copyright (C) Microsoft Corporation. All rights reserved. CoreCompile; _TimeStampAfterCompile; AfterCompile; - - - + + + - - - - - - <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> - - <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> - Resx - false - - <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - false - - - + --> + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + - - - true - $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) - - - true - - - - - + --> + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + - - - - - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + + + - - true - - - - - - - - - - + --> + + true + + + + + + + + + + - + --> + - + --> + - - - <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + - - - $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + - - - <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + - - - __NonExistentSubDir__\__NonExistentFile__ - - + --> + + + __NonExistentSubDir__\__NonExistentFile__ + + - - <_SGenDllName>$(TargetName).XmlSerializers.dll - <_SGenDllCreated>false - <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) - <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto - <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off - true - false - true - + --> + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - + --> + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + --> - + --> + _GenerateSatelliteAssemblyInputs; ComputeIntermediateSatelliteAssemblies; GenerateSatelliteAssemblies - - - + + + - - - - - - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> - - <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> - Resx - true - - <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - true - - - + --> + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + - - - <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) - - - - - - + --> + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + - + --> + CreateManifestResourceNames - - - - - - %(EmbeddedResource.Culture) - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - - - + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + - - $(Win32Manifest) - + --> + + $(Win32Manifest) + - - - + --> + + + - <_DeploymentBaseManifest>$(ApplicationManifest) - <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + property is set though, prefer that one be used to specify the manifest. --> + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) - true - - - - - $(ApplicationManifest) - $(ApplicationManifest) - - - - - - $(_FrameworkVersion40Path)\default.win32manifest - - + a manifest to their built assemblies --> + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + --> - + --> + SetWin32ManifestProperties; GenerateApplicationManifest; GenerateDeploymentManifest - - + + - - - <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> - - - - - - + --> + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + - - - - - - - - - <_DeploymentCopyApplicationManifest>true - - + --> + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + - - - <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) - <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) - - + --> + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) - <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) - - - - - - - + --> + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + - - - <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> - <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> - - + --> + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + - - - - - - - <_DeploymentManifestType>Native - - - - - - - <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') - - - + --> + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + CleanPublishFolder; _DeploymentGenerateTrustInfo $(DeploymentComputeClickOnceManifestInfoDependsOn) - - + + - - - - <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - - - <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> - <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> - - - - <_SatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> - <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> - true - - <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> - - - - <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_SatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> - - - + --> + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + + <_SatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_SatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + - <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> - - - - <_ClickOnceFiles Include="$(PublishedSingleFilePath)" /> - <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> - - <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> - - - + --> + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + - - <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> - <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> - - - + --> + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + - - - - - - - - - - - - - - - <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> - - - <_DeploymentManifestType>ClickOnce - + This is being done to avoid Windows Forms designer memory issues that can arise while operating directly on files located in Obj directory. --> + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + - - <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) - - - - - - - - - - - - - - - + --> + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - true - false - + --> + + true + false + - + --> + CopyFilesToOutputDirectory - - - + + + - - - false - false - - - - - false - false - false - - - true - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - false - false - - - - - - + --> + + + + false + false + + + + + + - - - - - + input to projects that reference this one. --> + + + + + - + --> + - - <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + --> + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence - true + --> + true <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> AssignProjectConfiguration; _SplitProjectReferencesByFileExistence - + AssignTargetPaths; $(_TargetsThatPrepareProjectReferences); _GetProjectReferenceTargetFrameworkProperties; _PopulateCommonStateForGetCopyToOutputDirectoryItems - + - <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems - - <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject - - + --> + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + - - <_GCTODIKeepDuplicates>false - <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> - - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - - <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> - - + a non-empty value and the original behavior will be restored. --> + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + - - - - %(CopyToOutputDirectory) - - - + --> + + + + %(CopyToOutputDirectory) + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - - - - - - - - - - - - + --> + + + + + + + + + + + + - - - - - - - - - <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false - - - - - - - <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false - - - - - + --> + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + - - - - <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true - - - - - + --> + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + --> - - - - <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> - - - - - - - - - - - - - + --> + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + - - <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> - - - - - - - - + the current final output and intermediate output directories. --> + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + - - - - - + --> + + + + + - - - + --> + + + - - <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - + --> + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - - - - - - + --> + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + --> - + --> + BeforeClean; UnmanagedUnregistration; @@ -6701,81 +6701,81 @@ Copyright (C) Microsoft Corporation. All rights reserved. CleanReferencedProjects; CleanPublishFolder; AfterClean - - - + + + - + --> + - + --> + - + --> + - - + --> + + - - - - + --> + + + + - - - - - - - - - - - - - - - - - - - - <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> - - - - - - - - - - + Declare items of this type if you want Clean to delete them. --> + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + - + --> + - - - - - - - - + --> + + + + + + + + - - - + --> + + + + --> - - - - - - + --> + + + + + + + --> - + --> + SetGenerateManifests; Build; PublishOnly - + _DeploymentUnpublishable - - - + + + - - - + --> + + + - - - - - true - - + --> + + + + + true + + - + --> + SetGenerateManifests; PublishBuild; @@ -6907,33 +6907,33 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; _DeploymentSignClickOnceDeployment; AfterPublish - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -6942,77 +6942,77 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; GenerateSerializationAssemblies; CreateSatelliteAssemblies; - - - + + + - + --> + - - - - - <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) - <_DeploymentApplicationDir>$(PublishDir)$(_DeploymentApplicationFolderName)\ - - - - false - false - - - - - - - - - - - - - - - - - + This is done because some servers misinterpret "." as a file extension. --> + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(PublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + - - - - + --> + + + + - - - - - - - - - - + --> + + + + + + + + + + + --> - + --> + - - - true - $(TargetPath) - $(TargetFileName) - true - - - - - - true - $(TargetPath) - $(TargetFileName) - - + --> + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + - - PrepareForBuild - true - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> - $(TargetDir)$(TargetFileName).config - $(TargetFileName).config - - $(AppConfig) - - - - <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> - <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="'@(NativeReference)'!='' or '@(_IsolatedComReference)'!=''"> - $(_DeploymentTargetApplicationManifestFileName) - - $(OutDir)$(_DeploymentTargetApplicationManifestFileName) - - - - - - - %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) - - - + --> + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="'@(NativeReference)'!='' or '@(_IsolatedComReference)'!=''"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + - - - - - - @(_DebugSymbolsOutputPath->'%(FullPath)') - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputPdbItem->'%(FullPath)') - @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + - - - - - - @(FinalDocFile->'%(FullPath)') - true - @(DocFileItem->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputDocItem->'%(FullPath)') - @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + - - PrepareForBuild;PrepareResourceNames - - - - - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - %(EmbeddedResource.Culture) - - - - - - $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) - - %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) - - - + --> + + PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - - - - - - $(MSBuildProjectFullPath) - $(ProjectFileName) - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + - - - - - - @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') - $(_SGenDllName) - - - + --> + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + - - + --> + + - - - + Needed for certain build environments that import partial sets of targets. --> + + + - - - - - - - - ResolveSDKReferences;ExpandSDKReferences - + --> + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + - - - - - - + --> + + + + + + + --> - + --> + $(CommonOutputGroupsDependsOn); BuildOnlySettings; PrepareForBuild; AssignTargetPaths; ResolveReferences - - + + - + --> + - + --> + $(BuiltProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - + + + + + + + - + --> + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(DocumentationProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SGenFilesOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(ReferenceCopyLocalPathsOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - + --> + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - + + + + --> - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets - - - - - - true - - - - - - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets - - - + retrieve them. --> + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets - - - - - - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets - $(MSBuildToolsPath)\NuGet.targets - + --> + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + +--> - - - true - - NuGet.Build.Tasks.dll - - false - - true - true - - false - - WarnAndContinue - - $(BuildInParallel) - true - - <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true - - $(MSBuildInteractive) - - true - - true - - <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true - - - - <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + --> + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + skipped. --> <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); NuGetRestoreTargets=$(MSBuildThisFileFullPath); RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); - - + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); _RestoreSolutionFileUsed=true; @@ -7576,55 +7576,55 @@ Copyright (c) .NET Foundation. All rights reserved. SolutionFileName=$(SolutionFileName); SolutionPath=$(SolutionPath); SolutionExt=$(SolutionExt); - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - + --> + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + - + --> + - + --> + - - - <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> - - + --> + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + - - - exclusionlist - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> - - - - - - - - - - - - - - - - - + --> + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + - - - - - - <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> - <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> - - - - - - - - - - + --> + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + - - - + --> + + + - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> - RestoreSpec - $(MSBuildProjectFullPath) - - - + --> + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + - - - netcoreapp1.0 - - - - - - + --> + + + netcoreapp1.0 + + + + + + - - - - - - - + --> + + + + + + + - + --> + - - <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true - - - <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true - - - - - - - <_HasPackageReferenceItems /> - - + --> + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + - - - true - - + --> + + + true + + - - - <_RestoreProjectFramework /> - - - - - - - <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> - - + --> + + + <_RestoreProjectFramework /> + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + - - - <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> - - + --> + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + - - - $(SolutionDir) - - - - - - - - - - + --> + + + $(SolutionDir) + + + + + + + + + + - + --> + - - - - - - + --> + + + + + + - - - <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> - $(RestoreAdditionalProjectSources) - $(RestoreAdditionalProjectFallbackFolders) - $(RestoreAdditionalProjectFallbackFoldersExcludes) - - - + --> + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + - - - - $(MSBuildProjectExtensionsPath) - - - - + --> + + + + $(MSBuildProjectExtensionsPath) + + + + - - <_RestoreProjectName>$(MSBuildProjectName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) - + --> + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + - - <_RestoreProjectVersion>1.0.0 - <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) - <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) - - - - <_RestoreCrossTargeting>true - - - - <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(_RestoreProjectVersion) - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(RestoreProjectStyle) - $(RestoreOutputAbsolutePath) - $(RuntimeIdentifiers);$(RuntimeIdentifier) - $(RuntimeSupports) - $(_RestoreCrossTargeting) - $(RestoreLegacyPackagesDirectory) - $(ValidateRuntimeIdentifierCompatibility) - $(_RestoreSkipContentFileWrite) - $(_OutputConfigFilePaths) - $(TreatWarningsAsErrors) - $(WarningsAsErrors) - $(NoWarn) - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) - $(CentralPackageVersionOverrideEnabled) - $(CentralPackageTransitivePinningEnabled) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(RestoreOutputAbsolutePath) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(_CurrentProjectJsonPath) - $(RestoreProjectStyle) - $(_OutputConfigFilePaths) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - $(MSBuildProjectDirectory)\packages.config - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - $(_OutputSources) - $(SolutionDir) - $(_OutputRepositoryPath) - $(_OutputConfigFilePaths) - $(_OutputPackagesPath) - @(_RestoreTargetFrameworksOutputFiltered) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - @(_RestoreTargetFrameworksOutputFiltered) - - - + --> + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + - - - + --> + + + - + --> + - - - - - - - + --> + + + + + + + - + --> + - - - - - - - - - - - - - - - - - - - - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - TargetFrameworkInformation - $(MSBuildProjectFullPath) - $(PackageTargetFallback) - $(AssetTargetFallback) - $(TargetFramework) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion) - $(TargetFrameworkMoniker) - $(TargetFrameworkProfile) - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetPlatformVersion) - $(TargetPlatformMinVersion) - $(CLRSupport) - $(RuntimeIdentifierGraphPath) - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + + + - + --> + - - - - - - - <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> - - + --> + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + - - - - - - + --> + + + + + + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - - - - - - - - <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> - - - - - - + --> + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + - - - <_RestorePackagesPathOverride>$(RestorePackagesPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + - - - <_RestorePackagesPathOverride>$(RestoreRepositoryPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + - - - <_RestoreSourcesOverride>$(RestoreSources) - - + --> + + + <_RestoreSourcesOverride>$(RestoreSources) + + - - - <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) - - + --> + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + - - - <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> - - + --> + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + - + --> + - +--> + +--> - - $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets - +--> + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + +--> - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - $(MSBuildThisFileDirectory)\tools\net6.0\Microsoft.NET.Build.Extensions.Tasks.dll - $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll - - true - - - - +--> + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net6.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + +--> +--> +--> - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + +--> - - - Microsoft.TestPlatform.Build.dll - $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) - - - +--> + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +--> - +--> + +--> - - true - - - - true - + --> + + true + + + + true + - - <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets - <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) - - + --> + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + - - - +--> + + + // <autogenerated /> using System%3b using System.Reflection%3b [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName = "$(TargetFrameworkMonikerDisplayName)")] - - - - - true + + + + + true - true - true - - $([System.Globalization.CultureInfo]::CurrentUICulture.Name) - + --> + true + true + + $([System.Globalization.CultureInfo]::CurrentUICulture.Name) + - + but the user hasn't told us to not include standard references --> + - <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> - - - - + --> + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> + + + + +--> +--> - - - TargetFramework - TargetFrameworks - - - true - - +--> + + + TargetFramework + TargetFrameworks + + + true + + - - + --> + + - - - <_MainReferenceTarget Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets - <_MainReferenceTarget Condition="'$(_MainReferenceTarget)' == ''">GetTargetPath - GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) - $(_MainReferenceTarget);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) - GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) - Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) - $(ProjectReferenceTargetsForCleanInOuterBuild);$(ProjectReferenceTargetsForBuildInOuterBuild);$(ProjectReferenceTargetsForRebuildInOuterBuild) - $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) - - - - - - - - - - - + --> + + + <_MainReferenceTarget Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTarget Condition="'$(_MainReferenceTarget)' == ''">GetTargetPath + GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) + $(_MainReferenceTarget);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) + GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) + Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForCleanInOuterBuild);$(ProjectReferenceTargetsForBuildInOuterBuild);$(ProjectReferenceTargetsForRebuildInOuterBuild) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + + + + + + + + + +--> - +--> + +--> +--> +--> - - - $(MSBuildThisFileDirectory)..\tools\ - net6.0 - net472 - $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ - $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll +--> + + + $(MSBuildThisFileDirectory)..\tools\ + net6.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll - Microsoft.NETCore.App;NETStandard.Library - + --> + Microsoft.NETCore.App;NETStandard.Library + - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - $(_IsExecutable) - - - - netcoreapp2.2 - - - false - DotnetTool - $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) - - - Preview - - - - - + --> + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + - +--> + +--> +--> - - - $(MSBuildProjectExtensionsPath)/project.assets.json - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + --> + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) - $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) - - false - - false - - true - $(IntermediateOutputPath)NuGet\ - true - $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) - $(TargetFrameworkMoniker) - true + be stored in a shared directory next to the assets.json file --> + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true - false + TargetDefinitions, FileDefinitions and FileDependencies items. --> + false - true - - - - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) - - - - - + its own multi-targeting logic, or if the current SDK targets will pick the assets correctly. --> + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + - + --> + $(ResolveAssemblyReferencesDependsOn); ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; - + ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; $(PrepareResourcesDependsOn) - - - - - - $(RootNamespace) - - - $(AssemblyName) - - - $(MSBuildProjectDirectory) - - - $(TargetFileName) - - - $(MSBuildProjectFile) - - - + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + - - true - + --> + + true + + --> - + --> + ResolveLockFileReferences; ResolveLockFileAnalyzers; @@ -8870,101 +8870,101 @@ Copyright (c) .NET Foundation. All rights reserved. ResolveRuntimePackAssets; RunProduceContentAssets; IncludeTransitiveProjectReferences - - - + + + + --> - - - - + --> + + + + - + run and created the assets file. --> + - - - - - - - - - - - - - - - - - <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) - roslyn$(_RoslynApiVersion) - - - - - - false - - - true - - - true - - - - true - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + compile errors. --> + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + match the expected version --> + + + + + - - - - - - - - - - - - - - - - <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> - - - <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> - - + (that was spread across different tasks/targets) for backwards compatibility. --> + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + - - - - - - + --> + + + + + + - - - - - - + --> + + + + + + - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + - - - - + but the names depend upon the items themselves. Split it apart. --> + + + + - - + --> + + - - true - + --> + + true + - - + project, use that, in order to preserve metadata (such as aliases). --> + + - - - - - - - - - - - - - - + a reference with a warning. See https://github.com/dotnet/sdk/issues/1499 --> + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> - - <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - - - - + --> + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + - + NETSDK1056. --> + - - +--> + + +--> - - - true - true - true - true - - +--> + + + true + true + true + true + + - - $(DefaultItemExcludes);$(BaseOutputPath)/** - - $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** - - $(DefaultItemExcludes);**/*.user - $(DefaultItemExcludes);**/*.*proj - $(DefaultItemExcludes);**/*.sln - $(DefaultItemExcludes);**/*.vssscc + This is in the .targets because it needs to come after the final BaseOutputPath has been evaluated. --> + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc - $(DefaultItemExcludesInProjectFolder);**/.*/** - + that are in the project folder. --> + $(DefaultItemExcludesInProjectFolder);**/.*/** + - + in the project file. --> + - 1.6.1 - - 2.0.3 - + produced, so we will roll forward to the latest version. --> + 1.6.1 + + 2.0.3 + +--> +--> - - true - false - <_TargetLatestRuntimePatchIsDefault>true - - - true - - - - - all - true - - - all - true - - - - - - - - - - - - + --> + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + - - - - - - - - - + A FrameworkReference to Microsoft.AspNetCore.App should be used instead, and will be implicitly included by Microsoft.NET.Sdk.Web. --> + + + + + + + + + - - - - - - - - - - - - + should be replaced with a FrameworkReference. --> + + + + + + + + + + + + - - $(_TargetFrameworkVersionWithoutV) - - - - - - - - https://aka.ms/sdkimplicitrefs - - - - - - - - - - - <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> - - - - false - - - - - - https://aka.ms/sdkimplicititems - + this should prevent breaking it. --> + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + - - - - - - - - - - - - - - - - - - - - - - - - - - <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> - - - + be easy to miss the duplicate items error which is the real source of the problem. --> + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + +--> - - - + if building with an implicit restore. --> + + + - - + --> + + - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + --> + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - - - - - - - - - - - - + --> + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + +--> +--> - +--> + $(ResolveAssemblyReferencesDependsOn); ResolveTargetingPackAssets; - - - - - - - + + + + + + + - - - - - - - - + we can't do the change atomically --> + + + + + + + + - - - - - - - - - - - true - true - - - <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - - - $(RuntimeIdentifier) - $(DefaultAppHostRuntimeIdentifier) - - - - - - - - - - - true - true - false - - - - [%(_PackageToDownload.Version)] - - - - - - + --> + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + - - - - - - + --> + + + + + + - - - - - - - %(ResolvedTargetingPack.PackageDirectory) - - - - - - - - - - - - - - - - - - - - - - <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> - %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) - - - - - %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) - - - - @(ResolvedAppHostPack->'%(Path)') - - - - %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) - - - - @(ResolvedSingleFileHostPack->'%(Path)') - - - - %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) - - - - @(ResolvedComHostPack->'%(Path)') - - - - %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) - - - - @(ResolvedIjwHostPack->'%(Path)') - - - - - - - - - - + --> + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + - - - - true - false - - - - - - - - - - + --> + + + + true + false + + + + + + + + + + - $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) - - - - - - - - - - + that consume it. --> + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + - - - - - - <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> - - - + --> + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + - - - - - - - - + --> + + + + + + + + - + --> + - - - <_Parameter1>$(UserSecretsId.Trim()) - - - + --> + + + <_Parameter1>$(UserSecretsId.Trim()) + + + - - - - - - $(_IsNETCoreOrNETStandard) - - - true - true - false - true - $(MSBuildProjectDirectory)/runtimeconfig.template.json - true - true - <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache - <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) - - - - - - - - true - - - false - - - $(AssemblyName).deps.json - $(TargetDir)$(ProjectDepsFileName) - $(AssemblyName).runtimeconfig.json - $(TargetDir)$(ProjectRuntimeConfigFileName) - $(TargetDir)$(AssemblyName).runtimeconfig.dev.json - true - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + + + + + $(_IsNETCoreOrNETStandard) + + + true + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + +--> - - - true - true - - - - CurrentArchitecture - CurrentRuntime - - - <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so - <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe - <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) - <_DotNetAppHostExecutableNameWithoutExtension>apphost - <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) - <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost - <_DotNetComHostLibraryNameWithoutExtension>comhost - <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) - <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost - <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) - <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) - <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) - - - - - - <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> - - +--> + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + - - - Microsoft.NETCore.App - - + --> + + + Microsoft.NETCore.App + + - - <_DefaultUserProfileRuntimeStorePath>$(HOME) - <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) - <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) - $(_DefaultUserProfileRuntimeStorePath) - - - true - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + - - true - - - true - - - $(AvailablePlatforms),ARM32 - - - $(AvailablePlatforms),ARM64 - - - $(AvailablePlatforms),ARM64 - - - - false - - + --> + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + _CheckForBuildWithNoBuild; $(CoreBuildDependsOn); GenerateBuildDependencyFile; GenerateBuildRuntimeConfigurationFiles - - - + + + _SdkBeforeClean; $(CoreCleanDependsOn) - - - + + + _SdkBeforeRebuild; $(RebuildDependsOn) - - + + - - - + --> + + + - - - - 1.0.0 - - - - - - - - - - - + --> + + + + 1.0.0 + + + + + + + + + + + - - - + during incremental builds when the task is skipped --> + + + - - - - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + - - - <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true - LatestMinor - + --> + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + - - - <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true - - - + other values should still keep failing as they won't have any effect when run on 2.*. --> + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_CleaningWithoutRebuilding>true - false - - - - - <_CleaningWithoutRebuilding>false - - + during incremental builds when the task is skipped --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + --> + + + + + $(CompileDependsOn); _CreateAppHost; _CreateComHost; _GetIjwHostPaths; - - + + - - - - <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true - <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true - - - + --> + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + - - - $(SingleFileHostSourcePath) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) - - + --> + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + - - - - - @(_NativeRestoredAppHostNETCore) - - - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) - - - - - - + --> + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + - - - - - + --> + + + + + - - - - + --> + + + + - - - + --> + + + - - - $(AssemblyName).comhost$(_ComHostLibraryExtension) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) - - - + --> + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + - - - + --> + + + - - - - <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest - PreserveNewest - - - + --> + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + - - PreserveNewest - Never - - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest + --> + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest - Always - - - - - $(AssemblyName).$(_DotNetComHostLibraryName) - PreserveNewest - PreserveNewest - - - %(FileName)%(Extension) - PreserveNewest - PreserveNewest - - - - - $(_DotNetIjwHostLibraryName) - PreserveNewest - PreserveNewest - - - + places the correct unbundled apphost in the publish directory. --> + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + - - - <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + --> + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> - <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> - <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> - <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> - - + --> + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + - - - - - true - - - true - - - - - + --> + + + + + true + + + true + + + + + - - $(StartWorkingDirectory) - - - - - $(StartProgram) - $(StartArguments) - - - - - - dotnet - <_NetCoreRunArguments>exec "$(TargetPath)" - $(_NetCoreRunArguments) $(StartArguments) - $(_NetCoreRunArguments) - - - $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) - $(StartArguments) - - - - - $(TargetPath) - $(StartArguments) - - - mono - "$(TargetPath)" $(StartArguments) - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) - - - - - + --> + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + - + --> + $(CreateSatelliteAssembliesDependsOn); CoreGenerateSatelliteAssemblies - - - - - - - <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs - <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll - - - - <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) - - - - - - - true - - - - - - - - - - - - - + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + - + --> + - - - - - + --> + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - + --> + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + - - - - - - + --> + + + + + + - - - - - - - - false - - + --> + + + + + + + + false + + - false - - - - false - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true - - - - + to run it. --> + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + - - - + --> + + + - - - - - - - - + --> + + + + + + + + +--> - +--> + $(CommonOutputGroupsDependsOn); - - - + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); _GenerateDesignerDepsFile; _GenerateDesignerRuntimeConfigFile; _GatherDesignerShadowCopyFiles; - - <_DesignerDepsFileName>$(AssemblyName).designer.deps.json - <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json - <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) - <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) - - - + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + - - - - - - - - - - <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> - - - - - - - - - - - <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + --> + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> - <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> - - - + --> + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + + +--> +--> +--> - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) - true - - - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - + --> + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + - - - - - <_InformationalVersionContainsPlus>false - <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true - $(InformationalVersion)+$(SourceRevisionId) - $(InformationalVersion).$(SourceRevisionId) - - - - - - <_Parameter1>$(Company) - - - <_Parameter1>$(Configuration) - - - <_Parameter1>$(Copyright) - - - <_Parameter1>$(Description) - - - <_Parameter1>$(FileVersion) - - - <_Parameter1>$(InformationalVersion) - - - <_Parameter1>$(Product) - - - <_Parameter1>$(AssemblyTitle) - - - <_Parameter1>$(AssemblyVersion) - - - <_Parameter1>RepositoryUrl - <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) - <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) - - - <_Parameter1>$(NeutralLanguage) - - - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) - - - <_Parameter1>%(AssemblyMetadata.Identity) - <_Parameter2>%(AssemblyMetadata.Value) - - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) - - - <_Parameter1>$(TargetPlatformIdentifier) - - - + --> + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + - - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache - - - - - - - - - - - - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + - - - - - - $(AssemblyVersion) - $(Version) - - + --> + + + + + + $(AssemblyVersion) + $(Version) + + +--> +--> +--> - - - $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) + - - - - - - - - - - + --> + + + + + + + + + + +--> +--> - - - - <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config - - - - - - - - - - - - - - - - - +--> + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + +--> +--> +--> - + --> + - - - <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> - <_AllProjects Include="$(MSBuildProjectFullPath)" /> - - - - - + --> + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + - - - - %(PackageReference.Identity) - %(PackageReference.Version) + --> + + + + %(PackageReference.Identity) + %(PackageReference.Version) StorePackageName=%(PackageReference.Identity); StorePackageVersion=%(PackageReference.Version); @@ -10903,246 +10903,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); DisableImplicitFrameworkReferences=false; - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - + --> + + + + + + + + + <_StoreArtifactContent> @(ListOfPackageReference) -]]> - - - - - - +]]> + + + + + + - - - <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> - <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> - - - - - - - - + --> + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + - - - true - true - <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) - true - - - - - - $(UserProfileRuntimeStorePath) - <_ProfilingSymbolsDirectoryName>symbols - $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) - $(DefaultProfilingSymbolsDir) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) - $(ProfilingSymbolsDir)\ - $(DefaultComposeDir) - $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) - $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) - $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) - $([System.IO.Path]::GetFullPath($(ComposeDir))) - <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) - $([System.IO.Path]::GetTempPath()) - $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) - $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) - - $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) - - $(PublishDir)\ - - - - false - true - - - - - - - - $(StorePackageVersion.Replace('*','-')) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) - <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) - $(StoreWorkerWorkingDir)\ - $(BaseIntermediateOutputPath)\project.assets.json - - - $(MicrosoftNETPlatformLibrary) - true - - + --> + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + - - - - + --> + + + + - + --> + - + --> + - - - - - + --> + + + + + - + --> + - - - <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> - - - true - - + --> + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + - - - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> - - + --> + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + - - - - true - true - - - - - - - - - + --> + + + + true + true + + + + + + + + + - - - - - - + --> + + + + + + +--> +--> +--> - - true - false - true - false - true - 1 - + --> + + true + false + true + false + true + 1 + - - - - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> - - - - - - - - <_CoreclrPath>@(_CoreclrResolvedPath) - @(_JitResolvedPath) - <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) - <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) - $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) - - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) - - - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) - - + --> + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + - - - + --> + + + CrossgenExe=$(Crossgen); CrossgenJit=$(JitPath); @@ -11231,246 +11231,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) - - - - - - + + + + + + - - - $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) - $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) - $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" - CreatePDB - CreatePerfMap - - - - - - - - - - - - <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> - - - - - - - - $([System.IO.Path]::PathSeparator) - $([System.IO.Path]::DirectorySeparatorChar) - - + --> + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + - - - <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) - <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) - - - - - <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) - - + --> + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + - - - <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) - - <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) - - <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) - - - <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> - - - - - - - - + --> + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - $(MSBuildThisFileDirectory)..\tasks\net6.0\Microsoft.NET.Sdk.Crossgen.dll - $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - + --> + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net6.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + - - - - - + --> + + + + + - - - - - + --> + + + + + - - - - <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R - - - - <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> - + --> + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + - - <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> - - - - - - <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> - <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> - - - <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> - <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> - - - - - - - - - - - - - - - - - + assembly list. --> + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + - - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> - - + --> + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> - - + --> + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + +--> +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + - - +--> + + - - <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> - - <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> - - - - +--> + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + +--> +--> - - true - <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true - true - - - - Always - - +--> + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + Always + + - - - - + --> + + + + <_BeforePublishNoBuildTargets> BuildOnlySettings; _PreventProjectReferencesFromBuilding; @@ -11572,59 +11572,59 @@ Copyright (c) .NET Foundation. All rights reserved. PrepareResourceNames; ComputeIntermediateSatelliteAssemblies; ComputeEmbeddedApphostPaths; - + <_CorePublishTargets> PrepareForPublish; ComputeAndCopyFilesToPublishDirectory; $(PublishProtocolProviderTargets); PublishItemsOutputGroup; - - <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) - - - - + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + - - - - - - - false - - + the published assets were copied. --> + + + + + + + false + + - - - - - - - - - - - $(PublishDir)\ - - - + --> + + + + + + + + + + + $(PublishDir)\ + + + - + --> + - + --> + - - - - <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> - - - - - - - - + --> + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + - - - <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) - - - - - - <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt - - - - - - - - - - - - - - - - - - <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> - <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> - - - - - - - - - + --> + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + - + --> + - - - - + --> + + + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - - <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> - <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> - - - <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> - <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> - - + --> + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + - - - true - true - false - - + --> + + + true + true + false + + - - - - - @(IntermediateAssembly->'%(Filename)%(Extension)') - PreserveNewest - - - - $(ProjectDepsFileName) - PreserveNewest - - - - $(ProjectRuntimeConfigFileName) - PreserveNewest - - - - @(AppConfigWithTargetPath->'%(TargetPath)') - PreserveNewest - - - - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - PreserveNewest - true - - - - %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) - PreserveNewest - - - - %(Filename)%(Extension) - PreserveNewest - - + --> + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> - - - - %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) - PreserveNewest - - - - @(FinalDocFile->'%(Filename)%(Extension)') - PreserveNewest - - - - shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) - PreserveNewest - - - <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> - - - + to ensure that we don't get duplicate files in the publish output. --> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + - - + --> + + - - - - - <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> - - - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> - - + PreserveStoreLayout without this task, and how to handle RuntimeStorePackages. --> + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + - - - - - - + --> + + + + + + - - - <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> - - + --> + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + - - - <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + --> + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - - - - %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) - Always - True - - - %(_SourceItemsToCopyToPublishDirectory.TargetPath) - PreserveNewest - True - - - + --> + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + - + --> + - - <_GCTPDIKeepDuplicates>false - <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath - - - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - + a non-empty value and the original behavior will be restored. --> + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + - - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - Always - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - PreserveNewest - - - - - <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies - - - + --> + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + - - - <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> - - <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> - - <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> - - - - <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> - + --> + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + - - - + --> + + + - - - - - - - - - <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> - - - + --> + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + - - <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true - <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true - - + generate a different one. --> + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + - - - <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> - - - - $(AssemblyName)$(_NativeExecutableExtension) - $(PublishDir)$(PublishedSingleFileName) - - - - - - - - $(PublishedSingleFileName) - - - - - - false - false - false - $(IncludeAllContentForSelfExtract) - false - - - - - - - - - - + --> + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + - - + --> + + - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) - $(PublishDir)$(ProjectDepsFileName) - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) - - - - - - <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - - - - - $(ProjectDepsFileName) - - - + PublishDepsFilePath is empty (by default) for PublishSingleFile, since the deps.json file is embedde within the single-file bundle --> + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + - - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + --> + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + - - - - - - - - + --> + + + + + + + + - + --> + $(PublishItemsOutputGroupDependsOn); ResolveReferences; ComputeResolvedFilesToPublishList; _ComputeFilesToBundle; - - - - - - - - - - - + + + + + + + + + + + - + --> + - - - + --> + + + - +--> + +--> - - - - - +--> + + + + + - - <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml - true - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) - - - - <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> - <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> - <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> - - - - - - - tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) - - - %(_ResolvedFileToPublishWithPackagePath.PackagePath) - - - - - $(TargetName) - $(TargetFileName) - - - - - - - - - - - - - + --> + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + $(TargetName) + $(TargetFileName) + + + + + + + + + + + + + - - <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache - <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) - <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel - <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) - $(OutDir) - - - - - + --> + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + - - + --> + + - - - - - - - - - + during incremental builds when the task is skipped --> + + + + + + + + + - - - <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> - <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> - <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> - <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + +--> +--> - - - +--> + + + +--> +--> - - refs - $(PreserveCompilationContext) - - - - - $(DefineConstants) - $(LangVersion) - $(PlatformTarget) - $(AllowUnsafeBlocks) - $(TreatWarningsAsErrors) - $(Optimize) - $(AssemblyOriginatorKeyFile) - $(DelaySign) - $(DelaySign) - $(DebugType) - $(OutputType) - $(GenerateDocumentationFile) - - - - - - - - - +--> + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(DelaySign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + - <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + --> + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> - <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> - - $(RefAssembliesFolderName)\%(Filename)%(Extension) - - - + --> + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + - - - - - + --> + + + + + +--> +--> +--> +--> - - +--> + + Microsoft.CSharp|4.4.0; Microsoft.Win32.Primitives|4.3.0; @@ -12645,9 +12645,9 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + Microsoft.Win32.Primitives|4.3.0; System.AppContext|4.3.0; @@ -12744,50 +12744,50 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + - - +--> + + - - + --> + + - <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> - - - - - - - + --> + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + - - - - - - - - - + (eg: HintPath) --> + + + + + + + + + - - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> - - + --> + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + - - - - - - - + --> + + + + + + + +--> +--> - - Properties - - - $(Configuration.ToUpperInvariant()) +--> + + Properties + + + $(Configuration.ToUpperInvariant()) - $(ImplicitConfigurationDefine.Replace('-', '_')) - $(ImplicitConfigurationDefine.Replace('.', '_')) - $(ImplicitConfigurationDefine.Replace(' ', '_')) - $(DefineConstants);$(ImplicitConfigurationDefine) - - - $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) - - - - - + --> + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(ImplicitConfigurationDefine.Replace(' ', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + + + + + - - +--> + + +--> +--> - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - + set PublishTrimmed in targets which are imported after these targets. --> + + $(IntermediateOutputPath)linked\ + $(IntermediateLinkDir)\ + + <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore + + + + <_Parameter1>IsTrimmable + <_Parameter2>True + + - - false - false - false - false - false - false - false - false - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - - $(NoWarn);IL2026 - - $(NoWarn);IL2041;IL2042;IL2043;IL2056 - - $(NoWarn);IL2045 - - $(NoWarn);IL2046 - - $(NoWarn);IL2050 - - $(NoWarn);IL2032;IL2055;IL2057;IL2058;IL2059;IL2060;IL2061;IL2096 - - $(NoWarn);IL2062;IL2063;IL2064;IL2065;IL2066 - - $(NoWarn);IL2067;IL2068;IL2069;IL2070;IL2071;IL2072;IL2073;IL2074;IL2075;IL2076;IL2077;IL2078;IL2079;IL2080;IL2081;IL2082;IL2083;IL2084;IL2085;IL2086;IL2087;IL2088;IL2089;IL2090;IL2091 - - $(NoWarn);IL2092;IL2093;IL2094;IL2095 - - $(NoWarn);IL2097;IL2098;IL2099;IL2106 - - $(NoWarn);IL2103 - - $(NoWarn);IL2107 - - $(NoWarn);IL2109 - - $(NoWarn);IL2110;IL2111;IL2114;IL2115 - - $(NoWarn);IL2112;IL2113 - + could be removed by the linker, causing a trimmed app to crash. --> + + false + false + false + false + false + false + false + false + <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false + true + + + + true + + true + + false + + + + + $(NoWarn);IL2026 + + $(NoWarn);IL2041;IL2042;IL2043;IL2056 + + $(NoWarn);IL2045 + + $(NoWarn);IL2046 + + $(NoWarn);IL2050 + + $(NoWarn);IL2032;IL2055;IL2057;IL2058;IL2059;IL2060;IL2061;IL2096 + + $(NoWarn);IL2062;IL2063;IL2064;IL2065;IL2066 + + $(NoWarn);IL2067;IL2068;IL2069;IL2070;IL2071;IL2072;IL2073;IL2074;IL2075;IL2076;IL2077;IL2078;IL2079;IL2080;IL2081;IL2082;IL2083;IL2084;IL2085;IL2086;IL2087;IL2088;IL2089;IL2090;IL2091 + + $(NoWarn);IL2092;IL2093;IL2094;IL2095 + + $(NoWarn);IL2097;IL2098;IL2099;IL2106 + + $(NoWarn);IL2103 + + $(NoWarn);IL2107 + + $(NoWarn);IL2109 + + $(NoWarn);IL2110;IL2111;IL2114;IL2115 + + $(NoWarn);IL2112;IL2113 + - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - + --> + + + + + <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> + + + + - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - + https://github.com/dotnet/sdk/pull/3086 --> + + <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + + + + + + - - + --> + + - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - + In this case, explicitly specify the path to the dotnet host. --> + + <_DotNetHostDirectory>$(NetCoreRoot) + <_DotNetHostFileName>dotnet + <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe + + + + + + + - + --> + - - - 5 - 0 - - - - copyused - - $(TrimMode) - - - link - - copy - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - - - - $(TrimMode) - - - $(TrimmerDefaultAction) - - - + in some cases. --> + + + 5 + 0 + + + + copyused + + $(TrimMode) + + + link + + copy + $(TreatWarningsAsErrors) + <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) + true + + + + + $(NoWarn);IL2008 + + $(NoWarn);IL2009 + + + $(NoWarn);IL2037 + + + $(NoWarn);IL2009;IL2012 + + + + + + true + false + + + <_TrimmerUnreachableBodies>false + + + + + true + + + + + + + + + + + + + + + + + + + copy + + + + + + $(TrimMode) + + + $(TrimmerDefaultAction) + + + - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - + This just sets metadata on the items in ManagedAssemblyToLink that came from IntermediateAssembly. --> + + <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly> + false + + + + + + + false + + + + <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> + + - - + --> + + - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - + further refine this list. It currently drops C++/CLI assemblies in ComputeManageAssemblies. --> + + + + + + <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> + <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> + + + <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + +--> +--> - +--> + - - 5.0 - - latest + and enable .NET analyzers. Valid values are 'none', 'latest', 'preview', or a version number --> + + 5.0 + + latest - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) + --> + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) - 4.0 - 6.0 - 7.0 - - $(AnalysisLevelPrefix) - $(AnalysisLevel) - - - - - true - - true - - true + and an implied numerical option (such as '4')--> + 4.0 + 6.0 + 7.0 + + $(AnalysisLevelPrefix) + $(AnalysisLevel) + + + + + true + + true + + true - 5 - + NOTE: at this time only the C# compiler supports warning waves --> + 5 + - - 6 - - - false - - false - - 9999 - - + For .NET 6 we want the Warning level to be 6 --> + + 6 + + + false + + false + + 9999 + + +--> - + --> + - - <_NETAnalyzersSDKAssemblyVersion>6.0.0 - + --> + + <_NETAnalyzersSDKAssemblyVersion>6.0.0 + - - CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1401;CA1416;CA1417;CA1418;CA1419;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2100;CA2101;CA2109;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2229;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 - $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) - + --> + + CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1401;CA1416;CA1417;CA1418;CA1419;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2100;CA2101;CA2109;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2229;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.Analyzers.targets +============================================================================================================================================ +--> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - true - true - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets - - - - - +--> + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + +--> - - - true - - - - true - - - - 7.0 - - +--> + + + true + + + + true + + + + 7.0 + + - $(TargetPlatformMinVersion) - $(SupportedOSPlatformVersion) - - $(TargetPlatformVersion) - $(TargetPlatformVersion) - - - - <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> - - - - - - - - + other value. --> + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> - - - - - - - + The WinMD in this case can be identified because the Implementation metadata value is WinRT.Host.dll. So here we remove any such WinMD references. --> + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + +--> - + TargetPlatformVersion may have been set later than that in evaluation by platform-specific targets or Directory.Build.targets. So fix up those properties here --> + - 0.0 - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - - - - $(TargetPlatformVersion) - - + workloads. --> + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + +--> - - - - +--> + + + + - - - - - _GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - - - $(RoslynTargetsPath) - <_packageReferenceList>@(PackageReference) +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Compatibility.Common.targets +============================================================================================================================================ +--> + + + + + _GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) - $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) - $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) - - - $(PackageId) - $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - false - <_compatibilitySuppressionFilePath>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - $(_compatibilitySuppressionFilePath) - - - - - - <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' != 'true'">_GetReferencePathForPackageValidation - <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' == 'true'">_ComputeTargetFrameworkItems - - - - <_ReferencePathWithTargetFramework Include="@(ReferencePath)" TargetFramework="$(TargetFramework)" /> - - - - - - - - - - + are on the same directory as Microsoft.CodeAnalysis. So there is no need to distinguish between csproj or vbproj. --> + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + false + <_compatibilitySuppressionFilePath>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + $(_compatibilitySuppressionFilePath) + + + + + + <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' != 'true'">_GetReferencePathForPackageValidation + <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' == 'true'">_ComputeTargetFrameworkItems + + + + <_ReferencePathWithTargetFramework Include="@(ReferencePath)" TargetFramework="$(TargetFramework)" /> + + + + + + + + + + +--> - - - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets - true - +--> + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + +--> - - - ..\CoreCLR\NuGet.Build.Tasks.Pack.dll - ..\Desktop\NuGet.Build.Tasks.Pack.dll - - - - - - - - - $(AssemblyName) - $(Version) - true - _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) - $(Description) - Package Description - false - true - true - tools - lib - content;contentFiles - $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) - true - symbols.nupkg - DeterminePortableBuildCapabilities - false - false - .dll; .exe; .winmd; .json; .pri; .xml - $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) - .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) - .pdb - false - - - $(GenerateNuspecDependsOn) - - - Build;$(GenerateNuspecDependsOn) - - - - - - - $(TargetFramework) - - - - $(MSBuildProjectExtensionsPath) - $(BaseOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - +--> + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - + --> + + + + + + - - - <_ProjectFrameworks /> - - - - - - <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> - - + --> + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + - - - - <_PackageFilesToDelete Include="@(_OutputPackItems)" /> - - - - - - false - - - - - - - - - - - - - + --> + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + - - - - - - true - - - - - - - - - + --> + + + + + + true + + + + + + + + + - - - - $(PrivateRepositoryUrl) - $(SourceRevisionId) - - + --> + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + - - - - $(MSBuildProjectFullPath) - - - - - - - - - - - - - - - - - <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> - $(PackageVersion) - 1.0.0 - - - - - - - - - - - - - - - - - - - - - - - - - - <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> - - - - - - $(TargetFramework) - - - - - - - - - - - - - %(TfmSpecificPackageFile.RecursiveDir) - %(TfmSpecificPackageFile.BuildAction) - - - - - - <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> - $(TargetFramework) - - - - <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> - - + --> + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + - - - <_PathToPriFile Include="$(ProjectPriFullPath)"> - $(ProjectPriFullPath) - $(ProjectPriFileName) - - - + has to be added manually here.--> + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + - - - <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> - - - - <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> - Content - - <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> - Compile - - <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> - None - - <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> - EmbeddedResource - - <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> - ApplicationDefinition - - <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> - Page - - <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> - Resource - - <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> - SplashScreen - - <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> - DesignData - - <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> - DesignDataWithDesignTimeCreatableTypes - - <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> - CodeAnalysisDictionary - - <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> - AndroidAsset - - <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> - AndroidResource - - <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> - BundleResource - - - + --> + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + +--> +--> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.FSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.FSharp.xml index 1d5b407..36ef094 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.FSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.FSharp.xml @@ -1,17 +1,17 @@ - +--> + +--> - +--> + - true + --> + true - true - - - $(ProjectExtensionsPathForSpecifiedProject) - - + --> + true + + + $(ProjectExtensionsPathForSpecifiedProject) + + +--> - - true - true - true - true - true - +--> + + true + true + true + true + true + - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - + --> + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + - + --> + - obj\ - $(BaseIntermediateOutputPath)\ - <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) - $(BaseIntermediateOutputPath) + --> + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) - $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) - $(MSBuildProjectExtensionsPath)\ - true - <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) - - + --> + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) - - + --> + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + - - true - - - $(DefaultProjectConfiguration) - $(DefaultProjectPlatform) - - - WJProject - JavaScript - - - - - + e.g. by the project itself. --> + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props - $(MSBuildToolsPath)\NuGet.props - + --> + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + +--> +--> - - true - + --> + + true + - - <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props - <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) - $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) - - - - true - + --> + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + - - true - true - true - true - true - true - true - true - true - true - true - true - true - +C:\Program Files\dotnet\sdk\6.0.300\Current\Microsoft.Common.props +============================================================================================================================================ +--> + + true + true + true + true + true + true + true + true + true + true + true + true + true + +--> +--> - - - true - - - - Debug;Release - AnyCPU - Debug - AnyCPU - - - - Library - 512 - prompt - $(MSBuildProjectName) - $(MSBuildProjectName.Replace(" ", "_")) - true - - - - true - false - - - true - - +--> + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + - - <_PlatformWithoutConfigurationInference>$(Platform) - - - x64 - - - x86 - - - ARM - - - - portable - - false - - true - true + --> + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + + portable + + false + + true + true - PackageReference - - {CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName} - $(AssemblySearchPaths) - false - false - false - false - false - false - false - false - false - true - 1.0.2 - false - true - true - - - - - - $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj - - + a project targets .NET Framework and doesn't have any direct package dependencies. --> + PackageReference + + {CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName} + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.2 + false + true + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + - - - $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)../../')) - $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs - 6.0 - 6.0 - 6.0.5 - 2.1 - 2.1.0 - 6.0.3 - $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json - 6.0.300 - linux-x64 - linux-x64 - <_NETCoreSdkIsPreview>false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +--> + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + 6.0 + 6.0 + 6.0.5 + 2.1 + 2.1.0 + 6.0.3 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 6.0.300 + win-x64 + win-x64 + <_NETCoreSdkIsPreview>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +--> + - $(BundledRuntimeIdentifierGraphFile) - - - - false - - - <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif - - - - - - - - - - - - - - - - + BundledRuntimeIdentifierGraphFile is set. --> + $(BundledRuntimeIdentifierGraphFile) + + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + - - - - - - - - - + evaluated in the second pass of evaluation, after all properties have been evaluated. --> + + + + + + + + + - + an implicit FrameworkReference --> + - - - - - + Packing an DotnetCliTool should include the Microsoft.NETCore.App package dependency. --> + + + + + +--> - - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel - true - - + putting an EnableWorkloadResolver.sentinel file beside the MSBuild SDK resolver DLL --> + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + +--> - - +--> + + - +--> + +--> +--> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + This is used by VS to show the list of frameworks to which projects can be retargeted. --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +--> + +--> - - - - - - +--> + + + + + + - +--> + +--> - - - - - - - - - - - - +--> + + + + + + + + + + + + - - +--> + + +--> - - - - false - true - +--> + + + + false + true + - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.props - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.props - + if running core msbuild select Microsoft.NET.Sdk.FSharp.props from dotnet cli deployment --> + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.props + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.props + - +--> + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - TRACE - - - - - $(DefineConstants);TRACE - - - - - false - - false - - - {F2A71F9B-5D33-465A-A702-920D77279786} - - false - false - 3 - 3239;$(WarningsAsErrors) - true - true - - - true - false - false - - - false - true - true - - - $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) - $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) - "$(MSBuildThisFileDirectory)fsc.dll" - $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) - $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) - "$(MSBuildThisFileDirectory)fsi.dll" - - - - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + TRACE + + + + + $(DefineConstants);TRACE + + + + + false + + false + + + {F2A71F9B-5D33-465A-A702-920D77279786} + + false + false + 3 + 3239;$(WarningsAsErrors) + true + true + + + true + false + false + + + false + true + true + + + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsc.dll" + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsi.dll" + + + + - +--> + +--> - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - <_FSCorePackageVersionSet>true - 6.0.4 - <_FSharpCoreLibraryPacksFolder Condition="'$(_FSharpCoreLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(MSBuildThisFileDirectory)'))library-packs - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + <_FSCorePackageVersionSet>true + 6.0.4 + <_FSharpCoreLibraryPacksFolder Condition="'$(_FSharpCoreLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(MSBuildThisFileDirectory)'))library-packs + - - - 4.4.0 - - - - contentFiles - - - contentFiles - - - - - - - - true - - +C:\Program Files\dotnet\sdk\6.0.300\FSharp\Microsoft.FSharp.NetSdk.props +============================================================================================================================================ +--> + + + 4.4.0 + + + + contentFiles + + + contentFiles + + + + + + + + true + + - - false - +--> + + false + +--> +--> +--> +--> - +--> + +--> - - true - $(MSBuildThisFileDirectory)..\tools\net6.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll - +--> + + true + $(MSBuildThisFileDirectory)..\tools\net6.0\ILLink.Tasks.dll + $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll + +--> +--> +--> - - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.Compatibility.dll - $(MSBuildThisFileDirectory)..\tools\net6.0\Microsoft.DotNet.Compatibility.dll - +--> + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.Compatibility.dll + $(MSBuildThisFileDirectory)..\tools\net6.0\Microsoft.DotNet.Compatibility.dll + +--> +--> - - $(TargetsForTfmSpecificContentInPackage);PackTool - +--> + + $(TargetsForTfmSpecificContentInPackage);PackTool + +--> +--> - - $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation - +--> + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + +--> - - - MSBuild:Compile - $(DefaultXamlRuntime) - - - MSBuild:Compile - $(DefaultXamlRuntime) - - - MSBuild:Compile - $(DefaultXamlRuntime) - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props +============================================================================================================================================ +--> + + + MSBuild:Compile + $(DefaultXamlRuntime) + + + MSBuild:Compile + $(DefaultXamlRuntime) + + + MSBuild:Compile + $(DefaultXamlRuntime) + - - - - - - - + --> + + + + + + + - + --> + - <_WpfCommonNetFxReference Include="WindowsBase" /> - <_WpfCommonNetFxReference Include="PresentationCore" /> - <_WpfCommonNetFxReference Include="PresentationFramework" /> - <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> - 4.0 - - <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> - - - <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> - <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> - <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> - + --> + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + --> - + --> + - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + --> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> - <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + --> + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> - <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> - - - - - + --> + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + --> +--> + --> - + --> + - - - - + --> + + + + +--> - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + +--> +--> +--> - - - - + --> + + + + +--> +--> +--> - - - - - true - - <_TargetFrameworkVersionValue>0.0 - <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 - +--> + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + +--> +--> +--> +--> - - - true - - +--> + + + true + + +--> +--> - - - - - - - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - - - $(_IsExecutable) - <_UsingDefaultForHasRuntimeOutput>true - + So import them here. --> + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + +--> - - 1.0.0 - $(VersionPrefix)-$(VersionSuffix) - $(VersionPrefix) - - - $(AssemblyName) - $(Authors) - $(AssemblyName) - $(AssemblyName) - +--> + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + - +--> + +--> +--> - - Debug - AnyCPU - $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - + --> + + Debug + AnyCPU + $(Platform) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + +--> + respected by the SDK. --> +--> - - - true - <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) - <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties - <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ - $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) - $(_PublishProfileRootFolder)$(PublishProfileName).pubxml - $(PublishProfileFullPath) +--> + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) - false - - - + to limit the import to the project being published. --> + false + + + +--> + --> +--> +--> - - + --> + + - - $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) - v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) - + --> + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + - - $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) - - - Windows - + --> + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + - - <_UnsupportedTargetFrameworkError>true - + --> + + <_UnsupportedTargetFrameworkError>true + - - - - + --> + + + + - - - true - - - - - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + true + + + + + + + - - v0.0 - - - _ - + --> + + v0.0 + + + _ + - - - + --> + + + - - - - - - <_EnableDefaultWindowsPlatform>false - false - - - 2.1 - - - - - - - - - - - - - - <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> - - - @(_ValidTargetPlatformVersion) - - - - - true - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None - - - + --> + + + + + + <_EnableDefaultWindowsPlatform>false + false + + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - + in the project file, the specified value will be used for the exclude. --> + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + - - true - - - true - + Configuration-specific PropertyGroup), so in that case we won't append to it by default. --> + + true + + + true + - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ - + --> + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + - - - - true - - false - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - +--> + + + + true + + false + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + - - + --> + + +--> - - +--> + + - - - - - - +--> + + + + +--> - - true - - - <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true - WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ - - - true - $(WasmNativeWorkload) - - - false - false - - - - - - +C:\Program Files\dotnet\sdk-manifests\6.0.300\microsoft.net.sdk.ios\WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + +--> - - - - +--> + + + + +--> - - - - +--> + + + + +--> - - - - +--> + + + + + + +--> - - - - - +--> + + + + +--> - - 6.0.5 - true - - - - true - $(WasmNativeWorkload) - - - false - false - - - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(RuntimePackInWorkloadVersion) - - - - - - - - - - - - - - +C:\Program Files\dotnet\sdk-manifests\6.0.300\microsoft.net.workload.emscripten\WorkloadManifest.targets +============================================================================================================================================ +--> + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + +--> - - - - +C:\Program Files\dotnet\sdk-manifests\6.0.300\microsoft.net.workload.mono.toolchain\WorkloadManifest.targets +============================================================================================================================================ +--> + + 6.0.4 + true + + + + true + $(WasmNativeWorkload) + + + false + false + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(RuntimePackInWorkloadVersion) + + + + + + + + + + + + + + - - - - - - +--> + + + + + + - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + - - - - - - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> - - + need to be set to "true" to avoid requiring restore (which would likely fail if the required workloads aren't already installed).--> + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + +--> + --> +--> +--> - - <_UsingDefaultRuntimeIdentifier>true - win7-x64 - win7-x86 - - - $(NETCoreSdkPortableRuntimeIdentifier) - - - <_UsingDefaultPlatformTarget>true - - - - - - - x86 - - - - - x64 - - - - - arm - - - - - arm64 - - - - - AnyCPU - - - + --> + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + - - <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - true - false - <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false - <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true - true - false - - - - $(NETCoreSdkRuntimeIdentifier) - win-x64 - win-x86 - win-arm - win-arm64 - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - - - - - + --> + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + - - - - - - - - - - - - - - - - - - - - + because we do not want the behavior to be a breaking change compared to version 3.0 --> + + + + + + + + + + + + + + + + + + + + - - - true - + Configuration-specific PropertyGroup), so in that case we won't append to it by default. --> + + + true + - - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ - - + --> + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + - - - - - + --> + + + + + - +--> + +--> - - - true - +--> + + + true + - - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0" /> - - - - + --> + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0" /> + + + + - - - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true - - - - true - true - true - - - true - - - - true +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.BeforeCommon.targets +============================================================================================================================================ +--> + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true - true - - .dll + runtime minor version roll-forward: https://github.com/dotnet/core-setup/issues/3546 --> + true + + .dll - false - - - - $(PreserveCompilationContext) - - - - publish - - $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ - $(OutputPath)$(PublishDirName)\ - + is not needed for NETStandard or NETCore since references come from NuGet packages--> + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + --> +--> - - <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder - <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true - <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs - - - $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) - - - $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) - +--> + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + - - <_SDKImplicitReference Include="System" /> - <_SDKImplicitReference Include="System.Data" /> - <_SDKImplicitReference Include="System.Drawing" /> - <_SDKImplicitReference Include="System.Xml" /> +--> + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> - - <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - - <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> - - <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - + such if the parse succeeds. --> + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + <_SDKImplicitReference Include="System.Net.Http" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' "/>--> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> - <_SDKImplicitReference Remove="@(Reference)" /> - - - - - - false - - - $(AssetTargetFallback);net461;net462;net47;net471;net472;net48 - - - - <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET - $(_FrameworkIdentifierForImplicitDefine) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET - <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) - <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) - <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) - $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) - $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - - - - - <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) - <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) - - - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> - - - - - - <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - - - - - - <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> - - - - - - $(DefineConstants);@(_ImplicitDefineConstant) - $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') - - - - - false - true - - - $(AssemblyName).xml - $(IntermediateOutputPath)$(AssemblyName).xml - - - - - - true - true - true - - - - - - - true - + NuGet package, you can just add the Reference to your project file. --> + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + - - $(MSBuildToolsPath)\Microsoft.CSharp.targets - $(MSBuildToolsPath)\Microsoft.VisualBasic.targets - $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets +--> + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets - $(MSBuildToolsPath)\Microsoft.Common.targets - + languages could either be supplied via an SDK or via a NuGet package. --> + $(MSBuildToolsPath)\Microsoft.Common.targets + + using Sdk attribute (from .NET Core Sdk 1.0.0-preview4) --> +--> +--> +--> +--> - - true - + --> + + true + - - Properties - - - $(Configuration.ToUpperInvariant()) +--> + + Properties + + + $(Configuration.ToUpperInvariant()) - $(ImplicitConfigurationDefine.Replace('-', '_')) - $(ImplicitConfigurationDefine.Replace('.', '_')) - $(DefineConstants);$(ImplicitConfigurationDefine) - + --> + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + - - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.FSharp.DesignTime.targets - - - + *************************************************************************************************************** --> + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.FSharp.DesignTime.targets + + + - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.targets - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.targets - + *************************************************************************************************************** --> + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.targets + - +--> + - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - true - true - true - true - true - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - - <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" Condition=" '$(NoStdLib)' != 'true' " /> - - - mscorlib - netcore - netstandard - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + true + true + true + true + true + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" Condition=" '$(NoStdLib)' != 'true' " /> + + + mscorlib + netcore + netstandard + - +--> + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildThisFileDirectory)FSharp.Build.dll - - - - - - - - - - - true - true - - - - .fs - F# - Managed - $(Optimize) - Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier) - - RootNamespace - false - $(Prefer32Bit) - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildThisFileDirectory)FSharp.Build.dll + + + + + + + + + + + true + true + + + + .fs + F# + Managed + $(Optimize) + Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier) + + RootNamespace + false + $(Prefer32Bit) + - - true - - - $(Fsc_NetFramework_ToolPath) - $(Fsc_NetFramework_AnyCpu_ToolExe) - $(Fsc_NetFramework_X86_ToolExe) - - - - $(Fsc_Dotnet_ToolPath) - $(Fsc_Dotnet_ToolExe) - "$(Fsc_Dotnet_DotnetFscCompilerPath)" - - - - false - true - + --> + + true + + + $(Fsc_NetFramework_ToolPath) + $(Fsc_NetFramework_AnyCpu_ToolExe) + $(Fsc_NetFramework_X86_ToolExe) + + + + $(Fsc_Dotnet_ToolPath) + $(Fsc_Dotnet_ToolExe) + "$(Fsc_Dotnet_DotnetFscCompilerPath)" + + + + false + true + - - - - - false - true - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - _ComputeNonExistentFileProperty - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + false + true + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + _ComputeNonExistentFileProperty + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - --simpleresolution $(OtherFlags) - $(OtherFlags) - - - - - - - - <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> - - - + --> + + + + + + + + + + + --simpleresolution $(OtherFlags) + $(OtherFlags) + + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + +--> - - $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets - +--> + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + +--> - - - true - true - true - true - - - - - - - 10.0 - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets - - - - - Managed - +--> + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + - - .NETFramework - v4.0 - - - - Any CPU,x86,x64,Itanium - Any CPU,x86,x64 - - - - - - - true - - true - - - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) - - $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + Native apps) because they do not target a .NET Framework. --> + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) - $(MSBuildFrameworkToolsPath) - - - Windows - 7.0 - $(TargetPlatformSdkRootOverride)\ - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - $(TargetPlatformSdkPath)Windows Metadata - $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral - $(TargetPlatformSdkMetadataLocation) - true - $(WinDir)\System32\WinMetadata - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - + we need to find a directory which does contain mscorlib to allow the inproc compiler to initialize and give us the chance to show certain dialogs in the IDE (which only happen after initialization).--> + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + - - - <_OriginalPlatform>$(Platform) - - <_OriginalConfiguration>$(Configuration) - - <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true - - true - - - AnyCPU - $(Platform) - Debug - $(Configuration) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(TargetType) - library - exe - true - - <_DebugSymbolsProduced>false - <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false - <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false - <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false - - <_DocumentationFileProduced>true - <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false - - false - + --> + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + - + --> + - <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true - <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true - + --> + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + - - .exe - .exe - .exe - .dll - .netmodule - .winmdobj - - - - true - $(OutputPath) - - - $(OutDir)\ - $(MSBuildProjectName) - - - $(OutDir)$(ProjectName)\ - $(MSBuildProjectName) - $(RootNamespace) - $(AssemblyName) - - $(MSBuildProjectFile) - - $(MSBuildProjectExtension) - - $(TargetName).winmd - $(WinMDExpOutputWindowsMetadataFilename) - $(TargetName)$(TargetExt) - - - + --> + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + - <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true - $(_DeploymentPublishableProjectDefault) - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest - - $(AssemblyName).application - - $(AssemblyName).xbap - - $(GenerateManifests) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days - <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) - <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - 100 - - + --> + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + - * - $(UICulture) - - - - <_OutputPathItem Include="$(OutDir)" /> - <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> - <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> - - - + --> + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + - $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) - - $(TargetDir)$(TargetFileName) - $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) - - $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) - - $(ProjectDir)$(ProjectFileName) - - - - - + --> + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + - - *Undefined* - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - - - true - - true - - - true - false - - - $(MSBuildProjectFile).FileListAbsolute.txt - - false - - true - true - <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false - <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true - false - false - - - <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config - - - - - - - - - - - - - - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> - - - $(IntermediateOutputPath)$(TargetName).pdb - <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) - - - $(IntermediateOutputPath)$(TargetName).xml - <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) - - - <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) - <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) - - - - <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> - $(TargetFileName) - - - - <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> - $(ApplicationIcon) - - - - $(_DeploymentTargetApplicationManifestFileName) - + --> + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + - <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> - $(_DeploymentTargetApplicationManifestFileName) - - - - $(TargetDeployManifestFileName) - - - <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> - + references and for copying to the publish output location. --> + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + - - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) - <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> - <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + --> + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) - <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> - <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> - - - - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) - <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) - - - - $(PublishDir)\ - $(OutputPath)app.publish\ - + --> + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + - + --> + - $(PlatformTarget) + --> + $(PlatformTarget) - msil - amd64 - ia64 - x86 - arm - - - true - - - - $(Platform) - msil - amd64 - ia64 - x86 - arm - - None - $(PROCESSOR_ARCHITECTURE) - + --> + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + - - CLR2 - CLR4 - CurrentRuntime - true - false - $(PlatformTarget) - x86 - x64 - CurrentArchitecture - - - - Client - + If support for out-of-proc task execution is added on other runtimes, make sure each task's logic is checked against the current state of support. --> + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + - - false - - - - - true - true - false - + --> + + false + + + + + true + true + false + - - AssemblyFoldersEx - Software\Microsoft\$(TargetFrameworkIdentifier) - Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) - $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config - {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> .winmd; .dll; .exe - + + --> .pdb; .xml; .pri; .dll.config; .exe.config - + - Full - - + --> + Full + + - {CandidateAssemblyFiles} - $(AssemblySearchPaths);$(ReferencePath) - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) - $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} - $(AssemblySearchPaths);{AssemblyFolders} - $(AssemblySearchPaths);{GAC} - $(AssemblySearchPaths);{RawFileName} - $(AssemblySearchPaths);$(OutDir) - + --> + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + - - false - - - - $(NoWarn) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - - - - $(MSBuildThisFileDirectory)$(LangName)\ - - - - $(MSBuildThisFileDirectory)en-US\ - - - - - Project - - - BrowseObject - - - File - - - Invisible - - - File;BrowseObject - - - File;ProjectSubscriptionService - - - - $(DefineCommonItemSchemas) - - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - - - - - - Never - - - Never - - - Never - - - Never - - + typically expect --> + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + - - - true - + --> + + + true + - - - <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath - - + --> + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + - - - <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. - - - - - - - - - + --> + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + - - x86 - + correct value when we're trying to figure out PlatformTargetAsMSBuildArchitecture --> + + x86 + - + --> + - - + --> + + - + --> + BeforeBuild; CoreBuild; AfterBuild - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -3584,52 +3584,52 @@ Copyright (C) Microsoft Corporation. All rights reserved. UnmanagedRegistration; IncrementalClean; PostBuildEvent - - - - - - + + + + + + - - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + --> + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build BeforeRebuild; Clean; $(_ProjectDefaultTargets); AfterRebuild; - + BeforeRebuild; Clean; Build; AfterRebuild; - - - + + + - + --> + - + --> + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - + --> + - - - - - - - - + --> + + + + + + + + + --> - - false - - - - true - - + --> + + false + + + + true + + + --> - - $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata - - - - - $(TargetFileName).config - - - - - - - - - - + --> + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + - - @(_TargetFramework40DirectoryItem) - @(_TargetFramework35DirectoryItem) - @(_TargetFramework30DirectoryItem) - @(_TargetFramework20DirectoryItem) - - @(_TargetFramework20DirectoryItem) - @(_TargetFramework40DirectoryItem) - @(_TargetedFrameworkDirectoryItem) - @(_TargetFrameworkSDKDirectoryItem) - - - - + --> + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + - - - - - - - - - - - - - $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) - $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) - + --> + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + - - true - - - $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) - - - - - - - $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) - - - - - - - - - + resolving from the assemblyfolders global location if we are not acutally targeting a framework--> + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + - + E.g "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0.1\;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\" --> + - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - + --> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + --> - - - - - - + --> + + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + --> - + --> + - + --> + BeforeResolveReferences; AssignProjectConfiguration; @@ -3972,25 +3972,25 @@ Copyright (C) Microsoft Corporation. All rights reserved. GenerateBindingRedirects; ResolveComReferences; AfterResolveReferences - - - + + + - + --> + - + --> + - - - true - true - false + --> + + + true + true + false - false - - true - - - - - - - - - - - <_ProjectReferenceWithConfiguration> - true - true - - - true - true - - - + want this to happen, so just turn off synthetic project reference generation for Silverlight projects. --> + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + - + --> + - - - - + --> + + + + - - <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> - - - - <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> - <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> - - + --> + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + - - true - + --> + + true + - - - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> - true - - - - <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - - - - - <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> - - x86=Win32 - - - <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> - Win32=x86 - - - - - + Configuration information. --> + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + - - - - Platform=%(ProjectsWithNearestPlatform.NearestPlatform) - - - - %(ProjectsWithNearestPlatform.UndefineProperties);Platform - - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> - - + that can't multiplatform. --> + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + - + --> + - - $(NuGetTargetMoniker) - $(TargetFrameworkMoniker) - + --> + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> - true - %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework - - + --> + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> - true - - + --> + true + + - - - - + --> + + + + - <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> - <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> - <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> - - + --> + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + - - - - - - - + that we are using a version of NuGet which supports that parameter on this task. --> + + + + + + + - - - - TargetFramework=%(AnnotatedProjects.NearestTargetFramework) - + --> + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + - - %(AnnotatedProjects.UndefineProperties);TargetFramework - - - - %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier - + --> + + %(AnnotatedProjects.UndefineProperties);TargetFramework + + + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier + - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> - - - - - - - - - <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> - @(_TargetFrameworkInfo) - @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') - @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') - $(_AdditionalPropertiesFromProject) - true - - false - true - - true - $(Platforms) + --> + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + + false + true + + true + $(Platforms) - @(ProjectConfiguration->'%(Platform)'->Distinct()) - - - - - - <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> - $(%(AdditionalTargetFrameworkInfoProperty.Identity)) - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false - - - - - - <_TargetFrameworkInfo Include="$(TargetFramework)"> - $(TargetFramework) - $(TargetFrameworkMoniker) - $(TargetPlatformMoniker) - None - $(_AdditionalTargetFrameworkInfoProperties) - - - + Build the `Platforms` property from that. --> + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) + + + - + --> + - + --> + AssignProjectConfiguration; _SplitProjectReferencesByFileExistence; _GetProjectReferenceTargetFrameworkProperties; _GetProjectReferencePlatformProperties - - - + + + - - - - - $(ProjectReferenceBuildTargets) - - - ProjectReference - - - + --> + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + - - - - + --> + + + + - - - - + --> + + + + - - - - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + --> + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> - <_ResolvedProjectReferencePaths> - %(_ResolvedProjectReferencePaths.OriginalItemSpec) - - - - - - + --> + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + - - <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> - %(ReferencePath.ProjectReferenceOriginalItemSpec) - - - - + --> + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + - - $(GetTargetPathDependsOn) - - + --> + + $(GetTargetPathDependsOn) + + - - $(GetTargetPathDependsOn) - + --> + + $(GetTargetPathDependsOn) + - - - - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion.TrimStart('vV')) - $(TargetRefPath) - @(CopyUpToDateMarker) - - - + BeforeTargets. --> + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + - - - - %(_ApplicationManifestFinal.FullPath) - - - + --> + + + + %(_ApplicationManifestFinal.FullPath) + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + ResolveProjectReferences; FindInvalidProjectReferences; @@ -4553,69 +4553,69 @@ Copyright (C) Microsoft Corporation. All rights reserved. PrepareForBuild; ResolveSDKReferences; ExpandSDKReferences; - - - - - <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> - + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + - - $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache - - - - <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> - - - - <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false - true - false - Warning - $(BuildingProject) - $(BuildingProject) - $(BuildingProject) - false - - + --> + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + - - - true - - + ide will show one of the references as not resolved, this will not break the build but is a display issue --> + + + true + + - - false - true - - - - - - - - - - - - - - - - - + --> + + false + true + + + + + + + + + + + + + + + + + - - + --> + + - - %(FullPath) - - - %(ReferencePath.Identity) - - - - + assembly unless already specified. --> + + %(FullPath) + + + %(ReferencePath.Identity) + + + + - - - - - + --> + + + + + - - - $(_GenerateBindingRedirectsIntermediateAppConfig) - - - - - $(TargetFileName).config - - - + --> + + + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + - - Software\Microsoft\Microsoft SDKs - $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs - - $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 - - true - Windows - 8.1 - - false - WindowsPhoneApp - 8.1 - - - - - - - - - - - - - + --> + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + - + --> + GetInstalledSDKLocations - - - - Debug - Retail - Retail - $(ProcessorArchitecture) - Neutral - - - true - - - - - - - - - - - - + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + - + --> + GetReferenceTargetPlatformMonikers - - - - - - - - <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> - - - - - - - + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + - + --> + ResolveSDKReferences - + .winmd; .dll - - - - - - - - - - - + + + + + + + + + + + - - - - false - false - false - $(TargetFrameworkSDKToolsDirectory) - true - - - - - - - - - - - - - - - <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> - - - + --> + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -4873,8 +4873,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(TargetDir) - - + + - + --> + GetFrameworkPaths; GetReferenceAssemblyPaths; ResolveReferences - - - - - <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - - - $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache - - + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -4915,29 +4915,29 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(OutDir) - - - - false - false - false - false - false - true - false - - - <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> - - - <_RARResolvedReferencePath Include="@(ReferencePath)" /> - - - - - - - + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + - - false - - - - $(IntermediateOutputPath) - - + --> + + false + + + + $(IntermediateOutputPath) + + - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - false - - - - - - - - - - - - - - + --> + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + - + --> + + --> - + --> + $(PrepareResourcesDependsOn); PrepareResourceNames; ResGen; CompileLicxFiles - - - + + + - + --> + AssignTargetPaths; SplitResourcesByCulture; CreateManifestResourceNames; CreateCustomManifestResourceNames - - - + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + - + --> + - - - - - - - <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> - - - Resx - - - Non-Resx - - - - - - - - - + --> + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + - - - - - - Resx - - - Non-Resx - - - - - - - - - - - - <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> - <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> - - + i.e. either Licx, or resources that don't have culture info --> + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + - - - - + --> + + + + - - ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen - FindReferenceAssembliesForReferences - true - false - - + --> + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + - + --> + - + --> + - - - <_Temporary Remove="@(_Temporary)" /> - - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - - + --> + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - true - - - true - - - - true - - - true - - - + suddenly start failing to build.--> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + --> - - - - - - - + --> + + + + + + + + --> - + --> + ResolveReferences; ResolveKeySource; @@ -5331,96 +5331,96 @@ Copyright (C) Microsoft Corporation. All rights reserved. CoreCompile; _TimeStampAfterCompile; AfterCompile; - - - + + + - - - - - - <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> - - <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> - Resx - false - - <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - false - - - + --> + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + - - - true - $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) - - - true - - - - - + --> + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + - - - - - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + + + - - true - - - - - - - - - - + --> + + true + + + + + + + + + + - + --> + - + --> + - - - <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + - - - $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + - - - <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + - - - __NonExistentSubDir__\__NonExistentFile__ - - + --> + + + __NonExistentSubDir__\__NonExistentFile__ + + - - <_SGenDllName>$(TargetName).XmlSerializers.dll - <_SGenDllCreated>false - <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) - <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto - <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off - true - false - true - + --> + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - + --> + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + --> - + --> + _GenerateSatelliteAssemblyInputs; ComputeIntermediateSatelliteAssemblies; GenerateSatelliteAssemblies - - - + + + - - - - - - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> - - <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> - Resx - true - - <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - true - - - + --> + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + - - - <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) - - - - - - + --> + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + - + --> + CreateManifestResourceNames - - - - - - %(EmbeddedResource.Culture) - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - - - + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + - - $(Win32Manifest) - + --> + + $(Win32Manifest) + - - - + --> + + + - <_DeploymentBaseManifest>$(ApplicationManifest) - <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + property is set though, prefer that one be used to specify the manifest. --> + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) - true - - - - - $(ApplicationManifest) - $(ApplicationManifest) - - - - - - $(_FrameworkVersion40Path)\default.win32manifest - - + a manifest to their built assemblies --> + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + --> - + --> + SetWin32ManifestProperties; GenerateApplicationManifest; GenerateDeploymentManifest - - + + - - - <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> - - - - - - + --> + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + - - - - - - - - - <_DeploymentCopyApplicationManifest>true - - + --> + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + - - - <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) - <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) - - + --> + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) - <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) - - - - - - - + --> + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + - - - <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> - <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> - - + --> + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + - - - - - - - <_DeploymentManifestType>Native - - - - - - - <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') - - - + --> + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + CleanPublishFolder; _DeploymentGenerateTrustInfo $(DeploymentComputeClickOnceManifestInfoDependsOn) - - + + - - - - <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - - - <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> - <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> - - - - <_SatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> - <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> - true - - <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> - - - - <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_SatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> - - - + --> + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + + <_SatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_SatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + - <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> - - - - <_ClickOnceFiles Include="$(PublishedSingleFilePath)" /> - <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> - - <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> - - - + --> + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + - - <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> - <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> - - - + --> + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + - - - - - - - - - - - - - - - <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> - - - <_DeploymentManifestType>ClickOnce - + This is being done to avoid Windows Forms designer memory issues that can arise while operating directly on files located in Obj directory. --> + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + - - <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) - - - - - - - - - - - - - - - + --> + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - true - false - + --> + + true + false + - + --> + CopyFilesToOutputDirectory - - - + + + - - - false - false - - - - - false - false - false - - - true - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - false - false - - - - - - + --> + + + + false + false + + + + + + - - - - - + input to projects that reference this one. --> + + + + + - + --> + - - <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + --> + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence - true + --> + true <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> AssignProjectConfiguration; _SplitProjectReferencesByFileExistence - + AssignTargetPaths; $(_TargetsThatPrepareProjectReferences); _GetProjectReferenceTargetFrameworkProperties; _PopulateCommonStateForGetCopyToOutputDirectoryItems - + - <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems - - <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject - - + --> + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + - - <_GCTODIKeepDuplicates>false - <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> - - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - - <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> - - + a non-empty value and the original behavior will be restored. --> + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + - - - - %(CopyToOutputDirectory) - - - + --> + + + + %(CopyToOutputDirectory) + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - - - - - - - - - - - - + --> + + + + + + + + + + + + - - - - - - - - - <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false - - - - - - - <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false - - - - - + --> + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + - - - - <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true - - - - - + --> + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + --> - - - - <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> - - - - - - - - - - - - - + --> + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + - - <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> - - - - - - - - + the current final output and intermediate output directories. --> + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + - - - - - + --> + + + + + - - - + --> + + + - - <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - + --> + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - - - - - - + --> + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + --> - + --> + BeforeClean; UnmanagedUnregistration; @@ -6559,81 +6559,81 @@ Copyright (C) Microsoft Corporation. All rights reserved. CleanReferencedProjects; CleanPublishFolder; AfterClean - - - + + + - + --> + - + --> + - + --> + - - + --> + + - - - - + --> + + + + - - - - - - - - - - - - - - - - - - - - <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> - - - - - - - - - - + Declare items of this type if you want Clean to delete them. --> + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + - + --> + - - - - - - - - + --> + + + + + + + + - - - + --> + + + + --> - - - - - - + --> + + + + + + + --> - + --> + SetGenerateManifests; Build; PublishOnly - + _DeploymentUnpublishable - - - + + + - - - + --> + + + - - - - - true - - + --> + + + + + true + + - + --> + SetGenerateManifests; PublishBuild; @@ -6765,33 +6765,33 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; _DeploymentSignClickOnceDeployment; AfterPublish - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -6800,77 +6800,77 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; GenerateSerializationAssemblies; CreateSatelliteAssemblies; - - - + + + - + --> + - - - - - <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) - <_DeploymentApplicationDir>$(PublishDir)$(_DeploymentApplicationFolderName)\ - - - - false - false - - - - - - - - - - - - - - - - - + This is done because some servers misinterpret "." as a file extension. --> + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(PublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + - - - - + --> + + + + - - - - - - - - - - + --> + + + + + + + + + + + --> - + --> + - - - true - $(TargetPath) - $(TargetFileName) - true - - - - - - true - $(TargetPath) - $(TargetFileName) - - + --> + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + - - PrepareForBuild - true - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> - $(TargetDir)$(TargetFileName).config - $(TargetFileName).config - - $(AppConfig) - - - - <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> - <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="'@(NativeReference)'!='' or '@(_IsolatedComReference)'!=''"> - $(_DeploymentTargetApplicationManifestFileName) - - $(OutDir)$(_DeploymentTargetApplicationManifestFileName) - - - - - - - %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) - - - + --> + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="'@(NativeReference)'!='' or '@(_IsolatedComReference)'!=''"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + - - - - - - @(_DebugSymbolsOutputPath->'%(FullPath)') - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputPdbItem->'%(FullPath)') - @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + - - - - - - @(FinalDocFile->'%(FullPath)') - true - @(DocFileItem->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputDocItem->'%(FullPath)') - @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + - - PrepareForBuild;PrepareResourceNames - - - - - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - %(EmbeddedResource.Culture) - - - - - - $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) - - %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) - - - + --> + + PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - - - - - - $(MSBuildProjectFullPath) - $(ProjectFileName) - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + - - - - - - @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') - $(_SGenDllName) - - - + --> + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + - - + --> + + - - - + Needed for certain build environments that import partial sets of targets. --> + + + - - - - - - - - ResolveSDKReferences;ExpandSDKReferences - + --> + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + - - - - - - + --> + + + + + + + --> - + --> + $(CommonOutputGroupsDependsOn); BuildOnlySettings; PrepareForBuild; AssignTargetPaths; ResolveReferences - - + + - + --> + - + --> + $(BuiltProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - + + + + + + + - + --> + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(DocumentationProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SGenFilesOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(ReferenceCopyLocalPathsOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - + --> + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - + + + + --> - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets - - - - - - true - - - - - - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets - - - + retrieve them. --> + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets - - - - - - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets - $(MSBuildToolsPath)\NuGet.targets - + --> + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + +--> - - - true - - NuGet.Build.Tasks.dll - - false - - true - true - - false - - WarnAndContinue - - $(BuildInParallel) - true - - <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true - - $(MSBuildInteractive) - - true - - true - - <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true - - - - <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + --> + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + skipped. --> <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); NuGetRestoreTargets=$(MSBuildThisFileFullPath); RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); - - + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); _RestoreSolutionFileUsed=true; @@ -7434,55 +7434,55 @@ Copyright (c) .NET Foundation. All rights reserved. SolutionFileName=$(SolutionFileName); SolutionPath=$(SolutionPath); SolutionExt=$(SolutionExt); - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - + --> + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + - + --> + - + --> + - - - <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> - - + --> + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + - - - exclusionlist - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> - - - - - - - - - - - - - - - - - + --> + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + - - - - - - <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> - <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> - - - - - - - - - - + --> + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + - - - + --> + + + - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> - RestoreSpec - $(MSBuildProjectFullPath) - - - + --> + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + - - - netcoreapp1.0 - - - - - - + --> + + + netcoreapp1.0 + + + + + + - - - - - - - + --> + + + + + + + - + --> + - - <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true - - - <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true - - - - - - - <_HasPackageReferenceItems /> - - + --> + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + - - - true - - + --> + + + true + + - - - <_RestoreProjectFramework /> - - - - - - - <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> - - + --> + + + <_RestoreProjectFramework /> + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + - - - <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> - - + --> + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + - - - $(SolutionDir) - - - - - - - - - - + --> + + + $(SolutionDir) + + + + + + + + + + - + --> + - - - - - - + --> + + + + + + - - - <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> - $(RestoreAdditionalProjectSources) - $(RestoreAdditionalProjectFallbackFolders) - $(RestoreAdditionalProjectFallbackFoldersExcludes) - - - + --> + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + - - - - $(MSBuildProjectExtensionsPath) - - - - + --> + + + + $(MSBuildProjectExtensionsPath) + + + + - - <_RestoreProjectName>$(MSBuildProjectName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) - + --> + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + - - <_RestoreProjectVersion>1.0.0 - <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) - <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) - - - - <_RestoreCrossTargeting>true - - - - <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(_RestoreProjectVersion) - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(RestoreProjectStyle) - $(RestoreOutputAbsolutePath) - $(RuntimeIdentifiers);$(RuntimeIdentifier) - $(RuntimeSupports) - $(_RestoreCrossTargeting) - $(RestoreLegacyPackagesDirectory) - $(ValidateRuntimeIdentifierCompatibility) - $(_RestoreSkipContentFileWrite) - $(_OutputConfigFilePaths) - $(TreatWarningsAsErrors) - $(WarningsAsErrors) - $(NoWarn) - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) - $(CentralPackageVersionOverrideEnabled) - $(CentralPackageTransitivePinningEnabled) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(RestoreOutputAbsolutePath) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(_CurrentProjectJsonPath) - $(RestoreProjectStyle) - $(_OutputConfigFilePaths) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - $(MSBuildProjectDirectory)\packages.config - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - $(_OutputSources) - $(SolutionDir) - $(_OutputRepositoryPath) - $(_OutputConfigFilePaths) - $(_OutputPackagesPath) - @(_RestoreTargetFrameworksOutputFiltered) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - @(_RestoreTargetFrameworksOutputFiltered) - - - + --> + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + - - - + --> + + + - + --> + - - - - - - - + --> + + + + + + + - + --> + - - - - - - - - - - - - - - - - - - - - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - TargetFrameworkInformation - $(MSBuildProjectFullPath) - $(PackageTargetFallback) - $(AssetTargetFallback) - $(TargetFramework) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion) - $(TargetFrameworkMoniker) - $(TargetFrameworkProfile) - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetPlatformVersion) - $(TargetPlatformMinVersion) - $(CLRSupport) - $(RuntimeIdentifierGraphPath) - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + + + - + --> + - - - - - - - <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> - - + --> + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + - - - - - - + --> + + + + + + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - - - - - - - - <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> - - - - - - + --> + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + - - - <_RestorePackagesPathOverride>$(RestorePackagesPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + - - - <_RestorePackagesPathOverride>$(RestoreRepositoryPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + - - - <_RestoreSourcesOverride>$(RestoreSources) - - + --> + + + <_RestoreSourcesOverride>$(RestoreSources) + + - - - <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) - - + --> + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + - - - <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> - - + --> + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + - + --> + - +--> + +--> - - $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets - +--> + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + +--> - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - $(MSBuildThisFileDirectory)\tools\net6.0\Microsoft.NET.Build.Extensions.Tasks.dll - $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll - - true - - - - +--> + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net6.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + +--> +--> +--> - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + +--> - - - Microsoft.TestPlatform.Build.dll - $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) - - - +--> + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +--> - +--> + +--> - - true - - - - true - + --> + + true + + + + true + - - <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets - <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) - - + --> + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + +--> + --> - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + $(AdditionalSourcesText) namespace Microsoft.BuildSettings [<System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName="$(TargetFrameworkMonikerDisplayName)")>] do () - - + + - - - - <_FsGeneratedTfmAttributesSource Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" /> - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + <_FsGeneratedTfmAttributesSource Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" /> + + - - - <_OldRootSdkLocation>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp - $(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\FSharpSdk - <_CoreRelativeSuffix>.NETCore\$(TargetFSharpCoreVersion)\FSharp.Core.dll - <_FrameworkRelativeSuffix>.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll - <_PortableRelativeSuffix>.NETPortable\$(TargetFSharpCoreVersion)\FSharp.Core.dll - - <_OldCoreSdkPath>$(_OldRootSdkLocation)\$(_CoreRelativeSuffix) - <_NewCoreSdkPath>$(NewFSharpSdkLocation)\$(_CoreRelativeSuffix) - - <_OldFrameworkSdkPath>$(_OldRootSdkLocation)\$(_FrameworkRelativeSuffix) - <_NewFrameworkSdkPath>$(NewFSharpSdkLocation)\$(_FrameworkRelativeSuffix) - - <_OldPortableSdkPath>$(_OldRootSdkLocation)\$(_PortableRelativeSuffix) - <_NewPortableSdkPath>$(NewFSharpSdkLocation)\$(_PortableRelativeSuffix) - - - - - $(_NewCoreSdkPath) - - - - $(_NewFrameworkSdkPath) - - - - $(_NewPortableSdkPath) - - - - - - <_OldRefAssemTPLocation>Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\Type Providers\FSharp.Data.TypeProviders.dll - <_OldSdkTPLocationPrefix>$(MSBuildProgramFiles32)\Microsoft SDKs\F# - <_OldSdkTPLocationSuffix>Framework\v4.0\FSharp.Data.TypeProviders.dll - - - - - - - - - + --> + + + <_OldRootSdkLocation>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp + $(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\FSharpSdk + <_CoreRelativeSuffix>.NETCore\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_FrameworkRelativeSuffix>.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_PortableRelativeSuffix>.NETPortable\$(TargetFSharpCoreVersion)\FSharp.Core.dll + + <_OldCoreSdkPath>$(_OldRootSdkLocation)\$(_CoreRelativeSuffix) + <_NewCoreSdkPath>$(NewFSharpSdkLocation)\$(_CoreRelativeSuffix) + + <_OldFrameworkSdkPath>$(_OldRootSdkLocation)\$(_FrameworkRelativeSuffix) + <_NewFrameworkSdkPath>$(NewFSharpSdkLocation)\$(_FrameworkRelativeSuffix) + + <_OldPortableSdkPath>$(_OldRootSdkLocation)\$(_PortableRelativeSuffix) + <_NewPortableSdkPath>$(NewFSharpSdkLocation)\$(_PortableRelativeSuffix) + + + + + $(_NewCoreSdkPath) + + + + $(_NewFrameworkSdkPath) + + + + $(_NewPortableSdkPath) + + + + + + <_OldRefAssemTPLocation>Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\Type Providers\FSharp.Data.TypeProviders.dll + <_OldSdkTPLocationPrefix>$(MSBuildProgramFiles32)\Microsoft SDKs\F# + <_OldSdkTPLocationSuffix>Framework\v4.0\FSharp.Data.TypeProviders.dll + + + + + + + + + - - $(MSBuildProjectFullPath) - - - $(TargetsForTfmSpecificContentInPackage);PackageFSharpDesignTimeTools - - - $(RestoreAdditionalProjectSources);$(_FSharpCoreLibraryPacksFolder) - - - - - - - - - - - fsharp41 - tools - - - - - <_ResolvedOutputFiles Include="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/*" Exclude="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/FSharp.Core.dll;%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/System.ValueTuple.dll" Condition="'%(_ResolvedProjectReferencePaths.IsFSharpDesignTimeProvider)' == 'true'"> - %(_ResolvedProjectReferencePaths.NearestTargetFramework) - - <_ResolvedOutputFiles Include="@(BuiltProjectOutputGroupKeyOutput)" Condition=" '$(IsFSharpDesignTimeProvider)' == 'true' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'FSharp.Core.dll' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'System.ValueTuple.dll' "> - $(TargetFramework) - - - $(FSharpToolsDirectory)/$(FSharpDesignTimeProtocol)/%(_ResolvedOutputFiles.NearestTargetFramework)/%(_ResolvedOutputFiles.FileName)%(_ResolvedOutputFiles.Extension) - - - +C:\Program Files\dotnet\sdk\6.0.300\FSharp\Microsoft.FSharp.NetSdk.targets +============================================================================================================================================ +--> + + $(MSBuildProjectFullPath) + + + $(TargetsForTfmSpecificContentInPackage);PackageFSharpDesignTimeTools + + + $(RestoreAdditionalProjectSources);$(_FSharpCoreLibraryPacksFolder) + + + + + + + + + + + fsharp41 + tools + + + + + <_ResolvedOutputFiles Include="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/*" Exclude="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/FSharp.Core.dll;%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/System.ValueTuple.dll" Condition="'%(_ResolvedProjectReferencePaths.IsFSharpDesignTimeProvider)' == 'true'"> + %(_ResolvedProjectReferencePaths.NearestTargetFramework) + + <_ResolvedOutputFiles Include="@(BuiltProjectOutputGroupKeyOutput)" Condition=" '$(IsFSharpDesignTimeProvider)' == 'true' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'FSharp.Core.dll' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'System.ValueTuple.dll' "> + $(TargetFramework) + + + $(FSharpToolsDirectory)/$(FSharpDesignTimeProtocol)/%(_ResolvedOutputFiles.NearestTargetFramework)/%(_ResolvedOutputFiles.FileName)%(_ResolvedOutputFiles.Extension) + + + + --> - - true - + --> + + true + - - - <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> - - - - - - - - - + --> + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + - - true - + --> + + true + - + --> + - - - <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> - $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) - $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) - - - + --> + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + - @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) - - + --> + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + +--> +--> - - - TargetFramework - TargetFrameworks - - - true - - +--> + + + TargetFramework + TargetFrameworks + + + true + + - - + --> + + - - - <_MainReferenceTarget Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets - <_MainReferenceTarget Condition="'$(_MainReferenceTarget)' == ''">GetTargetPath - GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) - $(_MainReferenceTarget);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) - GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) - Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) - $(ProjectReferenceTargetsForCleanInOuterBuild);$(ProjectReferenceTargetsForBuildInOuterBuild);$(ProjectReferenceTargetsForRebuildInOuterBuild) - $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) - - - - - - - - - - - + --> + + + <_MainReferenceTarget Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTarget Condition="'$(_MainReferenceTarget)' == ''">GetTargetPath + GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) + $(_MainReferenceTarget);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) + GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) + Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForCleanInOuterBuild);$(ProjectReferenceTargetsForBuildInOuterBuild);$(ProjectReferenceTargetsForRebuildInOuterBuild) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + + + + + + + + + +--> - +--> + +--> +--> +--> - - - $(MSBuildThisFileDirectory)..\tools\ - net6.0 - net472 - $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ - $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll +--> + + + $(MSBuildThisFileDirectory)..\tools\ + net6.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll - Microsoft.NETCore.App;NETStandard.Library - + --> + Microsoft.NETCore.App;NETStandard.Library + - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - $(_IsExecutable) - - - - netcoreapp2.2 - - - false - DotnetTool - $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) - - - Preview - - - - - + --> + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + - +--> + +--> +--> - - - $(MSBuildProjectExtensionsPath)/project.assets.json - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + --> + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) - $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) - - false - - false - - true - $(IntermediateOutputPath)NuGet\ - true - $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) - $(TargetFrameworkMoniker) - true + be stored in a shared directory next to the assets.json file --> + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true - false + TargetDefinitions, FileDefinitions and FileDependencies items. --> + false - true - - - - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) - - - - - + its own multi-targeting logic, or if the current SDK targets will pick the assets correctly. --> + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + - + --> + $(ResolveAssemblyReferencesDependsOn); ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; - + ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; $(PrepareResourcesDependsOn) - - - - - - $(RootNamespace) - - - $(AssemblyName) - - - $(MSBuildProjectDirectory) - - - $(TargetFileName) - - - $(MSBuildProjectFile) - - - + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + - - true - + --> + + true + + --> - + --> + ResolveLockFileReferences; ResolveLockFileAnalyzers; @@ -8932,101 +8932,101 @@ Copyright (c) .NET Foundation. All rights reserved. ResolveRuntimePackAssets; RunProduceContentAssets; IncludeTransitiveProjectReferences - - - + + + + --> - - - - + --> + + + + - + run and created the assets file. --> + - - - - - - - - - - - - - - - - - <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) - roslyn$(_RoslynApiVersion) - - - - - - false - - - true - - - true - - - - true - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + compile errors. --> + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + match the expected version --> + + + + + - - - - - - - - - - - - - - - - <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> - - - <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> - - + (that was spread across different tasks/targets) for backwards compatibility. --> + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + - - - - - - + --> + + + + + + - - - - - - + --> + + + + + + - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + - - - - + but the names depend upon the items themselves. Split it apart. --> + + + + - - + --> + + - - true - + --> + + true + - - + project, use that, in order to preserve metadata (such as aliases). --> + + - - - - - - - - - - - - - - + a reference with a warning. See https://github.com/dotnet/sdk/issues/1499 --> + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> - - <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - - - - + --> + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + - + NETSDK1056. --> + - - +--> + + +--> - - - true - true - true - true - - +--> + + + true + true + true + true + + - - $(DefaultItemExcludes);$(BaseOutputPath)/** - - $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** - - $(DefaultItemExcludes);**/*.user - $(DefaultItemExcludes);**/*.*proj - $(DefaultItemExcludes);**/*.sln - $(DefaultItemExcludes);**/*.vssscc + This is in the .targets because it needs to come after the final BaseOutputPath has been evaluated. --> + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc - $(DefaultItemExcludesInProjectFolder);**/.*/** - + that are in the project folder. --> + $(DefaultItemExcludesInProjectFolder);**/.*/** + - + in the project file. --> + - 1.6.1 - - 2.0.3 - + produced, so we will roll forward to the latest version. --> + 1.6.1 + + 2.0.3 + +--> +--> - - true - false - <_TargetLatestRuntimePatchIsDefault>true - - - true - - - - - all - true - - - all - true - - - - - - - - - - - - + --> + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + - - - - - - - - - + A FrameworkReference to Microsoft.AspNetCore.App should be used instead, and will be implicitly included by Microsoft.NET.Sdk.Web. --> + + + + + + + + + - - - - - - - - - - - - + should be replaced with a FrameworkReference. --> + + + + + + + + + + + + - - $(_TargetFrameworkVersionWithoutV) - - - - - - - - https://aka.ms/sdkimplicitrefs - - - - - - - - - - - <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> - - - - false - - - - - - https://aka.ms/sdkimplicititems - + this should prevent breaking it. --> + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + - - - - - - - - - - - - - - - - - - - - - - - - - - <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> - - - + be easy to miss the duplicate items error which is the real source of the problem. --> + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + +--> - - - + if building with an implicit restore. --> + + + - - + --> + + - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + --> + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - - - - - - - - - - - - + --> + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + +--> +--> - +--> + $(ResolveAssemblyReferencesDependsOn); ResolveTargetingPackAssets; - - - - - - - + + + + + + + - - - - - - - - + we can't do the change atomically --> + + + + + + + + - - - - - - - - - - - true - true - - - <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - - - $(RuntimeIdentifier) - $(DefaultAppHostRuntimeIdentifier) - - - - - - - - - - - true - true - false - - - - [%(_PackageToDownload.Version)] - - - - - - + --> + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + - - - - - - + --> + + + + + + - - - - - - - %(ResolvedTargetingPack.PackageDirectory) - - - - - - - - - - - - - - - - - - - - - - <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> - %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) - - - - - %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) - - - - @(ResolvedAppHostPack->'%(Path)') - - - - %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) - - - - @(ResolvedSingleFileHostPack->'%(Path)') - - - - %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) - - - - @(ResolvedComHostPack->'%(Path)') - - - - %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) - - - - @(ResolvedIjwHostPack->'%(Path)') - - - - - - - - - - + --> + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + - - - - true - false - - - - - - - - - - + --> + + + + true + false + + + + + + + + + + - $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) - - - - - - - - - - + that consume it. --> + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + - - - - - - <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> - - - + --> + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + - - - - - - - - + --> + + + + + + + + - + --> + - - - <_Parameter1>$(UserSecretsId.Trim()) - - - + --> + + + <_Parameter1>$(UserSecretsId.Trim()) + + + - - - - - - $(_IsNETCoreOrNETStandard) - - - true - true - false - true - $(MSBuildProjectDirectory)/runtimeconfig.template.json - true - true - <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache - <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) - - - - - - - - true - - - false - - - $(AssemblyName).deps.json - $(TargetDir)$(ProjectDepsFileName) - $(AssemblyName).runtimeconfig.json - $(TargetDir)$(ProjectRuntimeConfigFileName) - $(TargetDir)$(AssemblyName).runtimeconfig.dev.json - true - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + + + + + $(_IsNETCoreOrNETStandard) + + + true + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + +--> - - - true - true - - - - CurrentArchitecture - CurrentRuntime - - - <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so - <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe - <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) - <_DotNetAppHostExecutableNameWithoutExtension>apphost - <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) - <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost - <_DotNetComHostLibraryNameWithoutExtension>comhost - <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) - <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost - <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) - <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) - <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) - - - - - - <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> - - +--> + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + - - - Microsoft.NETCore.App - - + --> + + + Microsoft.NETCore.App + + - - <_DefaultUserProfileRuntimeStorePath>$(HOME) - <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) - <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) - $(_DefaultUserProfileRuntimeStorePath) - - - true - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + - - true - - - true - - - $(AvailablePlatforms),ARM32 - - - $(AvailablePlatforms),ARM64 - - - $(AvailablePlatforms),ARM64 - - - - false - - + --> + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + _CheckForBuildWithNoBuild; $(CoreBuildDependsOn); GenerateBuildDependencyFile; GenerateBuildRuntimeConfigurationFiles - - - + + + _SdkBeforeClean; $(CoreCleanDependsOn) - - - + + + _SdkBeforeRebuild; $(RebuildDependsOn) - - + + - - - + --> + + + - - - - 1.0.0 - - - - - - - - - - - + --> + + + + 1.0.0 + + + + + + + + + + + - - - + during incremental builds when the task is skipped --> + + + - - - - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + - - - <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true - LatestMinor - + --> + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + - - - <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true - - - + other values should still keep failing as they won't have any effect when run on 2.*. --> + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_CleaningWithoutRebuilding>true - false - - - - - <_CleaningWithoutRebuilding>false - - + during incremental builds when the task is skipped --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + --> + + + + + $(CompileDependsOn); _CreateAppHost; _CreateComHost; _GetIjwHostPaths; - - + + - - - - <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true - <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true - - - + --> + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + - - - $(SingleFileHostSourcePath) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) - - + --> + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + - - - - - @(_NativeRestoredAppHostNETCore) - - - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) - - - - - - + --> + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + - - - - - + --> + + + + + - - - - + --> + + + + - - - + --> + + + - - - $(AssemblyName).comhost$(_ComHostLibraryExtension) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) - - - + --> + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + - - - + --> + + + - - - - <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest - PreserveNewest - - - + --> + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + - - PreserveNewest - Never - - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest + --> + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest - Always - - - - - $(AssemblyName).$(_DotNetComHostLibraryName) - PreserveNewest - PreserveNewest - - - %(FileName)%(Extension) - PreserveNewest - PreserveNewest - - - - - $(_DotNetIjwHostLibraryName) - PreserveNewest - PreserveNewest - - - + places the correct unbundled apphost in the publish directory. --> + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + - - - <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + --> + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> - <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> - <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> - <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> - - + --> + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + - - - - - true - - - true - - - - - + --> + + + + + true + + + true + + + + + - - $(StartWorkingDirectory) - - - - - $(StartProgram) - $(StartArguments) - - - - - - dotnet - <_NetCoreRunArguments>exec "$(TargetPath)" - $(_NetCoreRunArguments) $(StartArguments) - $(_NetCoreRunArguments) - - - $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) - $(StartArguments) - - - - - $(TargetPath) - $(StartArguments) - - - mono - "$(TargetPath)" $(StartArguments) - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) - - - - - + --> + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + - + --> + $(CreateSatelliteAssembliesDependsOn); CoreGenerateSatelliteAssemblies - - - - - - - <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs - <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll - - - - <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) - - - - - - - true - - - - - - - - - - - - - + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + - + --> + - - - - - + --> + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - + --> + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + - - - - - - + --> + + + + + + - - - - - - - - false - - + --> + + + + + + + + false + + - false - - - - false - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true - - - - + to run it. --> + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + - - - + --> + + + - - - - - - - - + --> + + + + + + + + +--> - +--> + $(CommonOutputGroupsDependsOn); - - - + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); _GenerateDesignerDepsFile; _GenerateDesignerRuntimeConfigFile; _GatherDesignerShadowCopyFiles; - - <_DesignerDepsFileName>$(AssemblyName).designer.deps.json - <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json - <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) - <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) - - - + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + - - - - - - - - - - <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> - - - - - - - - - - - <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + --> + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> - <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> - - - + --> + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + + +--> +--> +--> - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) - true - - - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - + --> + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + - - - - - <_InformationalVersionContainsPlus>false - <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true - $(InformationalVersion)+$(SourceRevisionId) - $(InformationalVersion).$(SourceRevisionId) - - - - - - <_Parameter1>$(Company) - - - <_Parameter1>$(Configuration) - - - <_Parameter1>$(Copyright) - - - <_Parameter1>$(Description) - - - <_Parameter1>$(FileVersion) - - - <_Parameter1>$(InformationalVersion) - - - <_Parameter1>$(Product) - - - <_Parameter1>$(AssemblyTitle) - - - <_Parameter1>$(AssemblyVersion) - - - <_Parameter1>RepositoryUrl - <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) - <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) - - - <_Parameter1>$(NeutralLanguage) - - - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) - - - <_Parameter1>%(AssemblyMetadata.Identity) - <_Parameter2>%(AssemblyMetadata.Value) - - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) - - - <_Parameter1>$(TargetPlatformIdentifier) - - - + --> + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + - - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache - - - - - - - - - - - - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + - - - - - - $(AssemblyVersion) - $(Version) - - + --> + + + + + + $(AssemblyVersion) + $(Version) + + - +--> + +--> - - - - <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config - - - - - - - - - - - - - - - - - +--> + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + +--> +--> +--> - + --> + - - - <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> - <_AllProjects Include="$(MSBuildProjectFullPath)" /> - - - - - + --> + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + - - - - %(PackageReference.Identity) - %(PackageReference.Version) + --> + + + + %(PackageReference.Identity) + %(PackageReference.Version) StorePackageName=%(PackageReference.Identity); StorePackageVersion=%(PackageReference.Version); @@ -10910,246 +10910,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); DisableImplicitFrameworkReferences=false; - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - + --> + + + + + + + + + <_StoreArtifactContent> @(ListOfPackageReference) -]]> - - - - - - +]]> + + + + + + - - - <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> - <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> - - - - - - - - + --> + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + - - - true - true - <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) - true - - - - - - $(UserProfileRuntimeStorePath) - <_ProfilingSymbolsDirectoryName>symbols - $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) - $(DefaultProfilingSymbolsDir) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) - $(ProfilingSymbolsDir)\ - $(DefaultComposeDir) - $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) - $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) - $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) - $([System.IO.Path]::GetFullPath($(ComposeDir))) - <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) - $([System.IO.Path]::GetTempPath()) - $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) - $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) - - $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) - - $(PublishDir)\ - - - - false - true - - - - - - - - $(StorePackageVersion.Replace('*','-')) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) - <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) - $(StoreWorkerWorkingDir)\ - $(BaseIntermediateOutputPath)\project.assets.json - - - $(MicrosoftNETPlatformLibrary) - true - - + --> + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + - - - - + --> + + + + - + --> + - + --> + - - - - - + --> + + + + + - + --> + - - - <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> - - - true - - + --> + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + - - - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> - - + --> + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + - - - - true - true - - - - - - - - - + --> + + + + true + true + + + + + + + + + - - - - - - + --> + + + + + + +--> +--> +--> - - true - false - true - false - true - 1 - + --> + + true + false + true + false + true + 1 + - - - - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> - - - - - - - - <_CoreclrPath>@(_CoreclrResolvedPath) - @(_JitResolvedPath) - <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) - <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) - $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) - - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) - - - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) - - + --> + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + - - - + --> + + + CrossgenExe=$(Crossgen); CrossgenJit=$(JitPath); @@ -11238,246 +11238,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) - - - - - - + + + + + + - - - $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) - $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) - $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" - CreatePDB - CreatePerfMap - - - - - - - - - - - - <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> - - - - - - - - $([System.IO.Path]::PathSeparator) - $([System.IO.Path]::DirectorySeparatorChar) - - + --> + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + - - - <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) - <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) - - - - - <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) - - + --> + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + - - - <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) - - <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) - - <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) - - - <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> - - - - - - - - + --> + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - $(MSBuildThisFileDirectory)..\tasks\net6.0\Microsoft.NET.Sdk.Crossgen.dll - $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - + --> + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net6.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + - - - - - + --> + + + + + - - - - - + --> + + + + + - - - - <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R - - - - <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> - + --> + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + - - <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> - - - - - - <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> - <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> - - - <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> - <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> - - - - - - - - - - - - - - - - - + assembly list. --> + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + - - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> - - + --> + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> - - + --> + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + +--> +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + - - +--> + + - - <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> - - <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> - - - - +--> + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + +--> +--> - - true - <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true - true - - - - Always - - +--> + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + Always + + - - - - + --> + + + + <_BeforePublishNoBuildTargets> BuildOnlySettings; _PreventProjectReferencesFromBuilding; @@ -11579,59 +11579,59 @@ Copyright (c) .NET Foundation. All rights reserved. PrepareResourceNames; ComputeIntermediateSatelliteAssemblies; ComputeEmbeddedApphostPaths; - + <_CorePublishTargets> PrepareForPublish; ComputeAndCopyFilesToPublishDirectory; $(PublishProtocolProviderTargets); PublishItemsOutputGroup; - - <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) - - - - + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + - - - - - - - false - - + the published assets were copied. --> + + + + + + + false + + - - - - - - - - - - - $(PublishDir)\ - - - + --> + + + + + + + + + + + $(PublishDir)\ + + + - + --> + - + --> + - - - - <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> - - - - - - - - + --> + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + - - - <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) - - - - - - <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt - - - - - - - - - - - - - - - - - - <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> - <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> - - - - - - - - - + --> + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + - + --> + - - - - + --> + + + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - - <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> - <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> - - - <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> - <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> - - + --> + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + - - - true - true - false - - + --> + + + true + true + false + + - - - - - @(IntermediateAssembly->'%(Filename)%(Extension)') - PreserveNewest - - - - $(ProjectDepsFileName) - PreserveNewest - - - - $(ProjectRuntimeConfigFileName) - PreserveNewest - - - - @(AppConfigWithTargetPath->'%(TargetPath)') - PreserveNewest - - - - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - PreserveNewest - true - - - - %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) - PreserveNewest - - - - %(Filename)%(Extension) - PreserveNewest - - + --> + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> - - - - %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) - PreserveNewest - - - - @(FinalDocFile->'%(Filename)%(Extension)') - PreserveNewest - - - - shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) - PreserveNewest - - - <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> - - - + to ensure that we don't get duplicate files in the publish output. --> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + - - + --> + + - - - - - <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> - - - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> - - + PreserveStoreLayout without this task, and how to handle RuntimeStorePackages. --> + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + - - - - - - + --> + + + + + + - - - <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> - - + --> + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + - - - <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + --> + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - - - - %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) - Always - True - - - %(_SourceItemsToCopyToPublishDirectory.TargetPath) - PreserveNewest - True - - - + --> + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + - + --> + - - <_GCTPDIKeepDuplicates>false - <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath - - - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - + a non-empty value and the original behavior will be restored. --> + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + - - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - Always - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - PreserveNewest - - - - - <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies - - - + --> + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + - - - <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> - - <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> - - <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> - - - - <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> - + --> + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + - - - + --> + + + - - - - - - - - - <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> - - - + --> + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + - - <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true - <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true - - + generate a different one. --> + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + - - - <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> - - - - $(AssemblyName)$(_NativeExecutableExtension) - $(PublishDir)$(PublishedSingleFileName) - - - - - - - - $(PublishedSingleFileName) - - - - - - false - false - false - $(IncludeAllContentForSelfExtract) - false - - - - - - - - - - + --> + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + - - + --> + + - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) - $(PublishDir)$(ProjectDepsFileName) - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) - - - - - - <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - - - - - $(ProjectDepsFileName) - - - + PublishDepsFilePath is empty (by default) for PublishSingleFile, since the deps.json file is embedde within the single-file bundle --> + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + - - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + --> + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + - - - - - - - - + --> + + + + + + + + - + --> + $(PublishItemsOutputGroupDependsOn); ResolveReferences; ComputeResolvedFilesToPublishList; _ComputeFilesToBundle; - - - - - - - - - - - + + + + + + + + + + + - + --> + - - - + --> + + + - +--> + +--> - - - - - +--> + + + + + - - <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml - true - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) - - - - <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> - <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> - <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> - - - - - - - tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) - - - %(_ResolvedFileToPublishWithPackagePath.PackagePath) - - - - - $(TargetName) - $(TargetFileName) - - - - - - - - - - - - - + --> + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + $(TargetName) + $(TargetFileName) + + + + + + + + + + + + + - - <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache - <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) - <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel - <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) - $(OutDir) - - - - - + --> + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + - - + --> + + - - - - - - - - - + during incremental builds when the task is skipped --> + + + + + + + + + - - - <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> - <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> - <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> - <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + +--> +--> - - - +--> + + + +--> +--> - - refs - $(PreserveCompilationContext) - - - - - $(DefineConstants) - $(LangVersion) - $(PlatformTarget) - $(AllowUnsafeBlocks) - $(TreatWarningsAsErrors) - $(Optimize) - $(AssemblyOriginatorKeyFile) - $(DelaySign) - $(DelaySign) - $(DebugType) - $(OutputType) - $(GenerateDocumentationFile) - - - - - - - - - +--> + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(DelaySign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + - <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + --> + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> - <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> - - $(RefAssembliesFolderName)\%(Filename)%(Extension) - - - + --> + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + - - - - - + --> + + + + + +--> +--> +--> +--> - - +--> + + Microsoft.CSharp|4.4.0; Microsoft.Win32.Primitives|4.3.0; @@ -12652,9 +12652,9 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + Microsoft.Win32.Primitives|4.3.0; System.AppContext|4.3.0; @@ -12751,50 +12751,50 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + - - +--> + + - - + --> + + - <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> - - - - - - - + --> + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + - - - - - - - - - + (eg: HintPath) --> + + + + + + + + + - - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> - - + --> + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + - - - - - - - + --> + + + + + + + - - +--> + + +--> +--> - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets - + *************************************************************************************************************** --> + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + - +--> + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - - - - - - - - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + + + + + + + - - $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) - +--> + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + +--> +--> +--> - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - + set PublishTrimmed in targets which are imported after these targets. --> + + $(IntermediateOutputPath)linked\ + $(IntermediateLinkDir)\ + + <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore + + + + <_Parameter1>IsTrimmable + <_Parameter2>True + + - - false - false - false - false - false - false - false - false - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - - $(NoWarn);IL2026 - - $(NoWarn);IL2041;IL2042;IL2043;IL2056 - - $(NoWarn);IL2045 - - $(NoWarn);IL2046 - - $(NoWarn);IL2050 - - $(NoWarn);IL2032;IL2055;IL2057;IL2058;IL2059;IL2060;IL2061;IL2096 - - $(NoWarn);IL2062;IL2063;IL2064;IL2065;IL2066 - - $(NoWarn);IL2067;IL2068;IL2069;IL2070;IL2071;IL2072;IL2073;IL2074;IL2075;IL2076;IL2077;IL2078;IL2079;IL2080;IL2081;IL2082;IL2083;IL2084;IL2085;IL2086;IL2087;IL2088;IL2089;IL2090;IL2091 - - $(NoWarn);IL2092;IL2093;IL2094;IL2095 - - $(NoWarn);IL2097;IL2098;IL2099;IL2106 - - $(NoWarn);IL2103 - - $(NoWarn);IL2107 - - $(NoWarn);IL2109 - - $(NoWarn);IL2110;IL2111;IL2114;IL2115 - - $(NoWarn);IL2112;IL2113 - + could be removed by the linker, causing a trimmed app to crash. --> + + false + false + false + false + false + false + false + false + <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false + true + + + + true + + true + + false + + + + + $(NoWarn);IL2026 + + $(NoWarn);IL2041;IL2042;IL2043;IL2056 + + $(NoWarn);IL2045 + + $(NoWarn);IL2046 + + $(NoWarn);IL2050 + + $(NoWarn);IL2032;IL2055;IL2057;IL2058;IL2059;IL2060;IL2061;IL2096 + + $(NoWarn);IL2062;IL2063;IL2064;IL2065;IL2066 + + $(NoWarn);IL2067;IL2068;IL2069;IL2070;IL2071;IL2072;IL2073;IL2074;IL2075;IL2076;IL2077;IL2078;IL2079;IL2080;IL2081;IL2082;IL2083;IL2084;IL2085;IL2086;IL2087;IL2088;IL2089;IL2090;IL2091 + + $(NoWarn);IL2092;IL2093;IL2094;IL2095 + + $(NoWarn);IL2097;IL2098;IL2099;IL2106 + + $(NoWarn);IL2103 + + $(NoWarn);IL2107 + + $(NoWarn);IL2109 + + $(NoWarn);IL2110;IL2111;IL2114;IL2115 + + $(NoWarn);IL2112;IL2113 + - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - + --> + + + + + <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> + + + + - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - + https://github.com/dotnet/sdk/pull/3086 --> + + <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + + + + + + - - + --> + + - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - + In this case, explicitly specify the path to the dotnet host. --> + + <_DotNetHostDirectory>$(NetCoreRoot) + <_DotNetHostFileName>dotnet + <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe + + + + + + + - + --> + - - - 5 - 0 - - - - copyused - - $(TrimMode) - - - link - - copy - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - - - - $(TrimMode) - - - $(TrimmerDefaultAction) - - - + in some cases. --> + + + 5 + 0 + + + + copyused + + $(TrimMode) + + + link + + copy + $(TreatWarningsAsErrors) + <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) + true + + + + + $(NoWarn);IL2008 + + $(NoWarn);IL2009 + + + $(NoWarn);IL2037 + + + $(NoWarn);IL2009;IL2012 + + + + + + true + false + + + <_TrimmerUnreachableBodies>false + + + + + true + + + + + + + + + + + + + + + + + + + copy + + + + + + $(TrimMode) + + + $(TrimmerDefaultAction) + + + - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - + This just sets metadata on the items in ManagedAssemblyToLink that came from IntermediateAssembly. --> + + <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly> + false + + + + + + + false + + + + <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> + + - - + --> + + - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - + further refine this list. It currently drops C++/CLI assemblies in ComputeManageAssemblies. --> + + + + + + <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> + <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> + + + <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + - - - - true - true - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets - - - - - +--> + + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + +--> - - - true - - - - true - - - - 7.0 - - +--> + + + true + + + + true + + + + 7.0 + + - $(TargetPlatformMinVersion) - $(SupportedOSPlatformVersion) - - $(TargetPlatformVersion) - $(TargetPlatformVersion) - - - - <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> - - - - - - - - + other value. --> + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> - - - - - - - + The WinMD in this case can be identified because the Implementation metadata value is WinRT.Host.dll. So here we remove any such WinMD references. --> + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + +--> - + TargetPlatformVersion may have been set later than that in evaluation by platform-specific targets or Directory.Build.targets. So fix up those properties here --> + - 0.0 - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - - - - $(TargetPlatformVersion) - - + workloads. --> + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + +--> - - - - +--> + + + + - - - - - _GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - - - $(RoslynTargetsPath) - <_packageReferenceList>@(PackageReference) +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Compatibility.Common.targets +============================================================================================================================================ +--> + + + + + _GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) - $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) - $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) - - - $(PackageId) - $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - false - <_compatibilitySuppressionFilePath>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - $(_compatibilitySuppressionFilePath) - - - - - - <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' != 'true'">_GetReferencePathForPackageValidation - <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' == 'true'">_ComputeTargetFrameworkItems - - - - <_ReferencePathWithTargetFramework Include="@(ReferencePath)" TargetFramework="$(TargetFramework)" /> - - - - - - - - - - + are on the same directory as Microsoft.CodeAnalysis. So there is no need to distinguish between csproj or vbproj. --> + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + false + <_compatibilitySuppressionFilePath>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + $(_compatibilitySuppressionFilePath) + + + + + + <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' != 'true'">_GetReferencePathForPackageValidation + <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' == 'true'">_ComputeTargetFrameworkItems + + + + <_ReferencePathWithTargetFramework Include="@(ReferencePath)" TargetFramework="$(TargetFramework)" /> + + + + + + + + + + +--> - - - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets - true - +--> + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + +--> - - - ..\CoreCLR\NuGet.Build.Tasks.Pack.dll - ..\Desktop\NuGet.Build.Tasks.Pack.dll - - - - - - - - - $(AssemblyName) - $(Version) - true - _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) - $(Description) - Package Description - false - true - true - tools - lib - content;contentFiles - $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) - true - symbols.nupkg - DeterminePortableBuildCapabilities - false - false - .dll; .exe; .winmd; .json; .pri; .xml - $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) - .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) - .pdb - false - - - $(GenerateNuspecDependsOn) - - - Build;$(GenerateNuspecDependsOn) - - - - - - - $(TargetFramework) - - - - $(MSBuildProjectExtensionsPath) - $(BaseOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - +--> + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - + --> + + + + + + - - - <_ProjectFrameworks /> - - - - - - <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> - - + --> + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + - - - - <_PackageFilesToDelete Include="@(_OutputPackItems)" /> - - - - - - false - - - - - - - - - - - - - + --> + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + - - - - - - true - - - - - - - - - + --> + + + + + + true + + + + + + + + + - - - - $(PrivateRepositoryUrl) - $(SourceRevisionId) - - + --> + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + - - - - $(MSBuildProjectFullPath) - - - - - - - - - - - - - - - - - <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> - $(PackageVersion) - 1.0.0 - - - - - - - - - - - - - - - - - - - - - - - - - - <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> - - - - - - $(TargetFramework) - - - - - - - - - - - - - %(TfmSpecificPackageFile.RecursiveDir) - %(TfmSpecificPackageFile.BuildAction) - - - - - - <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> - $(TargetFramework) - - - - <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> - - + --> + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + - - - <_PathToPriFile Include="$(ProjectPriFullPath)"> - $(ProjectPriFullPath) - $(ProjectPriFileName) - - - + has to be added manually here.--> + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + - - - <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> - - - - <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> - Content - - <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> - Compile - - <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> - None - - <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> - EmbeddedResource - - <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> - ApplicationDefinition - - <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> - Page - - <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> - Resource - - <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> - SplashScreen - - <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> - DesignData - - <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> - DesignDataWithDesignTimeCreatableTypes - - <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> - CodeAnalysisDictionary - - <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> - AndroidAsset - - <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> - AndroidResource - - <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> - BundleResource - - - + --> + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + +--> +--> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.CSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.CSharp.xml index 2221587..002df9b 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.CSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.CSharp.xml @@ -1,17 +1,17 @@ - +--> + +--> - +--> + - true + --> + true - true - - - $(ProjectExtensionsPathForSpecifiedProject) - - + --> + true + + + $(ProjectExtensionsPathForSpecifiedProject) + + +--> - - true - true - true - true - true - +--> + + true + true + true + true + true + - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - + --> + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + - + --> + - obj\ - $(BaseIntermediateOutputPath)\ - <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) - $(BaseIntermediateOutputPath) + --> + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) - $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) - $(MSBuildProjectExtensionsPath)\ - true - <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) - - + --> + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) - - + --> + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + - - true - - - $(DefaultProjectConfiguration) - $(DefaultProjectPlatform) - - - WJProject - JavaScript - - - - - + e.g. by the project itself. --> + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props - $(MSBuildToolsPath)\NuGet.props - + --> + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + +--> +--> - - true - + --> + + true + - - <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props - <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) - $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) - - - - true - + --> + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + - - true - true - true - true - true - true - true - true - true - true - true - true - true - +C:\Program Files\dotnet\sdk\7.0.202\Current\Microsoft.Common.props +============================================================================================================================================ +--> + + true + true + true + true + true + true + true + true + true + true + true + true + true + +--> +--> - - - true - - - - Debug;Release - AnyCPU - Debug - AnyCPU - - - - Library - 512 - prompt - $(MSBuildProjectName) - $(MSBuildProjectName.Replace(" ", "_")) - true - - - - true - false - - - true - - +--> + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + - - <_PlatformWithoutConfigurationInference>$(Platform) - - - x64 - - - x86 - - - ARM - - - arm64 - - - - - {CandidateAssemblyFiles} - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);{RawFileName} - - - portable - - false - - true - true + --> + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + arm64 + + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + + + portable + + false + + true + true - PackageReference - $(AssemblySearchPaths) - false - false - false - false - false - false - false - false - false - true - 1.0.3 - false - true - true - false - true - - - - - - $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj - - + a project targets .NET Framework and doesn't have any direct package dependencies. --> + PackageReference + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.3 + false + true + true + false + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + - - - $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)../../')) - $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs - 7.0 - 7.0 - 7.0.4 - 2.1 - 2.1.0 - 7.0.1 - $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json - 7.0.202 - linux-x64 - linux-x64 - <_NETCoreSdkIsPreview>false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +--> + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + 7.0 + 7.0 + 7.0.4 + 2.1 + 2.1.0 + 7.0.1 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 7.0.202 + win-x64 + win-x64 + <_NETCoreSdkIsPreview>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +--> + - $(BundledRuntimeIdentifierGraphFile) - - - - false - - - <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif - - - - - - - - - - - - - - - - + BundledRuntimeIdentifierGraphFile is set. --> + $(BundledRuntimeIdentifierGraphFile) + + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + - - - - - - - - - + evaluated in the second pass of evaluation, after all properties have been evaluated. --> + + + + + + + + + - + an implicit FrameworkReference --> + - - - - - + Packing an DotnetCliTool should include the Microsoft.NETCore.App package dependency. --> + + + + + +--> - - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel - true - - + putting an EnableWorkloadResolver.sentinel file beside the MSBuild SDK resolver DLL --> + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + +--> - - +--> + + - +--> + +--> +--> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + This is used by VS to show the list of frameworks to which projects can be retargeted. --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +--> + +--> - - - - - - +--> + + + + + + - +--> + +--> - - - - - - - - - - - - +--> + + + + + + + + + + + + +--> +--> - - 1701;1702 - - $(WarningsAsErrors);NU1605 - - - $(DefineConstants); - $(DefineConstants)TRACE - - - - - - - - - - - +--> + + 1701;1702 + + $(WarningsAsErrors);NU1605 + + + $(DefineConstants); + $(DefineConstants)TRACE + + + + + + + + + + + - - +--> + + +--> - - - true - - +--> + + + true + + +--> - +--> + - $(MSBuildThisFileDirectory)Microsoft.DotNet.ILCompiler.SingleEntry.targets - + used to import the targets later in the SDK. --> + $(MSBuildThisFileDirectory)Microsoft.DotNet.ILCompiler.SingleEntry.targets + +--> +--> +--> - +--> + +--> - +--> + - $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.targets + used to import the targets later in the SDK. --> + $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.targets - true - $(MSBuildThisFileDirectory)..\tools\net7.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll - + (but not the targets, which were included with the SDK). --> + true + $(MSBuildThisFileDirectory)..\tools\net7.0\ILLink.Tasks.dll + $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll + +--> +--> +--> - - $(TargetsForTfmSpecificContentInPackage);PackTool - +--> + + $(TargetsForTfmSpecificContentInPackage);PackTool + +--> +--> - - $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation - +--> + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + +--> - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - - - - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props +============================================================================================================================================ +--> + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + + + + - - - - - - - + --> + + + + + + + - + --> + - <_WpfCommonNetFxReference Include="WindowsBase" /> - <_WpfCommonNetFxReference Include="PresentationCore" /> - <_WpfCommonNetFxReference Include="PresentationFramework" /> - <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> - 4.0 - - <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> - - - <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> - <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> - <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> - + --> + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + --> - + --> + - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + --> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> - <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + --> + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> - <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> - - - - - + --> + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + --> +--> + --> - + --> + - - - - + --> + + + + +--> - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + +--> +--> +--> - - - - + --> + + + + +--> +--> +--> - - - - - true - - <_TargetFrameworkVersionValue>0.0 - <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 - +--> + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + +--> +--> +--> +--> - - - true - - +--> + + + true + + +--> +--> - - - - - - - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - - - $(_IsExecutable) - <_UsingDefaultForHasRuntimeOutput>true - + So import them here. --> + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + +--> - - 1.0.0 - $(VersionPrefix)-$(VersionSuffix) - $(VersionPrefix) - - - $(AssemblyName) - $(Authors) - $(AssemblyName) - $(AssemblyName) - +--> + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + - +--> + +--> +--> - - Debug - AnyCPU - $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - + --> + + Debug + AnyCPU + $(Platform) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + +--> + respected by the SDK. --> +--> - - - true - <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) - <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties - <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ - $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) - $(_PublishProfileRootFolder)$(PublishProfileName).pubxml - $(PublishProfileFullPath) +--> + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) - false - - - + to limit the import to the project being published. --> + false + + + +--> + --> +--> +--> - - + --> + + - - $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) - v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) - + --> + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + - - $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) - - - Windows - + --> + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + - - <_UnsupportedTargetFrameworkError>true - + --> + + <_UnsupportedTargetFrameworkError>true + - - - - + --> + + + + - - - true - - - - - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + true + + + + + + + - - v0.0 - - - _ - + --> + + v0.0 + + + _ + - - - + --> + + + - - - - - - <_EnableDefaultWindowsPlatform>false - false - - - 2.1 - - - - - - - - - - - - - - <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> - - - @(_ValidTargetPlatformVersion->Distinct()) - - - - - true - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None - - - + --> + + + + + + <_EnableDefaultWindowsPlatform>false + false + + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion->Distinct()) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - + in the project file, the specified value will be used for the exclude. --> + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + - - true - - - true - true - + Configuration-specific PropertyGroup), so in that case we won't append to it by default. --> + + true + + + true + true + - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ - + --> + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + - - - - true - - false - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - +--> + + + + true + + false + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + - - + --> + + +--> - - +--> + + - - - - - - - - - - +--> + + + + + + + + + + +--> - - - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +--> + + + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\15.4.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\15.4.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\12.3.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\12.3.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - +--> + + + + + + + - - - - - + --> + + + + + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - <_RuntimePackInWorkloadVersion6>6.0.15 - true - true - +--> + + <_RuntimePackInWorkloadVersion6>6.0.15 + true + true + - - false - - - - true - $(WasmNativeWorkload) - - - false - false - - - false - true - - - - - - - - - - - - - - - - + --> + + false + + + + true + $(WasmNativeWorkload) + + + false + false + + + false + true + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) - - - - $(_MonoWorkloadRuntimePackPackageVersion) - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + - - - - - - - - + and emit a warning --> + + + + + + + + +--> - - <_RuntimePackInWorkloadVersion7>7.0.4 - <_BrowserWorkloadDisabled7>$(BrowserWorkloadDisabled) - <_BrowserWorkloadDisabled7 Condition="'$(_BrowserWorkloadDisabled7)' == '' and '$(RuntimeIdentifier)' == 'browser-wasm' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and !$([MSBuild]::VersionEquals('$(TargetFrameworkVersion)', '7.0'))">true - true - +--> + + <_RuntimePackInWorkloadVersion7>7.0.4 + <_BrowserWorkloadDisabled7>$(BrowserWorkloadDisabled) + <_BrowserWorkloadDisabled7 Condition="'$(_BrowserWorkloadDisabled7)' == '' and '$(RuntimeIdentifier)' == 'browser-wasm' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and !$([MSBuild]::VersionEquals('$(TargetFrameworkVersion)', '7.0'))">true + true + - - true - false - - - - true - $(WasmNativeWorkload7) - - - false - false - false - - - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) - - - - $(_MonoWorkloadRuntimePackPackageVersion) - - Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** - Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** - - + --> + + true + false + + + + true + $(WasmNativeWorkload7) + + + false + false + false + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** + + - - - - - - - - - - - + and emit a warning --> + + + + + + + + + + + +--> - - - - - +--> + + + + + +--> - - true - - - <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true - WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ - - - true - $(WasmNativeWorkload) - - - false - false - - - - - - - - +C:\Program Files\dotnet\sdk-manifests\7.0.100\microsoft.net.workload.emscripten.net7\WorkloadManifest.targets +============================================================================================================================================ +--> + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + - - - - - - +--> + + + + + + - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + - - - - - - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> - - + need to be set to "true" to avoid requiring restore (which would likely fail if the required workloads aren't already installed).--> + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + +--> + --> +--> +--> - - <_UsingDefaultRuntimeIdentifier>true - win7-x64 - win7-x86 - + --> + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + - - $(PublishSelfContained) - + This Won't affect t:/Publish (because of _IsPublishing), and also won't override a global SelfContained property.--> + + $(PublishSelfContained) + - - true - - - $(NETCoreSdkPortableRuntimeIdentifier) - - - $(PublishRuntimeIdentifier) - - - <_UsingDefaultPlatformTarget>true - - - - - - - x86 - - - - - x64 - - - - - arm - - - - - arm64 - - - - - AnyCPU - - - + Finally, library projects and non-executable projects have awkward interactions here so they are excluded.--> + + true + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + $(PublishRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + - - - <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - - - true - false - <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false - <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true - true - false - - - - $(NETCoreSdkRuntimeIdentifier) - win-x64 - win-x86 - win-arm - win-arm64 - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - - - - - - - - - - - + --> + + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + + + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + + + + + + + - - - - - - - - - - - - - false - - - - - - - - - - - - - + because we do not want the behavior to be a breaking change compared to version 3.0 --> + + + + + + + + + + + + + false + + + + + + + + + + + + + - - - true - + Configuration-specific PropertyGroup), so in that case we won't append to it by default. --> + + + true + - - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ - - + --> + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + - - - - - + --> + + + + + - +--> + +--> - - - true - +--> + + + true + - - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;5.0" /> - - - - + --> + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;5.0" /> + + + + - - - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true - - - - true - true - true - - - true - - - - true +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.BeforeCommon.targets +============================================================================================================================================ +--> + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true - true - - .dll + runtime minor version roll-forward: https://github.com/dotnet/core-setup/issues/3546 --> + true + + .dll - false - - - - $(PreserveCompilationContext) - - - - publish - - $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ - $(OutputPath)$(PublishDirName)\ - + is not needed for NETStandard or NETCore since references come from NuGet packages--> + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + --> +--> - - <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder - <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true - <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs - - - $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) - - - $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) - +--> + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + - - <_SDKImplicitReference Include="System" /> - <_SDKImplicitReference Include="System.Data" /> - <_SDKImplicitReference Include="System.Drawing" /> - <_SDKImplicitReference Include="System.Xml" /> +--> + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> - - <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - - <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> - - <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + such if the parse succeeds. --> + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> - <_SDKImplicitReference Remove="@(Reference)" /> - - - - - - false - - - $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 - - - - <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET - $(_FrameworkIdentifierForImplicitDefine) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET - <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) - <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) - <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) - $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) - $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - - - - - <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) - <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) - - - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> - - - - - - <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - - - - - - <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> - - - - - - $(DefineConstants);@(_ImplicitDefineConstant) - $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') - - - - - false - true - - - $(AssemblyName).xml - $(IntermediateOutputPath)$(AssemblyName).xml - - - - - - true - true - true - - - - - - - true - + NuGet package, you can just add the Reference to your project file. --> + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + - - $(MSBuildToolsPath)\Microsoft.CSharp.targets - $(MSBuildToolsPath)\Microsoft.VisualBasic.targets - $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets +--> + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets - $(MSBuildToolsPath)\Microsoft.Common.targets - + languages could either be supplied via an SDK or via a NuGet package. --> + $(MSBuildToolsPath)\Microsoft.Common.targets + + using Sdk attribute (from .NET Core Sdk 1.0.0-preview4) --> +--> - - - - $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets - - - - - $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets - - - +--> + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets + + + +--> +--> - - true - + --> + + true + +--> +--> - - true - true - true - true - - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets - - - - .cs - C# - Managed - true - true - true - true - true - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Properties - - - - - File - - - BrowseObject - - - - - - +--> + + true + true + true + true + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets + + + + .cs + C# + Managed + true + true + true + true + true + {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Properties + + + + + File + + + BrowseObject + + + + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - true - - - - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet - true - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + true + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet + true + - +--> + - - $(NoWarn);1701;1702 - - - - $(NoWarn);2008 - - - - - - - + so the compiler warning would be redundant. --> + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + + + + - $(AppConfig) - - $(IntermediateOutputPath)$(TargetName).compile.pdb - - - - false - - - - - - - true - - - - + then we'll use AppConfig --> + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + false + + + + + + + true + + + + - - - - - $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets - +--> + + + + + $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets + - +--> + - +--> + - + --> + - - roslyn4.5 - +--> + + roslyn4.5 + - +--> + - - - - - - - - - - - - - false - + --> + + + + + + + + + + + + + false + - - - - - - true - - + https://github.com/dotnet/roslyn/issues/12223 --> + + + + + + true + + - - - - - <_SkipAnalyzers /> - <_ImplicitlySkipAnalyzers /> - + --> + + + + + <_SkipAnalyzers /> + <_ImplicitlySkipAnalyzers /> + - - <_SkipAnalyzers>true - + --> + + <_SkipAnalyzers>true + - - <_ImplicitlySkipAnalyzers>true - <_SkipAnalyzers>true - run-nullable-analysis=never;$(Features) - - - - - - <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers - + --> + + <_ImplicitlySkipAnalyzers>true + <_SkipAnalyzers>true + run-nullable-analysis=never;$(Features) + + + + + + <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers + - - - - - - - - - + --> + + + + + + + + + - - <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> + --> + + <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> - - - - - + compilation includes linked files with relative paths - https://github.com/microsoft/msbuild/issues/4392 --> + + + + + - - - - - $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig - true - <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true - <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true - - - - - - <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> - $(%(CompilerVisibleProperty.Identity)) - - - <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> - %(Identity) - %(CompilerVisibleItemMetadata.MetadataName) - - - - - - - - + --> + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig + true + <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true + <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true + + + + + + <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> + $(%(CompilerVisibleProperty.Identity)) + + + <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> + %(Identity) + %(CompilerVisibleItemMetadata.MetadataName) + + + + + + + + - - true - + --> + + true + - - - <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> - - - - - - - - - + --> + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + - - true - + --> + + true + - + --> + - - - <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> - $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) - $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) - - - + --> + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + - @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) - - + --> + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + - - - - - + --> + + + + + - - false - - $(IntermediateOutputPath)/generated - - - - - + --> + + false + + $(IntermediateOutputPath)/generated + + + + + - - - + --> + + + - - - <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 - - <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 - - <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '5.0' AND '$(_MaxSupportedLangVersion)' == ''">9.0 - - <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '6.0' AND '$(_MaxSupportedLangVersion)' == ''">10.0 - - <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '7.0' AND '$(_MaxSupportedLangVersion)' == ''">11.0 - $(_MaxSupportedLangVersion) - $(_MaxSupportedLangVersion) - - +C:\Program Files\dotnet\sdk\7.0.202\Roslyn\Microsoft.CSharp.Core.targets +============================================================================================================================================ +--> + + + <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 + + <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '5.0' AND '$(_MaxSupportedLangVersion)' == ''">9.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '6.0' AND '$(_MaxSupportedLangVersion)' == ''">10.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '7.0' AND '$(_MaxSupportedLangVersion)' == ''">11.0 + $(_MaxSupportedLangVersion) + $(_MaxSupportedLangVersion) + + - - $(NoWarn);1701;1702 - - - - $(NoWarn);2008 - - + so the compiler warning would be redundant. --> + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + - $(AppConfig) - - $(IntermediateOutputPath)$(TargetName).compile.pdb - - - - - - - <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> - - - + then we'll use AppConfig --> + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + - - -langversion:$(LangVersion) - $(CommandLineArgsForDesignTimeEvaluation) -checksumalgorithm:$(ChecksumAlgorithm) - $(CommandLineArgsForDesignTimeEvaluation) -define:$(DefineConstants) - + probably won't be any worse than having no options at all. --> + + -langversion:$(LangVersion) + $(CommandLineArgsForDesignTimeEvaluation) -checksumalgorithm:$(ChecksumAlgorithm) + $(CommandLineArgsForDesignTimeEvaluation) -define:$(DefineConstants) + - - - - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets - - +--> + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets + + +--> - - $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets - +--> + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + +--> - - - true - true - true - true - - - - - - - 10.0 - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets - - - - - Managed - +--> + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + - - .NETFramework - v4.0 - - - - Any CPU,x86,x64,Itanium - Any CPU,x86,x64 - - - - - - - true - - true - - - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) - - $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + Native apps) because they do not target a .NET Framework. --> + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) - $(MSBuildFrameworkToolsPath) - - - Windows - 7.0 - $(TargetPlatformSdkRootOverride)\ - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - $(TargetPlatformSdkPath)Windows Metadata - $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral - $(TargetPlatformSdkMetadataLocation) - true - $(WinDir)\System32\WinMetadata - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - + we need to find a directory which does contain mscorlib to allow the inproc compiler to initialize and give us the chance to show certain dialogs in the IDE (which only happen after initialization).--> + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + - - - <_OriginalPlatform>$(Platform) - - <_OriginalConfiguration>$(Configuration) - - <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true - - true - - - AnyCPU - $(Platform) - Debug - $(Configuration) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(TargetType) - library - exe - true - - <_DebugSymbolsProduced>false - <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false - <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false - <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false - - <_DocumentationFileProduced>true - <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false - - false - + --> + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + - + --> + - <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true - <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true - + --> + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + - - .exe - .exe - .exe - .dll - .netmodule - .winmdobj - - - - true - $(OutputPath) - - - $(OutDir)\ - $(MSBuildProjectName) - - - $(OutDir)$(ProjectName)\ - $(MSBuildProjectName) - $(RootNamespace) - $(AssemblyName) - - $(MSBuildProjectFile) - - $(MSBuildProjectExtension) - - $(TargetName).winmd - $(WinMDExpOutputWindowsMetadataFilename) - $(TargetName)$(TargetExt) - - - + --> + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + - <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true - $(_DeploymentPublishableProjectDefault) - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest - - $(AssemblyName).application - - $(AssemblyName).xbap - - $(GenerateManifests) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days - <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) - <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - 100 - - + --> + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + - * - $(UICulture) - - - - <_OutputPathItem Include="$(OutDir)" /> - <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> - <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> - - - + --> + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + - $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) - - $(TargetDir)$(TargetFileName) - $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) - - $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) - - $(ProjectDir)$(ProjectFileName) - - - - - + --> + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + - - *Undefined* - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - - - true - - true - - - true - false - - - $(MSBuildProjectFile).FileListAbsolute.txt - - false - - true - true - <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false - <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true - false - false - - - <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config - - - - - - - - - - - - - - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> - - - $(IntermediateOutputPath)$(TargetName).pdb - <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) - - - $(IntermediateOutputPath)$(TargetName).xml - <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) - - - <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) - <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) - - - - <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> - $(TargetFileName) - - - - <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> - $(ApplicationIcon) - - - - $(_DeploymentTargetApplicationManifestFileName) - + --> + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + - <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> - $(_DeploymentTargetApplicationManifestFileName) - - - - $(TargetDeployManifestFileName) - - - <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> - + references and for copying to the publish output location. --> + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + - - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) - <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> - <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + --> + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) - <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> - <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> - - - - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) - <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) - - - - $(PublishDir)\ - $(OutputPath)app.publish\ - + --> + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + - - $(PublishDir) - $(ClickOncePublishDir)\ - + --> + + $(PublishDir) + $(ClickOncePublishDir)\ + - + --> + - $(PlatformTarget) + --> + $(PlatformTarget) - msil - amd64 - ia64 - x86 - arm - - - true - - - - $(Platform) - msil - amd64 - ia64 - x86 - arm - - None - $(PROCESSOR_ARCHITECTURE) - + --> + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + - - CLR2 - CLR4 - CurrentRuntime - true - false - $(PlatformTarget) - x86 - x64 - CurrentArchitecture - - - - Client - + If support for out-of-proc task execution is added on other runtimes, make sure each task's logic is checked against the current state of support. --> + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + - - false - - - - - true - true - false - + --> + + false + + + + + true + true + false + - - AssemblyFoldersEx - Software\Microsoft\$(TargetFrameworkIdentifier) - Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) - $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config - {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> .winmd; .dll; .exe - + + --> .pdb; .xml; .pri; .dll.config; .exe.config - + - Full - - + --> + Full + + - {CandidateAssemblyFiles} - $(AssemblySearchPaths);$(ReferencePath) - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) - $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} - $(AssemblySearchPaths);{AssemblyFolders} - $(AssemblySearchPaths);{GAC} - $(AssemblySearchPaths);{RawFileName} - $(AssemblySearchPaths);$(OutDir) - + --> + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + - - false - - - - $(NoWarn) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - - - - $(MSBuildThisFileDirectory)$(LangName)\ - - - - $(MSBuildThisFileDirectory)en-US\ - - - - - Project - - - BrowseObject - - - File - - - Invisible - - - File;BrowseObject - - - File;ProjectSubscriptionService - - - - $(DefineCommonItemSchemas) - - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - - - - - - Never - - - Never - - - Never - - - Never - - + typically expect --> + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + - - - true - + --> + + + true + - - - <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath - - + --> + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + - - - <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. - - - - - - - - - + --> + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + - - x86 - + correct value when we're trying to figure out PlatformTargetAsMSBuildArchitecture --> + + x86 + - + --> + - - + --> + + - + --> + BeforeBuild; CoreBuild; AfterBuild - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -4036,52 +4036,52 @@ Copyright (C) Microsoft Corporation. All rights reserved. UnmanagedRegistration; IncrementalClean; PostBuildEvent - - - - - - + + + + + + - - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + --> + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build BeforeRebuild; Clean; $(_ProjectDefaultTargets); AfterRebuild; - + BeforeRebuild; Clean; Build; AfterRebuild; - - - + + + - + --> + - + --> + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - + --> + - - - - - - - - + --> + + + + + + + + + --> - - false - - - - true - - + --> + + false + + + + true + + + --> - - $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata - - - - - $(TargetFileName).config - - - - - - - - - - + --> + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + - - @(_TargetFramework40DirectoryItem) - @(_TargetFramework35DirectoryItem) - @(_TargetFramework30DirectoryItem) - @(_TargetFramework20DirectoryItem) - - @(_TargetFramework20DirectoryItem) - @(_TargetFramework40DirectoryItem) - @(_TargetedFrameworkDirectoryItem) - @(_TargetFrameworkSDKDirectoryItem) - - - - + --> + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + - - - - - - - - - - - - - $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) - $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) - + --> + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + - - true - - - $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) - - - - - - - $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) - - - - - - - - - + resolving from the assemblyfolders global location if we are not acutally targeting a framework--> + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + - + E.g "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0.1\;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\" --> + - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - + --> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + --> - - - - - - + --> + + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + --> - + --> + - + --> + BeforeResolveReferences; AssignProjectConfiguration; @@ -4424,25 +4424,25 @@ Copyright (C) Microsoft Corporation. All rights reserved. GenerateBindingRedirects; ResolveComReferences; AfterResolveReferences - - - + + + - + --> + - + --> + - - - true - true - false + --> + + + true + true + false - false - - true - - - - - - - - - - - <_ProjectReferenceWithConfiguration> - true - true - - - true - true - - - + want this to happen, so just turn off synthetic project reference generation for Silverlight projects. --> + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + - + --> + - - - - + --> + + + + - - <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> - - - - <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> - <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> - - + --> + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + - - true - + --> + + true + - - - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> - true - - - - <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - - - - - <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> - - x86=Win32 - - - <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> - Win32=x86 - - - - - + Configuration information. --> + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + - - - - Platform=%(ProjectsWithNearestPlatform.NearestPlatform) - - - - %(ProjectsWithNearestPlatform.UndefineProperties);Platform - - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> - - + that can't multiplatform. --> + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + - + --> + - - $(NuGetTargetMoniker) - $(TargetFrameworkMoniker) - + --> + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> - true - %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework - - + --> + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> - true - - + --> + true + + - - - + --> + + + - - - - + --> + + + + - <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> - <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> - <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> - - + --> + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + - - - - - - - + that we are using a version of NuGet which supports that parameter on this task. --> + + + + + + + - - + --> + + - - - - - - - - - - TargetFramework=%(AnnotatedProjects.NearestTargetFramework) - + the IsRidAgnostic value for the NearestTargetFramework for the project. --> + + + + + + + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + - - %(AnnotatedProjects.UndefineProperties);TargetFramework - + --> + + %(AnnotatedProjects.UndefineProperties);TargetFramework + - - %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained - + unless the project is expecting those properties to flow. --> + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained + - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> - - - - - - - - - <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> - @(_TargetFrameworkInfo) - @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') - @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') - $(_AdditionalPropertiesFromProject) - true - @(_TargetFrameworkInfo->'%(IsRidAgnostic)') - - true - $(Platform) - $(Platforms) + --> + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + @(_TargetFrameworkInfo->'%(IsRidAgnostic)') + + true + $(Platform) + $(Platforms) - @(ProjectConfiguration->'%(Platform)'->Distinct()) - - - - - - <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> - $(%(AdditionalTargetFrameworkInfoProperty.Identity)) - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false - - - - - - <_TargetFrameworkInfo Include="$(TargetFramework)"> - $(TargetFramework) - $(TargetFrameworkMoniker) - $(TargetPlatformMoniker) - None - $(_AdditionalTargetFrameworkInfoProperties) + Build the `Platforms` property from that. --> + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) - $(IsRidAgnostic) - true - false - - - + fallback logic here will be that the project is RID agnostic if it doesn't have RuntimeIdentifier or RuntimeIdentifiers properties set. --> + $(IsRidAgnostic) + true + false + + + - + --> + - + --> + AssignProjectConfiguration; _SplitProjectReferencesByFileExistence; _GetProjectReferenceTargetFrameworkProperties; _GetProjectReferencePlatformProperties - - - + + + - - - - - $(ProjectReferenceBuildTargets) - - - ProjectReference - - - + --> + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + - - - - + --> + + + + - - - - + --> + + + + - - - - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + --> + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> - <_ResolvedProjectReferencePaths> - %(_ResolvedProjectReferencePaths.OriginalItemSpec) - - - - - - + --> + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + - - <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> - %(ReferencePath.ProjectReferenceOriginalItemSpec) - - - - + --> + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + - - $(GetTargetPathDependsOn) - - + --> + + $(GetTargetPathDependsOn) + + - - $(GetTargetPathDependsOn) - + --> + + $(GetTargetPathDependsOn) + - - - - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion.TrimStart('vV')) - $(TargetRefPath) - @(CopyUpToDateMarker) - - - + BeforeTargets. --> + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + - - - - %(_ApplicationManifestFinal.FullPath) - - - + --> + + + + %(_ApplicationManifestFinal.FullPath) + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + ResolveProjectReferences; FindInvalidProjectReferences; @@ -5034,69 +5034,69 @@ Copyright (C) Microsoft Corporation. All rights reserved. PrepareForBuild; ResolveSDKReferences; ExpandSDKReferences; - - - - - <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> - + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + - - $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache - - - - <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> - - - - <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false - true - false - Warning - $(BuildingProject) - $(BuildingProject) - $(BuildingProject) - false - - + --> + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + - - - true - - + ide will show one of the references as not resolved, this will not break the build but is a display issue --> + + + true + + - - false - true - - - - - - - - - - - - - - - - - + --> + + false + true + + + + + + + + + + + + + + + + + - - + --> + + - - %(FullPath) - - - %(ReferencePath.Identity) - - - - + assembly unless already specified. --> + + %(FullPath) + + + %(ReferencePath.Identity) + + + + - - - - - + --> + + + + + - - - $(_GenerateBindingRedirectsIntermediateAppConfig) - - - - - $(TargetFileName).config - - - + --> + + + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + - - Software\Microsoft\Microsoft SDKs - $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs - - $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 - - true - Windows - 8.1 - - false - WindowsPhoneApp - 8.1 - - - - - - - - - - - - - + --> + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + - + --> + GetInstalledSDKLocations - - - - Debug - Retail - Retail - $(ProcessorArchitecture) - Neutral - - - true - - - - - - - - - - - - + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + - + --> + GetReferenceTargetPlatformMonikers - - - - - - - - <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> - - - - - - - + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + - + --> + ResolveSDKReferences - + .winmd; .dll - - - - - - - - - - - + + + + + + + + + + + - - - - false - false - false - $(TargetFrameworkSDKToolsDirectory) - true - - - - - - - - - - - - - - - <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> - - - + --> + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5354,8 +5354,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(TargetDir) - - + + - + --> + GetFrameworkPaths; GetReferenceAssemblyPaths; ResolveReferences - - - - - <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - - - $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache - - + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5396,29 +5396,29 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(OutDir) - - - - false - false - false - false - false - true - false - - - <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> - - - <_RARResolvedReferencePath Include="@(ReferencePath)" /> - - - - - - - + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + - - false - - - - $(IntermediateOutputPath) - - + --> + + false + + + + $(IntermediateOutputPath) + + - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - false - - - - - - - - - - - - - - + --> + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + - + --> + + --> - + --> + $(PrepareResourcesDependsOn); PrepareResourceNames; ResGen; CompileLicxFiles - - - + + + - + --> + AssignTargetPaths; SplitResourcesByCulture; CreateManifestResourceNames; CreateCustomManifestResourceNames - - - + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + - + --> + - - - - - - - <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> - - - Resx - - - Non-Resx - - - - - - - - - + --> + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + - - - - - - Resx - - - Non-Resx - - - - - - - - - - - - <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> - <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> - - + i.e. either Licx, or resources that don't have culture info --> + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + - - - - + --> + + + + - - ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen - FindReferenceAssembliesForReferences - true - false - - + --> + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + - + --> + - + --> + - - - <_Temporary Remove="@(_Temporary)" /> - - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - - + --> + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - true - - - true - - - - true - - - true - - - + suddenly start failing to build.--> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + --> - - - - - - - + --> + + + + + + + + --> - + --> + ResolveReferences; ResolveKeySource; @@ -5812,96 +5812,96 @@ Copyright (C) Microsoft Corporation. All rights reserved. CoreCompile; _TimeStampAfterCompile; AfterCompile; - - - + + + - - - - - - <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> - - <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> - Resx - false - - <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - false - - - + --> + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + - - - true - $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) - - - true - - - - - + --> + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + - - - - - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + + + - - true - - - - - - - - - - + --> + + true + + + + + + + + + + - + --> + - + --> + - - - <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + - - - $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + - - - <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + - - - __NonExistentSubDir__\__NonExistentFile__ - - + --> + + + __NonExistentSubDir__\__NonExistentFile__ + + - - <_SGenDllName>$(TargetName).XmlSerializers.dll - <_SGenDllCreated>false - <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) - <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto - <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off - true - false - true - + --> + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - + --> + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + --> - + --> + _GenerateSatelliteAssemblyInputs; ComputeIntermediateSatelliteAssemblies; GenerateSatelliteAssemblies - - - + + + - - - - - - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> - - <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> - Resx - true - - <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - true - - - + --> + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + - - - <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) - - - - - - + --> + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + - + --> + CreateManifestResourceNames - - - - - - %(EmbeddedResource.Culture) - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - - - + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + - - $(Win32Manifest) - + --> + + $(Win32Manifest) + - - - + --> + + + - <_DeploymentBaseManifest>$(ApplicationManifest) - <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + property is set though, prefer that one be used to specify the manifest. --> + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) - true - - - - - $(ApplicationManifest) - $(ApplicationManifest) - - - - - - $(_FrameworkVersion40Path)\default.win32manifest - - + a manifest to their built assemblies --> + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + --> - + --> + SetWin32ManifestProperties; GenerateApplicationManifest; GenerateDeploymentManifest - - + + - - - <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> - - - - - - + --> + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + - - - - - - - - - <_DeploymentCopyApplicationManifest>true - - + --> + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + - - - <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) - <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) - - + --> + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) - <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) - - - - - - - + --> + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + - - - <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> - <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> - - + --> + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + - - - - - - - <_DeploymentManifestType>Native - - - - - - - <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') - - - + --> + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + CleanPublishFolder; _DeploymentGenerateTrustInfo $(DeploymentComputeClickOnceManifestInfoDependsOn) - - + + - - - - <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - - - <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> - <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> - - - <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> - - - - <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> - true - - <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> - - - - <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> - - - + --> + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + + + + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + - <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> - - - - <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> - <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> - - <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> - - - + --> + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + - - <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> - <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> - - - + --> + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + - - - - - - - - - - - - - - - <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> - - - <_DeploymentManifestType>ClickOnce - + This is being done to avoid Windows Forms designer memory issues that can arise while operating directly on files located in Obj directory. --> + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + - - <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) - - - - - - - - - - - - - - - + --> + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - true - false - + --> + + true + false + - + --> + CopyFilesToOutputDirectory - - - + + + - - - false - false - - - - - false - false - false - - - true - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - false - false - - - - - - + --> + + + + false + false + + + + + + - - - - - + input to projects that reference this one. --> + + + + + - + --> + - - <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + --> + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence - true + --> + true <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> AssignProjectConfiguration; _SplitProjectReferencesByFileExistence - + AssignTargetPaths; $(_TargetsThatPrepareProjectReferences); _GetProjectReferenceTargetFrameworkProperties; _PopulateCommonStateForGetCopyToOutputDirectoryItems - + - <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems - - <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject - - + --> + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + - - <_GCTODIKeepDuplicates>false - <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> - - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - - <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> - - + a non-empty value and the original behavior will be restored. --> + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + - - - - %(CopyToOutputDirectory) - - - + --> + + + + %(CopyToOutputDirectory) + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - - - - - - - - - - - - + --> + + + + + + + + + + + + - - - - - - - - - <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false - - - - - - - <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false - - - - - + --> + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + - - - - <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true - - - - - + --> + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + --> - - - - <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> - - - - - - - - - - - - - + --> + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + - - <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> - - - - - - - - + the current final output and intermediate output directories. --> + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + - - - - - + --> + + + + + - - - + --> + + + - - <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - + --> + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - - - - - - + --> + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + --> - + --> + BeforeClean; UnmanagedUnregistration; @@ -7042,81 +7042,81 @@ Copyright (C) Microsoft Corporation. All rights reserved. CleanReferencedProjects; CleanPublishFolder; AfterClean - - - + + + - + --> + - + --> + - + --> + - - + --> + + - - - - + --> + + + + - - - - - - - - - - - - - - - - - - - - <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> - - - - - - - - - - + Declare items of this type if you want Clean to delete them. --> + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + - + --> + - - - - - - - - + --> + + + + + + + + - - - + --> + + + + --> - - - - - - + --> + + + + + + + --> - + --> + SetGenerateManifests; Build; PublishOnly - + _DeploymentUnpublishable - - - + + + - - - + --> + + + - - - - - true - - + --> + + + + + true + + - + --> + SetGenerateManifests; PublishBuild; @@ -7248,33 +7248,33 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; _DeploymentSignClickOnceDeployment; AfterPublish - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -7283,77 +7283,77 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; GenerateSerializationAssemblies; CreateSatelliteAssemblies; - - - + + + - + --> + - - - - - <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) - <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ - - - - false - false - - - - - - - - - - - - - - - - - + This is done because some servers misinterpret "." as a file extension. --> + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + - - - - + --> + + + + - - - - - - - - - - + --> + + + + + + + + + + + --> - + --> + - - - true - $(TargetPath) - $(TargetFileName) - true - - - - - - true - $(TargetPath) - $(TargetFileName) - - + --> + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + - - PrepareForBuild - true - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> - $(TargetDir)$(TargetFileName).config - $(TargetFileName).config - - $(AppConfig) - - - - <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> - <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> - $(_DeploymentTargetApplicationManifestFileName) - - $(OutDir)$(_DeploymentTargetApplicationManifestFileName) - - - - - - - %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) - - - + --> + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + - - - - - - @(_DebugSymbolsOutputPath->'%(FullPath)') - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputPdbItem->'%(FullPath)') - @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + - - - - - - @(FinalDocFile->'%(FullPath)') - true - @(DocFileItem->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputDocItem->'%(FullPath)') - @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + - - $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames - - - - - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - %(EmbeddedResource.Culture) - - - - - - $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) - - %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) - - - + --> + + $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - - - - - - $(MSBuildProjectFullPath) - $(ProjectFileName) - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + - - - - - - @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') - $(_SGenDllName) - - - + --> + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + - - + --> + + - - - + Needed for certain build environments that import partial sets of targets. --> + + + - - - - - - - - ResolveSDKReferences;ExpandSDKReferences - + --> + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + - - - - - - + --> + + + + + + + --> - + --> + $(CommonOutputGroupsDependsOn); BuildOnlySettings; PrepareForBuild; AssignTargetPaths; ResolveReferences - - + + - + --> + - + --> + $(BuiltProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - + + + + + + + - + --> + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(DocumentationProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SGenFilesOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(ReferenceCopyLocalPathsOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - + --> + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - + + + + --> - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets - - - - - - true - - - - - - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets - - - + retrieve them. --> + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets - - - - - - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets - $(MSBuildToolsPath)\NuGet.targets - + --> + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + +--> - - - true - - NuGet.Build.Tasks.dll - - false - - true - true - - false - - WarnAndContinue - - $(BuildInParallel) - true - - <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true - - $(MSBuildInteractive) - - true - - true - - <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true - - - - <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + --> + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + skipped. --> <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); NuGetRestoreTargets=$(MSBuildThisFileFullPath); RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); - - + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); _RestoreSolutionFileUsed=true; @@ -7917,57 +7917,57 @@ Copyright (c) .NET Foundation. All rights reserved. SolutionFileName=$(SolutionFileName); SolutionPath=$(SolutionPath); SolutionExt=$(SolutionExt); - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + --> + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - + --> + + + + $(ContinueOnError) + false + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - + --> + + + + $(ContinueOnError) + false + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - - - - - - - - + --> + + + + $(ContinueOnError) + false + + + + + + + + + - - - <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> - - + --> + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + - - - exclusionlist - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> - - - - - - - - - - - - - - - - - + --> + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + - - - - - - <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> - <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> - - - - - - - - - - + --> + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + - - - + --> + + + - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> - RestoreSpec - $(MSBuildProjectFullPath) - - - + --> + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + - - - netcoreapp1.0 - - - - - - + --> + + + netcoreapp1.0 + + + + + + - - - - - - - + --> + + + + + + + - + --> + - - <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true - - - <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true - - - - - - - <_HasPackageReferenceItems /> - - + --> + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + - - - true - - + --> + + + true + + - - - <_RestoreProjectFramework /> - <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) - - - - - - - <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> - - + --> + + + <_RestoreProjectFramework /> + <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + - - - <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> - - - <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> - - + --> + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + + <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> + + - - - $(SolutionDir) - - - - - - - - - - + --> + + + $(SolutionDir) + + + + + + + + + + - + --> + - - - - - - + --> + + + + + + - - - <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> - $(RestoreAdditionalProjectSources) - $(RestoreAdditionalProjectFallbackFolders) - $(RestoreAdditionalProjectFallbackFoldersExcludes) - - - + --> + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + - - - - $(MSBuildProjectExtensionsPath) - - - - + --> + + + + $(MSBuildProjectExtensionsPath) + + + + - - <_RestoreProjectName>$(MSBuildProjectName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) - + --> + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + - - <_RestoreProjectVersion>1.0.0 - <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) - <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) - - - - <_RestoreCrossTargeting>true - - - - <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(_RestoreProjectVersion) - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(RestoreProjectStyle) - $(RestoreOutputAbsolutePath) - $(RuntimeIdentifiers);$(RuntimeIdentifier) - $(RuntimeSupports) - $(_RestoreCrossTargeting) - $(RestoreLegacyPackagesDirectory) - $(ValidateRuntimeIdentifierCompatibility) - $(_RestoreSkipContentFileWrite) - $(_OutputConfigFilePaths) - $(TreatWarningsAsErrors) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - $(NoWarn) - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) - $(CentralPackageVersionOverrideEnabled) - $(CentralPackageTransitivePinningEnabled) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(RestoreOutputAbsolutePath) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(_CurrentProjectJsonPath) - $(RestoreProjectStyle) - $(_OutputConfigFilePaths) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - $(MSBuildProjectDirectory)\packages.config - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - $(_OutputSources) - $(SolutionDir) - $(_OutputRepositoryPath) - $(_OutputConfigFilePaths) - $(_OutputPackagesPath) - @(_RestoreTargetFrameworksOutputFiltered) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - @(_RestoreTargetFrameworksOutputFiltered) - - - + --> + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + - - - + --> + + + - + --> + - - - - - - - + --> + + + + + + + - + --> + - - - - - - - - - - - - - - - - - - - - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - TargetFrameworkInformation - $(MSBuildProjectFullPath) - $(PackageTargetFallback) - $(AssetTargetFallback) - $(TargetFramework) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion) - $(TargetFrameworkMoniker) - $(TargetFrameworkProfile) - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetPlatformVersion) - $(TargetPlatformMinVersion) - $(CLRSupport) - $(RuntimeIdentifierGraphPath) - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + + + - + --> + - - - - - - - <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> - - + --> + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + - - - - - - + --> + + + + + + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - - - - - - - - <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> - - - - - - + --> + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + - - - <_RestorePackagesPathOverride>$(RestorePackagesPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + - - - <_RestorePackagesPathOverride>$(RestoreRepositoryPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + - - - <_RestoreSourcesOverride>$(RestoreSources) - - + --> + + + <_RestoreSourcesOverride>$(RestoreSources) + + - - - <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) - - + --> + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + - - - - - - + --> + + + + + + - - - <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) - - + --> + + + <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) + + - - - <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> - - + --> + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + - + --> + - +--> + +--> - - $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets - +--> + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + +--> - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - $(MSBuildThisFileDirectory)\tools\net7.0\Microsoft.NET.Build.Extensions.Tasks.dll - $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll - - true - - - - +--> + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net7.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + +--> +--> +--> - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + +--> - - - Microsoft.TestPlatform.Build.dll - $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) - - - +--> + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +--> - +--> + +--> - - true - - - - true - + --> + + true + + + + true + - - <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets - <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) - - + --> + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + - - - +--> + + + // <autogenerated /> using System%3b using System.Reflection%3b [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName = "$(TargetFrameworkMonikerDisplayName)")] - - - - - true + + + + + true - true - true - - $([System.Globalization.CultureInfo]::CurrentUICulture.Name) - + --> + true + true + + $([System.Globalization.CultureInfo]::CurrentUICulture.Name) + - + but the user hasn't told us to not include standard references --> + - <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> - - - - + --> + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> + + + + +--> +--> - - - TargetFramework - TargetFrameworks - - - true - - +--> + + + TargetFramework + TargetFrameworks + + + true + + - - + --> + + - - - <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets - <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath - GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) - $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) - GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) - Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) - $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) - - <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath - <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) - GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) - - - - - - - - - - + --> + + + <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath + GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) + $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) + GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) + Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) + GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + + + + + + + + +--> - +--> + +--> +--> +--> - - - $(MSBuildThisFileDirectory)..\tools\ - net7.0 - net472 - $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ - $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll +--> + + + $(MSBuildThisFileDirectory)..\tools\ + net7.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll - Microsoft.NETCore.App;NETStandard.Library - + --> + Microsoft.NETCore.App;NETStandard.Library + - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - $(_IsExecutable) - - - - netcoreapp2.2 - - - false - DotnetTool - $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) - - - Preview - - - - - + --> + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + - - true - - +--> + + true + + +--> +--> - - - $(MSBuildProjectExtensionsPath)/project.assets.json - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + --> + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) - $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) - - false - - false - - true - $(IntermediateOutputPath)NuGet\ - true - $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) - $(TargetFrameworkMoniker) - true + be stored in a shared directory next to the assets.json file --> + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true - false + TargetDefinitions, FileDefinitions and FileDependencies items. --> + false - true - - - - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) - - - - - + its own multi-targeting logic, or if the current SDK targets will pick the assets correctly. --> + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + - + --> + $(ResolveAssemblyReferencesDependsOn); ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; - + ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; $(PrepareResourcesDependsOn) - - - - - - $(RootNamespace) - - - $(AssemblyName) - - - $(MSBuildProjectDirectory) - - - $(TargetFileName) - - - $(MSBuildProjectFile) - - - + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + - - true - + --> + + true + + --> - + --> + ResolveLockFileReferences; ResolveLockFileAnalyzers; @@ -9305,110 +9305,110 @@ Copyright (c) .NET Foundation. All rights reserved. ResolveRuntimePackAssets; RunProduceContentAssets; IncludeTransitiveProjectReferences - - - + + + + --> - - - - + --> + + + + - + run and created the assets file. --> + - - - - - - - - - - - - - - - - - <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) - roslyn$(_RoslynApiVersion) - - - - - - false - - - true - - - true - - - - true - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + compile errors. --> + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + match the expected version --> + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> - - - <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> - - + (that was spread across different tasks/targets) for backwards compatibility. --> + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + - + --> + - - - - - - + --> + + + + + + - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + - - - - + but the names depend upon the items themselves. Split it apart. --> + + + + - - + --> + + - - true - + --> + + true + - - + project, use that, in order to preserve metadata (such as aliases). --> + + - - - - - - - - - - - - - - + a reference with a warning. See https://github.com/dotnet/sdk/issues/1499 --> + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> - - <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - - - - + --> + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + - + NETSDK1056. --> + - - +--> + + +--> - - - true - true - true - true - - +--> + + + true + true + true + true + + - - $(DefaultItemExcludes);$(BaseOutputPath)/** - - $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** - - $(DefaultItemExcludes);**/*.user - $(DefaultItemExcludes);**/*.*proj - $(DefaultItemExcludes);**/*.sln - $(DefaultItemExcludes);**/*.vssscc + This is in the .targets because it needs to come after the final BaseOutputPath has been evaluated. --> + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc - $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** - + properties because of a naming mistake. --> + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + - + in the project file. --> + - 1.6.1 - - 2.0.3 - + produced, so we will roll forward to the latest version. --> + 1.6.1 + + 2.0.3 + +--> +--> - - true - false - <_TargetLatestRuntimePatchIsDefault>true - - - true - - - - - all - true - - - all - true - - - - - - - - - - - - + --> + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + - - - - - - - - - + A FrameworkReference to Microsoft.AspNetCore.App should be used instead, and will be implicitly included by Microsoft.NET.Sdk.Web. --> + + + + + + + + + - - - - - - - - - - - - + should be replaced with a FrameworkReference. --> + + + + + + + + + + + + - - $(_TargetFrameworkVersionWithoutV) - - - - - - - - https://aka.ms/sdkimplicitrefs - - - - - - - - - - - <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> - - - - false - - - - - - https://aka.ms/sdkimplicititems - + this should prevent breaking it. --> + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + - - - - - - - - - - - - - - - - - - - - - - - - - - <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> - - - + be easy to miss the duplicate items error which is the real source of the problem. --> + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + +--> - - - + if building with an implicit restore. --> + + + - - + --> + + - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + --> + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - - - - - - - - - - - - - - - + --> + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + + + + +--> +--> - +--> + $(ResolveAssemblyReferencesDependsOn); ResolveTargetingPackAssets; - - - - - - - + + + + + + + - - - - - - - - + we can't do the change atomically --> + + + + + + + + - - - - - - - - - - - true - true - - - <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - - - - - $(RuntimeIdentifier) - $(DefaultAppHostRuntimeIdentifier) - - - - - - - - - - - true - true - false - - - - [%(_PackageToDownload.Version)] - - - - - - + --> + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + - - - - - - + --> + + + + + + - - - - - - - %(ResolvedTargetingPack.PackageDirectory) - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> - %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) - - - - - %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) - - - - @(ResolvedAppHostPack->'%(Path)') - - - - %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) - - - - @(ResolvedSingleFileHostPack->'%(Path)') - - - - %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) - - - - @(ResolvedComHostPack->'%(Path)') - - - - %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) - - - - @(ResolvedIjwHostPack->'%(Path)') - - - - - - - - - - + --> + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + - - - - true - false - - - - - - - - - - + --> + + + + true + false + + + + + + + + + + - $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) - - - - - - - - - - + that consume it. --> + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + - - - - - - <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> - - - + --> + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + - - - - - - - - + --> + + + + + + + + - + --> + - - - <_Parameter1>$(UserSecretsId.Trim()) - - - + --> + + + <_Parameter1>$(UserSecretsId.Trim()) + + + - - - - - - $(_IsNETCoreOrNETStandard) - - - true - false - true - $(MSBuildProjectDirectory)/runtimeconfig.template.json - true - true - <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache - <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) - - - - - - - - - - - true - - - false - - - $(AssemblyName).deps.json - $(TargetDir)$(ProjectDepsFileName) - $(AssemblyName).runtimeconfig.json - $(TargetDir)$(ProjectRuntimeConfigFileName) - $(TargetDir)$(AssemblyName).runtimeconfig.dev.json - true - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + + + + + $(_IsNETCoreOrNETStandard) + + + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + + + + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + +--> - - - true - true - - - - CurrentArchitecture - CurrentRuntime - - - <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so - <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe - <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) - <_DotNetAppHostExecutableNameWithoutExtension>apphost - <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) - <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost - <_DotNetComHostLibraryNameWithoutExtension>comhost - <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) - <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost - <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) - <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) - <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) - - - - - - <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> - - +--> + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + - - - Microsoft.NETCore.App - - + --> + + + Microsoft.NETCore.App + + - - <_DefaultUserProfileRuntimeStorePath>$(HOME) - <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) - <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) - $(_DefaultUserProfileRuntimeStorePath) - - - true - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + - - false - true - + property values from referencing projects. --> + + false + true + - - true - - - true - - - $(AvailablePlatforms),ARM32 - - - $(AvailablePlatforms),ARM64 - - - $(AvailablePlatforms),ARM64 - - - - false - - - - true - - + --> + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + + + true + + _CheckForBuildWithNoBuild; $(CoreBuildDependsOn); GenerateBuildDependencyFile; GenerateBuildRuntimeConfigurationFiles - - - + + + _SdkBeforeClean; $(CoreCleanDependsOn) - - - + + + _SdkBeforeRebuild; $(RebuildDependsOn) - - + + - - - + --> + + + - - - - 1.0.0 - - - - - - - - - - - + --> + + + + 1.0.0 + + + + + + + + + + + - - - + during incremental builds when the task is skipped --> + + + - - - - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + - - - <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true - LatestMinor - + --> + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + - - - <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true - - - + other values should still keep failing as they won't have any effect when run on 2.*. --> + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_CleaningWithoutRebuilding>true - false - - - - - <_CleaningWithoutRebuilding>false - - + during incremental builds when the task is skipped --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + --> + + + + + $(CompileDependsOn); _CreateAppHost; _CreateComHost; _GetIjwHostPaths; - - + + - - - - <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true - <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true - - - + --> + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + - - - $(SingleFileHostSourcePath) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) - - + --> + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + - - - - - @(_NativeRestoredAppHostNETCore) - - - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) - - - - - - + --> + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + - - - - - + --> + + + + + - - - - + --> + + + + - - - + --> + + + - - - $(AssemblyName).comhost$(_ComHostLibraryExtension) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) - - - + --> + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + - - - + --> + + + - - - - <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest - PreserveNewest - - - + --> + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + - - PreserveNewest - Never - - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest + --> + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest - Always - - - - - $(AssemblyName).$(_DotNetComHostLibraryName) - PreserveNewest - PreserveNewest - - - %(FileName)%(Extension) - PreserveNewest - PreserveNewest - - - - - $(_DotNetIjwHostLibraryName) - PreserveNewest - PreserveNewest - - - + places the correct unbundled apphost in the publish directory. --> + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + - - - <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + --> + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> - <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> - <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> - <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> - - + --> + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + - - - - - true - - - true - - - - - + --> + + + + + true + + + true + + + + + - - $(StartWorkingDirectory) - - - - - $(StartProgram) - $(StartArguments) - - - - - - dotnet - <_NetCoreRunArguments>exec "$(TargetPath)" - $(_NetCoreRunArguments) $(StartArguments) - $(_NetCoreRunArguments) - - - $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) - $(StartArguments) - - - - - $(TargetPath) - $(StartArguments) - - - mono - "$(TargetPath)" $(StartArguments) - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) - - - - - + --> + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + - + --> + $(CreateSatelliteAssembliesDependsOn); CoreGenerateSatelliteAssemblies - - - - - - - <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs - <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll - - - - <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) - - - - - - - true - - - - - - - - - - - - - + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + - + --> + - - - - - + --> + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - + --> + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + - - - - - - + --> + + + + + + - - - - - - - - - - false - - + --> + + + + + + + + + + false + + - false - - - - false - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true - - - - + to run it. --> + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + - - - + --> + + + - - - - - - - - + --> + + + + + + + + +--> - +--> + $(CommonOutputGroupsDependsOn); - - - + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); _GenerateDesignerDepsFile; _GenerateDesignerRuntimeConfigFile; GetCopyToOutputDirectoryItems; _GatherDesignerShadowCopyFiles; - - <_DesignerDepsFileName>$(AssemblyName).designer.deps.json - <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json - <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) - <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) - - - + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + - - - - - - - - - - <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> - - - - - - - - - - - <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + --> + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> - <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> - - - - - + --> + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + + + + +--> +--> +--> - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) - true - - - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - + --> + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + - - - - - <_InformationalVersionContainsPlus>false - <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true - $(InformationalVersion)+$(SourceRevisionId) - $(InformationalVersion).$(SourceRevisionId) - - - - - - <_Parameter1>$(Company) - - - <_Parameter1>$(Configuration) - - - <_Parameter1>$(Copyright) - - - <_Parameter1>$(Description) - - - <_Parameter1>$(FileVersion) - - - <_Parameter1>$(InformationalVersion) - - - <_Parameter1>$(Product) - - - <_Parameter1>$(AssemblyTitle) - - - <_Parameter1>$(AssemblyVersion) - - - <_Parameter1>RepositoryUrl - <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) - <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) - - - <_Parameter1>$(NeutralLanguage) - - - %(InternalsVisibleTo.PublicKey) - - - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) - - - <_Parameter1>%(AssemblyMetadata.Identity) - <_Parameter2>%(AssemblyMetadata.Value) - - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) - - - <_Parameter1>$(TargetPlatformIdentifier) - - - + --> + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + %(InternalsVisibleTo.PublicKey) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + - - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache - - - - - - - - - - - - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + - - - - - - $(AssemblyVersion) - $(Version) - - + --> + + + + + + $(AssemblyVersion) + $(Version) + + +--> +--> +--> - - - $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) + - - - - - - - - - - + --> + + + + + + + + + + +--> +--> - - - - <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config - - - - - - - - - - - - - - - - - +--> + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + +--> +--> +--> - + --> + - - - <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> - <_AllProjects Include="$(MSBuildProjectFullPath)" /> - - - - - + --> + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + - - - - %(PackageReference.Identity) - %(PackageReference.Version) + --> + + + + %(PackageReference.Identity) + %(PackageReference.Version) StorePackageName=%(PackageReference.Identity); StorePackageVersion=%(PackageReference.Version); @@ -11375,246 +11375,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); DisableImplicitFrameworkReferences=false; - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - + --> + + + + + + + + + <_StoreArtifactContent> @(ListOfPackageReference) -]]> - - - - - - +]]> + + + + + + - - - <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> - <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> - - - - - - - - + --> + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + - - - true - true - <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) - true - - - - - - $(UserProfileRuntimeStorePath) - <_ProfilingSymbolsDirectoryName>symbols - $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) - $(DefaultProfilingSymbolsDir) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) - $(ProfilingSymbolsDir)\ - $(DefaultComposeDir) - $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) - $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) - $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) - $([System.IO.Path]::GetFullPath($(ComposeDir))) - <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) - $([System.IO.Path]::GetTempPath()) - $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) - $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) - - $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) - - $(PublishDir)\ - - - - false - true - - - - - - - - $(StorePackageVersion.Replace('*','-')) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) - <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) - $(StoreWorkerWorkingDir)\ - $(BaseIntermediateOutputPath)\project.assets.json - - - $(MicrosoftNETPlatformLibrary) - true - - + --> + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + - - - - + --> + + + + - + --> + - + --> + - - - - - + --> + + + + + - + --> + - - - <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> - - - true - - + --> + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + - - - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> - - + --> + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + - - - - true - true - - - - - - - - - + --> + + + + true + true + + + + + + + + + - - - - - - + --> + + + + + + +--> +--> +--> - - true - true - false - true - false - true - 1 - + --> + + true + true + false + true + false + true + 1 + - - - - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> - - - - - - - - <_CoreclrPath>@(_CoreclrResolvedPath) - @(_JitResolvedPath) - <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) - <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) - $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) - - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) - - - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) - - + --> + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + - - - + --> + + + CrossgenExe=$(Crossgen); CrossgenJit=$(JitPath); @@ -11704,246 +11704,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) - - - - - - + + + + + + - - - $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) - $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) - $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" - CreatePDB - CreatePerfMap - - - - - - - - - - - - <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> - - - - - - - - $([System.IO.Path]::PathSeparator) - $([System.IO.Path]::DirectorySeparatorChar) - - + --> + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + - - - <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) - <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) - - - - - <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) - - + --> + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + - - - <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) - - <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) - - <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) - - - <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> - - - - - - - - + --> + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll - $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - + --> + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + - - - - - + --> + + + + + - - - - - + --> + + + + + - - - - <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R - - - - <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> - + --> + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + - - <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> - - - - - - <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> - <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> - - - <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> - <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> - - - - - - - - - - - - - - - - - + assembly list. --> + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + - - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> - - + --> + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> - - + --> + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + +--> +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + - - +--> + + - - <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> - - <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> - - - - +--> + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + +--> +--> - - true - <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true - true - - - - Always - - +--> + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + Always + + - - - - + --> + + + + <_BeforePublishNoBuildTargets> BuildOnlySettings; _PreventProjectReferencesFromBuilding; @@ -12045,62 +12045,62 @@ Copyright (c) .NET Foundation. All rights reserved. PrepareResourceNames; ComputeIntermediateSatelliteAssemblies; ComputeEmbeddedApphostPaths; - + <_CorePublishTargets> PrepareForPublish; ComputeAndCopyFilesToPublishDirectory; $(PublishProtocolProviderTargets); PublishItemsOutputGroup; - - <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) - - - - + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + - - - - - - - false - - + the published assets were copied. --> + + + + + + + false + + - - - - - - - - - - - - - - $(PublishDir)\ - - - + --> + + + + + + + + + + + + + + $(PublishDir)\ + + + - + --> + - + --> + - - - - <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> - - - - - - - - + --> + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + - - - <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) - - - - - - <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt - - - - - - - - - - - - - - - - - - <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> - <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> - - - - - - - - - + --> + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + - + --> + - - - - + --> + + + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - - <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> - <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> - - - <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> - <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> - - + --> + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + - - - true - true - false - - + --> + + + true + true + false + + - - - - - @(IntermediateAssembly->'%(Filename)%(Extension)') - PreserveNewest - - - - $(ProjectDepsFileName) - PreserveNewest - - - - $(ProjectRuntimeConfigFileName) - PreserveNewest - - - - @(AppConfigWithTargetPath->'%(TargetPath)') - PreserveNewest - - - - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - PreserveNewest - true - - - - %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) - PreserveNewest - - - - %(Filename)%(Extension) - PreserveNewest - - + --> + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> - - - - %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) - PreserveNewest - - - - @(FinalDocFile->'%(Filename)%(Extension)') - PreserveNewest - - - - shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) - PreserveNewest - - - <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> - - - + to ensure that we don't get duplicate files in the publish output. --> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + - - + --> + + - - - - - <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> - - - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> - - + PreserveStoreLayout without this task, and how to handle RuntimeStorePackages. --> + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + - - - - - - + --> + + + + + + - - - <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> - - + --> + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + - - - <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + --> + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - - - - %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) - Always - True - - - %(_SourceItemsToCopyToPublishDirectory.TargetPath) - PreserveNewest - True - - - + --> + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + - + --> + - - <_GCTPDIKeepDuplicates>false - <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath - - - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - + a non-empty value and the original behavior will be restored. --> + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + - - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - Always - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - PreserveNewest - - - - - <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies - - - + --> + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + - - - <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> - - <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> - - <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> - - - - <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> - + --> + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + - - - + --> + + + - - - - - - - - - <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> - - - + --> + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + - - <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true - <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true - - + generate a different one. --> + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + - - - <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> - - - - $(AssemblyName)$(_NativeExecutableExtension) - $(PublishDir)$(PublishedSingleFileName) - - - - - - - - $(PublishedSingleFileName) - - - - - - false - false - false - $(IncludeAllContentForSelfExtract) - false - - - - - - - - - - + --> + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + - - + --> + + - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) - $(PublishDir)$(ProjectDepsFileName) - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) - - - - - - <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - - - - - $(ProjectDepsFileName) - - - + PublishDepsFilePath is empty (by default) for PublishSingleFile, since the deps.json file is embedde within the single-file bundle --> + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + - - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + --> + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + - - - - - - - - + --> + + + + + + + + - + --> + $(PublishItemsOutputGroupDependsOn); ResolveReferences; ComputeResolvedFilesToPublishList; _ComputeFilesToBundle; - - - - - - - - - - - + + + + + + + + + + + - + --> + - - - + --> + + + - +--> + +--> - - - - - +--> + + + + + - - <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml - true - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) - - - - <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> - <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> - <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> - - - - - - - tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) - - - %(_ResolvedFileToPublishWithPackagePath.PackagePath) - - - - - - - $(TargetName) - $(TargetFileName) - - - - - - - - - - - - - + --> + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + + + $(TargetName) + $(TargetFileName) + + + + + + + + + + + + + - - <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache - <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) - <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel - <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) - $(OutDir) - - - - - + --> + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + - - + --> + + - - - - - - - - - + during incremental builds when the task is skipped --> + + + + + + + + + - - - <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> - <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> - <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> - <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + +--> +--> - - - +--> + + + +--> +--> - - refs - $(PreserveCompilationContext) - - - - - $(DefineConstants) - $(LangVersion) - $(PlatformTarget) - $(AllowUnsafeBlocks) - $(TreatWarningsAsErrors) - $(Optimize) - $(AssemblyOriginatorKeyFile) - $(DelaySign) - $(PublicSign) - $(DebugType) - $(OutputType) - $(GenerateDocumentationFile) - - - - - - - - - +--> + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(PublicSign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + - <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + --> + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> - <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> - - $(RefAssembliesFolderName)\%(Filename)%(Extension) - - - + --> + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + - - - - - + --> + + + + + +--> +--> +--> +--> - - +--> + + Microsoft.CSharp|4.4.0; Microsoft.Win32.Primitives|4.3.0; @@ -13123,9 +13123,9 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + Microsoft.Win32.Primitives|4.3.0; System.AppContext|4.3.0; @@ -13222,50 +13222,50 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + - - +--> + + - - + --> + + - <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> - - - - - - - + --> + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + - - - - - - - - - + (eg: HintPath) --> + + + + + + + + + - - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> - - + --> + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + - - - - - - - + --> + + + + + + + +--> +--> - - Properties - - - $(Configuration.ToUpperInvariant()) +--> + + Properties + + + $(Configuration.ToUpperInvariant()) - $(ImplicitConfigurationDefine.Replace('-', '_')) - $(ImplicitConfigurationDefine.Replace('.', '_')) - $(ImplicitConfigurationDefine.Replace(' ', '_')) - $(DefineConstants);$(ImplicitConfigurationDefine) - - - $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) - - - - - + --> + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(ImplicitConfigurationDefine.Replace(' ', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + + + + + - - $(WarningsAsErrors);SYSLIB0011 - + --> + + $(WarningsAsErrors);SYSLIB0011 + - - - +--> + + + +--> +--> - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - + set PublishTrimmed in targets which are imported after these targets. --> + + $(IntermediateOutputPath)linked\ + $(IntermediateLinkDir)\ + + <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore + + + + <_Parameter1>IsTrimmable + <_Parameter2>True + + - - false - false - false - false - false - false - false - false - - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --notrimwarn - false - - - - $(NoWarn);IL2121 - + could be removed by the linker, causing a trimmed app to crash. --> + + false + false + false + false + false + false + false + false + + <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true + <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false + true + + + + true + + true + + false + + + + <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --notrimwarn + false + + + + $(NoWarn);IL2121 + - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - + --> + + + + <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> + + + + - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - + https://github.com/dotnet/sdk/pull/3086 --> + + <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + + + + + + - - - + --> + + + - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - + In this case, explicitly specify the path to the dotnet host. --> + + <_DotNetHostDirectory>$(NetCoreRoot) + <_DotNetHostFileName>dotnet + <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe + + + + + + + - + --> + - + potentially problematic when warnings are suppressed. --> + - - - 5 - 0 - - - - - - <_ILLinkSuppressions Include="$(MSBuildThisFileDirectory)6.0_suppressions.xml" /> - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --link-attributes "@(_ILLinkSuppressions->'%(Identity)', '" --link-attributes "')" - - - - copyused - partial - full - - <_TrimmerDefaultAction Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '7.0'))">$(TrimmerDefaultAction) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">$(TrimMode) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '6.0'))">copy - - - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - <_ExtraTrimmerArgs>--enable-serialization-discovery $(_ExtraTrimmerArgs) - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - + is a NativeAOT app, value of SelfContained doesn't matter. --> + + + 5 + 0 + + + + + + <_ILLinkSuppressions Include="$(MSBuildThisFileDirectory)6.0_suppressions.xml" /> + + + <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --link-attributes "@(_ILLinkSuppressions->'%(Identity)', '" --link-attributes "')" + + + + copyused + partial + full + + <_TrimmerDefaultAction Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '7.0'))">$(TrimmerDefaultAction) + <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">$(TrimMode) + <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '6.0'))">copy + + + $(TreatWarningsAsErrors) + <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) + true + + + + + $(NoWarn);IL2008 + + $(NoWarn);IL2009 + + + $(NoWarn);IL2037 + + + $(NoWarn);IL2009;IL2012 + + + + + <_ExtraTrimmerArgs>--enable-serialization-discovery $(_ExtraTrimmerArgs) + + + + + true + false + + + <_TrimmerUnreachableBodies>false + + + + + true + + + + + + + + + + + + + + + + + + + copy + + + - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - + This just sets metadata on the items in ManagedAssemblyToLink that came from IntermediateAssembly. --> + + <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly> + false + + + + + + + false + + + + <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> + + - - + --> + + - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - + further refine this list. It currently drops C++/CLI assemblies in ComputeManageAssemblies. --> + + + + + + <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> + <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> + + + <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + +--> +--> - +--> + + and enable .NET analyzers. Valid values are 'none', 'latest', 'preview', or a version number --> - <_NoneAnalysisLevel>4.0 - - <_LatestAnalysisLevel>7.0 - <_PreviewAnalysisLevel>8.0 - latest - $(_TargetFrameworkVersionWithoutV) + we choose to only do the 'latest' => actual value translation one time. --> + <_NoneAnalysisLevel>4.0 + + <_LatestAnalysisLevel>7.0 + <_PreviewAnalysisLevel>8.0 + latest + $(_TargetFrameworkVersionWithoutV) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) + --> + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) - $(_NoneAnalysisLevel) - $(_LatestAnalysisLevel) - $(_PreviewAnalysisLevel) - - $(AnalysisLevelPrefix) - $(AnalysisLevel) - - - - 9999 - - 4 - - $(_TargetFrameworkVersionWithoutV.Substring(0, 1)) - - - - - true - - true - - true - - true - - false - - - - false - false - false - false - false - - + and an implied numerical option (such as '4')--> + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefix) + $(AnalysisLevel) + + + + 9999 + + 4 + + $(_TargetFrameworkVersionWithoutV.Substring(0, 1)) + + + + + true + + true + + true + + true + + false + + + + false + false + false + false + false + + +--> - + --> + - - <_NETAnalyzersSDKAssemblyVersion>7.0.1 - + --> + + <_NETAnalyzersSDKAssemblyVersion>7.0.1 + - - CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2100;CA2101;CA2109;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2229;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 - $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) - $(WarningsAsErrors);$(CodeAnalysisRuleIds) - + --> + + CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2100;CA2101;CA2109;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2229;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) + $(WarningsAsErrors);$(CodeAnalysisRuleIds) + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.Analyzers.targets +============================================================================================================================================ +--> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - true - true - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets - - - - - +--> + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + +--> - - - true - - - - true - - - - 7.0 - - +--> + + + true + + + + true + + + + 7.0 + + - $(TargetPlatformMinVersion) - $(SupportedOSPlatformVersion) - - $(TargetPlatformVersion) - $(TargetPlatformVersion) - - - - <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> - - - - - - - - + other value. --> + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> - - - - - - - + The WinMD in this case can be identified because the Implementation metadata value is WinRT.Host.dll. So here we remove any such WinMD references. --> + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + +--> - + TargetPlatformVersion may have been set later than that in evaluation by platform-specific targets or Directory.Build.targets. So fix up those properties here --> + - 0.0 - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - - - - $(TargetPlatformVersion) - - + workloads. --> + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + +--> +--> - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll - $(MSBuildThisFileDirectory)..\tools\net7.0\Microsoft.DotNet.ApiCompat.Task.dll - - - - - +--> + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net7.0\Microsoft.DotNet.ApiCompat.Task.dll + + + + + +--> - - - - - - $(RoslynTargetsPath) - <_packageReferenceList>@(PackageReference) +--> + + + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) - $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) - $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) - - - - $(GenerateCompatibilitySuppressionFile) - - - - - - - <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - - $(_apiCompatDefaultProjectSuppressionFile) - - - - - - + are on the same directory as Microsoft.CodeAnalysis. So there is no need to distinguish between csproj or vbproj. --> + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + +--> +--> - - $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore - - CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - - - $(PackageId) - $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) - - - <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> - - - - - - - - - - - - - - - - +--> + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + + + + + + + + + + + + + + + + - +--> + - - - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets - true - +--> + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + +--> - - - ..\CoreCLR\NuGet.Build.Tasks.Pack.dll - ..\Desktop\NuGet.Build.Tasks.Pack.dll - - - - - - - - - $(AssemblyName) - $(Version) - true - _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) - $(Description) - Package Description - false - true - true - tools - lib - content;contentFiles - $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) - true - symbols.nupkg - DeterminePortableBuildCapabilities - false - false - .dll; .exe; .winmd; .json; .pri; .xml - $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) - .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) - .pdb - false - - - $(GenerateNuspecDependsOn) - - - Build;$(GenerateNuspecDependsOn) - - - - - - - $(TargetFramework) - - - - $(MSBuildProjectExtensionsPath) - $(BaseOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - +--> + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - + --> + + + + + + - - - <_ProjectFrameworks /> - - - - - - <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> - - + --> + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + - - - - <_PackageFilesToDelete Include="@(_OutputPackItems)" /> - - - - - - false - - - - - - - - - - - - - + --> + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + - - - - - - true - - - - - - - - - + --> + + + + + + true + + + + + + + + + - - - - $(PrivateRepositoryUrl) - $(SourceRevisionId) - - + --> + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + - - - - $(MSBuildProjectFullPath) - - - - - - - - - - - - - - - - - <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> - $(PackageVersion) - 1.0.0 - - - - - - - - - - - - - - - - - - - - - - - - - - <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> - - - - - - $(TargetFramework) - - - - - - - - - - - - - %(TfmSpecificPackageFile.RecursiveDir) - %(TfmSpecificPackageFile.BuildAction) - - - - - - <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> - $(TargetFramework) - - - - <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> - - + --> + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + - - - <_PathToPriFile Include="$(ProjectPriFullPath)"> - $(ProjectPriFullPath) - $(ProjectPriFileName) - - - + has to be added manually here.--> + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + - - - <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> - - - - <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> - Content - - <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> - Compile - - <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> - None - - <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> - EmbeddedResource - - <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> - ApplicationDefinition - - <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> - Page - - <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> - Resource - - <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> - SplashScreen - - <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> - DesignData - - <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> - DesignDataWithDesignTimeCreatableTypes - - <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> - CodeAnalysisDictionary - - <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> - AndroidAsset - - <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> - AndroidResource - - <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> - BundleResource - - - + --> + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + +--> +--> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.FSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.FSharp.xml index b15ee4c..f2f5a8f 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.FSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.FSharp.xml @@ -1,17 +1,17 @@ - +--> + +--> - +--> + - true + --> + true - true - - - $(ProjectExtensionsPathForSpecifiedProject) - - + --> + true + + + $(ProjectExtensionsPathForSpecifiedProject) + + +--> - - true - true - true - true - true - +--> + + true + true + true + true + true + - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - + --> + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + - + --> + - obj\ - $(BaseIntermediateOutputPath)\ - <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) - $(BaseIntermediateOutputPath) + --> + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) - $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) - $(MSBuildProjectExtensionsPath)\ - true - <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) - - + --> + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) - - + --> + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + - - true - - - $(DefaultProjectConfiguration) - $(DefaultProjectPlatform) - - - WJProject - JavaScript - - - - - + e.g. by the project itself. --> + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props - $(MSBuildToolsPath)\NuGet.props - + --> + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + +--> +--> - - true - + --> + + true + - - <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props - <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) - $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) - - - - true - + --> + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + - - true - true - true - true - true - true - true - true - true - true - true - true - true - +C:\Program Files\dotnet\sdk\7.0.202\Current\Microsoft.Common.props +============================================================================================================================================ +--> + + true + true + true + true + true + true + true + true + true + true + true + true + true + +--> +--> - - - true - - - - Debug;Release - AnyCPU - Debug - AnyCPU - - - - Library - 512 - prompt - $(MSBuildProjectName) - $(MSBuildProjectName.Replace(" ", "_")) - true - - - - true - false - - - true - - +--> + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + - - <_PlatformWithoutConfigurationInference>$(Platform) - - - x64 - - - x86 - - - ARM - - - arm64 - - - - - {CandidateAssemblyFiles} - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);{RawFileName} - - - portable - - false - - true - true + --> + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + arm64 + + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + + + portable + + false + + true + true - PackageReference - $(AssemblySearchPaths) - false - false - false - false - false - false - false - false - false - true - 1.0.3 - false - true - true - false - true - - - - - - $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj - - + a project targets .NET Framework and doesn't have any direct package dependencies. --> + PackageReference + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.3 + false + true + true + false + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + - - - $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)../../')) - $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs - 7.0 - 7.0 - 7.0.4 - 2.1 - 2.1.0 - 7.0.1 - $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json - 7.0.202 - linux-x64 - linux-x64 - <_NETCoreSdkIsPreview>false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +--> + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + 7.0 + 7.0 + 7.0.4 + 2.1 + 2.1.0 + 7.0.1 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 7.0.202 + win-x64 + win-x64 + <_NETCoreSdkIsPreview>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +--> + - $(BundledRuntimeIdentifierGraphFile) - - - - false - - - <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif - - - - - - - - - - - - - - - - + BundledRuntimeIdentifierGraphFile is set. --> + $(BundledRuntimeIdentifierGraphFile) + + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + - - - - - - - - - + evaluated in the second pass of evaluation, after all properties have been evaluated. --> + + + + + + + + + - + an implicit FrameworkReference --> + - - - - - + Packing an DotnetCliTool should include the Microsoft.NETCore.App package dependency. --> + + + + + +--> - - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel - true - - + putting an EnableWorkloadResolver.sentinel file beside the MSBuild SDK resolver DLL --> + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + +--> - - +--> + + - +--> + +--> +--> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + This is used by VS to show the list of frameworks to which projects can be retargeted. --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +--> + +--> - - - - - - +--> + + + + + + - +--> + +--> - - - - - - - - - - - - +--> + + + + + + + + + + + + - - +--> + + +--> - - - - false - true - +--> + + + + false + true + - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.props - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.props - + if running core msbuild select Microsoft.NET.Sdk.FSharp.props from dotnet cli deployment --> + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.props + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.props + - +--> + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - TRACE - - - - - $(DefineConstants);TRACE - - - - - false - - false - - - {F2A71F9B-5D33-465A-A702-920D77279786} - - false - false - 3 - 3239;$(WarningsAsErrors) - true - true - false - - - true - false - false - - - false - true - true - - - $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) - $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) - "$(MSBuildThisFileDirectory)fsc.dll" - $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) - $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) - "$(MSBuildThisFileDirectory)fsi.dll" - - - true - true - - - - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + TRACE + + + + + $(DefineConstants);TRACE + + + + + false + + false + + + {F2A71F9B-5D33-465A-A702-920D77279786} + + false + false + 3 + 3239;$(WarningsAsErrors) + true + true + false + + + true + false + false + + + false + true + true + + + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsc.dll" + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsi.dll" + + + true + true + + + + - +--> + +--> - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - <_FSCorePackageVersionSet>true - 7.0.200 - <_FSharpCoreLibraryPacksFolder Condition="'$(_FSharpCoreLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(MSBuildThisFileDirectory)'))library-packs - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + <_FSCorePackageVersionSet>true + 7.0.200 + <_FSharpCoreLibraryPacksFolder Condition="'$(_FSharpCoreLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(MSBuildThisFileDirectory)'))library-packs + - - - 4.4.0 - - - - contentFiles - - - contentFiles - - - - - - - - true - - +C:\Program Files\dotnet\sdk\7.0.202\FSharp\Microsoft.FSharp.NetSdk.props +============================================================================================================================================ +--> + + + 4.4.0 + + + + contentFiles + + + contentFiles + + + + + + + + true + + +--> +--> +--> - - - true - - +--> + + + true + + +--> - +--> + - $(MSBuildThisFileDirectory)Microsoft.DotNet.ILCompiler.SingleEntry.targets - + used to import the targets later in the SDK. --> + $(MSBuildThisFileDirectory)Microsoft.DotNet.ILCompiler.SingleEntry.targets + +--> +--> +--> - +--> + +--> - +--> + - $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.targets + used to import the targets later in the SDK. --> + $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.targets - true - $(MSBuildThisFileDirectory)..\tools\net7.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll - + (but not the targets, which were included with the SDK). --> + true + $(MSBuildThisFileDirectory)..\tools\net7.0\ILLink.Tasks.dll + $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll + +--> +--> +--> - - $(TargetsForTfmSpecificContentInPackage);PackTool - +--> + + $(TargetsForTfmSpecificContentInPackage);PackTool + +--> +--> - - $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation - +--> + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + +--> - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - - - - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props +============================================================================================================================================ +--> + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + + + + - - - - - - - + --> + + + + + + + - + --> + - <_WpfCommonNetFxReference Include="WindowsBase" /> - <_WpfCommonNetFxReference Include="PresentationCore" /> - <_WpfCommonNetFxReference Include="PresentationFramework" /> - <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> - 4.0 - - <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> - - - <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> - <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> - <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> - + --> + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + --> - + --> + - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + --> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> - <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + --> + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> - <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> - - - - - + --> + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + --> +--> + --> - + --> + - - - - + --> + + + + +--> - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + +--> +--> +--> - - - - + --> + + + + +--> +--> +--> - - - - - true - - <_TargetFrameworkVersionValue>0.0 - <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 - +--> + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + +--> +--> +--> +--> - - - true - - +--> + + + true + + +--> +--> - - - - - - - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - - - $(_IsExecutable) - <_UsingDefaultForHasRuntimeOutput>true - + So import them here. --> + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + +--> - - 1.0.0 - $(VersionPrefix)-$(VersionSuffix) - $(VersionPrefix) - - - $(AssemblyName) - $(Authors) - $(AssemblyName) - $(AssemblyName) - +--> + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + - +--> + +--> +--> - - Debug - AnyCPU - $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - + --> + + Debug + AnyCPU + $(Platform) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + +--> + respected by the SDK. --> +--> - - - true - <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) - <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties - <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ - $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) - $(_PublishProfileRootFolder)$(PublishProfileName).pubxml - $(PublishProfileFullPath) +--> + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) - false - - - + to limit the import to the project being published. --> + false + + + +--> + --> +--> +--> - - + --> + + - - $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) - v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) - + --> + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + - - $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) - - - Windows - + --> + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + - - <_UnsupportedTargetFrameworkError>true - + --> + + <_UnsupportedTargetFrameworkError>true + - - - - + --> + + + + - - - true - - - - - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + true + + + + + + + - - v0.0 - - - _ - + --> + + v0.0 + + + _ + - - - + --> + + + - - - - - - <_EnableDefaultWindowsPlatform>false - false - - - 2.1 - - - - - - - - - - - - - - <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> - - - @(_ValidTargetPlatformVersion->Distinct()) - - - - - true - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None - - - + --> + + + + + + <_EnableDefaultWindowsPlatform>false + false + + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion->Distinct()) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - + in the project file, the specified value will be used for the exclude. --> + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + - - true - - - true - true - + Configuration-specific PropertyGroup), so in that case we won't append to it by default. --> + + true + + + true + true + - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ - + --> + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + - - - - true - - false - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - +--> + + + + true + + false + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + - - + --> + + +--> - - +--> + + - - - - - - - - - - +--> + + + + + + + + + + +--> - - - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +--> + + + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\15.4.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\15.4.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\12.3.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\12.3.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - +--> + + + + + + + - - - - - + --> + + + + + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - <_RuntimePackInWorkloadVersion6>6.0.15 - true - true - +--> + + <_RuntimePackInWorkloadVersion6>6.0.15 + true + true + - - false - - - - true - $(WasmNativeWorkload) - - - false - false - - - false - true - - - - - - - - - - - - - - - - + --> + + false + + + + true + $(WasmNativeWorkload) + + + false + false + + + false + true + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) - - - - $(_MonoWorkloadRuntimePackPackageVersion) - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + - - - - - - - - + and emit a warning --> + + + + + + + + +--> - - <_RuntimePackInWorkloadVersion7>7.0.4 - <_BrowserWorkloadDisabled7>$(BrowserWorkloadDisabled) - <_BrowserWorkloadDisabled7 Condition="'$(_BrowserWorkloadDisabled7)' == '' and '$(RuntimeIdentifier)' == 'browser-wasm' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and !$([MSBuild]::VersionEquals('$(TargetFrameworkVersion)', '7.0'))">true - true - +--> + + <_RuntimePackInWorkloadVersion7>7.0.4 + <_BrowserWorkloadDisabled7>$(BrowserWorkloadDisabled) + <_BrowserWorkloadDisabled7 Condition="'$(_BrowserWorkloadDisabled7)' == '' and '$(RuntimeIdentifier)' == 'browser-wasm' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and !$([MSBuild]::VersionEquals('$(TargetFrameworkVersion)', '7.0'))">true + true + - - true - false - - - - true - $(WasmNativeWorkload7) - - - false - false - false - - - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) - - - - $(_MonoWorkloadRuntimePackPackageVersion) - - Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** - Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** - - + --> + + true + false + + + + true + $(WasmNativeWorkload7) + + + false + false + false + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** + + - - - - - - - - - - - + and emit a warning --> + + + + + + + + + + + +--> - - - - - +--> + + + + + +--> - - true - - - <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true - WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ - - - true - $(WasmNativeWorkload) - - - false - false - - - - - - - - +C:\Program Files\dotnet\sdk-manifests\7.0.100\microsoft.net.workload.emscripten.net7\WorkloadManifest.targets +============================================================================================================================================ +--> + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + - - - - - - +--> + + + + + + - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + - - - - - - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> - - + need to be set to "true" to avoid requiring restore (which would likely fail if the required workloads aren't already installed).--> + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + +--> + --> +--> +--> - - <_UsingDefaultRuntimeIdentifier>true - win7-x64 - win7-x86 - + --> + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + - - $(PublishSelfContained) - + This Won't affect t:/Publish (because of _IsPublishing), and also won't override a global SelfContained property.--> + + $(PublishSelfContained) + - - true - - - $(NETCoreSdkPortableRuntimeIdentifier) - - - $(PublishRuntimeIdentifier) - - - <_UsingDefaultPlatformTarget>true - - - - - - - x86 - - - - - x64 - - - - - arm - - - - - arm64 - - - - - AnyCPU - - - + Finally, library projects and non-executable projects have awkward interactions here so they are excluded.--> + + true + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + $(PublishRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + - - - <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - - - true - false - <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false - <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true - true - false - - - - $(NETCoreSdkRuntimeIdentifier) - win-x64 - win-x86 - win-arm - win-arm64 - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - - - - - - - - - - - + --> + + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + + + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + + + + + + + - - - - - - - - - - - - - false - - - - - - - - - - - - - + because we do not want the behavior to be a breaking change compared to version 3.0 --> + + + + + + + + + + + + + false + + + + + + + + + + + + + - - - true - + Configuration-specific PropertyGroup), so in that case we won't append to it by default. --> + + + true + - - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ - - + --> + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + - - - - - + --> + + + + + - +--> + +--> - - - true - +--> + + + true + - - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;5.0" /> - - - - + --> + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;5.0" /> + + + + - - - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true - - - - true - true - true - - - true - - - - true +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.BeforeCommon.targets +============================================================================================================================================ +--> + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true - true - - .dll + runtime minor version roll-forward: https://github.com/dotnet/core-setup/issues/3546 --> + true + + .dll - false - - - - $(PreserveCompilationContext) - - - - publish - - $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ - $(OutputPath)$(PublishDirName)\ - + is not needed for NETStandard or NETCore since references come from NuGet packages--> + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + --> +--> - - <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder - <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true - <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs - - - $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) - - - $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) - +--> + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + - - <_SDKImplicitReference Include="System" /> - <_SDKImplicitReference Include="System.Data" /> - <_SDKImplicitReference Include="System.Drawing" /> - <_SDKImplicitReference Include="System.Xml" /> +--> + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> - - <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - - <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> - - <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + such if the parse succeeds. --> + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> - <_SDKImplicitReference Remove="@(Reference)" /> - - - - - - false - - - $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 - - - - <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET - $(_FrameworkIdentifierForImplicitDefine) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET - <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) - <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) - <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) - $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) - $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - - - - - <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) - <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) - - - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> - - - - - - <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - - - - - - <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> - - - - - - $(DefineConstants);@(_ImplicitDefineConstant) - $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') - - - - - false - true - - - $(AssemblyName).xml - $(IntermediateOutputPath)$(AssemblyName).xml - - - - - - true - true - true - - - - - - - true - + NuGet package, you can just add the Reference to your project file. --> + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + - - $(MSBuildToolsPath)\Microsoft.CSharp.targets - $(MSBuildToolsPath)\Microsoft.VisualBasic.targets - $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets +--> + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets - $(MSBuildToolsPath)\Microsoft.Common.targets - + languages could either be supplied via an SDK or via a NuGet package. --> + $(MSBuildToolsPath)\Microsoft.Common.targets + + using Sdk attribute (from .NET Core Sdk 1.0.0-preview4) --> +--> +--> +--> +--> - - true - + --> + + true + - - Properties - - - $(Configuration.ToUpperInvariant()) +--> + + Properties + + + $(Configuration.ToUpperInvariant()) - $(ImplicitConfigurationDefine.Replace('-', '_')) - $(ImplicitConfigurationDefine.Replace('.', '_')) - $(DefineConstants);$(ImplicitConfigurationDefine) - + --> + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + - - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.FSharp.DesignTime.targets - - - + *************************************************************************************************************** --> + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.FSharp.DesignTime.targets + + + - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.targets - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.targets - + *************************************************************************************************************** --> + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.targets + - +--> + - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - true - true - true - true - true - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - - <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" Condition=" '$(NoStdLib)' != 'true' " /> - - - mscorlib - netcore - netstandard - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + true + true + true + true + true + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" Condition=" '$(NoStdLib)' != 'true' " /> + + + mscorlib + netcore + netstandard + - +--> + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildThisFileDirectory)FSharp.Build.dll - - - - - - - - - - - true - true - - - - .fs - F# - Managed - $(Optimize) - Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier) - - RootNamespace - false - $(Prefer32Bit) - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildThisFileDirectory)FSharp.Build.dll + + + + + + + + + + + true + true + + + + .fs + F# + Managed + $(Optimize) + Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier) + + RootNamespace + false + $(Prefer32Bit) + - - true - - - false - $(FSharpPrefer64BitTools) - $(Fsc_NetFramework_ToolPath) - $(Fsc_NetFramework_AnyCpu_ToolExe) - $(Fsc_NetFramework_PlatformSpecific_ToolExe) - - - - $(Fsc_Dotnet_ToolPath) - $(Fsc_Dotnet_ToolExe) - "$(Fsc_Dotnet_DotnetFscCompilerPath)" - - - - false - true - + --> + + true + + + false + $(FSharpPrefer64BitTools) + $(Fsc_NetFramework_ToolPath) + $(Fsc_NetFramework_AnyCpu_ToolExe) + $(Fsc_NetFramework_PlatformSpecific_ToolExe) + + + + $(Fsc_Dotnet_ToolPath) + $(Fsc_Dotnet_ToolExe) + "$(Fsc_Dotnet_DotnetFscCompilerPath)" + + + + false + true + - - - - - false - true - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - _ComputeNonExistentFileProperty - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + false + true + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + _ComputeNonExistentFileProperty + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - --simpleresolution $(OtherFlags) - $(OtherFlags) - - - - - - - - <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> - - - + --> + + + + + + + + + + + --simpleresolution $(OtherFlags) + $(OtherFlags) + + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + +--> - - $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets - +--> + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + +--> - - - true - true - true - true - - - - - - - 10.0 - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets - - - - - Managed - +--> + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + - - .NETFramework - v4.0 - - - - Any CPU,x86,x64,Itanium - Any CPU,x86,x64 - - - - - - - true - - true - - - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) - - $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + Native apps) because they do not target a .NET Framework. --> + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) - $(MSBuildFrameworkToolsPath) - - - Windows - 7.0 - $(TargetPlatformSdkRootOverride)\ - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - $(TargetPlatformSdkPath)Windows Metadata - $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral - $(TargetPlatformSdkMetadataLocation) - true - $(WinDir)\System32\WinMetadata - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - + we need to find a directory which does contain mscorlib to allow the inproc compiler to initialize and give us the chance to show certain dialogs in the IDE (which only happen after initialization).--> + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + - - - <_OriginalPlatform>$(Platform) - - <_OriginalConfiguration>$(Configuration) - - <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true - - true - - - AnyCPU - $(Platform) - Debug - $(Configuration) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(TargetType) - library - exe - true - - <_DebugSymbolsProduced>false - <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false - <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false - <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false - - <_DocumentationFileProduced>true - <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false - - false - + --> + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + - + --> + - <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true - <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true - + --> + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + - - .exe - .exe - .exe - .dll - .netmodule - .winmdobj - - - - true - $(OutputPath) - - - $(OutDir)\ - $(MSBuildProjectName) - - - $(OutDir)$(ProjectName)\ - $(MSBuildProjectName) - $(RootNamespace) - $(AssemblyName) - - $(MSBuildProjectFile) - - $(MSBuildProjectExtension) - - $(TargetName).winmd - $(WinMDExpOutputWindowsMetadataFilename) - $(TargetName)$(TargetExt) - - - + --> + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + - <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true - $(_DeploymentPublishableProjectDefault) - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest - - $(AssemblyName).application - - $(AssemblyName).xbap - - $(GenerateManifests) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days - <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) - <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - 100 - - + --> + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + - * - $(UICulture) - - - - <_OutputPathItem Include="$(OutDir)" /> - <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> - <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> - - - + --> + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + - $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) - - $(TargetDir)$(TargetFileName) - $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) - - $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) - - $(ProjectDir)$(ProjectFileName) - - - - - + --> + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + - - *Undefined* - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - - - true - - true - - - true - false - - - $(MSBuildProjectFile).FileListAbsolute.txt - - false - - true - true - <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false - <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true - false - false - - - <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config - - - - - - - - - - - - - - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> - - - $(IntermediateOutputPath)$(TargetName).pdb - <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) - - - $(IntermediateOutputPath)$(TargetName).xml - <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) - - - <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) - <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) - - - - <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> - $(TargetFileName) - - - - <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> - $(ApplicationIcon) - - - - $(_DeploymentTargetApplicationManifestFileName) - + --> + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + - <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> - $(_DeploymentTargetApplicationManifestFileName) - - - - $(TargetDeployManifestFileName) - - - <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> - + references and for copying to the publish output location. --> + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + - - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) - <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> - <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + --> + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) - <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> - <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> - - - - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) - <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) - - - - $(PublishDir)\ - $(OutputPath)app.publish\ - + --> + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + - - $(PublishDir) - $(ClickOncePublishDir)\ - + --> + + $(PublishDir) + $(ClickOncePublishDir)\ + - + --> + - $(PlatformTarget) + --> + $(PlatformTarget) - msil - amd64 - ia64 - x86 - arm - - - true - - - - $(Platform) - msil - amd64 - ia64 - x86 - arm - - None - $(PROCESSOR_ARCHITECTURE) - + --> + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + - - CLR2 - CLR4 - CurrentRuntime - true - false - $(PlatformTarget) - x86 - x64 - CurrentArchitecture - - - - Client - + If support for out-of-proc task execution is added on other runtimes, make sure each task's logic is checked against the current state of support. --> + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + - - false - - - - - true - true - false - + --> + + false + + + + + true + true + false + - - AssemblyFoldersEx - Software\Microsoft\$(TargetFrameworkIdentifier) - Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) - $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config - {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> .winmd; .dll; .exe - + + --> .pdb; .xml; .pri; .dll.config; .exe.config - + - Full - - + --> + Full + + - {CandidateAssemblyFiles} - $(AssemblySearchPaths);$(ReferencePath) - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) - $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} - $(AssemblySearchPaths);{AssemblyFolders} - $(AssemblySearchPaths);{GAC} - $(AssemblySearchPaths);{RawFileName} - $(AssemblySearchPaths);$(OutDir) - + --> + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + - - false - - - - $(NoWarn) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - - - - $(MSBuildThisFileDirectory)$(LangName)\ - - - - $(MSBuildThisFileDirectory)en-US\ - - - - - Project - - - BrowseObject - - - File - - - Invisible - - - File;BrowseObject - - - File;ProjectSubscriptionService - - - - $(DefineCommonItemSchemas) - - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - - - - - - Never - - - Never - - - Never - - - Never - - + typically expect --> + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + - - - true - + --> + + + true + - - - <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath - - + --> + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + - - - <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. - - - - - - - - - + --> + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + - - x86 - + correct value when we're trying to figure out PlatformTargetAsMSBuildArchitecture --> + + x86 + - + --> + - - + --> + + - + --> + BeforeBuild; CoreBuild; AfterBuild - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -3878,52 +3878,52 @@ Copyright (C) Microsoft Corporation. All rights reserved. UnmanagedRegistration; IncrementalClean; PostBuildEvent - - - - - - + + + + + + - - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + --> + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build BeforeRebuild; Clean; $(_ProjectDefaultTargets); AfterRebuild; - + BeforeRebuild; Clean; Build; AfterRebuild; - - - + + + - + --> + - + --> + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - + --> + - - - - - - - - + --> + + + + + + + + + --> - - false - - - - true - - + --> + + false + + + + true + + + --> - - $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata - - - - - $(TargetFileName).config - - - - - - - - - - + --> + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + - - @(_TargetFramework40DirectoryItem) - @(_TargetFramework35DirectoryItem) - @(_TargetFramework30DirectoryItem) - @(_TargetFramework20DirectoryItem) - - @(_TargetFramework20DirectoryItem) - @(_TargetFramework40DirectoryItem) - @(_TargetedFrameworkDirectoryItem) - @(_TargetFrameworkSDKDirectoryItem) - - - - + --> + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + - - - - - - - - - - - - - $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) - $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) - + --> + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + - - true - - - $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) - - - - - - - $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) - - - - - - - - - + resolving from the assemblyfolders global location if we are not acutally targeting a framework--> + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + - + E.g "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0.1\;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\" --> + - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - + --> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + --> - - - - - - + --> + + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + --> - + --> + - + --> + BeforeResolveReferences; AssignProjectConfiguration; @@ -4266,25 +4266,25 @@ Copyright (C) Microsoft Corporation. All rights reserved. GenerateBindingRedirects; ResolveComReferences; AfterResolveReferences - - - + + + - + --> + - + --> + - - - true - true - false + --> + + + true + true + false - false - - true - - - - - - - - - - - <_ProjectReferenceWithConfiguration> - true - true - - - true - true - - - + want this to happen, so just turn off synthetic project reference generation for Silverlight projects. --> + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + - + --> + - - - - + --> + + + + - - <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> - - - - <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> - <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> - - + --> + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + - - true - + --> + + true + - - - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> - true - - - - <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - - - - - <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> - - x86=Win32 - - - <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> - Win32=x86 - - - - - + Configuration information. --> + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + - - - - Platform=%(ProjectsWithNearestPlatform.NearestPlatform) - - - - %(ProjectsWithNearestPlatform.UndefineProperties);Platform - - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> - - + that can't multiplatform. --> + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + - + --> + - - $(NuGetTargetMoniker) - $(TargetFrameworkMoniker) - + --> + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> - true - %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework - - + --> + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> - true - - + --> + true + + - - - + --> + + + - - - - + --> + + + + - <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> - <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> - <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> - - + --> + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + - - - - - - - + that we are using a version of NuGet which supports that parameter on this task. --> + + + + + + + - - + --> + + - - - - - - - - - - TargetFramework=%(AnnotatedProjects.NearestTargetFramework) - + the IsRidAgnostic value for the NearestTargetFramework for the project. --> + + + + + + + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + - - %(AnnotatedProjects.UndefineProperties);TargetFramework - + --> + + %(AnnotatedProjects.UndefineProperties);TargetFramework + - - %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained - + unless the project is expecting those properties to flow. --> + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained + - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> - - - - - - - - - <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> - @(_TargetFrameworkInfo) - @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') - @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') - $(_AdditionalPropertiesFromProject) - true - @(_TargetFrameworkInfo->'%(IsRidAgnostic)') - - true - $(Platform) - $(Platforms) + --> + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + @(_TargetFrameworkInfo->'%(IsRidAgnostic)') + + true + $(Platform) + $(Platforms) - @(ProjectConfiguration->'%(Platform)'->Distinct()) - - - - - - <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> - $(%(AdditionalTargetFrameworkInfoProperty.Identity)) - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false - - - - - - <_TargetFrameworkInfo Include="$(TargetFramework)"> - $(TargetFramework) - $(TargetFrameworkMoniker) - $(TargetPlatformMoniker) - None - $(_AdditionalTargetFrameworkInfoProperties) + Build the `Platforms` property from that. --> + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) - $(IsRidAgnostic) - true - false - - - + fallback logic here will be that the project is RID agnostic if it doesn't have RuntimeIdentifier or RuntimeIdentifiers properties set. --> + $(IsRidAgnostic) + true + false + + + - + --> + - + --> + AssignProjectConfiguration; _SplitProjectReferencesByFileExistence; _GetProjectReferenceTargetFrameworkProperties; _GetProjectReferencePlatformProperties - - - + + + - - - - - $(ProjectReferenceBuildTargets) - - - ProjectReference - - - + --> + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + - - - - + --> + + + + - - - - + --> + + + + - - - - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + --> + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> - <_ResolvedProjectReferencePaths> - %(_ResolvedProjectReferencePaths.OriginalItemSpec) - - - - - - + --> + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + - - <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> - %(ReferencePath.ProjectReferenceOriginalItemSpec) - - - - + --> + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + - - $(GetTargetPathDependsOn) - - + --> + + $(GetTargetPathDependsOn) + + - - $(GetTargetPathDependsOn) - + --> + + $(GetTargetPathDependsOn) + - - - - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion.TrimStart('vV')) - $(TargetRefPath) - @(CopyUpToDateMarker) - - - + BeforeTargets. --> + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + - - - - %(_ApplicationManifestFinal.FullPath) - - - + --> + + + + %(_ApplicationManifestFinal.FullPath) + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + ResolveProjectReferences; FindInvalidProjectReferences; @@ -4876,69 +4876,69 @@ Copyright (C) Microsoft Corporation. All rights reserved. PrepareForBuild; ResolveSDKReferences; ExpandSDKReferences; - - - - - <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> - + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + - - $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache - - - - <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> - - - - <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false - true - false - Warning - $(BuildingProject) - $(BuildingProject) - $(BuildingProject) - false - - + --> + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + - - - true - - + ide will show one of the references as not resolved, this will not break the build but is a display issue --> + + + true + + - - false - true - - - - - - - - - - - - - - - - - + --> + + false + true + + + + + + + + + + + + + + + + + - - + --> + + - - %(FullPath) - - - %(ReferencePath.Identity) - - - - + assembly unless already specified. --> + + %(FullPath) + + + %(ReferencePath.Identity) + + + + - - - - - + --> + + + + + - - - $(_GenerateBindingRedirectsIntermediateAppConfig) - - - - - $(TargetFileName).config - - - + --> + + + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + - - Software\Microsoft\Microsoft SDKs - $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs - - $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 - - true - Windows - 8.1 - - false - WindowsPhoneApp - 8.1 - - - - - - - - - - - - - + --> + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + - + --> + GetInstalledSDKLocations - - - - Debug - Retail - Retail - $(ProcessorArchitecture) - Neutral - - - true - - - - - - - - - - - - + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + - + --> + GetReferenceTargetPlatformMonikers - - - - - - - - <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> - - - - - - - + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + - + --> + ResolveSDKReferences - + .winmd; .dll - - - - - - - - - - - + + + + + + + + + + + - - - - false - false - false - $(TargetFrameworkSDKToolsDirectory) - true - - - - - - - - - - - - - - - <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> - - - + --> + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5196,8 +5196,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(TargetDir) - - + + - + --> + GetFrameworkPaths; GetReferenceAssemblyPaths; ResolveReferences - - - - - <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - - - $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache - - + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5238,29 +5238,29 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(OutDir) - - - - false - false - false - false - false - true - false - - - <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> - - - <_RARResolvedReferencePath Include="@(ReferencePath)" /> - - - - - - - + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + - - false - - - - $(IntermediateOutputPath) - - + --> + + false + + + + $(IntermediateOutputPath) + + - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - false - - - - - - - - - - - - - - + --> + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + - + --> + + --> - + --> + $(PrepareResourcesDependsOn); PrepareResourceNames; ResGen; CompileLicxFiles - - - + + + - + --> + AssignTargetPaths; SplitResourcesByCulture; CreateManifestResourceNames; CreateCustomManifestResourceNames - - - + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + - + --> + - - - - - - - <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> - - - Resx - - - Non-Resx - - - - - - - - - + --> + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + - - - - - - Resx - - - Non-Resx - - - - - - - - - - - - <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> - <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> - - + i.e. either Licx, or resources that don't have culture info --> + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + - - - - + --> + + + + - - ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen - FindReferenceAssembliesForReferences - true - false - - + --> + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + - + --> + - + --> + - - - <_Temporary Remove="@(_Temporary)" /> - - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - - + --> + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - true - - - true - - - - true - - - true - - - + suddenly start failing to build.--> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + --> - - - - - - - + --> + + + + + + + + --> - + --> + ResolveReferences; ResolveKeySource; @@ -5654,96 +5654,96 @@ Copyright (C) Microsoft Corporation. All rights reserved. CoreCompile; _TimeStampAfterCompile; AfterCompile; - - - + + + - - - - - - <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> - - <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> - Resx - false - - <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - false - - - + --> + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + - - - true - $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) - - - true - - - - - + --> + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + - - - - - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + + + - - true - - - - - - - - - - + --> + + true + + + + + + + + + + - + --> + - + --> + - - - <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + - - - $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + - - - <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + - - - __NonExistentSubDir__\__NonExistentFile__ - - + --> + + + __NonExistentSubDir__\__NonExistentFile__ + + - - <_SGenDllName>$(TargetName).XmlSerializers.dll - <_SGenDllCreated>false - <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) - <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto - <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off - true - false - true - + --> + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - + --> + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + --> - + --> + _GenerateSatelliteAssemblyInputs; ComputeIntermediateSatelliteAssemblies; GenerateSatelliteAssemblies - - - + + + - - - - - - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> - - <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> - Resx - true - - <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - true - - - + --> + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + - - - <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) - - - - - - + --> + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + - + --> + CreateManifestResourceNames - - - - - - %(EmbeddedResource.Culture) - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - - - + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + - - $(Win32Manifest) - + --> + + $(Win32Manifest) + - - - + --> + + + - <_DeploymentBaseManifest>$(ApplicationManifest) - <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + property is set though, prefer that one be used to specify the manifest. --> + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) - true - - - - - $(ApplicationManifest) - $(ApplicationManifest) - - - - - - $(_FrameworkVersion40Path)\default.win32manifest - - + a manifest to their built assemblies --> + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + --> - + --> + SetWin32ManifestProperties; GenerateApplicationManifest; GenerateDeploymentManifest - - + + - - - <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> - - - - - - + --> + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + - - - - - - - - - <_DeploymentCopyApplicationManifest>true - - + --> + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + - - - <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) - <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) - - + --> + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) - <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) - - - - - - - + --> + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + - - - <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> - <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> - - + --> + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + - - - - - - - <_DeploymentManifestType>Native - - - - - - - <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') - - - + --> + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + CleanPublishFolder; _DeploymentGenerateTrustInfo $(DeploymentComputeClickOnceManifestInfoDependsOn) - - + + - - - - <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - - - <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> - <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> - - - <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> - - - - <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> - true - - <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> - - - - <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> - - - + --> + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + + + + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + - <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> - - - - <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> - <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> - - <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> - - - + --> + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + - - <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> - <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> - - - + --> + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + - - - - - - - - - - - - - - - <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> - - - <_DeploymentManifestType>ClickOnce - + This is being done to avoid Windows Forms designer memory issues that can arise while operating directly on files located in Obj directory. --> + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + - - <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) - - - - - - - - - - - - - - - + --> + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - true - false - + --> + + true + false + - + --> + CopyFilesToOutputDirectory - - - + + + - - - false - false - - - - - false - false - false - - - true - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - false - false - - - - - - + --> + + + + false + false + + + + + + - - - - - + input to projects that reference this one. --> + + + + + - + --> + - - <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + --> + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence - true + --> + true <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> AssignProjectConfiguration; _SplitProjectReferencesByFileExistence - + AssignTargetPaths; $(_TargetsThatPrepareProjectReferences); _GetProjectReferenceTargetFrameworkProperties; _PopulateCommonStateForGetCopyToOutputDirectoryItems - + - <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems - - <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject - - + --> + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + - - <_GCTODIKeepDuplicates>false - <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> - - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - - <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> - - + a non-empty value and the original behavior will be restored. --> + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + - - - - %(CopyToOutputDirectory) - - - + --> + + + + %(CopyToOutputDirectory) + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - - - - - - - - - - - - + --> + + + + + + + + + + + + - - - - - - - - - <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false - - - - - - - <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false - - - - - + --> + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + - - - - <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true - - - - - + --> + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + --> - - - - <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> - - - - - - - - - - - - - + --> + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + - - <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> - - - - - - - - + the current final output and intermediate output directories. --> + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + - - - - - + --> + + + + + - - - + --> + + + - - <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - + --> + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - - - - - - + --> + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + --> - + --> + BeforeClean; UnmanagedUnregistration; @@ -6884,81 +6884,81 @@ Copyright (C) Microsoft Corporation. All rights reserved. CleanReferencedProjects; CleanPublishFolder; AfterClean - - - + + + - + --> + - + --> + - + --> + - - + --> + + - - - - + --> + + + + - - - - - - - - - - - - - - - - - - - - <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> - - - - - - - - - - + Declare items of this type if you want Clean to delete them. --> + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + - + --> + - - - - - - - - + --> + + + + + + + + - - - + --> + + + + --> - - - - - - + --> + + + + + + + --> - + --> + SetGenerateManifests; Build; PublishOnly - + _DeploymentUnpublishable - - - + + + - - - + --> + + + - - - - - true - - + --> + + + + + true + + - + --> + SetGenerateManifests; PublishBuild; @@ -7090,33 +7090,33 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; _DeploymentSignClickOnceDeployment; AfterPublish - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -7125,77 +7125,77 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; GenerateSerializationAssemblies; CreateSatelliteAssemblies; - - - + + + - + --> + - - - - - <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) - <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ - - - - false - false - - - - - - - - - - - - - - - - - + This is done because some servers misinterpret "." as a file extension. --> + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + - - - - + --> + + + + - - - - - - - - - - + --> + + + + + + + + + + + --> - + --> + - - - true - $(TargetPath) - $(TargetFileName) - true - - - - - - true - $(TargetPath) - $(TargetFileName) - - + --> + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + - - PrepareForBuild - true - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> - $(TargetDir)$(TargetFileName).config - $(TargetFileName).config - - $(AppConfig) - - - - <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> - <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> - $(_DeploymentTargetApplicationManifestFileName) - - $(OutDir)$(_DeploymentTargetApplicationManifestFileName) - - - - - - - %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) - - - + --> + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + - - - - - - @(_DebugSymbolsOutputPath->'%(FullPath)') - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputPdbItem->'%(FullPath)') - @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + - - - - - - @(FinalDocFile->'%(FullPath)') - true - @(DocFileItem->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputDocItem->'%(FullPath)') - @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + - - $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames - - - - - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - %(EmbeddedResource.Culture) - - - - - - $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) - - %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) - - - + --> + + $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - - - - - - $(MSBuildProjectFullPath) - $(ProjectFileName) - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + - - - - - - @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') - $(_SGenDllName) - - - + --> + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + - - + --> + + - - - + Needed for certain build environments that import partial sets of targets. --> + + + - - - - - - - - ResolveSDKReferences;ExpandSDKReferences - + --> + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + - - - - - - + --> + + + + + + + --> - + --> + $(CommonOutputGroupsDependsOn); BuildOnlySettings; PrepareForBuild; AssignTargetPaths; ResolveReferences - - + + - + --> + - + --> + $(BuiltProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - + + + + + + + - + --> + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(DocumentationProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SGenFilesOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(ReferenceCopyLocalPathsOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - + --> + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - + + + + --> - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets - - - - - - true - - - - - - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets - - - + retrieve them. --> + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets - - - - - - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets - $(MSBuildToolsPath)\NuGet.targets - + --> + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + +--> - - - true - - NuGet.Build.Tasks.dll - - false - - true - true - - false - - WarnAndContinue - - $(BuildInParallel) - true - - <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true - - $(MSBuildInteractive) - - true - - true - - <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true - - - - <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + --> + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + skipped. --> <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); NuGetRestoreTargets=$(MSBuildThisFileFullPath); RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); - - + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); _RestoreSolutionFileUsed=true; @@ -7759,57 +7759,57 @@ Copyright (c) .NET Foundation. All rights reserved. SolutionFileName=$(SolutionFileName); SolutionPath=$(SolutionPath); SolutionExt=$(SolutionExt); - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + --> + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - + --> + + + + $(ContinueOnError) + false + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - + --> + + + + $(ContinueOnError) + false + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - - - - - - - - + --> + + + + $(ContinueOnError) + false + + + + + + + + + - - - <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> - - + --> + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + - - - exclusionlist - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> - - - - - - - - - - - - - - - - - + --> + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + - - - - - - <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> - <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> - - - - - - - - - - + --> + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + - - - + --> + + + - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> - RestoreSpec - $(MSBuildProjectFullPath) - - - + --> + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + - - - netcoreapp1.0 - - - - - - + --> + + + netcoreapp1.0 + + + + + + - - - - - - - + --> + + + + + + + - + --> + - - <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true - - - <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true - - - - - - - <_HasPackageReferenceItems /> - - + --> + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + - - - true - - + --> + + + true + + - - - <_RestoreProjectFramework /> - <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) - - - - - - - <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> - - + --> + + + <_RestoreProjectFramework /> + <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + - - - <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> - - - <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> - - + --> + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + + <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> + + - - - $(SolutionDir) - - - - - - - - - - + --> + + + $(SolutionDir) + + + + + + + + + + - + --> + - - - - - - + --> + + + + + + - - - <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> - $(RestoreAdditionalProjectSources) - $(RestoreAdditionalProjectFallbackFolders) - $(RestoreAdditionalProjectFallbackFoldersExcludes) - - - + --> + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + - - - - $(MSBuildProjectExtensionsPath) - - - - + --> + + + + $(MSBuildProjectExtensionsPath) + + + + - - <_RestoreProjectName>$(MSBuildProjectName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) - + --> + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + - - <_RestoreProjectVersion>1.0.0 - <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) - <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) - - - - <_RestoreCrossTargeting>true - - - - <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(_RestoreProjectVersion) - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(RestoreProjectStyle) - $(RestoreOutputAbsolutePath) - $(RuntimeIdentifiers);$(RuntimeIdentifier) - $(RuntimeSupports) - $(_RestoreCrossTargeting) - $(RestoreLegacyPackagesDirectory) - $(ValidateRuntimeIdentifierCompatibility) - $(_RestoreSkipContentFileWrite) - $(_OutputConfigFilePaths) - $(TreatWarningsAsErrors) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - $(NoWarn) - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) - $(CentralPackageVersionOverrideEnabled) - $(CentralPackageTransitivePinningEnabled) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(RestoreOutputAbsolutePath) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(_CurrentProjectJsonPath) - $(RestoreProjectStyle) - $(_OutputConfigFilePaths) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - $(MSBuildProjectDirectory)\packages.config - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - $(_OutputSources) - $(SolutionDir) - $(_OutputRepositoryPath) - $(_OutputConfigFilePaths) - $(_OutputPackagesPath) - @(_RestoreTargetFrameworksOutputFiltered) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - @(_RestoreTargetFrameworksOutputFiltered) - - - + --> + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + - - - + --> + + + - + --> + - - - - - - - + --> + + + + + + + - + --> + - - - - - - - - - - - - - - - - - - - - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - TargetFrameworkInformation - $(MSBuildProjectFullPath) - $(PackageTargetFallback) - $(AssetTargetFallback) - $(TargetFramework) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion) - $(TargetFrameworkMoniker) - $(TargetFrameworkProfile) - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetPlatformVersion) - $(TargetPlatformMinVersion) - $(CLRSupport) - $(RuntimeIdentifierGraphPath) - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + + + - + --> + - - - - - - - <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> - - + --> + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + - - - - - - + --> + + + + + + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - - - - - - - - <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> - - - - - - + --> + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + - - - <_RestorePackagesPathOverride>$(RestorePackagesPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + - - - <_RestorePackagesPathOverride>$(RestoreRepositoryPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + - - - <_RestoreSourcesOverride>$(RestoreSources) - - + --> + + + <_RestoreSourcesOverride>$(RestoreSources) + + - - - <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) - - + --> + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + - - - - - - + --> + + + + + + - - - <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) - - + --> + + + <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) + + - - - <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> - - + --> + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + - + --> + - +--> + +--> - - $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets - +--> + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + +--> - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - $(MSBuildThisFileDirectory)\tools\net7.0\Microsoft.NET.Build.Extensions.Tasks.dll - $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll - - true - - - - +--> + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net7.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + +--> +--> +--> - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + +--> - - - Microsoft.TestPlatform.Build.dll - $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) - - - +--> + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +--> - +--> + +--> - - true - - - - true - + --> + + true + + + + true + - - <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets - <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) - - + --> + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + +--> - - - + --> + + + $(AdditionalSourcesText) namespace Microsoft.BuildSettings [<System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName="$(TargetFrameworkMonikerDisplayName)")>] do () - - + + - - - - <_FsGeneratedTfmAttributesSource Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" /> - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + <_FsGeneratedTfmAttributesSource Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" /> + + - - - <_OldRootSdkLocation>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp - $(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\FSharpSdk - <_CoreRelativeSuffix>.NETCore\$(TargetFSharpCoreVersion)\FSharp.Core.dll - <_FrameworkRelativeSuffix>.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll - <_PortableRelativeSuffix>.NETPortable\$(TargetFSharpCoreVersion)\FSharp.Core.dll - - <_OldCoreSdkPath>$(_OldRootSdkLocation)\$(_CoreRelativeSuffix) - <_NewCoreSdkPath>$(NewFSharpSdkLocation)\$(_CoreRelativeSuffix) - - <_OldFrameworkSdkPath>$(_OldRootSdkLocation)\$(_FrameworkRelativeSuffix) - <_NewFrameworkSdkPath>$(NewFSharpSdkLocation)\$(_FrameworkRelativeSuffix) - - <_OldPortableSdkPath>$(_OldRootSdkLocation)\$(_PortableRelativeSuffix) - <_NewPortableSdkPath>$(NewFSharpSdkLocation)\$(_PortableRelativeSuffix) - - - - - $(_NewCoreSdkPath) - - - - $(_NewFrameworkSdkPath) - - - - $(_NewPortableSdkPath) - - - - - - <_OldRefAssemTPLocation>Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\Type Providers\FSharp.Data.TypeProviders.dll - <_OldSdkTPLocationPrefix>$(MSBuildProgramFiles32)\Microsoft SDKs\F# - <_OldSdkTPLocationSuffix>Framework\v4.0\FSharp.Data.TypeProviders.dll - - - - - - - - - + --> + + + <_OldRootSdkLocation>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp + $(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\FSharpSdk + <_CoreRelativeSuffix>.NETCore\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_FrameworkRelativeSuffix>.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_PortableRelativeSuffix>.NETPortable\$(TargetFSharpCoreVersion)\FSharp.Core.dll + + <_OldCoreSdkPath>$(_OldRootSdkLocation)\$(_CoreRelativeSuffix) + <_NewCoreSdkPath>$(NewFSharpSdkLocation)\$(_CoreRelativeSuffix) + + <_OldFrameworkSdkPath>$(_OldRootSdkLocation)\$(_FrameworkRelativeSuffix) + <_NewFrameworkSdkPath>$(NewFSharpSdkLocation)\$(_FrameworkRelativeSuffix) + + <_OldPortableSdkPath>$(_OldRootSdkLocation)\$(_PortableRelativeSuffix) + <_NewPortableSdkPath>$(NewFSharpSdkLocation)\$(_PortableRelativeSuffix) + + + + + $(_NewCoreSdkPath) + + + + $(_NewFrameworkSdkPath) + + + + $(_NewPortableSdkPath) + + + + + + <_OldRefAssemTPLocation>Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\Type Providers\FSharp.Data.TypeProviders.dll + <_OldSdkTPLocationPrefix>$(MSBuildProgramFiles32)\Microsoft SDKs\F# + <_OldSdkTPLocationSuffix>Framework\v4.0\FSharp.Data.TypeProviders.dll + + + + + + + + + - - $(MSBuildProjectFullPath) - - - $(TargetsForTfmSpecificContentInPackage);PackageFSharpDesignTimeTools - - - $(RestoreAdditionalProjectSources);$(_FSharpCoreLibraryPacksFolder) - - - - - - - - - - - fsharp41 - tools - - - - - <_ResolvedOutputFiles Include="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/*" Exclude="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/FSharp.Core.dll;%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/System.ValueTuple.dll" Condition="'%(_ResolvedProjectReferencePaths.IsFSharpDesignTimeProvider)' == 'true'"> - %(_ResolvedProjectReferencePaths.NearestTargetFramework) - - <_ResolvedOutputFiles Include="@(BuiltProjectOutputGroupKeyOutput)" Condition=" '$(IsFSharpDesignTimeProvider)' == 'true' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'FSharp.Core.dll' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'System.ValueTuple.dll' "> - $(TargetFramework) - - - $(FSharpToolsDirectory)/$(FSharpDesignTimeProtocol)/%(_ResolvedOutputFiles.NearestTargetFramework)/%(_ResolvedOutputFiles.FileName)%(_ResolvedOutputFiles.Extension) - - - +C:\Program Files\dotnet\sdk\7.0.202\FSharp\Microsoft.FSharp.NetSdk.targets +============================================================================================================================================ +--> + + $(MSBuildProjectFullPath) + + + $(TargetsForTfmSpecificContentInPackage);PackageFSharpDesignTimeTools + + + $(RestoreAdditionalProjectSources);$(_FSharpCoreLibraryPacksFolder) + + + + + + + + + + + fsharp41 + tools + + + + + <_ResolvedOutputFiles Include="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/*" Exclude="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/FSharp.Core.dll;%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/System.ValueTuple.dll" Condition="'%(_ResolvedProjectReferencePaths.IsFSharpDesignTimeProvider)' == 'true'"> + %(_ResolvedProjectReferencePaths.NearestTargetFramework) + + <_ResolvedOutputFiles Include="@(BuiltProjectOutputGroupKeyOutput)" Condition=" '$(IsFSharpDesignTimeProvider)' == 'true' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'FSharp.Core.dll' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'System.ValueTuple.dll' "> + $(TargetFramework) + + + $(FSharpToolsDirectory)/$(FSharpDesignTimeProtocol)/%(_ResolvedOutputFiles.NearestTargetFramework)/%(_ResolvedOutputFiles.FileName)%(_ResolvedOutputFiles.Extension) + + + + --> - - true - + --> + + true + - - - <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> - - - - - - - - - + --> + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + - - true - + --> + + true + - + --> + - - - <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> - $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) - $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) - - - + --> + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + - @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) - - + --> + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + +--> +--> - - - TargetFramework - TargetFrameworks - - - true - - +--> + + + TargetFramework + TargetFrameworks + + + true + + - - + --> + + - - - <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets - <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath - GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) - $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) - GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) - Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) - $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) - - <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath - <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) - GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) - - - - - - - - - - + --> + + + <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath + GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) + $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) + GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) + Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) + GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + + + + + + + + +--> - +--> + +--> +--> +--> - - - $(MSBuildThisFileDirectory)..\tools\ - net7.0 - net472 - $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ - $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll +--> + + + $(MSBuildThisFileDirectory)..\tools\ + net7.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll - Microsoft.NETCore.App;NETStandard.Library - + --> + Microsoft.NETCore.App;NETStandard.Library + - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - $(_IsExecutable) - - - - netcoreapp2.2 - - - false - DotnetTool - $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) - - - Preview - - - - - + --> + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + - - true - - +--> + + true + + +--> +--> - - - $(MSBuildProjectExtensionsPath)/project.assets.json - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + --> + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) - $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) - - false - - false - - true - $(IntermediateOutputPath)NuGet\ - true - $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) - $(TargetFrameworkMoniker) - true + be stored in a shared directory next to the assets.json file --> + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true - false + TargetDefinitions, FileDefinitions and FileDependencies items. --> + false - true - - - - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) - - - - - + its own multi-targeting logic, or if the current SDK targets will pick the assets correctly. --> + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + - + --> + $(ResolveAssemblyReferencesDependsOn); ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; - + ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; $(PrepareResourcesDependsOn) - - - - - - $(RootNamespace) - - - $(AssemblyName) - - - $(MSBuildProjectDirectory) - - - $(TargetFileName) - - - $(MSBuildProjectFile) - - - + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + - - true - + --> + + true + + --> - + --> + ResolveLockFileReferences; ResolveLockFileAnalyzers; @@ -9313,110 +9313,110 @@ Copyright (c) .NET Foundation. All rights reserved. ResolveRuntimePackAssets; RunProduceContentAssets; IncludeTransitiveProjectReferences - - - + + + + --> - - - - + --> + + + + - + run and created the assets file. --> + - - - - - - - - - - - - - - - - - <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) - roslyn$(_RoslynApiVersion) - - - - - - false - - - true - - - true - - - - true - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + compile errors. --> + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + match the expected version --> + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> - - - <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> - - + (that was spread across different tasks/targets) for backwards compatibility. --> + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + - + --> + - - - - - - + --> + + + + + + - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + - - - - + but the names depend upon the items themselves. Split it apart. --> + + + + - - + --> + + - - true - + --> + + true + - - + project, use that, in order to preserve metadata (such as aliases). --> + + - - - - - - - - - - - - - - + a reference with a warning. See https://github.com/dotnet/sdk/issues/1499 --> + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> - - <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - - - - + --> + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + - + NETSDK1056. --> + - - +--> + + +--> - - - true - true - true - true - - +--> + + + true + true + true + true + + - - $(DefaultItemExcludes);$(BaseOutputPath)/** - - $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** - - $(DefaultItemExcludes);**/*.user - $(DefaultItemExcludes);**/*.*proj - $(DefaultItemExcludes);**/*.sln - $(DefaultItemExcludes);**/*.vssscc + This is in the .targets because it needs to come after the final BaseOutputPath has been evaluated. --> + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc - $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** - + properties because of a naming mistake. --> + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + - + in the project file. --> + - 1.6.1 - - 2.0.3 - + produced, so we will roll forward to the latest version. --> + 1.6.1 + + 2.0.3 + +--> +--> - - true - false - <_TargetLatestRuntimePatchIsDefault>true - - - true - - - - - all - true - - - all - true - - - - - - - - - - - - + --> + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + - - - - - - - - - + A FrameworkReference to Microsoft.AspNetCore.App should be used instead, and will be implicitly included by Microsoft.NET.Sdk.Web. --> + + + + + + + + + - - - - - - - - - - - - + should be replaced with a FrameworkReference. --> + + + + + + + + + + + + - - $(_TargetFrameworkVersionWithoutV) - - - - - - - - https://aka.ms/sdkimplicitrefs - - - - - - - - - - - <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> - - - - false - - - - - - https://aka.ms/sdkimplicititems - + this should prevent breaking it. --> + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + - - - - - - - - - - - - - - - - - - - - - - - - - - <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> - - - + be easy to miss the duplicate items error which is the real source of the problem. --> + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + +--> - - - + if building with an implicit restore. --> + + + - - + --> + + - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + --> + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - - - - - - - - - - - - - - - + --> + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + + + + +--> +--> - +--> + $(ResolveAssemblyReferencesDependsOn); ResolveTargetingPackAssets; - - - - - - - + + + + + + + - - - - - - - - + we can't do the change atomically --> + + + + + + + + - - - - - - - - - - - true - true - - - <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - - - - - $(RuntimeIdentifier) - $(DefaultAppHostRuntimeIdentifier) - - - - - - - - - - - true - true - false - - - - [%(_PackageToDownload.Version)] - - - - - - + --> + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + - - - - - - + --> + + + + + + - - - - - - - %(ResolvedTargetingPack.PackageDirectory) - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> - %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) - - - - - %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) - - - - @(ResolvedAppHostPack->'%(Path)') - - - - %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) - - - - @(ResolvedSingleFileHostPack->'%(Path)') - - - - %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) - - - - @(ResolvedComHostPack->'%(Path)') - - - - %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) - - - - @(ResolvedIjwHostPack->'%(Path)') - - - - - - - - - - + --> + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + - - - - true - false - - - - - - - - - - + --> + + + + true + false + + + + + + + + + + - $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) - - - - - - - - - - + that consume it. --> + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + - - - - - - <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> - - - + --> + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + - - - - - - - - + --> + + + + + + + + - + --> + - - - <_Parameter1>$(UserSecretsId.Trim()) - - - + --> + + + <_Parameter1>$(UserSecretsId.Trim()) + + + - - - - - - $(_IsNETCoreOrNETStandard) - - - true - false - true - $(MSBuildProjectDirectory)/runtimeconfig.template.json - true - true - <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache - <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) - - - - - - - - - - - true - - - false - - - $(AssemblyName).deps.json - $(TargetDir)$(ProjectDepsFileName) - $(AssemblyName).runtimeconfig.json - $(TargetDir)$(ProjectRuntimeConfigFileName) - $(TargetDir)$(AssemblyName).runtimeconfig.dev.json - true - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + + + + + $(_IsNETCoreOrNETStandard) + + + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + + + + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + +--> - - - true - true - - - - CurrentArchitecture - CurrentRuntime - - - <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so - <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe - <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) - <_DotNetAppHostExecutableNameWithoutExtension>apphost - <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) - <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost - <_DotNetComHostLibraryNameWithoutExtension>comhost - <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) - <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost - <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) - <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) - <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) - - - - - - <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> - - +--> + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + - - - Microsoft.NETCore.App - - + --> + + + Microsoft.NETCore.App + + - - <_DefaultUserProfileRuntimeStorePath>$(HOME) - <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) - <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) - $(_DefaultUserProfileRuntimeStorePath) - - - true - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + - - false - true - + property values from referencing projects. --> + + false + true + - - true - - - true - - - $(AvailablePlatforms),ARM32 - - - $(AvailablePlatforms),ARM64 - - - $(AvailablePlatforms),ARM64 - - - - false - - - - true - - + --> + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + + + true + + _CheckForBuildWithNoBuild; $(CoreBuildDependsOn); GenerateBuildDependencyFile; GenerateBuildRuntimeConfigurationFiles - - - + + + _SdkBeforeClean; $(CoreCleanDependsOn) - - - + + + _SdkBeforeRebuild; $(RebuildDependsOn) - - + + - - - + --> + + + - - - - 1.0.0 - - - - - - - - - - - + --> + + + + 1.0.0 + + + + + + + + + + + - - - + during incremental builds when the task is skipped --> + + + - - - - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + - - - <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true - LatestMinor - + --> + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + - - - <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true - - - + other values should still keep failing as they won't have any effect when run on 2.*. --> + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_CleaningWithoutRebuilding>true - false - - - - - <_CleaningWithoutRebuilding>false - - + during incremental builds when the task is skipped --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + --> + + + + + $(CompileDependsOn); _CreateAppHost; _CreateComHost; _GetIjwHostPaths; - - + + - - - - <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true - <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true - - - + --> + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + - - - $(SingleFileHostSourcePath) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) - - + --> + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + - - - - - @(_NativeRestoredAppHostNETCore) - - - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) - - - - - - + --> + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + - - - - - + --> + + + + + - - - - + --> + + + + - - - + --> + + + - - - $(AssemblyName).comhost$(_ComHostLibraryExtension) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) - - - + --> + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + - - - + --> + + + - - - - <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest - PreserveNewest - - - + --> + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + - - PreserveNewest - Never - - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest + --> + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest - Always - - - - - $(AssemblyName).$(_DotNetComHostLibraryName) - PreserveNewest - PreserveNewest - - - %(FileName)%(Extension) - PreserveNewest - PreserveNewest - - - - - $(_DotNetIjwHostLibraryName) - PreserveNewest - PreserveNewest - - - + places the correct unbundled apphost in the publish directory. --> + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + - - - <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + --> + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> - <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> - <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> - <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> - - + --> + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + - - - - - true - - - true - - - - - + --> + + + + + true + + + true + + + + + - - $(StartWorkingDirectory) - - - - - $(StartProgram) - $(StartArguments) - - - - - - dotnet - <_NetCoreRunArguments>exec "$(TargetPath)" - $(_NetCoreRunArguments) $(StartArguments) - $(_NetCoreRunArguments) - - - $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) - $(StartArguments) - - - - - $(TargetPath) - $(StartArguments) - - - mono - "$(TargetPath)" $(StartArguments) - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) - - - - - + --> + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + - + --> + $(CreateSatelliteAssembliesDependsOn); CoreGenerateSatelliteAssemblies - - - - - - - <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs - <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll - - - - <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) - - - - - - - true - - - - - - - - - - - - - + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + - + --> + - - - - - + --> + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - + --> + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + - - - - - - + --> + + + + + + - - - - - - - - - - false - - + --> + + + + + + + + + + false + + - false - - - - false - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true - - - - + to run it. --> + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + - - - + --> + + + - - - - - - - - + --> + + + + + + + + +--> - +--> + $(CommonOutputGroupsDependsOn); - - - + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); _GenerateDesignerDepsFile; _GenerateDesignerRuntimeConfigFile; GetCopyToOutputDirectoryItems; _GatherDesignerShadowCopyFiles; - - <_DesignerDepsFileName>$(AssemblyName).designer.deps.json - <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json - <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) - <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) - - - + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + - - - - - - - - - - <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> - - - - - - - - - - - <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + --> + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> - <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> - - - - - + --> + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + + + + +--> +--> +--> - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) - true - - - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - + --> + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + - - - - - <_InformationalVersionContainsPlus>false - <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true - $(InformationalVersion)+$(SourceRevisionId) - $(InformationalVersion).$(SourceRevisionId) - - - - - - <_Parameter1>$(Company) - - - <_Parameter1>$(Configuration) - - - <_Parameter1>$(Copyright) - - - <_Parameter1>$(Description) - - - <_Parameter1>$(FileVersion) - - - <_Parameter1>$(InformationalVersion) - - - <_Parameter1>$(Product) - - - <_Parameter1>$(AssemblyTitle) - - - <_Parameter1>$(AssemblyVersion) - - - <_Parameter1>RepositoryUrl - <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) - <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) - - - <_Parameter1>$(NeutralLanguage) - - - %(InternalsVisibleTo.PublicKey) - - - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) - - - <_Parameter1>%(AssemblyMetadata.Identity) - <_Parameter2>%(AssemblyMetadata.Value) - - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) - - - <_Parameter1>$(TargetPlatformIdentifier) - - - + --> + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + %(InternalsVisibleTo.PublicKey) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + - - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache - - - - - - - - - - - - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + - - - - - - $(AssemblyVersion) - $(Version) - - + --> + + + + + + $(AssemblyVersion) + $(Version) + + - +--> + +--> - - - - <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config - - - - - - - - - - - - - - - - - +--> + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + +--> +--> +--> - + --> + - - - <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> - <_AllProjects Include="$(MSBuildProjectFullPath)" /> - - - - - + --> + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + - - - - %(PackageReference.Identity) - %(PackageReference.Version) + --> + + + + %(PackageReference.Identity) + %(PackageReference.Version) StorePackageName=%(PackageReference.Identity); StorePackageVersion=%(PackageReference.Version); @@ -11328,246 +11328,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); DisableImplicitFrameworkReferences=false; - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - + --> + + + + + + + + + <_StoreArtifactContent> @(ListOfPackageReference) -]]> - - - - - - +]]> + + + + + + - - - <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> - <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> - - - - - - - - + --> + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + - - - true - true - <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) - true - - - - - - $(UserProfileRuntimeStorePath) - <_ProfilingSymbolsDirectoryName>symbols - $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) - $(DefaultProfilingSymbolsDir) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) - $(ProfilingSymbolsDir)\ - $(DefaultComposeDir) - $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) - $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) - $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) - $([System.IO.Path]::GetFullPath($(ComposeDir))) - <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) - $([System.IO.Path]::GetTempPath()) - $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) - $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) - - $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) - - $(PublishDir)\ - - - - false - true - - - - - - - - $(StorePackageVersion.Replace('*','-')) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) - <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) - $(StoreWorkerWorkingDir)\ - $(BaseIntermediateOutputPath)\project.assets.json - - - $(MicrosoftNETPlatformLibrary) - true - - + --> + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + - - - - + --> + + + + - + --> + - + --> + - - - - - + --> + + + + + - + --> + - - - <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> - - - true - - + --> + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + - - - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> - - + --> + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + - - - - true - true - - - - - - - - - + --> + + + + true + true + + + + + + + + + - - - - - - + --> + + + + + + +--> +--> +--> - - true - true - false - true - false - true - 1 - + --> + + true + true + false + true + false + true + 1 + - - - - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> - - - - - - - - <_CoreclrPath>@(_CoreclrResolvedPath) - @(_JitResolvedPath) - <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) - <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) - $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) - - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) - - - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) - - + --> + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + - - - + --> + + + CrossgenExe=$(Crossgen); CrossgenJit=$(JitPath); @@ -11657,246 +11657,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) - - - - - - + + + + + + - - - $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) - $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) - $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" - CreatePDB - CreatePerfMap - - - - - - - - - - - - <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> - - - - - - - - $([System.IO.Path]::PathSeparator) - $([System.IO.Path]::DirectorySeparatorChar) - - + --> + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + - - - <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) - <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) - - - - - <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) - - + --> + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + - - - <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) - - <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) - - <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) - - - <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> - - - - - - - - + --> + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll - $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - + --> + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + - - - - - + --> + + + + + - - - - - + --> + + + + + - - - - <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R - - - - <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> - + --> + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + - - <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> - - - - - - <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> - <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> - - - <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> - <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> - - - - - - - - - - - - - - - - - + assembly list. --> + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + - - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> - - + --> + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> - - + --> + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + +--> +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + - - +--> + + - - <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> - - <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> - - - - +--> + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + +--> +--> - - true - <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true - true - - - - Always - - +--> + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + Always + + - - - - + --> + + + + <_BeforePublishNoBuildTargets> BuildOnlySettings; _PreventProjectReferencesFromBuilding; @@ -11998,62 +11998,62 @@ Copyright (c) .NET Foundation. All rights reserved. PrepareResourceNames; ComputeIntermediateSatelliteAssemblies; ComputeEmbeddedApphostPaths; - + <_CorePublishTargets> PrepareForPublish; ComputeAndCopyFilesToPublishDirectory; $(PublishProtocolProviderTargets); PublishItemsOutputGroup; - - <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) - - - - + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + - - - - - - - false - - + the published assets were copied. --> + + + + + + + false + + - - - - - - - - - - - - - - $(PublishDir)\ - - - + --> + + + + + + + + + + + + + + $(PublishDir)\ + + + - + --> + - + --> + - - - - <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> - - - - - - - - + --> + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + - - - <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) - - - - - - <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt - - - - - - - - - - - - - - - - - - <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> - <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> - - - - - - - - - + --> + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + - + --> + - - - - + --> + + + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - - <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> - <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> - - - <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> - <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> - - + --> + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + - - - true - true - false - - + --> + + + true + true + false + + - - - - - @(IntermediateAssembly->'%(Filename)%(Extension)') - PreserveNewest - - - - $(ProjectDepsFileName) - PreserveNewest - - - - $(ProjectRuntimeConfigFileName) - PreserveNewest - - - - @(AppConfigWithTargetPath->'%(TargetPath)') - PreserveNewest - - - - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - PreserveNewest - true - - - - %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) - PreserveNewest - - - - %(Filename)%(Extension) - PreserveNewest - - + --> + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> - - - - %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) - PreserveNewest - - - - @(FinalDocFile->'%(Filename)%(Extension)') - PreserveNewest - - - - shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) - PreserveNewest - - - <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> - - - + to ensure that we don't get duplicate files in the publish output. --> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + - - + --> + + - - - - - <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> - - - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> - - + PreserveStoreLayout without this task, and how to handle RuntimeStorePackages. --> + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + - - - - - - + --> + + + + + + - - - <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> - - + --> + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + - - - <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + --> + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - - - - %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) - Always - True - - - %(_SourceItemsToCopyToPublishDirectory.TargetPath) - PreserveNewest - True - - - + --> + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + - + --> + - - <_GCTPDIKeepDuplicates>false - <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath - - - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - + a non-empty value and the original behavior will be restored. --> + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + - - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - Always - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - PreserveNewest - - - - - <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies - - - + --> + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + - - - <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> - - <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> - - <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> - - - - <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> - + --> + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + - - - + --> + + + - - - - - - - - - <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> - - - + --> + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + - - <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true - <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true - - + generate a different one. --> + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + - - - <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> - - - - $(AssemblyName)$(_NativeExecutableExtension) - $(PublishDir)$(PublishedSingleFileName) - - - - - - - - $(PublishedSingleFileName) - - - - - - false - false - false - $(IncludeAllContentForSelfExtract) - false - - - - - - - - - - + --> + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + - - + --> + + - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) - $(PublishDir)$(ProjectDepsFileName) - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) - - - - - - <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - - - - - $(ProjectDepsFileName) - - - + PublishDepsFilePath is empty (by default) for PublishSingleFile, since the deps.json file is embedde within the single-file bundle --> + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + - - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + --> + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + - - - - - - - - + --> + + + + + + + + - + --> + $(PublishItemsOutputGroupDependsOn); ResolveReferences; ComputeResolvedFilesToPublishList; _ComputeFilesToBundle; - - - - - - - - - - - + + + + + + + + + + + - + --> + - - - + --> + + + - +--> + +--> - - - - - +--> + + + + + - - <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml - true - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) - - - - <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> - <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> - <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> - - - - - - - tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) - - - %(_ResolvedFileToPublishWithPackagePath.PackagePath) - - - - - - - $(TargetName) - $(TargetFileName) - - - - - - - - - - - - - + --> + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + + + $(TargetName) + $(TargetFileName) + + + + + + + + + + + + + - - <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache - <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) - <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel - <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) - $(OutDir) - - - - - + --> + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + - - + --> + + - - - - - - - - - + during incremental builds when the task is skipped --> + + + + + + + + + - - - <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> - <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> - <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> - <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + +--> +--> - - - +--> + + + +--> +--> - - refs - $(PreserveCompilationContext) - - - - - $(DefineConstants) - $(LangVersion) - $(PlatformTarget) - $(AllowUnsafeBlocks) - $(TreatWarningsAsErrors) - $(Optimize) - $(AssemblyOriginatorKeyFile) - $(DelaySign) - $(PublicSign) - $(DebugType) - $(OutputType) - $(GenerateDocumentationFile) - - - - - - - - - +--> + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(PublicSign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + - <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + --> + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> - <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> - - $(RefAssembliesFolderName)\%(Filename)%(Extension) - - - + --> + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + - - - - - + --> + + + + + +--> +--> +--> +--> - - +--> + + Microsoft.CSharp|4.4.0; Microsoft.Win32.Primitives|4.3.0; @@ -13076,9 +13076,9 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + Microsoft.Win32.Primitives|4.3.0; System.AppContext|4.3.0; @@ -13175,50 +13175,50 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + - - +--> + + - - + --> + + - <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> - - - - - - - + --> + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + - - - - - - - - - + (eg: HintPath) --> + + + + + + + + + - - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> - - + --> + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + - - - - - - - + --> + + + + + + + - - +--> + + +--> +--> - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets - + *************************************************************************************************************** --> + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + - +--> + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - - - - - - - - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + + + + + + + - - $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) - +--> + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + - +--> + +--> +--> - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - + set PublishTrimmed in targets which are imported after these targets. --> + + $(IntermediateOutputPath)linked\ + $(IntermediateLinkDir)\ + + <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore + + + + <_Parameter1>IsTrimmable + <_Parameter2>True + + - - false - false - false - false - false - false - false - false - - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --notrimwarn - false - - - - $(NoWarn);IL2121 - + could be removed by the linker, causing a trimmed app to crash. --> + + false + false + false + false + false + false + false + false + + <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true + <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false + true + + + + true + + true + + false + + + + <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --notrimwarn + false + + + + $(NoWarn);IL2121 + - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - + --> + + + + <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> + + + + - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - + https://github.com/dotnet/sdk/pull/3086 --> + + <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + + + + + + - - - + --> + + + - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - + In this case, explicitly specify the path to the dotnet host. --> + + <_DotNetHostDirectory>$(NetCoreRoot) + <_DotNetHostFileName>dotnet + <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe + + + + + + + - + --> + - + potentially problematic when warnings are suppressed. --> + - - - 5 - 0 - - - - - - <_ILLinkSuppressions Include="$(MSBuildThisFileDirectory)6.0_suppressions.xml" /> - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --link-attributes "@(_ILLinkSuppressions->'%(Identity)', '" --link-attributes "')" - - - - copyused - partial - full - - <_TrimmerDefaultAction Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '7.0'))">$(TrimmerDefaultAction) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">$(TrimMode) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '6.0'))">copy - - - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - <_ExtraTrimmerArgs>--enable-serialization-discovery $(_ExtraTrimmerArgs) - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - + is a NativeAOT app, value of SelfContained doesn't matter. --> + + + 5 + 0 + + + + + + <_ILLinkSuppressions Include="$(MSBuildThisFileDirectory)6.0_suppressions.xml" /> + + + <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --link-attributes "@(_ILLinkSuppressions->'%(Identity)', '" --link-attributes "')" + + + + copyused + partial + full + + <_TrimmerDefaultAction Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '7.0'))">$(TrimmerDefaultAction) + <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">$(TrimMode) + <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '6.0'))">copy + + + $(TreatWarningsAsErrors) + <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) + true + + + + + $(NoWarn);IL2008 + + $(NoWarn);IL2009 + + + $(NoWarn);IL2037 + + + $(NoWarn);IL2009;IL2012 + + + + + <_ExtraTrimmerArgs>--enable-serialization-discovery $(_ExtraTrimmerArgs) + + + + + true + false + + + <_TrimmerUnreachableBodies>false + + + + + true + + + + + + + + + + + + + + + + + + + copy + + + - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - + This just sets metadata on the items in ManagedAssemblyToLink that came from IntermediateAssembly. --> + + <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly> + false + + + + + + + false + + + + <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> + + - - + --> + + - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - + further refine this list. It currently drops C++/CLI assemblies in ComputeManageAssemblies. --> + + + + + + <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> + <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> + + + <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + - - - - true - true - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets - - - - - +--> + + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + +--> - - - true - - - - true - - - - 7.0 - - +--> + + + true + + + + true + + + + 7.0 + + - $(TargetPlatformMinVersion) - $(SupportedOSPlatformVersion) - - $(TargetPlatformVersion) - $(TargetPlatformVersion) - - - - <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> - - - - - - - - + other value. --> + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> - - - - - - - + The WinMD in this case can be identified because the Implementation metadata value is WinRT.Host.dll. So here we remove any such WinMD references. --> + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + +--> - + TargetPlatformVersion may have been set later than that in evaluation by platform-specific targets or Directory.Build.targets. So fix up those properties here --> + - 0.0 - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - - - - $(TargetPlatformVersion) - - + workloads. --> + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + +--> +--> - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll - $(MSBuildThisFileDirectory)..\tools\net7.0\Microsoft.DotNet.ApiCompat.Task.dll - - - - - +--> + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net7.0\Microsoft.DotNet.ApiCompat.Task.dll + + + + + +--> - - - - - - $(RoslynTargetsPath) - <_packageReferenceList>@(PackageReference) +--> + + + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) - $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) - $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) - - - - $(GenerateCompatibilitySuppressionFile) - - - - - - - <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - - $(_apiCompatDefaultProjectSuppressionFile) - - - - - - + are on the same directory as Microsoft.CodeAnalysis. So there is no need to distinguish between csproj or vbproj. --> + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + +--> +--> - - $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore - - CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - - - $(PackageId) - $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) - - - <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> - - - - - - - - - - - - - - - - +--> + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + + + + + + + + + + + + + + + + - +--> + - - - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets - true - +--> + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + +--> - - - ..\CoreCLR\NuGet.Build.Tasks.Pack.dll - ..\Desktop\NuGet.Build.Tasks.Pack.dll - - - - - - - - - $(AssemblyName) - $(Version) - true - _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) - $(Description) - Package Description - false - true - true - tools - lib - content;contentFiles - $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) - true - symbols.nupkg - DeterminePortableBuildCapabilities - false - false - .dll; .exe; .winmd; .json; .pri; .xml - $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) - .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) - .pdb - false - - - $(GenerateNuspecDependsOn) - - - Build;$(GenerateNuspecDependsOn) - - - - - - - $(TargetFramework) - - - - $(MSBuildProjectExtensionsPath) - $(BaseOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - +--> + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - + --> + + + + + + - - - <_ProjectFrameworks /> - - - - - - <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> - - + --> + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + - - - - <_PackageFilesToDelete Include="@(_OutputPackItems)" /> - - - - - - false - - - - - - - - - - - - - + --> + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + - - - - - - true - - - - - - - - - + --> + + + + + + true + + + + + + + + + - - - - $(PrivateRepositoryUrl) - $(SourceRevisionId) - - + --> + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + - - - - $(MSBuildProjectFullPath) - - - - - - - - - - - - - - - - - <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> - $(PackageVersion) - 1.0.0 - - - - - - - - - - - - - - - - - - - - - - - - - - <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> - - - - - - $(TargetFramework) - - - - - - - - - - - - - %(TfmSpecificPackageFile.RecursiveDir) - %(TfmSpecificPackageFile.BuildAction) - - - - - - <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> - $(TargetFramework) - - - - <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> - - + --> + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + - - - <_PathToPriFile Include="$(ProjectPriFullPath)"> - $(ProjectPriFullPath) - $(ProjectPriFileName) - - - + has to be added manually here.--> + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + - - - <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> - - - - <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> - Content - - <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> - Compile - - <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> - None - - <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> - EmbeddedResource - - <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> - ApplicationDefinition - - <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> - Page - - <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> - Resource - - <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> - SplashScreen - - <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> - DesignData - - <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> - DesignDataWithDesignTimeCreatableTypes - - <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> - CodeAnalysisDictionary - - <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> - AndroidAsset - - <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> - AndroidResource - - <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> - BundleResource - - - + --> + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + +--> +--> \ No newline at end of file diff --git a/MSBuild.CompilerCache/TargetsExtractionUtils.cs b/MSBuild.CompilerCache/TargetsExtractionUtils.cs index 1319b32..bf22502 100644 --- a/MSBuild.CompilerCache/TargetsExtractionUtils.cs +++ b/MSBuild.CompilerCache/TargetsExtractionUtils.cs @@ -5,14 +5,16 @@ namespace MSBuild.CompilerCache; public static class TargetsExtractionUtils { - public static readonly Attr[] Attrs = + internal static readonly Attr[] Attrs = { Unsup("AdditionalLibPaths"), Unsup("AddModules"), Unsup("AdditionalFiles"), Prop("AllowUnsafeBlocks"), - Ignore("AnalyzerConfigFiles"), // TODO - Ignore("Analyzers"), // TODO + // This includes auto-generated .editorconfig files that contain absolute paths + // and breaks caching. Ignore it. + Ignore("AnalyzerConfigFiles"), + InputFiles("Analyzers"), InputFiles("ApplicationConfiguration"), Prop("BaseAddress"), Prop("CheckForOverflowUnderflow"), @@ -112,9 +114,9 @@ public static class TargetsExtractionUtils InputFiles("Win32ResourceFile") }; - public static Dictionary AttrsDictionary = Attrs.ToDictionary(a => a.Name); + private static readonly Dictionary AttrsDictionary = Attrs.ToDictionary(a => a.Name); - public enum AttrType + internal enum AttrType { SimpleProperty, Unsupported, @@ -126,14 +128,14 @@ public enum AttrType Unknown } - public record Attr(string Name, AttrType Type); + internal record Attr(string Name, AttrType Type); - public static Attr Unsup(string Name) => new Attr(Name, AttrType.Unsupported); - public static Attr Ignore(string Name) => new Attr(Name, AttrType.Ignore); - public static Attr Prop(string Name) => new Attr(Name, AttrType.SimpleProperty); - public static Attr InputFiles(string Name) => new Attr(Name, AttrType.InputFiles); - public static Attr OutputFile(string Name) => new Attr(Name, AttrType.OutputFile); - public static string[] SplitItemList(string value) => + private static Attr Unsup(string Name) => new Attr(Name, AttrType.Unsupported); + private static Attr Ignore(string Name) => new Attr(Name, AttrType.Ignore); + private static Attr Prop(string Name) => new Attr(Name, AttrType.SimpleProperty); + private static Attr InputFiles(string Name) => new Attr(Name, AttrType.InputFiles); + private static Attr OutputFile(string Name) => new Attr(Name, AttrType.OutputFile); + private static string[] SplitItemList(string value) => string.IsNullOrEmpty(value) ? Array.Empty() : value.Split(";").Where(x => !string.IsNullOrEmpty(x)).ToArray(); diff --git a/MSBuild.CompilerCache/TempFile.cs b/MSBuild.CompilerCache/TempFile.cs index e69de29..e5b8e72 100644 --- a/MSBuild.CompilerCache/TempFile.cs +++ b/MSBuild.CompilerCache/TempFile.cs @@ -0,0 +1,10 @@ +namespace MSBuild.CompilerCache; + +public sealed class TempFile : IDisposable +{ + public static string GetTempFilePath() => Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString()); + public FileInfo File { get; } = new FileInfo(GetTempFilePath()); + public string FullName => File.FullName; + + public void Dispose() => File.Delete(); +} \ No newline at end of file diff --git a/MSBuild.CompilerCache/Utils.cs b/MSBuild.CompilerCache/Utils.cs index d217310..542cb1a 100644 --- a/MSBuild.CompilerCache/Utils.cs +++ b/MSBuild.CompilerCache/Utils.cs @@ -2,38 +2,8 @@ namespace MSBuild.CompilerCache; -public sealed class TempFile : IDisposable -{ - public static string GetTempFilePath() => Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString()); - public FileInfo File { get; } = new FileInfo(GetTempFilePath()); - public string FullName => File.FullName; - - public void Dispose() => File.Delete(); -} - -public record RelativePath(string Path) -{ - public AbsolutePath ToAbsolute(AbsolutePath relativeTo) => - System.IO.Path.Combine(relativeTo, Path).AsAbsolutePath(); - - public static implicit operator string(RelativePath path) => path.Path; -} - -public record AbsolutePath(string Path) -{ - public static implicit operator string(AbsolutePath path) => path.Path; -} - -public static class StringExtensions -{ - public static AbsolutePath AsAbsolutePath(this string x) => new AbsolutePath(x); - public static RelativePath AsRelativePath(this string x) => new RelativePath(x); -} - public static class Utils { - internal static readonly IHash DefaultHasher = HasherFactory.CreateHash(HasherType.XxHash64); - public static string ObjectToHash(object item, IHash hasher) { var bytes = ObjectToBytes(item); @@ -52,12 +22,6 @@ public static byte[] ObjectToBytes(object item) return bytes; } - public static string FileBytesToHash(string path, IHash hasher) - { - var bytes = File.ReadAllBytes(path); - return BytesToHash(bytes, hasher); - } - public static string BytesToHash(ReadOnlySpan bytes, IHash hasher) { var hash = hasher.ComputeHash(bytes); diff --git a/README.md b/README.md index 6a07803..33f2849 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Caching works in commandline builds as well as in the IDE. To use the cache, add the following to your project file (or `Directory.Build.props` in your directory structure): ```xml - c:/accessible/filesystem/location/compilation_cache_config.json + c:/accessible/filesystem/location/compilation_cache_config.json @@ -37,7 +37,7 @@ and create a config file like the one below: The above code does two things: 1. Adds the `MSBuild.CompilerCache` package, which provides custom Task definitions and ships .targets files. -2. Sets the `CompilationCacheConfigPath` variable, which is used to read the config file. +2. Sets the `CompilerCacheConfigPath` variable, which is used to read the config file. ## Local cache vs remote cache The location set in `CacheDir` can be either a local path or a network share - the caching logic behaves exactly the same. diff --git a/SampleProjects/CSharp.1/Program.cs b/SampleProjects/CSharp.1/Program.cs index c79207b..344a5a5 100644 --- a/SampleProjects/CSharp.1/Program.cs +++ b/SampleProjects/CSharp.1/Program.cs @@ -1 +1,3 @@ -System.Console.WriteLine(""); \ No newline at end of file +using System; + +Console.WriteLine(""); \ No newline at end of file diff --git a/SampleProjects/Directory.Build.props b/SampleProjects/Directory.Build.props index c1b0422..a16a3b2 100644 --- a/SampleProjects/Directory.Build.props +++ b/SampleProjects/Directory.Build.props @@ -7,7 +7,7 @@ - $(MSBuildThisFileDirectory)cache_config.json + $(MSBuildThisFileDirectory)cache_config.json From 0a02fad800c6cfa8eb19699867fbc74cca4e95ca Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Mon, 6 Nov 2023 22:59:25 +0000 Subject: [PATCH 16/29] Update targets --- .../Cached.CoreCompile.6.0.301.CSharp.targets | 11 +- .../Cached.CoreCompile.6.0.301.FSharp.targets | 11 +- .../Cached.CoreCompile.6.0.408.CSharp.targets | 11 +- .../Cached.CoreCompile.6.0.408.FSharp.targets | 11 +- .../Cached.CoreCompile.7.0.105.CSharp.targets | 11 +- .../Cached.CoreCompile.7.0.105.FSharp.targets | 11 +- .../Cached.CoreCompile.7.0.203.CSharp.targets | 11 +- .../Cached.CoreCompile.7.0.203.FSharp.targets | 11 +- .../Cached.CoreCompile.7.0.302.CSharp.targets | 11 +- .../Cached.CoreCompile.7.0.302.FSharp.targets | 11 +- .../Targets.6.0.300.CSharp.xml | 18107 ++++++++------- .../Targets.6.0.300.FSharp.xml | 18009 ++++++++------- .../Targets.6.0.301.CSharp.xml | 2462 +- .../Targets.6.0.301.FSharp.xml | 2362 +- .../Targets.6.0.408.CSharp.xml | 2434 +- .../Targets.6.0.408.FSharp.xml | 2330 +- .../Targets.7.0.105.CSharp.xml | 2336 +- .../Targets.7.0.105.FSharp.xml | 2355 +- .../Targets.7.0.202.CSharp.xml | 18689 ++++++++-------- .../Targets.7.0.202.FSharp.xml | 18572 +++++++-------- .../Targets.7.0.203.CSharp.xml | 2257 +- .../Targets.7.0.203.FSharp.xml | 2240 +- .../Targets.7.0.302.CSharp.xml | 2198 +- .../Targets.7.0.302.FSharp.xml | 2213 +- 24 files changed, 53714 insertions(+), 42960 deletions(-) diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.301.CSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.301.CSharp.targets index ab28bc5..08c393f 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.301.CSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.301.CSharp.targets @@ -156,12 +156,12 @@ PropertyName="CompilerCacheGuid" /> - true + true + Condition="'$(CompilerCachePopulateCache)' == 'true'" + Guid="$(CompilerCacheGuid)" + CompilationSucceeded="$(MSBuildLastTaskResult)" /> <_CoreCompileResourceInputs diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.301.FSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.301.FSharp.targets index b1825d0..9308322 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.301.FSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.301.FSharp.targets @@ -153,12 +153,12 @@ PropertyName="CompilerCacheGuid" /> - true + true + Condition="'$(CompilerCachePopulateCache)' == 'true'" + Guid="$(CompilerCacheGuid)" + CompilationSucceeded="$(MSBuildLastTaskResult)" /> <_CoreCompileResourceInputs diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.408.CSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.408.CSharp.targets index ab28bc5..08c393f 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.408.CSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.408.CSharp.targets @@ -156,12 +156,12 @@ PropertyName="CompilerCacheGuid" /> - true + true + Condition="'$(CompilerCachePopulateCache)' == 'true'" + Guid="$(CompilerCacheGuid)" + CompilationSucceeded="$(MSBuildLastTaskResult)" /> <_CoreCompileResourceInputs diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.408.FSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.408.FSharp.targets index e9820bc..7898689 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.408.FSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.6.0.408.FSharp.targets @@ -156,12 +156,12 @@ PropertyName="CompilerCacheGuid" /> - true + true + Condition="'$(CompilerCachePopulateCache)' == 'true'" + Guid="$(CompilerCacheGuid)" + CompilationSucceeded="$(MSBuildLastTaskResult)" /> <_CoreCompileResourceInputs diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.105.CSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.105.CSharp.targets index ab28bc5..08c393f 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.105.CSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.105.CSharp.targets @@ -156,12 +156,12 @@ PropertyName="CompilerCacheGuid" /> - true + true + Condition="'$(CompilerCachePopulateCache)' == 'true'" + Guid="$(CompilerCacheGuid)" + CompilationSucceeded="$(MSBuildLastTaskResult)" /> <_CoreCompileResourceInputs diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.105.FSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.105.FSharp.targets index 7c6e3e7..7bef151 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.105.FSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.105.FSharp.targets @@ -160,12 +160,12 @@ PropertyName="CompilerCacheGuid" /> - true + true + Condition="'$(CompilerCachePopulateCache)' == 'true'" + Guid="$(CompilerCacheGuid)" + CompilationSucceeded="$(MSBuildLastTaskResult)" /> <_CoreCompileResourceInputs diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.203.CSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.203.CSharp.targets index 8a832bd..55b2880 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.203.CSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.203.CSharp.targets @@ -157,12 +157,12 @@ PropertyName="CompilerCacheGuid" /> - true + true + Condition="'$(CompilerCachePopulateCache)' == 'true'" + Guid="$(CompilerCacheGuid)" + CompilationSucceeded="$(MSBuildLastTaskResult)" /> <_CoreCompileResourceInputs diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.203.FSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.203.FSharp.targets index 7c6e3e7..7bef151 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.203.FSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.203.FSharp.targets @@ -160,12 +160,12 @@ PropertyName="CompilerCacheGuid" /> - true + true + Condition="'$(CompilerCachePopulateCache)' == 'true'" + Guid="$(CompilerCacheGuid)" + CompilationSucceeded="$(MSBuildLastTaskResult)" /> <_CoreCompileResourceInputs diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.302.CSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.302.CSharp.targets index 8a832bd..55b2880 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.302.CSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.302.CSharp.targets @@ -157,12 +157,12 @@ PropertyName="CompilerCacheGuid" /> - true + true + Condition="'$(CompilerCachePopulateCache)' == 'true'" + Guid="$(CompilerCacheGuid)" + CompilationSucceeded="$(MSBuildLastTaskResult)" /> <_CoreCompileResourceInputs diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.302.FSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.302.FSharp.targets index 7c6e3e7..7bef151 100644 --- a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.302.FSharp.targets +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.7.0.302.FSharp.targets @@ -160,12 +160,12 @@ PropertyName="CompilerCacheGuid" /> - true + true + Condition="'$(CompilerCachePopulateCache)' == 'true'" + Guid="$(CompilerCacheGuid)" + CompilationSucceeded="$(MSBuildLastTaskResult)" /> <_CoreCompileResourceInputs diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.CSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.CSharp.xml index 06a19dd..fd43cfa 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.CSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.CSharp.xml @@ -1,17 +1,17 @@ - +--> + +--> - +--> + - true + --> + true - true - - - $(ProjectExtensionsPathForSpecifiedProject) - - + --> + true + + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + + + $(ProjectExtensionsPathForSpecifiedProject) + + +--> - - true - true - true - true - true - +--> + + true + true + true + true + true + - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - + --> + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + - + --> + - obj\ - $(BaseIntermediateOutputPath)\ - <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) - $(BaseIntermediateOutputPath) + --> + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) - $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) - $(MSBuildProjectExtensionsPath)\ - true - <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) - - + --> + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) - - + --> + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + - - true - - - $(DefaultProjectConfiguration) - $(DefaultProjectPlatform) - - - WJProject - JavaScript - - - - - + e.g. by the project itself. --> + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props - $(MSBuildToolsPath)\NuGet.props - + --> + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + +--> +--> - - true - + --> + + true + - - <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props - <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) - $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) - - - - true - + --> + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + - - true - true - true - true - true - true - true - true - true - true - true - true - true - +%UserProfile%//.dotnet/sdk/6.0.300/Current/Microsoft.Common.props +============================================================================================================================================ +--> + + true + true + true + true + true + true + true + true + true + true + true + true + true + +--> +--> - - - true - - - - Debug;Release - AnyCPU - Debug - AnyCPU - - - - Library - 512 - prompt - $(MSBuildProjectName) - $(MSBuildProjectName.Replace(" ", "_")) - true - - - - true - false - - - true - - +--> + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + + true + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + - - <_PlatformWithoutConfigurationInference>$(Platform) - - - x64 - - - x86 - - - ARM - - - - portable - - false - - true - true + --> + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + arm64 + + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + + + portable + + false + + true + true - PackageReference - - {CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName} - $(AssemblySearchPaths) - false - false - false - false - false - false - false - false - false - true - 1.0.2 - false - true - true - - - - - - $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj - - + a project targets .NET Framework and doesn't have any direct package dependencies. --> + PackageReference + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.3 + false + true + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + - - - $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) - $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs - 6.0 - 6.0 - 6.0.5 - 2.1 - 2.1.0 - 6.0.3 - $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json - 6.0.300 - win-x64 - win-x64 - <_NETCoreSdkIsPreview>false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +--> + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)../../')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + <_NetFrameworkHostedCompilersVersion>4.8.0-3.23471.11 + 8.0 + 8.0 + 8.0.0-rc.2.23479.6 + 2.1 + 2.1.0 + 8.0.0-rc.2.23479.6 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 8.0.100-rc.2.23502.2 + linux-x64 + linux-x64 + <_NETCoreSdkIsPreview>true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> + - - - $(BundledRuntimeIdentifierGraphFile) - - - - false - - - <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif - - - - - - - - - - - - - - - - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props +============================================================================================================================================ +--> + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + - - - - - - - - - + evaluated in the second pass of evaluation, after all properties have been evaluated. --> + + + + + + + + + - + an implicit FrameworkReference --> + - - - - - + Packing an DotnetCliTool should include the Microsoft.NETCore.App package dependency. --> + + + + + + + +--> - - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel - true - - + putting an EnableWorkloadResolver.sentinel file beside the MSBuild SDK resolver DLL --> + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + +--> - - +--> + + - +--> + +--> +--> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + This is used by VS to show the list of frameworks to which projects can be retargeted. --> + + + + + + + + + + + + + + + + 9.0 + 17.8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +--> + +--> - - - - - - +--> + + + + + + - +--> + +--> - - - - - - - - - - - - +--> + + + + + + + + + + + + +--> +--> - - 4 - 1701;1702 - - $(WarningsAsErrors);NU1605 - - - $(DefineConstants); - $(DefineConstants)TRACE - - - - - - - - - - - +--> + + + true + <_SourceLinkPropsImported>true + + - - +--> + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + +--> +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.SourceLink.Common/build/Microsoft.SourceLink.Common.props +============================================================================================================================================ +--> + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + +--> + + + + + - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.props +============================================================================================================================================ +--> +--> + + + + + - - true - $(MSBuildThisFileDirectory)..\tools\net6.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.SourceLink.AzureRepos.Git/build/Microsoft.SourceLink.AzureRepos.Git.props +============================================================================================================================================ +--> + + + + + + + +--> + + + + +--> + +--> - - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.Compatibility.dll - $(MSBuildThisFileDirectory)..\tools\net6.0\Microsoft.DotNet.Compatibility.dll - +--> + + + 1701;1702 + + $(WarningsAsErrors);NU1605 + + + $(DefineConstants); + $(DefineConstants)TRACE + + + + + + + + + + + +--> + + +--> - - $(TargetsForTfmSpecificContentInPackage);PackTool - +--> + + $(TargetsForTfmSpecificContentInPackage);PackTool + +--> +--> - - $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation - +--> + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + +--> - - - MSBuild:Compile - $(DefaultXamlRuntime) - - - MSBuild:Compile - $(DefaultXamlRuntime) - - - MSBuild:Compile - $(DefaultXamlRuntime) - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props +============================================================================================================================================ +--> + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + + + + - - - - - - - + --> + + + + + + + - + --> + - <_WpfCommonNetFxReference Include="WindowsBase" /> - <_WpfCommonNetFxReference Include="PresentationCore" /> - <_WpfCommonNetFxReference Include="PresentationFramework" /> - <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> - 4.0 - - <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> - - - <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> - <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> - <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> - + --> + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + --> - + --> + - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + --> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> - <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + --> + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> - <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> - - - - - + --> + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + --> +--> + --> - + --> + - - - - + --> + + + + +--> - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + +--> +--> +--> - - - - + --> + + + + +--> +--> +--> - - - - - true - - <_TargetFrameworkVersionValue>0.0 - <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 - +--> + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + +--> +--> +--> +--> - - - true - - +--> + + + true + + +--> +--> - - - - - - - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - - - $(_IsExecutable) - <_UsingDefaultForHasRuntimeOutput>true - + So import them here. --> + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + +--> - - 1.0.0 - $(VersionPrefix)-$(VersionSuffix) - $(VersionPrefix) - - - $(AssemblyName) - $(Authors) - $(AssemblyName) - $(AssemblyName) - +--> + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + - - - +--> - - Debug - AnyCPU - $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - - + --> + + Debug + AnyCPU + $(Platform) + + respected by the SDK. --> +--> - - - true - <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) - <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties - <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ - $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) - $(_PublishProfileRootFolder)$(PublishProfileName).pubxml - $(PublishProfileFullPath) +--> + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) - false - - - + to limit the import to the project being published. --> + false + + + +--> + --> +--> +--> - - + --> + + - - $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) - v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) - + --> + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + - - $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) - - - Windows - + --> + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + - - <_UnsupportedTargetFrameworkError>true - + --> + + <_UnsupportedTargetFrameworkError>true + - - - - + --> + + + + - - - true - - - - - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + true + true + + + + + + + + + + + + + + + + + - - v0.0 - - - _ - + --> + + v0.0 + + + _ + - - - + --> + + + true + + + + - - - - - - <_EnableDefaultWindowsPlatform>false - false - - - 2.1 + --> + + + + + + <_EnableDefaultWindowsPlatform>false + false + + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion->Distinct()) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + + + + + true + true + + + + + + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ + + - - - <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> - - - @(_ValidTargetPlatformVersion) - - - - - true - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None - - - + --> + + + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - - - - true - - - true - + in the project file, the specified value will be used for the exclude. --> + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** + - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ - + --> + + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + - - - - true - - false - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - +--> + + + + true + + false + - - + --> + + +--> - - +--> + + - - - - +--> + + + + + + +--> - - - - - +%UserProfile%//.dotnet/sdk-manifests/6.0.300/microsoft.net.workload.emscripten/WorkloadManifest.targets +============================================================================================================================================ +--> + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + +--> - - - - +--> + + + + +--> - - - - +--> + + + + +--> - - - - - - +--> + + + + +--> - - - - +--> + + + + + +--> - - true - - - <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true - WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ - - - true - $(WasmNativeWorkload) - - - false - false - - - - - - +%UserProfile%//.dotnet/sdk-manifests/6.0.300/microsoft.net.workload.mono.toolchain/WorkloadManifest.targets +============================================================================================================================================ +--> + + 6.0.5 + true + + + + true + $(WasmNativeWorkload) + + + false + false + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(RuntimePackInWorkloadVersion) + + + + + + + + + + + + + + +--> - - 6.0.4 - true - - - - true - $(WasmNativeWorkload) - - - false - false - - - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(RuntimePackInWorkloadVersion) - - - - - - - - - - - - - - +--> + + + + - - - - - - +--> + + + + + + - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + - - - - - - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> - - + need to be set to "true" to avoid requiring restore (which would likely fail if the required workloads aren't already installed).--> + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + +--> + --> +--> +--> - - <_UsingDefaultRuntimeIdentifier>true - win7-x64 - win7-x86 - - - $(NETCoreSdkPortableRuntimeIdentifier) - - - <_UsingDefaultPlatformTarget>true - - - - - - - x86 - - - - - x64 - - - - - arm - - - - - arm64 - - - - - AnyCPU - - - + --> + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + + + + true + + + + $(PublishSelfContained) + + + + true + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + $(PublishRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + - - <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - true - false - <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false - <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true - true - false - - - - $(NETCoreSdkRuntimeIdentifier) - win-x64 - win-x86 - win-arm - win-arm64 - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - - - - - + --> + + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + + + + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + because we do not want the behavior to be a breaking change compared to version 3.0 --> + + + + + + + + + + + + + + false + + + + + + + + + + + + + - - - true - + Configuration-specific PropertyGroup), so in that case we won't append to it by default. --> + + + true + - - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ - - + --> + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + - - - - - + --> + + + + + - +--> + +--> - - - true - +--> + + + true + true + - - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0" /> - - - - + --> + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + + + + + - - - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true - - - - true - true - true - - - true - - - - true +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets +============================================================================================================================================ +--> + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true - true - - .dll + runtime minor version roll-forward: https://github.com/dotnet/core-setup/issues/3546 --> + true + + .dll - false - - - - $(PreserveCompilationContext) - - - - publish - - $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ - $(OutputPath)$(PublishDirName)\ - + is not needed for NETStandard or NETCore since references come from NuGet packages--> + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + --> +--> - - <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder - <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true - <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs - - - $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) - - - $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) - +--> + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + - - <_SDKImplicitReference Include="System" /> - <_SDKImplicitReference Include="System.Data" /> - <_SDKImplicitReference Include="System.Drawing" /> - <_SDKImplicitReference Include="System.Xml" /> +--> + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> - - <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - - <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> - - <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - - - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + such if the parse succeeds. --> + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> - <_SDKImplicitReference Remove="@(Reference)" /> - - - - - - false - - - $(AssetTargetFallback);net461;net462;net47;net471;net472;net48 - - - - <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET - $(_FrameworkIdentifierForImplicitDefine) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET - <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) - <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) - <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) - $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) - $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - - - - - <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) - <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) - - - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> - - - - - - <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - - - - - - <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> - - - - - - $(DefineConstants);@(_ImplicitDefineConstant) - $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') - - - - - false - true - - - $(AssemblyName).xml - $(IntermediateOutputPath)$(AssemblyName).xml - - - - - - true - true - true - - - - - - - true - + NuGet package, you can just add the Reference to your project file. --> + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + - - $(MSBuildToolsPath)\Microsoft.CSharp.targets - $(MSBuildToolsPath)\Microsoft.VisualBasic.targets - $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets +--> + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets - $(MSBuildToolsPath)\Microsoft.Common.targets - + languages could either be supplied via an SDK or via a NuGet package. --> + $(MSBuildToolsPath)\Microsoft.Common.targets + + using Sdk attribute (from .NET Core Sdk 1.0.0-preview4) --> +--> - - - - $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets - - - - - $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets - - - +--> + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets + + + +--> +--> - - true - + --> + + true + +--> +--> - - true - true - true - true - - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets - - - - .cs - C# - Managed - true - true - true - true - true - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Properties - - - - - File - - - BrowseObject - - - - - - +--> + + true + true + true + true + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets + + + + .cs + C# + Managed + true + true + true + true + true + {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Properties + + + + + File + + + BrowseObject + + + + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - true - - - - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet - true - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + true + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet + true + - +--> + - - $(NoWarn);1701;1702 - - - - $(NoWarn);2008 - - - - - - - + so the compiler warning would be redundant. --> + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + + + + - $(AppConfig) - - $(IntermediateOutputPath)$(TargetName).compile.pdb - - - - false - - - - - - - true - - - - + then we'll use AppConfig --> + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + false + + + + + + + true + + + + - - - - - $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets - +--> + + + + + $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets + - +--> + - +--> + - + --> + - - roslyn4.2 - +--> + + roslyn4.2 + - +--> + - - - - - - - - - - - - - false - + --> + + + + + + + + + + + + + false + - - - - - - true - - + https://github.com/dotnet/roslyn/issues/12223 --> + + + + + + true + + - - - - - <_SkipAnalyzers /> - <_ImplicitlySkipAnalyzers /> - + --> + + + + + <_SkipAnalyzers /> + <_ImplicitlySkipAnalyzers /> + - - <_SkipAnalyzers>true - + --> + + <_SkipAnalyzers>true + - - <_ImplicitlySkipAnalyzers>true - <_SkipAnalyzers>true - run-nullable-analysis=never;$(Features) - - - - - - <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers - + --> + + <_ImplicitlySkipAnalyzers>true + <_SkipAnalyzers>true + run-nullable-analysis=never;$(Features) + + + + + + <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers + - - - - - - - - - + --> + + + + + + + + + - - <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> + --> + + <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> - - - - - + compilation includes linked files with relative paths - https://github.com/microsoft/msbuild/issues/4392 --> + + + + + - - - - - $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig - true - <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true - <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true - - - - - - <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> - $(%(CompilerVisibleProperty.Identity)) - - - <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> - %(Identity) - %(CompilerVisibleItemMetadata.MetadataName) - - - - - - - - + --> + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig + true + <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true + <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true + + + + + + <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> + $(%(CompilerVisibleProperty.Identity)) + + + <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> + %(Identity) + %(CompilerVisibleItemMetadata.MetadataName) + + + + + + + + - - true - + --> + + true + - - - <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> - - - - - - - - - + --> + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + - - true - + --> + + true + - + --> + - - - <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> - $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) - $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) - - - + --> + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + - @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) - - + --> + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + - - - - - + --> + + + + + - - false - - $(IntermediateOutputPath)/generated - - - - - + --> + + false + + $(IntermediateOutputPath)/generated + + + + + - - - + --> + + + - - - <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 - - <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 - - <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '5.0' AND '$(_MaxSupportedLangVersion)' == ''">9.0 - - <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '6.0' AND '$(_MaxSupportedLangVersion)' == ''">10.0 - $(_MaxSupportedLangVersion) - $(_MaxSupportedLangVersion) - - +%UserProfile%//.dotnet/sdk/6.0.300/Roslyn/Microsoft.CSharp.Core.targets +============================================================================================================================================ +--> + + + <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 + + <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '5.0' AND '$(_MaxSupportedLangVersion)' == ''">9.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '6.0' AND '$(_MaxSupportedLangVersion)' == ''">10.0 + $(_MaxSupportedLangVersion) + $(_MaxSupportedLangVersion) + + - - $(NoWarn);1701;1702 - - - - $(NoWarn);2008 - - + so the compiler warning would be redundant. --> + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + - $(AppConfig) - - $(IntermediateOutputPath)$(TargetName).compile.pdb - - - - - - - <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> - - - + then we'll use AppConfig --> + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + - - - - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets - - +--> + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets + + +--> - - $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets - +--> + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + +--> - - - true - true - true - true - - - - - - - 10.0 - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets - - - - - Managed - +--> + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + - - .NETFramework - v4.0 - - - - Any CPU,x86,x64,Itanium - Any CPU,x86,x64 - - - - - - - true - - true - - - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) - - $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + Native apps) because they do not target a .NET Framework. --> + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) - $(MSBuildFrameworkToolsPath) - - - Windows - 7.0 - $(TargetPlatformSdkRootOverride)\ - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - $(TargetPlatformSdkPath)Windows Metadata - $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral - $(TargetPlatformSdkMetadataLocation) - true - $(WinDir)\System32\WinMetadata - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - + we need to find a directory which does contain mscorlib to allow the inproc compiler to initialize and give us the chance to show certain dialogs in the IDE (which only happen after initialization).--> + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + - - - <_OriginalPlatform>$(Platform) - - <_OriginalConfiguration>$(Configuration) - - <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true - - true - - - AnyCPU - $(Platform) - Debug - $(Configuration) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(TargetType) - library - exe - true - - <_DebugSymbolsProduced>false - <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false - <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false - <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false - - <_DocumentationFileProduced>true - <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false - - false - + --> + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + - + --> + - <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true - <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true - + --> + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + - - .exe - .exe - .exe - .dll - .netmodule - .winmdobj - - - - true - $(OutputPath) - - - $(OutDir)\ - $(MSBuildProjectName) - - - $(OutDir)$(ProjectName)\ - $(MSBuildProjectName) - $(RootNamespace) - $(AssemblyName) - - $(MSBuildProjectFile) - - $(MSBuildProjectExtension) - - $(TargetName).winmd - $(WinMDExpOutputWindowsMetadataFilename) - $(TargetName)$(TargetExt) - - - + --> + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + - <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true - $(_DeploymentPublishableProjectDefault) - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest - - $(AssemblyName).application - - $(AssemblyName).xbap - - $(GenerateManifests) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days - <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) - <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - 100 - - + --> + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + - * - $(UICulture) - - - - <_OutputPathItem Include="$(OutDir)" /> - <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> - <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> - - - + --> + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + - $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) - - $(TargetDir)$(TargetFileName) - $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) - - $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) - - $(ProjectDir)$(ProjectFileName) - - - - - + --> + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + - - *Undefined* - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - - - true - - true - - - true - false - - - $(MSBuildProjectFile).FileListAbsolute.txt - - false - - true - true - <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false - <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true - false - false - - - <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config - - - - - - - - - - - - - - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> - - - $(IntermediateOutputPath)$(TargetName).pdb - <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) - - - $(IntermediateOutputPath)$(TargetName).xml - <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) - - - <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) - <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) - - - - <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> - $(TargetFileName) - - - - <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> - $(ApplicationIcon) - - - - $(_DeploymentTargetApplicationManifestFileName) - + --> + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + - <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> - $(_DeploymentTargetApplicationManifestFileName) - - - - $(TargetDeployManifestFileName) - - - <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> - + references and for copying to the publish output location. --> + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + - - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) - <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> - <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + --> + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) - <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> - <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> - - - - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) - <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) - - - - $(PublishDir)\ - $(OutputPath)app.publish\ - + --> + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + - + --> + - $(PlatformTarget) + --> + $(PlatformTarget) - msil - amd64 - ia64 - x86 - arm - - - true - - - - $(Platform) - msil - amd64 - ia64 - x86 - arm - - None - $(PROCESSOR_ARCHITECTURE) - + --> + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + - - CLR2 - CLR4 - CurrentRuntime - true - false - $(PlatformTarget) - x86 - x64 - CurrentArchitecture - - - - Client - + If support for out-of-proc task execution is added on other runtimes, make sure each task's logic is checked against the current state of support. --> + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + - - false - - - - - true - true - false - + --> + + false + + + + + true + true + false + - - AssemblyFoldersEx - Software\Microsoft\$(TargetFrameworkIdentifier) - Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) - $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config - {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> .winmd; .dll; .exe - + + --> .pdb; .xml; .pri; .dll.config; .exe.config - + - Full - - + --> + Full + + - {CandidateAssemblyFiles} - $(AssemblySearchPaths);$(ReferencePath) - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) - $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} - $(AssemblySearchPaths);{AssemblyFolders} - $(AssemblySearchPaths);{GAC} - $(AssemblySearchPaths);{RawFileName} - $(AssemblySearchPaths);$(OutDir) - + --> + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + - - false - - - - $(NoWarn) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - - - - $(MSBuildThisFileDirectory)$(LangName)\ - - - - $(MSBuildThisFileDirectory)en-US\ - - - - - Project - - - BrowseObject - - - File - - - Invisible - - - File;BrowseObject - - - File;ProjectSubscriptionService - - - - $(DefineCommonItemSchemas) - - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - - - - - - Never - - - Never - - - Never - - - Never - - + typically expect --> + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + - - - true - + --> + + + true + - - - <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath - - + --> + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + - - - <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. - - - - - - - - - + --> + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + - - x86 - + correct value when we're trying to figure out PlatformTargetAsMSBuildArchitecture --> + + x86 + - + --> + - - + --> + + - + --> + BeforeBuild; CoreBuild; AfterBuild - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -3726,52 +4080,52 @@ Copyright (C) Microsoft Corporation. All rights reserved. UnmanagedRegistration; IncrementalClean; PostBuildEvent - - - - - - + + + + + + - - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + --> + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build BeforeRebuild; Clean; $(_ProjectDefaultTargets); AfterRebuild; - + BeforeRebuild; Clean; Build; AfterRebuild; - - - + + + - + --> + - + --> + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - + --> + - - - - - - - - + --> + + + + + + + + + --> - - false - - - - true - - + --> + + false + + + + true + + + --> - - $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata - - - - - $(TargetFileName).config - - - - - - - - - - + --> + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + - - @(_TargetFramework40DirectoryItem) - @(_TargetFramework35DirectoryItem) - @(_TargetFramework30DirectoryItem) - @(_TargetFramework20DirectoryItem) - - @(_TargetFramework20DirectoryItem) - @(_TargetFramework40DirectoryItem) - @(_TargetedFrameworkDirectoryItem) - @(_TargetFrameworkSDKDirectoryItem) - - - - + --> + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + - - - - - - - - - - - - - $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) - $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) - + --> + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + - - true - - - $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) - - - - - - - $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) - - - - - - - - - + resolving from the assemblyfolders global location if we are not acutally targeting a framework--> + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + - + E.g "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0.1\;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\" --> + - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - + --> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + --> - - - - - - + --> + + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + --> - + --> + - + --> + BeforeResolveReferences; AssignProjectConfiguration; @@ -4114,25 +4468,25 @@ Copyright (C) Microsoft Corporation. All rights reserved. GenerateBindingRedirects; ResolveComReferences; AfterResolveReferences - - - + + + - + --> + - + --> + - - - true - true - false + --> + + + true + true + false - false - - true - - - - - - - - - - - <_ProjectReferenceWithConfiguration> - true - true - - - true - true - - - + want this to happen, so just turn off synthetic project reference generation for Silverlight projects. --> + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + - + --> + - - - - + --> + + + + - - <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> - - - - <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> - <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> - - + --> + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + - - true - + --> + + true + - - - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> - true - - - - <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - - - - - <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> - - x86=Win32 - - - <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> - Win32=x86 - - - - - + Configuration information. --> + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + - - - - Platform=%(ProjectsWithNearestPlatform.NearestPlatform) - - - - %(ProjectsWithNearestPlatform.UndefineProperties);Platform - - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> - - + that can't multiplatform. --> + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + - + --> + - - $(NuGetTargetMoniker) - $(TargetFrameworkMoniker) - + --> + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> - true - %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework - - + --> + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> - true - - + --> + true + + - - - - + --> + + + + - <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> - <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> - <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> - - + --> + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + - - - - - - - + that we are using a version of NuGet which supports that parameter on this task. --> + + + + + + + - - - - TargetFramework=%(AnnotatedProjects.NearestTargetFramework) - + --> + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + - - %(AnnotatedProjects.UndefineProperties);TargetFramework - - - - %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier - + --> + + %(AnnotatedProjects.UndefineProperties);TargetFramework + + + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier + - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> - - - - - - - - - <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> - @(_TargetFrameworkInfo) - @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') - @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') - $(_AdditionalPropertiesFromProject) - true - - false - true - - true - $(Platforms) + --> + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + + false + true + + true + $(Platforms) - @(ProjectConfiguration->'%(Platform)'->Distinct()) - - - - - - <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> - $(%(AdditionalTargetFrameworkInfoProperty.Identity)) - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false - - - - - - <_TargetFrameworkInfo Include="$(TargetFramework)"> - $(TargetFramework) - $(TargetFrameworkMoniker) - $(TargetPlatformMoniker) - None - $(_AdditionalTargetFrameworkInfoProperties) - - - + Build the `Platforms` property from that. --> + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) + + + - + --> + - + --> + AssignProjectConfiguration; _SplitProjectReferencesByFileExistence; _GetProjectReferenceTargetFrameworkProperties; _GetProjectReferencePlatformProperties - - - + + + - - - - - $(ProjectReferenceBuildTargets) - - - ProjectReference - - - + --> + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + - - - - + --> + + + + - - - - + --> + + + + - - - - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + --> + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> - <_ResolvedProjectReferencePaths> - %(_ResolvedProjectReferencePaths.OriginalItemSpec) - - - - - - + --> + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + - - <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> - %(ReferencePath.ProjectReferenceOriginalItemSpec) - - - - + --> + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + - - $(GetTargetPathDependsOn) - - + --> + + $(GetTargetPathDependsOn) + + - - $(GetTargetPathDependsOn) - + --> + + $(GetTargetPathDependsOn) + - - - - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion.TrimStart('vV')) - $(TargetRefPath) - @(CopyUpToDateMarker) - - - + BeforeTargets. --> + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + - - - - %(_ApplicationManifestFinal.FullPath) - - - + --> + + + + %(_ApplicationManifestFinal.FullPath) + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + ResolveProjectReferences; FindInvalidProjectReferences; @@ -4695,69 +5049,69 @@ Copyright (C) Microsoft Corporation. All rights reserved. PrepareForBuild; ResolveSDKReferences; ExpandSDKReferences; - - - - - <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> - + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + - - $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache - - - - <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> - - - - <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false - true - false - Warning - $(BuildingProject) - $(BuildingProject) - $(BuildingProject) - false - - + --> + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + - - - true - - + ide will show one of the references as not resolved, this will not break the build but is a display issue --> + + + true + + - - false - true - - - - - - - - - - - - - - - - - + --> + + false + true + + + + + + + + + + + + + + + + + - - + --> + + - - %(FullPath) - - - %(ReferencePath.Identity) - - - - + assembly unless already specified. --> + + %(FullPath) + + + %(ReferencePath.Identity) + + + + - - - - - + --> + + + + + - - - $(_GenerateBindingRedirectsIntermediateAppConfig) - - - - - $(TargetFileName).config - - - + --> + + + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + - - Software\Microsoft\Microsoft SDKs - $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs - - $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 - - true - Windows - 8.1 - - false - WindowsPhoneApp - 8.1 - - - - - - - - - - - - - + --> + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + - + --> + GetInstalledSDKLocations - - - - Debug - Retail - Retail - $(ProcessorArchitecture) - Neutral - - - true - - - - - - - - - - - - + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + - + --> + GetReferenceTargetPlatformMonikers - - - - - - - - <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> - - - - - - - + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + - + --> + ResolveSDKReferences - + .winmd; .dll - - - - - - - - - - - + + + + + + + + + + + - - - - false - false - false - $(TargetFrameworkSDKToolsDirectory) - true - - - - - - - - - - - - - - - <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> - - - + --> + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5015,8 +5369,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(TargetDir) - - + + - + --> + GetFrameworkPaths; GetReferenceAssemblyPaths; ResolveReferences - - - - - <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - - - $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache - - + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5057,29 +5411,29 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(OutDir) - - - - false - false - false - false - false - true - false - - - <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> - - - <_RARResolvedReferencePath Include="@(ReferencePath)" /> - - - - - - - + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + - - false - - - - $(IntermediateOutputPath) - - + --> + + false + + + + $(IntermediateOutputPath) + + - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - false - - - - - - - - - - - - - - + --> + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + - + --> + + --> - + --> + $(PrepareResourcesDependsOn); PrepareResourceNames; ResGen; CompileLicxFiles - - - + + + - + --> + AssignTargetPaths; SplitResourcesByCulture; CreateManifestResourceNames; CreateCustomManifestResourceNames - - - + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + - + --> + - - - - - - - <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> - - - Resx - - - Non-Resx - - - - - - - - - + --> + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + - - - - - - Resx - - - Non-Resx - - - - - - - - - - - - <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> - <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> - - + i.e. either Licx, or resources that don't have culture info --> + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + - - - - + --> + + + + - - ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen - FindReferenceAssembliesForReferences - true - false - - + --> + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + - + --> + - + --> + - - - <_Temporary Remove="@(_Temporary)" /> - - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - - + --> + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - true - - - true - - - - true - - - true - - - + suddenly start failing to build.--> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + --> - - - - - - - + --> + + + + + + + + --> - + --> + ResolveReferences; ResolveKeySource; @@ -5473,96 +5827,96 @@ Copyright (C) Microsoft Corporation. All rights reserved. CoreCompile; _TimeStampAfterCompile; AfterCompile; - - - + + + - - - - - - <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> - - <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> - Resx - false - - <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - false - - - + --> + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + - - - true - $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) - - - true - - - - - + --> + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + - - - - - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + + + - - true - - - - - - - - - - + --> + + true + + + + + + + + + + - + --> + - + --> + - - - <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + - - - $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + - - - <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + - - - __NonExistentSubDir__\__NonExistentFile__ - - + --> + + + __NonExistentSubDir__\__NonExistentFile__ + + - - <_SGenDllName>$(TargetName).XmlSerializers.dll - <_SGenDllCreated>false - <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) - <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto - <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off - true - false - true - + --> + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - + --> + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + --> - + --> + _GenerateSatelliteAssemblyInputs; ComputeIntermediateSatelliteAssemblies; GenerateSatelliteAssemblies - - - + + + - - - - - - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> - - <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> - Resx - true - - <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - true - - - + --> + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + - - - <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) - - - - - - + --> + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + - + --> + CreateManifestResourceNames - - - - - - %(EmbeddedResource.Culture) - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - - - + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + - - $(Win32Manifest) - + --> + + $(Win32Manifest) + - - - + --> + + + - <_DeploymentBaseManifest>$(ApplicationManifest) - <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + property is set though, prefer that one be used to specify the manifest. --> + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) - true - - - - - $(ApplicationManifest) - $(ApplicationManifest) - - - - - - $(_FrameworkVersion40Path)\default.win32manifest - - + a manifest to their built assemblies --> + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + --> - + --> + SetWin32ManifestProperties; GenerateApplicationManifest; GenerateDeploymentManifest - - + + - - - <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> - - - - - - + --> + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + - - - - - - - - - <_DeploymentCopyApplicationManifest>true - - + --> + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + - - - <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) - <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) - - + --> + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) - <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) - - - - - - - + --> + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + - - - <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> - <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> - - + --> + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + - - - - - - - <_DeploymentManifestType>Native - - - - - - - <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') - - - + --> + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + CleanPublishFolder; _DeploymentGenerateTrustInfo $(DeploymentComputeClickOnceManifestInfoDependsOn) - - + + - - - - <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - - - <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> - <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> - - - - <_SatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> - <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> - true - - <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> - - - - <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_SatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> - - - + --> + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + + <_SatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_SatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + - <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> - - - - <_ClickOnceFiles Include="$(PublishedSingleFilePath)" /> - <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> - - <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> - - - + --> + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + - - <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> - <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> - - - + --> + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + - - - - - - - - - - - - - - - <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> - - - <_DeploymentManifestType>ClickOnce - + This is being done to avoid Windows Forms designer memory issues that can arise while operating directly on files located in Obj directory. --> + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + - - <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) - - - - - - - - - - - - - - - + --> + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - true - false - + --> + + true + false + - + --> + CopyFilesToOutputDirectory - - - + + + - - - false - false - - - - - false - false - false - - - true - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - false - false - - - - - - + --> + + + + false + false + + + + + + - - - - - + input to projects that reference this one. --> + + + + + - + --> + - - <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + --> + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence - true + --> + true <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> AssignProjectConfiguration; _SplitProjectReferencesByFileExistence - + AssignTargetPaths; $(_TargetsThatPrepareProjectReferences); _GetProjectReferenceTargetFrameworkProperties; _PopulateCommonStateForGetCopyToOutputDirectoryItems - + - <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems - - <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject - - + --> + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + - - <_GCTODIKeepDuplicates>false - <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> - - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - - <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> - - + a non-empty value and the original behavior will be restored. --> + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + - - - - %(CopyToOutputDirectory) - - - + --> + + + + %(CopyToOutputDirectory) + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - - - - - - - - - - - - + --> + + + + + + + + + + + + - - - - - - - - - <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false - - - - - - - <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false - - - - - + --> + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + - - - - <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true - - - - - + --> + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + --> - - - - <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> - - - - - - - - - - - - - + --> + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + - - <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> - - - - - - - - + the current final output and intermediate output directories. --> + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + - - - - - + --> + + + + + - - - + --> + + + - - <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - + --> + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - - - - - - + --> + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + --> - + --> + BeforeClean; UnmanagedUnregistration; @@ -6701,81 +7055,81 @@ Copyright (C) Microsoft Corporation. All rights reserved. CleanReferencedProjects; CleanPublishFolder; AfterClean - - - + + + - + --> + - + --> + - + --> + - - + --> + + - - - - + --> + + + + - - - - - - - - - - - - - - - - - - - - <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> - - - - - - - - - - + Declare items of this type if you want Clean to delete them. --> + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + - + --> + - - - - - - - - + --> + + + + + + + + - - - + --> + + + + --> - - - - - - + --> + + + + + + + --> - + --> + SetGenerateManifests; Build; PublishOnly - + _DeploymentUnpublishable - - - + + + - - - + --> + + + - - - - - true - - + --> + + + + + true + + - + --> + SetGenerateManifests; PublishBuild; @@ -6907,33 +7261,33 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; _DeploymentSignClickOnceDeployment; AfterPublish - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -6942,77 +7296,77 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; GenerateSerializationAssemblies; CreateSatelliteAssemblies; - - - + + + - + --> + - - - - - <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) - <_DeploymentApplicationDir>$(PublishDir)$(_DeploymentApplicationFolderName)\ - - - - false - false - - - - - - - - - - - - - - - - - + This is done because some servers misinterpret "." as a file extension. --> + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(PublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + - - - - + --> + + + + - - - - - - - - - - + --> + + + + + + + + + + + --> - + --> + - - - true - $(TargetPath) - $(TargetFileName) - true - - - - - - true - $(TargetPath) - $(TargetFileName) - - + --> + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + - - PrepareForBuild - true - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> - $(TargetDir)$(TargetFileName).config - $(TargetFileName).config - - $(AppConfig) - - - - <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> - <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="'@(NativeReference)'!='' or '@(_IsolatedComReference)'!=''"> - $(_DeploymentTargetApplicationManifestFileName) - - $(OutDir)$(_DeploymentTargetApplicationManifestFileName) - - - - - - - %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) - - - + --> + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="'@(NativeReference)'!='' or '@(_IsolatedComReference)'!=''"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + - - - - - - @(_DebugSymbolsOutputPath->'%(FullPath)') - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputPdbItem->'%(FullPath)') - @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + - - - - - - @(FinalDocFile->'%(FullPath)') - true - @(DocFileItem->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputDocItem->'%(FullPath)') - @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + - - PrepareForBuild;PrepareResourceNames - - - - - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - %(EmbeddedResource.Culture) - - - - - - $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) - - %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) - - - + --> + + PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - - - - - - $(MSBuildProjectFullPath) - $(ProjectFileName) - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + - - - - - - @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') - $(_SGenDllName) - - - + --> + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + - - + --> + + - - - + Needed for certain build environments that import partial sets of targets. --> + + + - - - - - - - - ResolveSDKReferences;ExpandSDKReferences - + --> + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + - - - - - - + --> + + + + + + + --> - + --> + $(CommonOutputGroupsDependsOn); BuildOnlySettings; PrepareForBuild; AssignTargetPaths; ResolveReferences - - + + - + --> + - + --> + $(BuiltProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - + + + + + + + - + --> + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(DocumentationProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SGenFilesOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(ReferenceCopyLocalPathsOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - + --> + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - + + + + --> - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets - - - - - - true - - - - - - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets - - - + retrieve them. --> + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets - - - - - - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets - $(MSBuildToolsPath)\NuGet.targets - + --> + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + +--> - - - true - - NuGet.Build.Tasks.dll - - false - - true - true - - false - - WarnAndContinue - - $(BuildInParallel) - true - - <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true - - $(MSBuildInteractive) - - true - - true - - <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true - - - - <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + --> + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + skipped. --> <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); NuGetRestoreTargets=$(MSBuildThisFileFullPath); RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); - - + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); _RestoreSolutionFileUsed=true; @@ -7576,55 +7930,55 @@ Copyright (c) .NET Foundation. All rights reserved. SolutionFileName=$(SolutionFileName); SolutionPath=$(SolutionPath); SolutionExt=$(SolutionExt); - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - + --> + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + - + --> + - + --> + - - - <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> - - + --> + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + - - - exclusionlist - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> - - - - - - - - - - - - - - - - - + --> + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + - - - - - - <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> - <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> - - - - - - - - - - + --> + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + - - - + --> + + + - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> - RestoreSpec - $(MSBuildProjectFullPath) - - - + --> + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + - - - netcoreapp1.0 - - - - - - + --> + + + netcoreapp1.0 + + + + + + - - - - - - - + --> + + + + + + + - + --> + - - <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true - - - <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true - - - - - - - <_HasPackageReferenceItems /> - - + --> + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + - - - true - - + --> + + + true + + - - - <_RestoreProjectFramework /> - - - - - - - <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> - - + --> + + + <_RestoreProjectFramework /> + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + - - - <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> - - + --> + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + - - - $(SolutionDir) - - - - - - - - - - + --> + + + $(SolutionDir) + + + + + + + + + + - + --> + - - - - - - + --> + + + + + + - - - <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> - $(RestoreAdditionalProjectSources) - $(RestoreAdditionalProjectFallbackFolders) - $(RestoreAdditionalProjectFallbackFoldersExcludes) - - - + --> + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + - - - - $(MSBuildProjectExtensionsPath) - - - - + --> + + + + $(MSBuildProjectExtensionsPath) + + + + - - <_RestoreProjectName>$(MSBuildProjectName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) - + --> + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + - - <_RestoreProjectVersion>1.0.0 - <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) - <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) - - - - <_RestoreCrossTargeting>true - - - - <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(_RestoreProjectVersion) - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(RestoreProjectStyle) - $(RestoreOutputAbsolutePath) - $(RuntimeIdentifiers);$(RuntimeIdentifier) - $(RuntimeSupports) - $(_RestoreCrossTargeting) - $(RestoreLegacyPackagesDirectory) - $(ValidateRuntimeIdentifierCompatibility) - $(_RestoreSkipContentFileWrite) - $(_OutputConfigFilePaths) - $(TreatWarningsAsErrors) - $(WarningsAsErrors) - $(NoWarn) - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) - $(CentralPackageVersionOverrideEnabled) - $(CentralPackageTransitivePinningEnabled) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(RestoreOutputAbsolutePath) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(_CurrentProjectJsonPath) - $(RestoreProjectStyle) - $(_OutputConfigFilePaths) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - $(MSBuildProjectDirectory)\packages.config - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - $(_OutputSources) - $(SolutionDir) - $(_OutputRepositoryPath) - $(_OutputConfigFilePaths) - $(_OutputPackagesPath) - @(_RestoreTargetFrameworksOutputFiltered) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - @(_RestoreTargetFrameworksOutputFiltered) - - - + --> + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + - - - + --> + + + - + --> + - - - - - - - + --> + + + + + + + - + --> + - - - - - - - - - - - - - - - - - - - - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - TargetFrameworkInformation - $(MSBuildProjectFullPath) - $(PackageTargetFallback) - $(AssetTargetFallback) - $(TargetFramework) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion) - $(TargetFrameworkMoniker) - $(TargetFrameworkProfile) - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetPlatformVersion) - $(TargetPlatformMinVersion) - $(CLRSupport) - $(RuntimeIdentifierGraphPath) - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + + + - + --> + - - - - - - - <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> - - + --> + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + - - - - - - + --> + + + + + + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - - - - - - - - <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> - - - - - - + --> + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + - - - <_RestorePackagesPathOverride>$(RestorePackagesPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + - - - <_RestorePackagesPathOverride>$(RestoreRepositoryPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + - - - <_RestoreSourcesOverride>$(RestoreSources) - - + --> + + + <_RestoreSourcesOverride>$(RestoreSources) + + - - - <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) - - + --> + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + - - - <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> - - + --> + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + - + --> + - +--> + +--> - - $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets - +--> + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + +--> - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - $(MSBuildThisFileDirectory)\tools\net6.0\Microsoft.NET.Build.Extensions.Tasks.dll - $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll - - true - - - - +--> + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net6.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + +--> +--> +--> - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + +--> - - - Microsoft.TestPlatform.Build.dll - $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) - - - +--> + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +--> - +--> + +--> - - true - - - - true - + --> + + true + + + + true + - - <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets - <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) - - + --> + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + - - - +--> + + + // <autogenerated /> using System%3b using System.Reflection%3b [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName = "$(TargetFrameworkMonikerDisplayName)")] - - - - - true + + + + + true - true - true - - $([System.Globalization.CultureInfo]::CurrentUICulture.Name) - + --> + true + true + + $([System.Globalization.CultureInfo]::CurrentUICulture.Name) + - + but the user hasn't told us to not include standard references --> + - <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> - - - - + --> + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> + + + + +--> +--> - - - TargetFramework - TargetFrameworks - - - true - - +--> + + + TargetFramework + TargetFrameworks + + + true + + - - + --> + + - - - <_MainReferenceTarget Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets - <_MainReferenceTarget Condition="'$(_MainReferenceTarget)' == ''">GetTargetPath - GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) - $(_MainReferenceTarget);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) - GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) - Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) - $(ProjectReferenceTargetsForCleanInOuterBuild);$(ProjectReferenceTargetsForBuildInOuterBuild);$(ProjectReferenceTargetsForRebuildInOuterBuild) - $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) - - - - - - - - - - - + --> + + + <_MainReferenceTarget Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTarget Condition="'$(_MainReferenceTarget)' == ''">GetTargetPath + GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) + $(_MainReferenceTarget);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) + GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) + Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForCleanInOuterBuild);$(ProjectReferenceTargetsForBuildInOuterBuild);$(ProjectReferenceTargetsForRebuildInOuterBuild) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + + + + + + + + + +--> - +--> + +--> +--> +--> - - - $(MSBuildThisFileDirectory)..\tools\ - net6.0 - net472 - $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ - $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll +--> + + + $(MSBuildThisFileDirectory)..\tools\ + net8.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll - Microsoft.NETCore.App;NETStandard.Library - + --> + Microsoft.NETCore.App;NETStandard.Library + - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - $(_IsExecutable) - - - - netcoreapp2.2 - - - false - DotnetTool - $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) - - - Preview - - - - - + --> + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + - +--> + + true + + +--> +--> - - - $(MSBuildProjectExtensionsPath)/project.assets.json - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + --> + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) - $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) - - false - - false - - true - $(IntermediateOutputPath)NuGet\ - true - $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) - $(TargetFrameworkMoniker) - true + be stored in a shared directory next to the assets.json file --> + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true - false + TargetDefinitions, FileDefinitions and FileDependencies items. --> + false - true - - - - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) - - - - - + its own multi-targeting logic, or if the current SDK targets will pick the assets correctly. --> + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + - + --> + $(ResolveAssemblyReferencesDependsOn); ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; - + ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; $(PrepareResourcesDependsOn) - - - - - - $(RootNamespace) - - - $(AssemblyName) - - - $(MSBuildProjectDirectory) - - - $(TargetFileName) - - - $(MSBuildProjectFile) - - - + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + - - true - + --> + + true + + --> - + --> + ResolveLockFileReferences; ResolveLockFileAnalyzers; @@ -8870,101 +9227,110 @@ Copyright (c) .NET Foundation. All rights reserved. ResolveRuntimePackAssets; RunProduceContentAssets; IncludeTransitiveProjectReferences - - - + + + + --> - - - - + --> + + + + - + run and created the assets file. --> + - - - - - - - - - - - - - - - - - <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) - roslyn$(_RoslynApiVersion) - - - - - - false - - - true - - - true - - - - true - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + compile errors. --> + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + match the expected version --> + + + + + - - - - - - - - - - - - - - - - <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> - - - <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> - - + (that was spread across different tasks/targets) for backwards compatibility. --> + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + - - - - - - + --> + - - - - - - + --> + + + + + + - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + - - - - + but the names depend upon the items themselves. Split it apart. --> + + + + - - + --> + + - - true - + --> + + true + - - + project, use that, in order to preserve metadata (such as aliases). --> + + - - - - - - - - - - - - - - + a reference with a warning. See https://github.com/dotnet/sdk/issues/1499 --> + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> - - <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - - - - + --> + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + - + NETSDK1056. --> + - - +--> + + +--> - - - true - true - true - true - - +--> + + + true + true + true + true + + - - $(DefaultItemExcludes);$(BaseOutputPath)/** - - $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** - - $(DefaultItemExcludes);**/*.user - $(DefaultItemExcludes);**/*.*proj - $(DefaultItemExcludes);**/*.sln - $(DefaultItemExcludes);**/*.vssscc + This is in the .targets because it needs to come after the final BaseOutputPath has been evaluated. --> + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc + $(DefaultItemExcludes);**/.DS_Store - $(DefaultItemExcludesInProjectFolder);**/.*/** - + that are in the project folder. Support both DefaultItemExcludesInProjectFolder and DefaultExcludesInProjectFolder + properties because of a naming mistake. --> + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + - + in the project file. --> + - 1.6.1 - - 2.0.3 - + produced, so we will roll forward to the latest version. --> + 1.6.1 + + 2.0.3 + +--> +--> - - true - false - <_TargetLatestRuntimePatchIsDefault>true - - - true - - - - - all - true - - - all - true - - - - - - - - - - - - + --> + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + - - - - - - - - - + A FrameworkReference to Microsoft.AspNetCore.App should be used instead, and will be implicitly included by Microsoft.NET.Sdk.Web. --> + + + + + + + + + - - - - - - - - - - - - + should be replaced with a FrameworkReference. --> + + + + + + + + + + + + - - $(_TargetFrameworkVersionWithoutV) - - - - - - - - https://aka.ms/sdkimplicitrefs - - - - - - - - - - - <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> - - - - false - - - - - - https://aka.ms/sdkimplicititems - + this should prevent breaking it. --> + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + - - - - - - - - - - - - - - - - - - - - - - - - - - <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> - - - + be easy to miss the duplicate items error which is the real source of the problem. --> + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + +--> - - - + if building with an implicit restore. --> + + + - - + --> + + - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + --> + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - - - - - - - - - - - - + --> + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + + + + true + + + + + +--> +--> - +--> + $(ResolveAssemblyReferencesDependsOn); ResolveTargetingPackAssets; - - - - - - - + + + + + + + - - - - - - - - + we can't do the change atomically --> + + + + + + + + - - - - - - - - - - - true - true - - - <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - - - $(RuntimeIdentifier) - $(DefaultAppHostRuntimeIdentifier) - - - - - - - - - - - true - true - false - - - - [%(_PackageToDownload.Version)] - - - - - - + --> + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + + - - - - - - + --> + + + + + + - - - - - - - %(ResolvedTargetingPack.PackageDirectory) - - - - - - - - - - - - - - - - - - - - - - <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> - %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) - - - - - %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) - - - - @(ResolvedAppHostPack->'%(Path)') - - - - %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) - - - - @(ResolvedSingleFileHostPack->'%(Path)') - - - - %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) - - - - @(ResolvedComHostPack->'%(Path)') - - - - %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) - - - - @(ResolvedIjwHostPack->'%(Path)') - - - - - - - - - - + --> + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + - - - - true - false - - - - - - - - - - + --> + + + + true + false + + + + + + + + + + - $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) - - - - - - - - - - + that consume it. --> + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + + + + + + + + + + - - - - - - <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> - - - + --> + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + - - - - - - - - + --> + + + + + + + + - + --> + - - - <_Parameter1>$(UserSecretsId.Trim()) - - - + --> + + + <_Parameter1>$(UserSecretsId.Trim()) + + + - - - - - - $(_IsNETCoreOrNETStandard) - - - true - true - false - true - $(MSBuildProjectDirectory)/runtimeconfig.template.json - true - true - <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache - <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) - - - - - - - - true - - - false - - - $(AssemblyName).deps.json - $(TargetDir)$(ProjectDepsFileName) - $(AssemblyName).runtimeconfig.json - $(TargetDir)$(ProjectRuntimeConfigFileName) - $(TargetDir)$(AssemblyName).runtimeconfig.dev.json - true - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + + + + + $(_IsNETCoreOrNETStandard) + + + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json + + + + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + +--> - - - true - true - - - - CurrentArchitecture - CurrentRuntime - - - <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so - <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe - <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) - <_DotNetAppHostExecutableNameWithoutExtension>apphost - <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) - <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost - <_DotNetComHostLibraryNameWithoutExtension>comhost - <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) - <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost - <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) - <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) - <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) - - - - - - <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> - - +--> + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + - - - Microsoft.NETCore.App - - + --> + + + Microsoft.NETCore.App + + - - <_DefaultUserProfileRuntimeStorePath>$(HOME) - <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) - <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) - $(_DefaultUserProfileRuntimeStorePath) - - - true - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + + + true + + + + false + true + - - true - - - true - - - $(AvailablePlatforms),ARM32 - - - $(AvailablePlatforms),ARM64 - - - $(AvailablePlatforms),ARM64 - - - - false - - + --> + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + + _CheckForBuildWithNoBuild; $(CoreBuildDependsOn); GenerateBuildDependencyFile; GenerateBuildRuntimeConfigurationFiles - - - + + + _SdkBeforeClean; $(CoreCleanDependsOn) - - - + + + _SdkBeforeRebuild; $(RebuildDependsOn) - - + + + + + + + + + - - - + --> + + + - - - - 1.0.0 - - - - - - - - - - - + --> + + + + 1.0.0 + + + + + + + + + + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + + - - - + during incremental builds when the task is skipped --> + + + - - - - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + - - - <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true - LatestMinor - + --> + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + - - - <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true - - - + other values should still keep failing as they won't have any effect when run on 2.*. --> + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_CleaningWithoutRebuilding>true - false - - - - - <_CleaningWithoutRebuilding>false - - + during incremental builds when the task is skipped --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + --> + + + + + $(CompileDependsOn); _CreateAppHost; _CreateComHost; _GetIjwHostPaths; - - + + - - - - <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true - <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true - - - + --> + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + - - - $(SingleFileHostSourcePath) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) - - + --> + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + - - - - - @(_NativeRestoredAppHostNETCore) - - - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) - - - - - - + --> + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + - - - - - + --> + + + + + - - - - + --> + + + + - - - + --> + + + - - - $(AssemblyName).comhost$(_ComHostLibraryExtension) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) - - - + --> + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + - - - + --> + + + - - - - <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest - PreserveNewest - - - + --> + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + - - PreserveNewest - Never - - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest + --> + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest - Always - - - - - $(AssemblyName).$(_DotNetComHostLibraryName) - PreserveNewest - PreserveNewest - - - %(FileName)%(Extension) - PreserveNewest - PreserveNewest - - - - - $(_DotNetIjwHostLibraryName) - PreserveNewest - PreserveNewest - - - + places the correct unbundled apphost in the publish directory. --> + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + - - - <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + --> + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> - <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> - <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> - <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> - - + --> + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + - - - - - true - - - true - - - - - + --> + + + + + true + + + true + + + + + - - $(StartWorkingDirectory) - - - - - $(StartProgram) - $(StartArguments) - - - - - - dotnet - <_NetCoreRunArguments>exec "$(TargetPath)" - $(_NetCoreRunArguments) $(StartArguments) - $(_NetCoreRunArguments) - - - $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) - $(StartArguments) - - - - - $(TargetPath) - $(StartArguments) - - - mono - "$(TargetPath)" $(StartArguments) - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) - - - - - + --> + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + - + --> + $(CreateSatelliteAssembliesDependsOn); CoreGenerateSatelliteAssemblies - - - - - - - <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs - <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll - - - - <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) - - - - - - - true - - - - - - - - - - - - - + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + - + --> + - - - - - + --> + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - + --> + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + - - - - - - + --> + + + + + + - - - - - - - - false - - + --> + + + + + + + + + + false + + - false - - - - false - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true - - - - + to run it. --> + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + - - - + --> + + + - - - - - - - - + --> + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + +--> - +--> + $(CommonOutputGroupsDependsOn); - - - + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); _GenerateDesignerDepsFile; _GenerateDesignerRuntimeConfigFile; + GetCopyToOutputDirectoryItems; _GatherDesignerShadowCopyFiles; - - <_DesignerDepsFileName>$(AssemblyName).designer.deps.json - <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json - <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) - <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) - - - + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + - - - - - - - - - - <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> - - - - - - - - - - - <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + --> + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> - <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> - - - + --> + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + + + + +--> +--> +--> - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) - true - - - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - + --> + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + - - - - - <_InformationalVersionContainsPlus>false - <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true - $(InformationalVersion)+$(SourceRevisionId) - $(InformationalVersion).$(SourceRevisionId) - - - - - - <_Parameter1>$(Company) - - - <_Parameter1>$(Configuration) - - - <_Parameter1>$(Copyright) - - - <_Parameter1>$(Description) - - - <_Parameter1>$(FileVersion) - - - <_Parameter1>$(InformationalVersion) - - - <_Parameter1>$(Product) - - - <_Parameter1>$(AssemblyTitle) - - - <_Parameter1>$(AssemblyVersion) - - - <_Parameter1>RepositoryUrl - <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) - <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) - - - <_Parameter1>$(NeutralLanguage) - - - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) - - - <_Parameter1>%(AssemblyMetadata.Identity) - <_Parameter2>%(AssemblyMetadata.Value) - - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) - - - <_Parameter1>$(TargetPlatformIdentifier) - - - + --> + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(Trademark) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + %(InternalsVisibleTo.PublicKey) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + + + + - - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache - - - - - - - - - - - - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + - - - - - - $(AssemblyVersion) - $(Version) - - + --> + + + + + + $(AssemblyVersion) + $(Version) + + +--> +--> +--> - - - $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) + - - - - - - - - - - + --> + + + + + + + + + + +--> +--> - - - - <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config - - - - - - - - - - - - - - - - - +--> + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + +--> +--> +--> - + --> + - - - <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> - <_AllProjects Include="$(MSBuildProjectFullPath)" /> - - - - - + --> + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + - - - - %(PackageReference.Identity) - %(PackageReference.Version) + --> + + + + %(PackageReference.Identity) + %(PackageReference.Version) StorePackageName=%(PackageReference.Identity); StorePackageVersion=%(PackageReference.Version); @@ -10903,246 +11883,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); DisableImplicitFrameworkReferences=false; - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - + --> + + + + + + + + + <_StoreArtifactContent> @(ListOfPackageReference) -]]> - - - - - - +]]> + + + + + + - - - <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> - <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> - - - - - - - - + --> + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + - - - true - true - <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) - true - - - - - - $(UserProfileRuntimeStorePath) - <_ProfilingSymbolsDirectoryName>symbols - $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) - $(DefaultProfilingSymbolsDir) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) - $(ProfilingSymbolsDir)\ - $(DefaultComposeDir) - $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) - $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) - $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) - $([System.IO.Path]::GetFullPath($(ComposeDir))) - <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) - $([System.IO.Path]::GetTempPath()) - $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) - $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) - - $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) - - $(PublishDir)\ - - - - false - true - - - - - - - - $(StorePackageVersion.Replace('*','-')) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) - <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) - $(StoreWorkerWorkingDir)\ - $(BaseIntermediateOutputPath)\project.assets.json - - - $(MicrosoftNETPlatformLibrary) - true - - + --> + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + - - - - + --> + + + + - + --> + - + --> + - - - - - + --> + + + + + - + --> + - - - <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> - - - true - - + --> + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + - - - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> - - + --> + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + - - - - true - true - - - - - - - - - + --> + + + + true + true + + + + + + + + + - - - - - - + --> + + + + + + +--> +--> +--> - - true - false - true - false - true - 1 - + --> + + true + true + false + true + false + true + 1 + - - - - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> - - - - - - - - <_CoreclrPath>@(_CoreclrResolvedPath) - @(_JitResolvedPath) - <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) - <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) - $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) - - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) - - - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) - - + --> + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + - - - + --> + + + CrossgenExe=$(Crossgen); CrossgenJit=$(JitPath); @@ -11231,246 +12212,252 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) - - - - - - + + + + + + - - - $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) - $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) - $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" - CreatePDB - CreatePerfMap - - - - - - - - - - - - <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> - - - - - - - - $([System.IO.Path]::PathSeparator) - $([System.IO.Path]::DirectorySeparatorChar) - - + --> + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + - - - <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) - <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) - - - - - <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) - - + --> + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + - - - <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) - - <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) - - <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) - - - <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> - - - - - - - - + --> + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - $(MSBuildThisFileDirectory)..\tasks\net6.0\Microsoft.NET.Sdk.Crossgen.dll - $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - + --> + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + - - - - - + --> + + + + + + + + + + + - - - - - + --> + + + + + - - - - <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R - - - - <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> - + --> + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + - - <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> - - - - - - <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> - <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> - - - <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> - <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> - - - - - - - - - - - - - - - - - + assembly list. --> + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + - - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> - - + --> + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> - - + --> + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + +--> +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + - - +--> + + - - <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> - - <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> - - - - +--> + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + +--> +--> - - true - <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true - true - - - - Always - - +--> + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + + true + true + + + + Always + + + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + - - - - + --> + + + + <_BeforePublishNoBuildTargets> BuildOnlySettings; _PreventProjectReferencesFromBuilding; @@ -11572,59 +12573,70 @@ Copyright (c) .NET Foundation. All rights reserved. PrepareResourceNames; ComputeIntermediateSatelliteAssemblies; ComputeEmbeddedApphostPaths; - + <_CorePublishTargets> PrepareForPublish; ComputeAndCopyFilesToPublishDirectory; $(PublishProtocolProviderTargets); PublishItemsOutputGroup; - - <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) - - - - + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + - - - - - - - false - - + the published assets were copied. --> + + + + + + + + + + + + + + false + + - - - - - - - - - - - $(PublishDir)\ - - - + --> + + + + + + + + + + + + + + $(PublishDir)\ + + + - + --> + - + --> + - - - - <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> - - - - - - - - + --> + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + - - - <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) - - - - - - <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt - - - - - - - - - - - - - - - - - - <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> - <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> - - - - - - - - - + --> + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + - + --> + - - - - + --> + + + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - - <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> - <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> - - - <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> - <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> - - + --> + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + - - - true - true - false - - + --> + + + + + true + true + false + + - - - - - @(IntermediateAssembly->'%(Filename)%(Extension)') - PreserveNewest - - - - $(ProjectDepsFileName) - PreserveNewest - - - - $(ProjectRuntimeConfigFileName) - PreserveNewest - - - - @(AppConfigWithTargetPath->'%(TargetPath)') - PreserveNewest - - - - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - PreserveNewest - true - - - - %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) - PreserveNewest - - - - %(Filename)%(Extension) - PreserveNewest - - + --> + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> - - - - %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) - PreserveNewest - - - - @(FinalDocFile->'%(Filename)%(Extension)') - PreserveNewest - - - - shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) - PreserveNewest - - - <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> - - - + to ensure that we don't get duplicate files in the publish output. --> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + - - + --> + + - - - - - <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> - - - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> - - + PreserveStoreLayout without this task, and how to handle RuntimeStorePackages. --> + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + - - - - - - + --> + + + + + + - - - <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> - - + --> + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + - - - <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + --> + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - - - - %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) - Always - True - - - %(_SourceItemsToCopyToPublishDirectory.TargetPath) - PreserveNewest - True - - - + --> + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + - + --> + - - <_GCTPDIKeepDuplicates>false - <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath - - - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - + a non-empty value and the original behavior will be restored. --> + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + - - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - Always - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - PreserveNewest - - - - - <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies - - - + --> + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + - - - <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> - - <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> - - <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> - - - - <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> - + --> + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + - - - + --> + + + - - - - - - - - - <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> - - - + --> + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + - - <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true - <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true - - + generate a different one. --> + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + - - - <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> - - - - $(AssemblyName)$(_NativeExecutableExtension) - $(PublishDir)$(PublishedSingleFileName) - - - - - - - - $(PublishedSingleFileName) - - - - - - false - false - false - $(IncludeAllContentForSelfExtract) - false - - - - - - - - - - + --> + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + - - - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) - $(PublishDir)$(ProjectDepsFileName) - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) - - - - - - <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - - - - - $(ProjectDepsFileName) - - - + --> + + + + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + - - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + --> + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + - - - - - - - - + --> + + + + + + + + - + --> + $(PublishItemsOutputGroupDependsOn); ResolveReferences; ComputeResolvedFilesToPublishList; _ComputeFilesToBundle; - - - - - - - - - - - + + + + + + + + + + + - + --> + - - - + --> + + + - +--> + +--> - - - - - +--> + + + + + - - <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml - true - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) - - - - <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> - <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> - <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> - - - - - - - tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) - - - %(_ResolvedFileToPublishWithPackagePath.PackagePath) - - - - - $(TargetName) - $(TargetFileName) - - - - - - - - - - - - - + --> + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + $(TargetName) + $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) + + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + + + + + + + + + + + + - - <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache - <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) - <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel - <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) - $(OutDir) - - - - - + --> + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + - - + --> + + - - - - - - - - - + during incremental builds when the task is skipped --> + + + + + + + + + - - - <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> - <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> - <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> - <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + +--> +--> - - - +--> + + + +--> +--> - - refs - $(PreserveCompilationContext) - - - - - $(DefineConstants) - $(LangVersion) - $(PlatformTarget) - $(AllowUnsafeBlocks) - $(TreatWarningsAsErrors) - $(Optimize) - $(AssemblyOriginatorKeyFile) - $(DelaySign) - $(DelaySign) - $(DebugType) - $(OutputType) - $(GenerateDocumentationFile) - - - - - - - - - +--> + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(PublicSign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + - <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + --> + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> - <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> - - $(RefAssembliesFolderName)\%(Filename)%(Extension) - - - + --> + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + - - - - - + --> + + + + + +--> +--> +--> +--> - - +--> + + Microsoft.CSharp|4.4.0; Microsoft.Win32.Primitives|4.3.0; @@ -12645,9 +13734,9 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + Microsoft.Win32.Primitives|4.3.0; System.AppContext|4.3.0; @@ -12744,50 +13833,50 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + - - +--> + + - - + --> + + - <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> - - - - - - - + --> + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + - - - - - - - - - + (eg: HintPath) --> + + + + + + + + + - - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> - - + --> + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + - - - - - - - + --> + + + + + + + +--> +--> - - Properties - - - $(Configuration.ToUpperInvariant()) +--> + + Properties + + + $(Configuration.ToUpperInvariant()) - $(ImplicitConfigurationDefine.Replace('-', '_')) - $(ImplicitConfigurationDefine.Replace('.', '_')) - $(ImplicitConfigurationDefine.Replace(' ', '_')) - $(DefineConstants);$(ImplicitConfigurationDefine) - - - $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) - - - - - - - - - - - - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - - - - false - false - false - false - false - false - false - false - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - - $(NoWarn);IL2026 - - $(NoWarn);IL2041;IL2042;IL2043;IL2056 - - $(NoWarn);IL2045 - - $(NoWarn);IL2046 - - $(NoWarn);IL2050 - - $(NoWarn);IL2032;IL2055;IL2057;IL2058;IL2059;IL2060;IL2061;IL2096 - - $(NoWarn);IL2062;IL2063;IL2064;IL2065;IL2066 - - $(NoWarn);IL2067;IL2068;IL2069;IL2070;IL2071;IL2072;IL2073;IL2074;IL2075;IL2076;IL2077;IL2078;IL2079;IL2080;IL2081;IL2082;IL2083;IL2084;IL2085;IL2086;IL2087;IL2088;IL2089;IL2090;IL2091 - - $(NoWarn);IL2092;IL2093;IL2094;IL2095 - - $(NoWarn);IL2097;IL2098;IL2099;IL2106 - - $(NoWarn);IL2103 - - $(NoWarn);IL2107 - - $(NoWarn);IL2109 - - $(NoWarn);IL2110;IL2111;IL2114;IL2115 - - $(NoWarn);IL2112;IL2113 - - - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - - - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - - - - - - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - - - - - - - 5 - 0 - - - - copyused - - $(TrimMode) - - - link - - copy - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - - - - $(TrimMode) - - - $(TrimmerDefaultAction) - - - - - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - - - - - - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - + --> + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(ImplicitConfigurationDefine.Replace(' ', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + + + + + + + + $(WarningsAsErrors);SYSLIB0011 + +--> + + + + +--> - +--> + - - 5.0 - - latest + and enable .NET analyzers. Valid values are 'none', 'latest', 'preview', or a version number --> + + <_NoneAnalysisLevel>4.0 + + <_LatestAnalysisLevel>8.0 + <_PreviewAnalysisLevel>9.0 + latest + $(_TargetFrameworkVersionWithoutV) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) + --> + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) - 4.0 - 6.0 - 7.0 - - $(AnalysisLevelPrefix) - $(AnalysisLevel) - - - - - true - - true - - true - - 5 - - - - 6 - - - false - - false - - 9999 - - + and an implied numerical option (such as '4')--> + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefix) + $(AnalysisLevel) + + + + 9999 + + 4 + + $(_TargetFrameworkVersionWithoutV.Substring(0, 1)) + + + + + true + + true + + true + + true + + false + + + + false + false + false + false + false + + +--> - + --> + - - <_NETAnalyzersSDKAssemblyVersion>6.0.0 - + --> + + <_NETAnalyzersSDKAssemblyVersion>8.0.0 + - - CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1401;CA1416;CA1417;CA1418;CA1419;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2100;CA2101;CA2109;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2229;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 - $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) - + This property group handles 'CodeAnalysisTreatWarningsAsErrors = false' for the CA rule ids implemented in this package. + --> + + CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1510;CA1511;CA1512;CA1513;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA1856;CA1857;CA1858;CA1859;CA1860;CA1861;CA1862;CA1863;CA1864;CA1865;CA1866;CA1867;CA1868;CA1869;CA1870;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2021;CA2100;CA2101;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2261;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 + $(CodeAnalysisTreatWarningsAsErrors) + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Analyzers.targets +============================================================================================================================================ +--> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - true - true - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets - - - - - +--> + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + +--> - - - true - - - - true - - - - 7.0 - - +--> + + + true + + + + true + + + + 7.0 + + - $(TargetPlatformMinVersion) - $(SupportedOSPlatformVersion) - - $(TargetPlatformVersion) - $(TargetPlatformVersion) - - - - <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> - - - - - - - - + other value. --> + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> - - - - - - - + The WinMD in this case can be identified because the Implementation metadata value is WinRT.Host.dll. So here we remove any such WinMD references. --> + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + +--> - + TargetPlatformVersion may have been set later than that in evaluation by platform-specific targets or Directory.Build.targets. So fix up those properties here --> + - 0.0 - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - - - - $(TargetPlatformVersion) - - + workloads. --> + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + +--> - - - - +--> + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll + + + + + - - - - - _GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - - - $(RoslynTargetsPath) - <_packageReferenceList>@(PackageReference) +--> + + + + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) - $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) - $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) - - - $(PackageId) - $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - false - <_compatibilitySuppressionFilePath>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - $(_compatibilitySuppressionFilePath) - - - - - - <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' != 'true'">_GetReferencePathForPackageValidation - <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' == 'true'">_ComputeTargetFrameworkItems - - - - <_ReferencePathWithTargetFramework Include="@(ReferencePath)" TargetFramework="$(TargetFramework)" /> - - - - - - - - - - + are on the same directory as Microsoft.CodeAnalysis. So there is no need to distinguish between csproj or vbproj. --> + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + + + + + + + + + + $(TargetPlatformMoniker) + + + + + + + + + +--> + - - - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets - true - +--> + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + +--> - - - ..\CoreCLR\NuGet.Build.Tasks.Pack.dll - ..\Desktop\NuGet.Build.Tasks.Pack.dll - - - - - - - - - $(AssemblyName) - $(Version) - true - _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) - $(Description) - Package Description - false - true - true - tools - lib - content;contentFiles - $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) - true - symbols.nupkg - DeterminePortableBuildCapabilities - false - false - .dll; .exe; .winmd; .json; .pri; .xml - $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) - .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) - .pdb - false - - - $(GenerateNuspecDependsOn) - - - Build;$(GenerateNuspecDependsOn) - - - - - - - $(TargetFramework) - - - - $(MSBuildProjectExtensionsPath) - $(BaseOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - +--> + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - + --> + + + + + + - - - <_ProjectFrameworks /> - - - - - - <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> - - + --> + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + - - - - <_PackageFilesToDelete Include="@(_OutputPackItems)" /> - - - - - - false - - - - - - - - - - - - - + --> + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + - - - - - - true - - - - - - - - - + --> + + + + + + true + + + + + + + + + - - - - $(PrivateRepositoryUrl) - $(SourceRevisionId) - - + --> + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + - - - - $(MSBuildProjectFullPath) - - - - - - - - - - - - - - - - - <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> - $(PackageVersion) - 1.0.0 - - - - - - - - - - - - - - - - - - - - - - - - - - <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> - - - - - - $(TargetFramework) - - - - - - - - - - - - - %(TfmSpecificPackageFile.RecursiveDir) - %(TfmSpecificPackageFile.BuildAction) - - - - - - <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> - $(TargetFramework) - - - - <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> - - + --> + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + - - - <_PathToPriFile Include="$(ProjectPriFullPath)"> - $(ProjectPriFullPath) - $(ProjectPriFileName) - - - + has to be added manually here.--> + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + - - - <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> - - - - <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> - Content - - <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> - Compile - - <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> - None - - <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> - EmbeddedResource - - <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> - ApplicationDefinition - - <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> - Page - - <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> - Resource - - <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> - SplashScreen - - <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> - DesignData - - <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> - DesignDataWithDesignTimeCreatableTypes - - <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> - CodeAnalysisDictionary - - <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> - AndroidAsset - - <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> - AndroidResource - - <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> - BundleResource - - - + --> + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + +--> +--> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.FSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.FSharp.xml index 36ef094..a8a7b4a 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.FSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.FSharp.xml @@ -1,17 +1,17 @@ - +--> + +--> - +--> + - true + --> + true - true - - - $(ProjectExtensionsPathForSpecifiedProject) - - + --> + true + + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + + + $(ProjectExtensionsPathForSpecifiedProject) + + +--> - - true - true - true - true - true - +--> + + true + true + true + true + true + - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - + --> + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + - + --> + - obj\ - $(BaseIntermediateOutputPath)\ - <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) - $(BaseIntermediateOutputPath) + --> + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) - $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) - $(MSBuildProjectExtensionsPath)\ - true - <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) - - + --> + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) - - + --> + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + - - true - - - $(DefaultProjectConfiguration) - $(DefaultProjectPlatform) - - - WJProject - JavaScript - - - - - + e.g. by the project itself. --> + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props - $(MSBuildToolsPath)\NuGet.props - + --> + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + +--> +--> - - true - + --> + + true + - - <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props - <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) - $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) - - - - true - + --> + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + - - true - true - true - true - true - true - true - true - true - true - true - true - true - +%UserProfile%//.dotnet/sdk/6.0.300/Current/Microsoft.Common.props +============================================================================================================================================ +--> + + true + true + true + true + true + true + true + true + true + true + true + true + true + +--> +--> - - - true - - - - Debug;Release - AnyCPU - Debug - AnyCPU - - - - Library - 512 - prompt - $(MSBuildProjectName) - $(MSBuildProjectName.Replace(" ", "_")) - true - - - - true - false - - - true - - +--> + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + + true + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + - - <_PlatformWithoutConfigurationInference>$(Platform) - - - x64 - - - x86 - - - ARM - - - - portable - - false - - true - true + --> + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + arm64 + + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + + + portable + + false + + true + true - PackageReference - - {CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName} - $(AssemblySearchPaths) - false - false - false - false - false - false - false - false - false - true - 1.0.2 - false - true - true - - - - - - $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj - - + a project targets .NET Framework and doesn't have any direct package dependencies. --> + PackageReference + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.3 + false + true + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + - - - $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) - $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs - 6.0 - 6.0 - 6.0.5 - 2.1 - 2.1.0 - 6.0.3 - $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json - 6.0.300 - win-x64 - win-x64 - <_NETCoreSdkIsPreview>false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +--> + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)../../')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + <_NetFrameworkHostedCompilersVersion>4.8.0-3.23471.11 + 8.0 + 8.0 + 8.0.0-rc.2.23479.6 + 2.1 + 2.1.0 + 8.0.0-rc.2.23479.6 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 8.0.100-rc.2.23502.2 + linux-x64 + linux-x64 + <_NETCoreSdkIsPreview>true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> + - - - $(BundledRuntimeIdentifierGraphFile) - - - - false - - - <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif - - - - - - - - - - - - - - - - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props +============================================================================================================================================ +--> + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + - - - - - - - - - + evaluated in the second pass of evaluation, after all properties have been evaluated. --> + + + + + + + + + - + an implicit FrameworkReference --> + - - - - - + Packing an DotnetCliTool should include the Microsoft.NETCore.App package dependency. --> + + + + + + + +--> - - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel - true - - + putting an EnableWorkloadResolver.sentinel file beside the MSBuild SDK resolver DLL --> + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + +--> - - +--> + + - +--> + +--> +--> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + This is used by VS to show the list of frameworks to which projects can be retargeted. --> + + + + + + + + + + + + + + + + 9.0 + 17.8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +--> + +--> - - - - - - +--> + + + + + + - +--> + +--> - - - - - - - - - - - - +--> + + + + + + + + + + + + - - +--> +--> - - - - false - true - - - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.props - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.props - +--> + + + true + <_SourceLinkPropsImported>true + + - +--> + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - TRACE - - - - - $(DefineConstants);TRACE - - - - - false - - false - - - {F2A71F9B-5D33-465A-A702-920D77279786} - - false - false - 3 - 3239;$(WarningsAsErrors) - true - true - - - true - false - false - - - false - true - true - - - $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) - $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) - "$(MSBuildThisFileDirectory)fsc.dll" - $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) - $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) - "$(MSBuildThisFileDirectory)fsi.dll" - - - - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.SourceLink.Common/build/Microsoft.SourceLink.Common.props +============================================================================================================================================ +--> + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + - +--> + + + + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.props +============================================================================================================================================ +--> - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - <_FSCorePackageVersionSet>true - 6.0.4 - <_FSharpCoreLibraryPacksFolder Condition="'$(_FSharpCoreLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(MSBuildThisFileDirectory)'))library-packs - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.SourceLink.GitLab/build/Microsoft.SourceLink.GitLab.props +============================================================================================================================================ +--> + + + + - - - 4.4.0 - - - - contentFiles - - - contentFiles - - - - - - - - true - - +--> + + + + + + + - - false - +--> + + + + + +--> + +--> + + + +--> + + + + false + true + + + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.props + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.props + +--> + - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + TRACE + + + + + $(DefineConstants);TRACE + + + + + false + + false + + + {F2A71F9B-5D33-465A-A702-920D77279786} + + false + false + 3 + 3239;$(WarningsAsErrors) + true + true + + + true + false + false + + + false + true + true + + + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsc.dll" + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsi.dll" + + + + +--> + - - true - $(MSBuildThisFileDirectory)..\tools\net6.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll - +--> + This is a visual studio support version. It adds a property that the build can use to determine the version of FSharp.Core selected for the build/ +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + <_FSCorePackageVersionSet>true + 6.0.4 + <_FSharpCoreLibraryPacksFolder Condition="'$(_FSharpCoreLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(MSBuildThisFileDirectory)'))library-packs + +%UserProfile%//.dotnet/sdk/6.0.300/FSharp/Microsoft.FSharp.NetSdk.props +============================================================================================================================================ +--> + + + 4.4.0 + + + + contentFiles + + + contentFiles + + + + + + + + true + + - - - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.Compatibility.dll - $(MSBuildThisFileDirectory)..\tools\net6.0\Microsoft.DotNet.Compatibility.dll - +--> +--> +--> - - $(TargetsForTfmSpecificContentInPackage);PackTool - +--> + + $(TargetsForTfmSpecificContentInPackage);PackTool + +--> +--> - - $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation - +--> + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + +--> - - - MSBuild:Compile - $(DefaultXamlRuntime) - - - MSBuild:Compile - $(DefaultXamlRuntime) - - - MSBuild:Compile - $(DefaultXamlRuntime) - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props +============================================================================================================================================ +--> + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + + + + - - - - - - - + --> + + + + + + + - + --> + - <_WpfCommonNetFxReference Include="WindowsBase" /> - <_WpfCommonNetFxReference Include="PresentationCore" /> - <_WpfCommonNetFxReference Include="PresentationFramework" /> - <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> - 4.0 - - <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> - - - <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> - <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> - <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> - + --> + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + --> - + --> + - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + --> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> - <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + --> + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> - <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> - - - - - + --> + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + --> +--> + --> - + --> + - - - - + --> + + + + +--> - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + +--> +--> +--> - - - - + --> + + + + +--> +--> +--> - - - - - true - - <_TargetFrameworkVersionValue>0.0 - <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 - +--> + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + +--> +--> +--> +--> - - - true - - +--> + + + true + + +--> +--> - - - - - - - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - - - $(_IsExecutable) - <_UsingDefaultForHasRuntimeOutput>true - + So import them here. --> + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + +--> - - 1.0.0 - $(VersionPrefix)-$(VersionSuffix) - $(VersionPrefix) - - - $(AssemblyName) - $(Authors) - $(AssemblyName) - $(AssemblyName) - +--> + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + - - +--> - - - Debug - AnyCPU - $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - - + --> + + Debug + AnyCPU + $(Platform) + + respected by the SDK. --> +--> - - - true - <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) - <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties - <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ - $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) - $(_PublishProfileRootFolder)$(PublishProfileName).pubxml - $(PublishProfileFullPath) +--> + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) - false - - - + to limit the import to the project being published. --> + false + + + +--> + --> +--> +--> - - + --> + + - - $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) - v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) - + --> + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + - - $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) - - - Windows - + --> + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + - - <_UnsupportedTargetFrameworkError>true - + --> + + <_UnsupportedTargetFrameworkError>true + - - - - + --> + + + + - - - true - - - - - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + true + true + + + + + + + + + + + + + + + + + - - v0.0 - - - _ - + --> + + v0.0 + + + _ + - - - + --> + + + true + + + + - - - - - - <_EnableDefaultWindowsPlatform>false - false - - - 2.1 + --> + + + + + + <_EnableDefaultWindowsPlatform>false + false + + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion->Distinct()) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + + + + + true + true + + + + + + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ + + - - - <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> - - - @(_ValidTargetPlatformVersion) - - - - - true - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None - - - + --> + + + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - - - - true - - - true - + in the project file, the specified value will be used for the exclude. --> + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** + - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ - + --> + + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + - - - - true - - false - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - +--> + + + + true + + false + - - + --> + + +--> - - +--> + + - - - - +--> + + + + + + +--> - - - - - +%UserProfile%//.dotnet/sdk-manifests/6.0.300/microsoft.net.workload.emscripten/WorkloadManifest.targets +============================================================================================================================================ +--> + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + +--> - - - - +--> + + + + +--> - - - - +--> + + + + +--> - - - - - - +--> + + + + +--> - - - - +--> + + + + + +--> - - true - - - <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true - WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ - - - true - $(WasmNativeWorkload) - - - false - false - - - - - - +%UserProfile%//.dotnet/sdk-manifests/6.0.300/microsoft.net.workload.mono.toolchain/WorkloadManifest.targets +============================================================================================================================================ +--> + + 6.0.5 + true + + + + true + $(WasmNativeWorkload) + + + false + false + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(RuntimePackInWorkloadVersion) + + + + + + + + + + + + + + +--> - - 6.0.4 - true - - - - true - $(WasmNativeWorkload) - - - false - false - - - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(RuntimePackInWorkloadVersion) - - - - - - - - - - - - - - +--> + + + + - - - - - - +--> + + + + + + - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + - - - - - - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> - - + need to be set to "true" to avoid requiring restore (which would likely fail if the required workloads aren't already installed).--> + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + +--> + --> +--> +--> - - <_UsingDefaultRuntimeIdentifier>true - win7-x64 - win7-x86 - - - $(NETCoreSdkPortableRuntimeIdentifier) - - - <_UsingDefaultPlatformTarget>true - - - - - - - x86 - - - - - x64 - - - - - arm - - - - - arm64 - - - - - AnyCPU - - - + --> + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + + + + true + + + + $(PublishSelfContained) + + + + true + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + $(PublishRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + - - <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - true - false - <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false - <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true - true - false - - - - $(NETCoreSdkRuntimeIdentifier) - win-x64 - win-x86 - win-arm - win-arm64 - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - - - - - + --> + + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + + + + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + because we do not want the behavior to be a breaking change compared to version 3.0 --> + + + + + + + + + + + + + + false + + + + + + + + + + + + + - - - true - + Configuration-specific PropertyGroup), so in that case we won't append to it by default. --> + + + true + - - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ - - + --> + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + - - - - - + --> + + + + + - +--> + +--> - - - true - +--> + + + true + true + - - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0" /> - - - - + --> + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + + + + + - - - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true - - - - true - true - true - - - true - - - - true +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets +============================================================================================================================================ +--> + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true - true - - .dll + runtime minor version roll-forward: https://github.com/dotnet/core-setup/issues/3546 --> + true + + .dll - false - - - - $(PreserveCompilationContext) - - - - publish - - $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ - $(OutputPath)$(PublishDirName)\ - + is not needed for NETStandard or NETCore since references come from NuGet packages--> + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + --> +--> - - <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder - <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true - <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs - - - $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) - - - $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) - +--> + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + - - <_SDKImplicitReference Include="System" /> - <_SDKImplicitReference Include="System.Data" /> - <_SDKImplicitReference Include="System.Drawing" /> - <_SDKImplicitReference Include="System.Xml" /> +--> + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> - - <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - - <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> - - <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - - - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + such if the parse succeeds. --> + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> - <_SDKImplicitReference Remove="@(Reference)" /> - - - - - - false - - - $(AssetTargetFallback);net461;net462;net47;net471;net472;net48 - - - - <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET - $(_FrameworkIdentifierForImplicitDefine) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET - <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) - <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) - <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) - $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) - $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - - - - - <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) - <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) - - - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> - - - - - - <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - - - - - - <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> - - - - - - $(DefineConstants);@(_ImplicitDefineConstant) - $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') - - - - - false - true - - - $(AssemblyName).xml - $(IntermediateOutputPath)$(AssemblyName).xml - - - - - - true - true - true - - - - - - - true - + NuGet package, you can just add the Reference to your project file. --> + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + - - $(MSBuildToolsPath)\Microsoft.CSharp.targets - $(MSBuildToolsPath)\Microsoft.VisualBasic.targets - $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets +--> + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets - $(MSBuildToolsPath)\Microsoft.Common.targets - + languages could either be supplied via an SDK or via a NuGet package. --> + $(MSBuildToolsPath)\Microsoft.Common.targets + + using Sdk attribute (from .NET Core Sdk 1.0.0-preview4) --> +--> +--> +--> +--> - - true - + --> + + true + - - Properties - - - $(Configuration.ToUpperInvariant()) +--> + + Properties + + + $(Configuration.ToUpperInvariant()) - $(ImplicitConfigurationDefine.Replace('-', '_')) - $(ImplicitConfigurationDefine.Replace('.', '_')) - $(DefineConstants);$(ImplicitConfigurationDefine) - + --> + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + - - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.FSharp.DesignTime.targets - - - + *************************************************************************************************************** --> + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.FSharp.DesignTime.targets + + + - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.targets - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.targets - + *************************************************************************************************************** --> + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.targets + - +--> + - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - true - true - true - true - true - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - - <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" Condition=" '$(NoStdLib)' != 'true' " /> - - - mscorlib - netcore - netstandard - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + true + true + true + true + true + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" Condition=" '$(NoStdLib)' != 'true' " /> + + + mscorlib + netcore + netstandard + - +--> + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildThisFileDirectory)FSharp.Build.dll - - - - - - - - - - - true - true - - - - .fs - F# - Managed - $(Optimize) - Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier) - - RootNamespace - false - $(Prefer32Bit) - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildThisFileDirectory)FSharp.Build.dll + + + + + + + + + + + true + true + + + + .fs + F# + Managed + $(Optimize) + Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier) + + RootNamespace + false + $(Prefer32Bit) + - - true - - - $(Fsc_NetFramework_ToolPath) - $(Fsc_NetFramework_AnyCpu_ToolExe) - $(Fsc_NetFramework_X86_ToolExe) - - - - $(Fsc_Dotnet_ToolPath) - $(Fsc_Dotnet_ToolExe) - "$(Fsc_Dotnet_DotnetFscCompilerPath)" - - - - false - true - + --> + + true + + + $(Fsc_NetFramework_ToolPath) + $(Fsc_NetFramework_AnyCpu_ToolExe) + $(Fsc_NetFramework_X86_ToolExe) + + + + $(Fsc_Dotnet_ToolPath) + $(Fsc_Dotnet_ToolExe) + "$(Fsc_Dotnet_DotnetFscCompilerPath)" + + + + false + true + - - - - - false - true - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - _ComputeNonExistentFileProperty - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + false + true + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + _ComputeNonExistentFileProperty + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - --simpleresolution $(OtherFlags) - $(OtherFlags) - - - - - - - - <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> - - - + --> + + + + + + + + + + + --simpleresolution $(OtherFlags) + $(OtherFlags) + + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + +--> - - $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets - +--> + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + +--> - - - true - true - true - true - - - - - - - 10.0 - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets - - - - - Managed - +--> + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + - - .NETFramework - v4.0 - - - - Any CPU,x86,x64,Itanium - Any CPU,x86,x64 - - - - - - - true - - true - - - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) - - $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + Native apps) because they do not target a .NET Framework. --> + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) - $(MSBuildFrameworkToolsPath) - - - Windows - 7.0 - $(TargetPlatformSdkRootOverride)\ - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - $(TargetPlatformSdkPath)Windows Metadata - $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral - $(TargetPlatformSdkMetadataLocation) - true - $(WinDir)\System32\WinMetadata - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - + we need to find a directory which does contain mscorlib to allow the inproc compiler to initialize and give us the chance to show certain dialogs in the IDE (which only happen after initialization).--> + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + - - - <_OriginalPlatform>$(Platform) - - <_OriginalConfiguration>$(Configuration) - - <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true - - true - - - AnyCPU - $(Platform) - Debug - $(Configuration) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(TargetType) - library - exe - true - - <_DebugSymbolsProduced>false - <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false - <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false - <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false - - <_DocumentationFileProduced>true - <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false - - false - + --> + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + - + --> + - <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true - <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true - + --> + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + - - .exe - .exe - .exe - .dll - .netmodule - .winmdobj - - - - true - $(OutputPath) - - - $(OutDir)\ - $(MSBuildProjectName) - - - $(OutDir)$(ProjectName)\ - $(MSBuildProjectName) - $(RootNamespace) - $(AssemblyName) - - $(MSBuildProjectFile) - - $(MSBuildProjectExtension) - - $(TargetName).winmd - $(WinMDExpOutputWindowsMetadataFilename) - $(TargetName)$(TargetExt) - - - + --> + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + - <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true - $(_DeploymentPublishableProjectDefault) - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest - - $(AssemblyName).application - - $(AssemblyName).xbap - - $(GenerateManifests) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days - <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) - <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - 100 - - + --> + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + - * - $(UICulture) - - - - <_OutputPathItem Include="$(OutDir)" /> - <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> - <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> - - - + --> + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + - $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) - - $(TargetDir)$(TargetFileName) - $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) - - $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) - - $(ProjectDir)$(ProjectFileName) - - - - - + --> + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + - - *Undefined* - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - - - true - - true - - - true - false - - - $(MSBuildProjectFile).FileListAbsolute.txt - - false - - true - true - <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false - <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true - false - false - - - <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config - - - - - - - - - - - - - - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> - - - $(IntermediateOutputPath)$(TargetName).pdb - <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) - - - $(IntermediateOutputPath)$(TargetName).xml - <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) - - - <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) - <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) - - - - <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> - $(TargetFileName) - - - - <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> - $(ApplicationIcon) - - - - $(_DeploymentTargetApplicationManifestFileName) - + --> + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + - <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> - $(_DeploymentTargetApplicationManifestFileName) - - - - $(TargetDeployManifestFileName) - - - <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> - + references and for copying to the publish output location. --> + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + - - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) - <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> - <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + --> + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) - <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> - <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> - - - - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) - <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) - - - - $(PublishDir)\ - $(OutputPath)app.publish\ - + --> + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + - + --> + - $(PlatformTarget) + --> + $(PlatformTarget) - msil - amd64 - ia64 - x86 - arm - - - true - - - - $(Platform) - msil - amd64 - ia64 - x86 - arm - - None - $(PROCESSOR_ARCHITECTURE) - + --> + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + - - CLR2 - CLR4 - CurrentRuntime - true - false - $(PlatformTarget) - x86 - x64 - CurrentArchitecture - - - - Client - + If support for out-of-proc task execution is added on other runtimes, make sure each task's logic is checked against the current state of support. --> + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + - - false - - - - - true - true - false - + --> + + false + + + + + true + true + false + - - AssemblyFoldersEx - Software\Microsoft\$(TargetFrameworkIdentifier) - Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) - $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config - {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> .winmd; .dll; .exe - + + --> .pdb; .xml; .pri; .dll.config; .exe.config - + - Full - - + --> + Full + + - {CandidateAssemblyFiles} - $(AssemblySearchPaths);$(ReferencePath) - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) - $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} - $(AssemblySearchPaths);{AssemblyFolders} - $(AssemblySearchPaths);{GAC} - $(AssemblySearchPaths);{RawFileName} - $(AssemblySearchPaths);$(OutDir) - + --> + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + - - false - - - - $(NoWarn) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - - - - $(MSBuildThisFileDirectory)$(LangName)\ - - - - $(MSBuildThisFileDirectory)en-US\ - - - - - Project - - - BrowseObject - - - File - - - Invisible - - - File;BrowseObject - - - File;ProjectSubscriptionService - - - - $(DefineCommonItemSchemas) - - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - - - - - - Never - - - Never - - - Never - - - Never - - + typically expect --> + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + - - - true - + --> + + + true + - - - <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath - - + --> + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + - - - <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. - - - - - - - - - + --> + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + - - x86 - + correct value when we're trying to figure out PlatformTargetAsMSBuildArchitecture --> + + x86 + - + --> + - - + --> + + - + --> + BeforeBuild; CoreBuild; AfterBuild - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -3584,52 +3936,52 @@ Copyright (C) Microsoft Corporation. All rights reserved. UnmanagedRegistration; IncrementalClean; PostBuildEvent - - - - - - + + + + + + - - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + --> + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build BeforeRebuild; Clean; $(_ProjectDefaultTargets); AfterRebuild; - + BeforeRebuild; Clean; Build; AfterRebuild; - - - + + + - + --> + - + --> + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - + --> + - - - - - - - - + --> + + + + + + + + + --> - - false - - - - true - - + --> + + false + + + + true + + + --> - - $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata - - - - - $(TargetFileName).config - - - - - - - - - - + --> + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + - - @(_TargetFramework40DirectoryItem) - @(_TargetFramework35DirectoryItem) - @(_TargetFramework30DirectoryItem) - @(_TargetFramework20DirectoryItem) - - @(_TargetFramework20DirectoryItem) - @(_TargetFramework40DirectoryItem) - @(_TargetedFrameworkDirectoryItem) - @(_TargetFrameworkSDKDirectoryItem) - - - - + --> + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + - - - - - - - - - - - - - $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) - $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) - + --> + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + - - true - - - $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) - - - - - - - $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) - - - - - - - - - + resolving from the assemblyfolders global location if we are not acutally targeting a framework--> + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + - + E.g "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0.1\;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\" --> + - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - + --> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + --> - - - - - - + --> + + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + --> - + --> + - + --> + BeforeResolveReferences; AssignProjectConfiguration; @@ -3972,25 +4324,25 @@ Copyright (C) Microsoft Corporation. All rights reserved. GenerateBindingRedirects; ResolveComReferences; AfterResolveReferences - - - + + + - + --> + - + --> + - - - true - true - false + --> + + + true + true + false - false - - true - - - - - - - - - - - <_ProjectReferenceWithConfiguration> - true - true - - - true - true - - - + want this to happen, so just turn off synthetic project reference generation for Silverlight projects. --> + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + - + --> + - - - - + --> + + + + - - <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> - - - - <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> - <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> - - + --> + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + - - true - + --> + + true + - - - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> - true - - - - <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - - - - - <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> - - x86=Win32 - - - <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> - Win32=x86 - - - - - + Configuration information. --> + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + - - - - Platform=%(ProjectsWithNearestPlatform.NearestPlatform) - - - - %(ProjectsWithNearestPlatform.UndefineProperties);Platform - - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> - - + that can't multiplatform. --> + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + - + --> + - - $(NuGetTargetMoniker) - $(TargetFrameworkMoniker) - + --> + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> - true - %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework - - + --> + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> - true - - + --> + true + + - - - - + --> + + + + - <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> - <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> - <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> - - + --> + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + - - - - - - - + that we are using a version of NuGet which supports that parameter on this task. --> + + + + + + + - - - - TargetFramework=%(AnnotatedProjects.NearestTargetFramework) - + --> + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + - - %(AnnotatedProjects.UndefineProperties);TargetFramework - - - - %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier - + --> + + %(AnnotatedProjects.UndefineProperties);TargetFramework + + + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier + - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> - - - - - - - - - <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> - @(_TargetFrameworkInfo) - @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') - @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') - $(_AdditionalPropertiesFromProject) - true - - false - true - - true - $(Platforms) + --> + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + + false + true + + true + $(Platforms) - @(ProjectConfiguration->'%(Platform)'->Distinct()) - - - - - - <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> - $(%(AdditionalTargetFrameworkInfoProperty.Identity)) - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false - - - - - - <_TargetFrameworkInfo Include="$(TargetFramework)"> - $(TargetFramework) - $(TargetFrameworkMoniker) - $(TargetPlatformMoniker) - None - $(_AdditionalTargetFrameworkInfoProperties) - - - + Build the `Platforms` property from that. --> + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) + + + - + --> + - + --> + AssignProjectConfiguration; _SplitProjectReferencesByFileExistence; _GetProjectReferenceTargetFrameworkProperties; _GetProjectReferencePlatformProperties - - - + + + - - - - - $(ProjectReferenceBuildTargets) - - - ProjectReference - - - + --> + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + - - - - + --> + + + + - - - - + --> + + + + - - - - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + --> + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> - <_ResolvedProjectReferencePaths> - %(_ResolvedProjectReferencePaths.OriginalItemSpec) - - - - - - + --> + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + - - <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> - %(ReferencePath.ProjectReferenceOriginalItemSpec) - - - - + --> + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + - - $(GetTargetPathDependsOn) - - + --> + + $(GetTargetPathDependsOn) + + - - $(GetTargetPathDependsOn) - + --> + + $(GetTargetPathDependsOn) + - - - - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion.TrimStart('vV')) - $(TargetRefPath) - @(CopyUpToDateMarker) - - - + BeforeTargets. --> + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + - - - - %(_ApplicationManifestFinal.FullPath) - - - + --> + + + + %(_ApplicationManifestFinal.FullPath) + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + ResolveProjectReferences; FindInvalidProjectReferences; @@ -4553,69 +4905,69 @@ Copyright (C) Microsoft Corporation. All rights reserved. PrepareForBuild; ResolveSDKReferences; ExpandSDKReferences; - - - - - <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> - + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + - - $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache - - - - <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> - - - - <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false - true - false - Warning - $(BuildingProject) - $(BuildingProject) - $(BuildingProject) - false - - + --> + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + - - - true - - + ide will show one of the references as not resolved, this will not break the build but is a display issue --> + + + true + + - - false - true - - - - - - - - - - - - - - - - - + --> + + false + true + + + + + + + + + + + + + + + + + - - + --> + + - - %(FullPath) - - - %(ReferencePath.Identity) - - - - + assembly unless already specified. --> + + %(FullPath) + + + %(ReferencePath.Identity) + + + + - - - - - + --> + + + + + - - - $(_GenerateBindingRedirectsIntermediateAppConfig) - - - - - $(TargetFileName).config - - - + --> + + + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + - - Software\Microsoft\Microsoft SDKs - $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs - - $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 - - true - Windows - 8.1 - - false - WindowsPhoneApp - 8.1 - - - - - - - - - - - - - + --> + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + - + --> + GetInstalledSDKLocations - - - - Debug - Retail - Retail - $(ProcessorArchitecture) - Neutral - - - true - - - - - - - - - - - - + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + - + --> + GetReferenceTargetPlatformMonikers - - - - - - - - <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> - - - - - - - + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + - + --> + ResolveSDKReferences - + .winmd; .dll - - - - - - - - - - - + + + + + + + + + + + - - - - false - false - false - $(TargetFrameworkSDKToolsDirectory) - true - - - - - - - - - - - - - - - <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> - - - + --> + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -4873,8 +5225,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(TargetDir) - - + + - + --> + GetFrameworkPaths; GetReferenceAssemblyPaths; ResolveReferences - - - - - <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - - - $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache - - + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -4915,29 +5267,29 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(OutDir) - - - - false - false - false - false - false - true - false - - - <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> - - - <_RARResolvedReferencePath Include="@(ReferencePath)" /> - - - - - - - + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + - - false - - - - $(IntermediateOutputPath) - - + --> + + false + + + + $(IntermediateOutputPath) + + - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - false - - - - - - - - - - - - - - + --> + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + - + --> + + --> - + --> + $(PrepareResourcesDependsOn); PrepareResourceNames; ResGen; CompileLicxFiles - - - + + + - + --> + AssignTargetPaths; SplitResourcesByCulture; CreateManifestResourceNames; CreateCustomManifestResourceNames - - - + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + - + --> + - - - - - - - <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> - - - Resx - - - Non-Resx - - - - - - - - - + --> + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + - - - - - - Resx - - - Non-Resx - - - - - - - - - - - - <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> - <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> - - + i.e. either Licx, or resources that don't have culture info --> + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + - - - - + --> + + + + - - ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen - FindReferenceAssembliesForReferences - true - false - - + --> + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + - + --> + - + --> + - - - <_Temporary Remove="@(_Temporary)" /> - - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - - + --> + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - true - - - true - - - - true - - - true - - - + suddenly start failing to build.--> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + --> - - - - - - - + --> + + + + + + + + --> - + --> + ResolveReferences; ResolveKeySource; @@ -5331,96 +5683,96 @@ Copyright (C) Microsoft Corporation. All rights reserved. CoreCompile; _TimeStampAfterCompile; AfterCompile; - - - + + + - - - - - - <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> - - <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> - Resx - false - - <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - false - - - + --> + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + - - - true - $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) - - - true - - - - - + --> + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + - - - - - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + + + - - true - - - - - - - - - - + --> + + true + + + + + + + + + + - + --> + - + --> + - - - <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + - - - $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + - - - <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + - - - __NonExistentSubDir__\__NonExistentFile__ - - + --> + + + __NonExistentSubDir__\__NonExistentFile__ + + - - <_SGenDllName>$(TargetName).XmlSerializers.dll - <_SGenDllCreated>false - <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) - <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto - <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off - true - false - true - + --> + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - + --> + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + --> - + --> + _GenerateSatelliteAssemblyInputs; ComputeIntermediateSatelliteAssemblies; GenerateSatelliteAssemblies - - - + + + - - - - - - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> - - <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> - Resx - true - - <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - true - - - + --> + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + - - - <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) - - - - - - + --> + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + - + --> + CreateManifestResourceNames - - - - - - %(EmbeddedResource.Culture) - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - - - + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + - - $(Win32Manifest) - + --> + + $(Win32Manifest) + - - - + --> + + + - <_DeploymentBaseManifest>$(ApplicationManifest) - <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + property is set though, prefer that one be used to specify the manifest. --> + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) - true - - - - - $(ApplicationManifest) - $(ApplicationManifest) - - - - - - $(_FrameworkVersion40Path)\default.win32manifest - - + a manifest to their built assemblies --> + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + --> - + --> + SetWin32ManifestProperties; GenerateApplicationManifest; GenerateDeploymentManifest - - + + - - - <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> - - - - - - + --> + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + - - - - - - - - - <_DeploymentCopyApplicationManifest>true - - + --> + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + - - - <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) - <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) - - + --> + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) - <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) - - - - - - - + --> + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + - - - <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> - <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> - - + --> + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + - - - - - - - <_DeploymentManifestType>Native - - - - - - - <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') - - - + --> + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + CleanPublishFolder; _DeploymentGenerateTrustInfo $(DeploymentComputeClickOnceManifestInfoDependsOn) - - + + - - - - <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - - - <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> - <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> - - - - <_SatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> - <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> - true - - <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> - - - - <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_SatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> - - - + --> + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + + <_SatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_SatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + - <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> - - - - <_ClickOnceFiles Include="$(PublishedSingleFilePath)" /> - <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> - - <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> - - - + --> + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + - - <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> - <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> - - - + --> + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + - - - - - - - - - - - - - - - <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> - - - <_DeploymentManifestType>ClickOnce - + This is being done to avoid Windows Forms designer memory issues that can arise while operating directly on files located in Obj directory. --> + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + - - <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) - - - - - - - - - - - - - - - + --> + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - true - false - + --> + + true + false + - + --> + CopyFilesToOutputDirectory - - - + + + - - - false - false - - - - - false - false - false - - - true - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - false - false - - - - - - + --> + + + + false + false + + + + + + - - - - - + input to projects that reference this one. --> + + + + + - + --> + - - <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + --> + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence - true + --> + true <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> AssignProjectConfiguration; _SplitProjectReferencesByFileExistence - + AssignTargetPaths; $(_TargetsThatPrepareProjectReferences); _GetProjectReferenceTargetFrameworkProperties; _PopulateCommonStateForGetCopyToOutputDirectoryItems - + - <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems - - <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject - - + --> + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + - - <_GCTODIKeepDuplicates>false - <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> - - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - - <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> - - + a non-empty value and the original behavior will be restored. --> + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + - - - - %(CopyToOutputDirectory) - - - + --> + + + + %(CopyToOutputDirectory) + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - - - - - - - - - - - - + --> + + + + + + + + + + + + - - - - - - - - - <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false - - - - - - - <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false - - - - - + --> + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + - - - - <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true - - - - - + --> + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + --> - - - - <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> - - - - - - - - - - - - - + --> + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + - - <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> - - - - - - - - + the current final output and intermediate output directories. --> + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + - - - - - + --> + + + + + - - - + --> + + + - - <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - + --> + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - - - - - - + --> + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + --> - + --> + BeforeClean; UnmanagedUnregistration; @@ -6559,81 +6911,81 @@ Copyright (C) Microsoft Corporation. All rights reserved. CleanReferencedProjects; CleanPublishFolder; AfterClean - - - + + + - + --> + - + --> + - + --> + - - + --> + + - - - - + --> + + + + - - - - - - - - - - - - - - - - - - - - <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> - - - - - - - - - - + Declare items of this type if you want Clean to delete them. --> + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + - + --> + - - - - - - - - + --> + + + + + + + + - - - + --> + + + + --> - - - - - - + --> + + + + + + + --> - + --> + SetGenerateManifests; Build; PublishOnly - + _DeploymentUnpublishable - - - + + + - - - + --> + + + - - - - - true - - + --> + + + + + true + + - + --> + SetGenerateManifests; PublishBuild; @@ -6765,33 +7117,33 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; _DeploymentSignClickOnceDeployment; AfterPublish - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -6800,77 +7152,77 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; GenerateSerializationAssemblies; CreateSatelliteAssemblies; - - - + + + - + --> + - - - - - <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) - <_DeploymentApplicationDir>$(PublishDir)$(_DeploymentApplicationFolderName)\ - - - - false - false - - - - - - - - - - - - - - - - - + This is done because some servers misinterpret "." as a file extension. --> + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(PublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + - - - - + --> + + + + - - - - - - - - - - + --> + + + + + + + + + + + --> - + --> + - - - true - $(TargetPath) - $(TargetFileName) - true - - - - - - true - $(TargetPath) - $(TargetFileName) - - + --> + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + - - PrepareForBuild - true - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> - $(TargetDir)$(TargetFileName).config - $(TargetFileName).config - - $(AppConfig) - - - - <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> - <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="'@(NativeReference)'!='' or '@(_IsolatedComReference)'!=''"> - $(_DeploymentTargetApplicationManifestFileName) - - $(OutDir)$(_DeploymentTargetApplicationManifestFileName) - - - - - - - %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) - - - + --> + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="'@(NativeReference)'!='' or '@(_IsolatedComReference)'!=''"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + - - - - - - @(_DebugSymbolsOutputPath->'%(FullPath)') - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputPdbItem->'%(FullPath)') - @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + - - - - - - @(FinalDocFile->'%(FullPath)') - true - @(DocFileItem->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputDocItem->'%(FullPath)') - @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + - - PrepareForBuild;PrepareResourceNames - - - - - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - %(EmbeddedResource.Culture) - - - - - - $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) - - %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) - - - + --> + + PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - - - - - - $(MSBuildProjectFullPath) - $(ProjectFileName) - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + - - - - - - @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') - $(_SGenDllName) - - - + --> + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + - - + --> + + - - - + Needed for certain build environments that import partial sets of targets. --> + + + - - - - - - - - ResolveSDKReferences;ExpandSDKReferences - + --> + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + - - - - - - + --> + + + + + + + --> - + --> + $(CommonOutputGroupsDependsOn); BuildOnlySettings; PrepareForBuild; AssignTargetPaths; ResolveReferences - - + + - + --> + - + --> + $(BuiltProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - + + + + + + + - + --> + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(DocumentationProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SGenFilesOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(ReferenceCopyLocalPathsOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - + --> + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - + + + + --> - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets - - - - - - true - - - - - - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets - - - + retrieve them. --> + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets - - - - - - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets - $(MSBuildToolsPath)\NuGet.targets - + --> + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + +--> - - - true - - NuGet.Build.Tasks.dll - - false - - true - true - - false - - WarnAndContinue - - $(BuildInParallel) - true - - <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true - - $(MSBuildInteractive) - - true - - true - - <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true - - - - <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + --> + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + skipped. --> <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); NuGetRestoreTargets=$(MSBuildThisFileFullPath); RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); - - + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); _RestoreSolutionFileUsed=true; @@ -7434,55 +7786,55 @@ Copyright (c) .NET Foundation. All rights reserved. SolutionFileName=$(SolutionFileName); SolutionPath=$(SolutionPath); SolutionExt=$(SolutionExt); - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - + --> + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + - + --> + - + --> + - - - <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> - - + --> + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + - - - exclusionlist - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> - - - - - - - - - - - - - - - - - + --> + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + - - - - - - <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> - <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> - - - - - - - - - - + --> + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + - - - + --> + + + - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> - RestoreSpec - $(MSBuildProjectFullPath) - - - + --> + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + - - - netcoreapp1.0 - - - - - - + --> + + + netcoreapp1.0 + + + + + + - - - - - - - + --> + + + + + + + - + --> + - - <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true - - - <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true - - - - - - - <_HasPackageReferenceItems /> - - + --> + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + - - - true - - + --> + + + true + + - - - <_RestoreProjectFramework /> - - - - - - - <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> - - + --> + + + <_RestoreProjectFramework /> + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + - - - <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> - - + --> + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + - - - $(SolutionDir) - - - - - - - - - - + --> + + + $(SolutionDir) + + + + + + + + + + - + --> + - - - - - - + --> + + + + + + - - - <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> - $(RestoreAdditionalProjectSources) - $(RestoreAdditionalProjectFallbackFolders) - $(RestoreAdditionalProjectFallbackFoldersExcludes) - - - + --> + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + - - - - $(MSBuildProjectExtensionsPath) - - - - + --> + + + + $(MSBuildProjectExtensionsPath) + + + + - - <_RestoreProjectName>$(MSBuildProjectName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) - + --> + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + - - <_RestoreProjectVersion>1.0.0 - <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) - <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) - - - - <_RestoreCrossTargeting>true - - - - <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(_RestoreProjectVersion) - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(RestoreProjectStyle) - $(RestoreOutputAbsolutePath) - $(RuntimeIdentifiers);$(RuntimeIdentifier) - $(RuntimeSupports) - $(_RestoreCrossTargeting) - $(RestoreLegacyPackagesDirectory) - $(ValidateRuntimeIdentifierCompatibility) - $(_RestoreSkipContentFileWrite) - $(_OutputConfigFilePaths) - $(TreatWarningsAsErrors) - $(WarningsAsErrors) - $(NoWarn) - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) - $(CentralPackageVersionOverrideEnabled) - $(CentralPackageTransitivePinningEnabled) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(RestoreOutputAbsolutePath) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(_CurrentProjectJsonPath) - $(RestoreProjectStyle) - $(_OutputConfigFilePaths) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - $(MSBuildProjectDirectory)\packages.config - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - $(_OutputSources) - $(SolutionDir) - $(_OutputRepositoryPath) - $(_OutputConfigFilePaths) - $(_OutputPackagesPath) - @(_RestoreTargetFrameworksOutputFiltered) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - @(_RestoreTargetFrameworksOutputFiltered) - - - + --> + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + - - - + --> + + + - + --> + - - - - - - - + --> + + + + + + + - + --> + - - - - - - - - - - - - - - - - - - - - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - TargetFrameworkInformation - $(MSBuildProjectFullPath) - $(PackageTargetFallback) - $(AssetTargetFallback) - $(TargetFramework) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion) - $(TargetFrameworkMoniker) - $(TargetFrameworkProfile) - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetPlatformVersion) - $(TargetPlatformMinVersion) - $(CLRSupport) - $(RuntimeIdentifierGraphPath) - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + + + - + --> + - - - - - - - <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> - - + --> + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + - - - - - - + --> + + + + + + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - - - - - - - - <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> - - - - - - + --> + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + - - - <_RestorePackagesPathOverride>$(RestorePackagesPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + - - - <_RestorePackagesPathOverride>$(RestoreRepositoryPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + - - - <_RestoreSourcesOverride>$(RestoreSources) - - + --> + + + <_RestoreSourcesOverride>$(RestoreSources) + + - - - <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) - - + --> + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + - - - <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> - - + --> + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + - + --> + - +--> + +--> - - $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets - +--> + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + +--> - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - $(MSBuildThisFileDirectory)\tools\net6.0\Microsoft.NET.Build.Extensions.Tasks.dll - $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll - - true - - - - +--> + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net6.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + +--> +--> +--> - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + +--> - - - Microsoft.TestPlatform.Build.dll - $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) - - - +--> + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +--> - +--> + +--> - - true - - - - true - + --> + + true + + + + true + - - <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets - <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) - - + --> + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + +--> + --> - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + $(AdditionalSourcesText) namespace Microsoft.BuildSettings [<System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName="$(TargetFrameworkMonikerDisplayName)")>] do () - - + + - - - - <_FsGeneratedTfmAttributesSource Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" /> - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + <_FsGeneratedTfmAttributesSource Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" /> + + - - - <_OldRootSdkLocation>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp - $(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\FSharpSdk - <_CoreRelativeSuffix>.NETCore\$(TargetFSharpCoreVersion)\FSharp.Core.dll - <_FrameworkRelativeSuffix>.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll - <_PortableRelativeSuffix>.NETPortable\$(TargetFSharpCoreVersion)\FSharp.Core.dll - - <_OldCoreSdkPath>$(_OldRootSdkLocation)\$(_CoreRelativeSuffix) - <_NewCoreSdkPath>$(NewFSharpSdkLocation)\$(_CoreRelativeSuffix) - - <_OldFrameworkSdkPath>$(_OldRootSdkLocation)\$(_FrameworkRelativeSuffix) - <_NewFrameworkSdkPath>$(NewFSharpSdkLocation)\$(_FrameworkRelativeSuffix) - - <_OldPortableSdkPath>$(_OldRootSdkLocation)\$(_PortableRelativeSuffix) - <_NewPortableSdkPath>$(NewFSharpSdkLocation)\$(_PortableRelativeSuffix) - - - - - $(_NewCoreSdkPath) - - - - $(_NewFrameworkSdkPath) - - - - $(_NewPortableSdkPath) - - - - - - <_OldRefAssemTPLocation>Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\Type Providers\FSharp.Data.TypeProviders.dll - <_OldSdkTPLocationPrefix>$(MSBuildProgramFiles32)\Microsoft SDKs\F# - <_OldSdkTPLocationSuffix>Framework\v4.0\FSharp.Data.TypeProviders.dll - - - - - - - - - + --> + + + <_OldRootSdkLocation>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp + $(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\FSharpSdk + <_CoreRelativeSuffix>.NETCore\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_FrameworkRelativeSuffix>.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_PortableRelativeSuffix>.NETPortable\$(TargetFSharpCoreVersion)\FSharp.Core.dll + + <_OldCoreSdkPath>$(_OldRootSdkLocation)\$(_CoreRelativeSuffix) + <_NewCoreSdkPath>$(NewFSharpSdkLocation)\$(_CoreRelativeSuffix) + + <_OldFrameworkSdkPath>$(_OldRootSdkLocation)\$(_FrameworkRelativeSuffix) + <_NewFrameworkSdkPath>$(NewFSharpSdkLocation)\$(_FrameworkRelativeSuffix) + + <_OldPortableSdkPath>$(_OldRootSdkLocation)\$(_PortableRelativeSuffix) + <_NewPortableSdkPath>$(NewFSharpSdkLocation)\$(_PortableRelativeSuffix) + + + + + $(_NewCoreSdkPath) + + + + $(_NewFrameworkSdkPath) + + + + $(_NewPortableSdkPath) + + + + + + <_OldRefAssemTPLocation>Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\Type Providers\FSharp.Data.TypeProviders.dll + <_OldSdkTPLocationPrefix>$(MSBuildProgramFiles32)\Microsoft SDKs\F# + <_OldSdkTPLocationSuffix>Framework\v4.0\FSharp.Data.TypeProviders.dll + + + + + + + + + - - $(MSBuildProjectFullPath) - - - $(TargetsForTfmSpecificContentInPackage);PackageFSharpDesignTimeTools - - - $(RestoreAdditionalProjectSources);$(_FSharpCoreLibraryPacksFolder) - - - - - - - - - - - fsharp41 - tools - - - - - <_ResolvedOutputFiles Include="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/*" Exclude="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/FSharp.Core.dll;%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/System.ValueTuple.dll" Condition="'%(_ResolvedProjectReferencePaths.IsFSharpDesignTimeProvider)' == 'true'"> - %(_ResolvedProjectReferencePaths.NearestTargetFramework) - - <_ResolvedOutputFiles Include="@(BuiltProjectOutputGroupKeyOutput)" Condition=" '$(IsFSharpDesignTimeProvider)' == 'true' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'FSharp.Core.dll' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'System.ValueTuple.dll' "> - $(TargetFramework) - - - $(FSharpToolsDirectory)/$(FSharpDesignTimeProtocol)/%(_ResolvedOutputFiles.NearestTargetFramework)/%(_ResolvedOutputFiles.FileName)%(_ResolvedOutputFiles.Extension) - - - +%UserProfile%//.dotnet/sdk/6.0.300/FSharp/Microsoft.FSharp.NetSdk.targets +============================================================================================================================================ +--> + + $(MSBuildProjectFullPath) + + + $(TargetsForTfmSpecificContentInPackage);PackageFSharpDesignTimeTools + + + $(RestoreAdditionalProjectSources);$(_FSharpCoreLibraryPacksFolder) + + + + + + + + + + + fsharp41 + tools + + + + + <_ResolvedOutputFiles Include="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/*" Exclude="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/FSharp.Core.dll;%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/System.ValueTuple.dll" Condition="'%(_ResolvedProjectReferencePaths.IsFSharpDesignTimeProvider)' == 'true'"> + %(_ResolvedProjectReferencePaths.NearestTargetFramework) + + <_ResolvedOutputFiles Include="@(BuiltProjectOutputGroupKeyOutput)" Condition=" '$(IsFSharpDesignTimeProvider)' == 'true' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'FSharp.Core.dll' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'System.ValueTuple.dll' "> + $(TargetFramework) + + + $(FSharpToolsDirectory)/$(FSharpDesignTimeProtocol)/%(_ResolvedOutputFiles.NearestTargetFramework)/%(_ResolvedOutputFiles.FileName)%(_ResolvedOutputFiles.Extension) + + + + --> - - true - + --> + + true + - - - <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> - - - - - - - - - + --> + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + - - true - + --> + + true + - + --> + - - - <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> - $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) - $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) - - - + --> + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + - @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) - - + --> + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + +--> +--> - - - TargetFramework - TargetFrameworks - - - true - - +--> + + + TargetFramework + TargetFrameworks + + + true + + - - + --> + + - - - <_MainReferenceTarget Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets - <_MainReferenceTarget Condition="'$(_MainReferenceTarget)' == ''">GetTargetPath - GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) - $(_MainReferenceTarget);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) - GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) - Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) - $(ProjectReferenceTargetsForCleanInOuterBuild);$(ProjectReferenceTargetsForBuildInOuterBuild);$(ProjectReferenceTargetsForRebuildInOuterBuild) - $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) - - - - - - - - - - - + --> + + + <_MainReferenceTarget Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTarget Condition="'$(_MainReferenceTarget)' == ''">GetTargetPath + GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) + $(_MainReferenceTarget);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) + GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) + Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForCleanInOuterBuild);$(ProjectReferenceTargetsForBuildInOuterBuild);$(ProjectReferenceTargetsForRebuildInOuterBuild) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + + + + + + + + + +--> - +--> + +--> +--> +--> - - - $(MSBuildThisFileDirectory)..\tools\ - net6.0 - net472 - $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ - $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll +--> + + + $(MSBuildThisFileDirectory)..\tools\ + net8.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll - Microsoft.NETCore.App;NETStandard.Library - + --> + Microsoft.NETCore.App;NETStandard.Library + - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - $(_IsExecutable) - - - - netcoreapp2.2 - - - false - DotnetTool - $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) - - - Preview - - - - - + --> + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + - +--> + + true + + +--> +--> - - - $(MSBuildProjectExtensionsPath)/project.assets.json - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + --> + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) - $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) - - false - - false - - true - $(IntermediateOutputPath)NuGet\ - true - $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) - $(TargetFrameworkMoniker) - true + be stored in a shared directory next to the assets.json file --> + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true - false + TargetDefinitions, FileDefinitions and FileDependencies items. --> + false - true - - - - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) - - - - - + its own multi-targeting logic, or if the current SDK targets will pick the assets correctly. --> + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + - + --> + $(ResolveAssemblyReferencesDependsOn); ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; - + ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; $(PrepareResourcesDependsOn) - - - - - - $(RootNamespace) - - - $(AssemblyName) - - - $(MSBuildProjectDirectory) - - - $(TargetFileName) - - - $(MSBuildProjectFile) - - - + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + - - true - + --> + + true + + --> - + --> + ResolveLockFileReferences; ResolveLockFileAnalyzers; @@ -8932,101 +9287,110 @@ Copyright (c) .NET Foundation. All rights reserved. ResolveRuntimePackAssets; RunProduceContentAssets; IncludeTransitiveProjectReferences - - - + + + + --> - - - - + --> + + + + - + run and created the assets file. --> + - - - - - - - - - - - - - - - - - <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) - roslyn$(_RoslynApiVersion) - - - - - - false - - - true - - - true - - - - true - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + compile errors. --> + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + match the expected version --> + + + + + - - - - - - - - - - - - - - - - <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> - - - <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> - - + (that was spread across different tasks/targets) for backwards compatibility. --> + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + - - - - - - + --> + - - - - - - + --> + + + + + + - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + - - - - + but the names depend upon the items themselves. Split it apart. --> + + + + - - + --> + + - - true - + --> + + true + - - + project, use that, in order to preserve metadata (such as aliases). --> + + - - - - - - - - - - - - - - + a reference with a warning. See https://github.com/dotnet/sdk/issues/1499 --> + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> - - <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - - - - + --> + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + - + NETSDK1056. --> + - - +--> + + +--> - - - true - true - true - true - - +--> + + + true + true + true + true + + - - $(DefaultItemExcludes);$(BaseOutputPath)/** - - $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** - - $(DefaultItemExcludes);**/*.user - $(DefaultItemExcludes);**/*.*proj - $(DefaultItemExcludes);**/*.sln - $(DefaultItemExcludes);**/*.vssscc + This is in the .targets because it needs to come after the final BaseOutputPath has been evaluated. --> + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc + $(DefaultItemExcludes);**/.DS_Store - $(DefaultItemExcludesInProjectFolder);**/.*/** - + that are in the project folder. Support both DefaultItemExcludesInProjectFolder and DefaultExcludesInProjectFolder + properties because of a naming mistake. --> + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + - + in the project file. --> + - 1.6.1 - - 2.0.3 - + produced, so we will roll forward to the latest version. --> + 1.6.1 + + 2.0.3 + +--> +--> - - true - false - <_TargetLatestRuntimePatchIsDefault>true - - - true - - - - - all - true - - - all - true - - - - - - - - - - - - + --> + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + - - - - - - - - - + A FrameworkReference to Microsoft.AspNetCore.App should be used instead, and will be implicitly included by Microsoft.NET.Sdk.Web. --> + + + + + + + + + - - - - - - - - - - - - + should be replaced with a FrameworkReference. --> + + + + + + + + + + + + - - $(_TargetFrameworkVersionWithoutV) - - - - - - - - https://aka.ms/sdkimplicitrefs - - - - - - - - - - - <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> - - - - false - - - - - - https://aka.ms/sdkimplicititems - + this should prevent breaking it. --> + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + - - - - - - - - - - - - - - - - - - - - - - - - - - <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> - - - + be easy to miss the duplicate items error which is the real source of the problem. --> + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + +--> - - - + if building with an implicit restore. --> + + + - - + --> + + - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + --> + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - - - - - - - - - - - - + --> + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + + + + true + + + + + +--> +--> - +--> + $(ResolveAssemblyReferencesDependsOn); ResolveTargetingPackAssets; - - - - - - - + + + + + + + - - - - - - - - + we can't do the change atomically --> + + + + + + + + - - - - - - - - - - - true - true - - - <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - - - $(RuntimeIdentifier) - $(DefaultAppHostRuntimeIdentifier) - - - - - - - - - - - true - true - false - - - - [%(_PackageToDownload.Version)] - - - - - - + --> + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + + - - - - - - + --> + + + + + + - - - - - - - %(ResolvedTargetingPack.PackageDirectory) - - - - - - - - - - - - - - - - - - - - - - <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> - %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) - - - - - %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) - - - - @(ResolvedAppHostPack->'%(Path)') - - - - %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) - - - - @(ResolvedSingleFileHostPack->'%(Path)') - - - - %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) - - - - @(ResolvedComHostPack->'%(Path)') - - - - %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) - - - - @(ResolvedIjwHostPack->'%(Path)') - - - - - - - - - - + --> + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + - - - - true - false - - - - - - - - - - + --> + + + + true + false + + + + + + + + + + - $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) - - - - - - - - - - + that consume it. --> + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + + + + + + + + + + - - - - - - <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> - - - + --> + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + - - - - - - - - + --> + + + + + + + + - + --> + - - - <_Parameter1>$(UserSecretsId.Trim()) - - - + --> + + + <_Parameter1>$(UserSecretsId.Trim()) + + + - - - - - - $(_IsNETCoreOrNETStandard) - - - true - true - false - true - $(MSBuildProjectDirectory)/runtimeconfig.template.json - true - true - <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache - <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) - - - - - - - - true - - - false - - - $(AssemblyName).deps.json - $(TargetDir)$(ProjectDepsFileName) - $(AssemblyName).runtimeconfig.json - $(TargetDir)$(ProjectRuntimeConfigFileName) - $(TargetDir)$(AssemblyName).runtimeconfig.dev.json - true - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + + + + + $(_IsNETCoreOrNETStandard) + + + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json + + + + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + +--> - - - true - true - - - - CurrentArchitecture - CurrentRuntime - - - <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so - <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe - <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) - <_DotNetAppHostExecutableNameWithoutExtension>apphost - <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) - <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost - <_DotNetComHostLibraryNameWithoutExtension>comhost - <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) - <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost - <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) - <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) - <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) - - - - - - <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> - - +--> + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + - - - Microsoft.NETCore.App - - + --> + + + Microsoft.NETCore.App + + - - <_DefaultUserProfileRuntimeStorePath>$(HOME) - <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) - <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) - $(_DefaultUserProfileRuntimeStorePath) - - - true - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + + + true + + + + false + true + - - true - - - true - - - $(AvailablePlatforms),ARM32 - - - $(AvailablePlatforms),ARM64 - - - $(AvailablePlatforms),ARM64 - - - - false - - + --> + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + + _CheckForBuildWithNoBuild; $(CoreBuildDependsOn); GenerateBuildDependencyFile; GenerateBuildRuntimeConfigurationFiles - - - + + + _SdkBeforeClean; $(CoreCleanDependsOn) - - - + + + _SdkBeforeRebuild; $(RebuildDependsOn) - - + + + + + + + + + - - - + --> + + + - - - - 1.0.0 - - - - - - - - - - - + --> + + + + 1.0.0 + + + + + + + + + + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + + - - - + during incremental builds when the task is skipped --> + + + - - - - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + - - - <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true - LatestMinor - + --> + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + - - - <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true - - - + other values should still keep failing as they won't have any effect when run on 2.*. --> + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_CleaningWithoutRebuilding>true - false - - - - - <_CleaningWithoutRebuilding>false - - + during incremental builds when the task is skipped --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + --> + + + + + $(CompileDependsOn); _CreateAppHost; _CreateComHost; _GetIjwHostPaths; - - + + - - - - <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true - <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true - - - + --> + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + - - - $(SingleFileHostSourcePath) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) - - + --> + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + - - - - - @(_NativeRestoredAppHostNETCore) - - - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) - - - - - - + --> + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + - - - - - + --> + + + + + - - - - + --> + + + + - - - + --> + + + - - - $(AssemblyName).comhost$(_ComHostLibraryExtension) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) - - - + --> + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + - - - + --> + + + - - - - <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest - PreserveNewest - - - + --> + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + - - PreserveNewest - Never - - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest + --> + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest - Always - - - - - $(AssemblyName).$(_DotNetComHostLibraryName) - PreserveNewest - PreserveNewest - - - %(FileName)%(Extension) - PreserveNewest - PreserveNewest - - - - - $(_DotNetIjwHostLibraryName) - PreserveNewest - PreserveNewest - - - + places the correct unbundled apphost in the publish directory. --> + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + - - - <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + --> + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> - <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> - <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> - <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> - - + --> + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + - - - - - true - - - true - - - - - + --> + + + + + true + + + true + + + + + - - $(StartWorkingDirectory) - - - - - $(StartProgram) - $(StartArguments) - - - - - - dotnet - <_NetCoreRunArguments>exec "$(TargetPath)" - $(_NetCoreRunArguments) $(StartArguments) - $(_NetCoreRunArguments) - - - $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) - $(StartArguments) - - - - - $(TargetPath) - $(StartArguments) - - - mono - "$(TargetPath)" $(StartArguments) - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) - - - - - + --> + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + - + --> + $(CreateSatelliteAssembliesDependsOn); CoreGenerateSatelliteAssemblies - - - - - - - <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs - <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll - - - - <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) - - - - - - - true - - - - - - - - - - - - - + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + - + --> + - - - - - + --> + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - + --> + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + - - - - - - + --> + + + + + + - - - - - - - - false - - + --> + + + + + + + + + + false + + - false - - - - false - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true - - - - + to run it. --> + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + - - - + --> + + + - - - - - - - - + --> + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + +--> - +--> + $(CommonOutputGroupsDependsOn); - - - + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); _GenerateDesignerDepsFile; _GenerateDesignerRuntimeConfigFile; + GetCopyToOutputDirectoryItems; _GatherDesignerShadowCopyFiles; - - <_DesignerDepsFileName>$(AssemblyName).designer.deps.json - <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json - <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) - <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) - - - + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + - - - - - - - - - - <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> - - - - - - - - - - - <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + --> + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> - <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> - - - + --> + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + + + + +--> +--> +--> - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) - true - - - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - + --> + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + - - - - - <_InformationalVersionContainsPlus>false - <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true - $(InformationalVersion)+$(SourceRevisionId) - $(InformationalVersion).$(SourceRevisionId) - - - - - - <_Parameter1>$(Company) - - - <_Parameter1>$(Configuration) - - - <_Parameter1>$(Copyright) - - - <_Parameter1>$(Description) - - - <_Parameter1>$(FileVersion) - - - <_Parameter1>$(InformationalVersion) - - - <_Parameter1>$(Product) - - - <_Parameter1>$(AssemblyTitle) - - - <_Parameter1>$(AssemblyVersion) - - - <_Parameter1>RepositoryUrl - <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) - <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) - - - <_Parameter1>$(NeutralLanguage) - - - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) - - - <_Parameter1>%(AssemblyMetadata.Identity) - <_Parameter2>%(AssemblyMetadata.Value) - - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) - - - <_Parameter1>$(TargetPlatformIdentifier) - - - + --> + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(Trademark) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + %(InternalsVisibleTo.PublicKey) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + + + + - - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache - - - - - - - - - - - - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + - - - - - - $(AssemblyVersion) - $(Version) - - + --> + + + + + + $(AssemblyVersion) + $(Version) + + - +--> + +--> - - - - <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config - - - - - - - - - - - - - - - - - +--> + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + +--> +--> +--> - + --> + - - - <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> - <_AllProjects Include="$(MSBuildProjectFullPath)" /> - - - - - + --> + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + - - - - %(PackageReference.Identity) - %(PackageReference.Version) + --> + + + + %(PackageReference.Identity) + %(PackageReference.Version) StorePackageName=%(PackageReference.Identity); StorePackageVersion=%(PackageReference.Version); @@ -10910,246 +11888,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); DisableImplicitFrameworkReferences=false; - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - + --> + + + + + + + + + <_StoreArtifactContent> @(ListOfPackageReference) -]]> - - - - - - +]]> + + + + + + - - - <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> - <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> - - - - - - - - + --> + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + - - - true - true - <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) - true - - - - - - $(UserProfileRuntimeStorePath) - <_ProfilingSymbolsDirectoryName>symbols - $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) - $(DefaultProfilingSymbolsDir) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) - $(ProfilingSymbolsDir)\ - $(DefaultComposeDir) - $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) - $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) - $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) - $([System.IO.Path]::GetFullPath($(ComposeDir))) - <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) - $([System.IO.Path]::GetTempPath()) - $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) - $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) - - $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) - - $(PublishDir)\ - - - - false - true - - - - - - - - $(StorePackageVersion.Replace('*','-')) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) - <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) - $(StoreWorkerWorkingDir)\ - $(BaseIntermediateOutputPath)\project.assets.json - - - $(MicrosoftNETPlatformLibrary) - true - - + --> + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + - - - - + --> + + + + - + --> + - + --> + - - - - - + --> + + + + + - + --> + - - - <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> - - - true - - + --> + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + - - - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> - - + --> + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + - - - - true - true - - - - - - - - - + --> + + + + true + true + + + + + + + + + - - - - - - + --> + + + + + + +--> +--> +--> - - true - false - true - false - true - 1 - + --> + + true + true + false + true + false + true + 1 + - - - - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> - - - - - - - - <_CoreclrPath>@(_CoreclrResolvedPath) - @(_JitResolvedPath) - <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) - <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) - $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) - - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) - - - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) - - + --> + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + - - - + --> + + + CrossgenExe=$(Crossgen); CrossgenJit=$(JitPath); @@ -11238,246 +12217,252 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) - - - - - - + + + + + + - - - $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) - $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) - $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" - CreatePDB - CreatePerfMap - - - - - - - - - - - - <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> - - - - - - - - $([System.IO.Path]::PathSeparator) - $([System.IO.Path]::DirectorySeparatorChar) - - + --> + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + - - - <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) - <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) - - - - - <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) - - + --> + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + - - - <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) - - <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) - - <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) - - - <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> - - - - - - - - + --> + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - $(MSBuildThisFileDirectory)..\tasks\net6.0\Microsoft.NET.Sdk.Crossgen.dll - $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - + --> + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + - - - - - + --> + + + + + + + + + + + - - - - - + --> + + + + + - - - - <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R - - - - <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> - + --> + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + - - <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> - - - - - - <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> - <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> - - - <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> - <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> - - - - - - - - - - - - - - - - - + assembly list. --> + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + - - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> - - + --> + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> - - + --> + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + +--> +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + - - +--> + + - - <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> - - <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> - - - - +--> + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + +--> +--> - - true - <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true - true - - - - Always - - +--> + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + + true + true + + + + Always + + + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + - - - - + --> + + + + <_BeforePublishNoBuildTargets> BuildOnlySettings; _PreventProjectReferencesFromBuilding; @@ -11579,59 +12578,70 @@ Copyright (c) .NET Foundation. All rights reserved. PrepareResourceNames; ComputeIntermediateSatelliteAssemblies; ComputeEmbeddedApphostPaths; - + <_CorePublishTargets> PrepareForPublish; ComputeAndCopyFilesToPublishDirectory; $(PublishProtocolProviderTargets); PublishItemsOutputGroup; - - <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) - - - - + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + - - - - - - - false - - + the published assets were copied. --> + + + + + + + + + + + + + + false + + - - - - - - - - - - - $(PublishDir)\ - - - + --> + + + + + + + + + + + + + + $(PublishDir)\ + + + - + --> + - + --> + - - - - <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> - - - - - - - - + --> + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + - - - <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) - - - - - - <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt - - - - - - - - - - - - - - - - - - <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> - <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> - - - - - - - - - + --> + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + - + --> + - - - - + --> + + + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - - <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> - <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> - - - <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> - <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> - - + --> + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + - - - true - true - false - - + --> + + + + + true + true + false + + - - - - - @(IntermediateAssembly->'%(Filename)%(Extension)') - PreserveNewest - - - - $(ProjectDepsFileName) - PreserveNewest - - - - $(ProjectRuntimeConfigFileName) - PreserveNewest - - - - @(AppConfigWithTargetPath->'%(TargetPath)') - PreserveNewest - - - - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - PreserveNewest - true - - - - %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) - PreserveNewest - - - - %(Filename)%(Extension) - PreserveNewest - - + --> + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> - - - - %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) - PreserveNewest - - - - @(FinalDocFile->'%(Filename)%(Extension)') - PreserveNewest - - - - shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) - PreserveNewest - - - <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> - - - + to ensure that we don't get duplicate files in the publish output. --> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + - - + --> + + - - - - - <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> - - - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> - - + PreserveStoreLayout without this task, and how to handle RuntimeStorePackages. --> + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + - - - - - - + --> + + + + + + - - - <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> - - + --> + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + - - - <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + --> + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - - - - %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) - Always - True - - - %(_SourceItemsToCopyToPublishDirectory.TargetPath) - PreserveNewest - True - - - + --> + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + - + --> + - - <_GCTPDIKeepDuplicates>false - <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath - - - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - + a non-empty value and the original behavior will be restored. --> + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + - - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - Always - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - PreserveNewest - - - - - <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies - - - + --> + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + - - - <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> - - <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> - - <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> - - - - <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> - + --> + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + - - - + --> + + + - - - - - - - - - <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> - - - + --> + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + - - <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true - <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true - - + generate a different one. --> + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + - - - <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> - - - - $(AssemblyName)$(_NativeExecutableExtension) - $(PublishDir)$(PublishedSingleFileName) - - - - - - - - $(PublishedSingleFileName) - - - - - - false - false - false - $(IncludeAllContentForSelfExtract) - false - - - - - - - - - - + --> + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + - - - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) - $(PublishDir)$(ProjectDepsFileName) - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) - - - - - - <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - - - - - $(ProjectDepsFileName) - - - + --> + + + + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + - - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + --> + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + - - - - - - - - + --> + + + + + + + + - + --> + $(PublishItemsOutputGroupDependsOn); ResolveReferences; ComputeResolvedFilesToPublishList; _ComputeFilesToBundle; - - - - - - - - - - - + + + + + + + + + + + - + --> + - - - + --> + + + - +--> + +--> - - - - - +--> + + + + + - - <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml - true - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) - - - - <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> - <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> - <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> - - - - - - - tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) - - - %(_ResolvedFileToPublishWithPackagePath.PackagePath) - - - - - $(TargetName) - $(TargetFileName) - - - - - - - - - - - - - + --> + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + $(TargetName) + $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) + + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + + + + + + + + + + + + - - <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache - <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) - <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel - <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) - $(OutDir) - - - - - + --> + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + - - + --> + + - - - - - - - - - + during incremental builds when the task is skipped --> + + + + + + + + + - - - <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> - <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> - <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> - <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + +--> +--> - - - +--> + + + +--> +--> - - refs - $(PreserveCompilationContext) - - - - - $(DefineConstants) - $(LangVersion) - $(PlatformTarget) - $(AllowUnsafeBlocks) - $(TreatWarningsAsErrors) - $(Optimize) - $(AssemblyOriginatorKeyFile) - $(DelaySign) - $(DelaySign) - $(DebugType) - $(OutputType) - $(GenerateDocumentationFile) - - - - - - - - - +--> + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(PublicSign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + - <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + --> + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> - <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> - - $(RefAssembliesFolderName)\%(Filename)%(Extension) - - - + --> + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + - - - - - + --> + + + + + +--> +--> +--> +--> - - +--> + + Microsoft.CSharp|4.4.0; Microsoft.Win32.Primitives|4.3.0; @@ -12652,9 +13739,9 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + Microsoft.Win32.Primitives|4.3.0; System.AppContext|4.3.0; @@ -12751,50 +13838,50 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + - - +--> + + - - + --> + + - <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> - - - - - - - + --> + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + - - - - - - - - - + (eg: HintPath) --> + + + + + + + + + - - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> - - + --> + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + - - - - - - - + --> + + + + + + + - - +--> + + +--> +--> - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets - + *************************************************************************************************************** --> + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + - +--> + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - - - - - - - - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + + + + + + + - - $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) - +--> + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + + + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + +--> - - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - - - - false - false - false - false - false - false - false - false - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - - $(NoWarn);IL2026 - - $(NoWarn);IL2041;IL2042;IL2043;IL2056 - - $(NoWarn);IL2045 - - $(NoWarn);IL2046 - - $(NoWarn);IL2050 - - $(NoWarn);IL2032;IL2055;IL2057;IL2058;IL2059;IL2060;IL2061;IL2096 - - $(NoWarn);IL2062;IL2063;IL2064;IL2065;IL2066 - - $(NoWarn);IL2067;IL2068;IL2069;IL2070;IL2071;IL2072;IL2073;IL2074;IL2075;IL2076;IL2077;IL2078;IL2079;IL2080;IL2081;IL2082;IL2083;IL2084;IL2085;IL2086;IL2087;IL2088;IL2089;IL2090;IL2091 - - $(NoWarn);IL2092;IL2093;IL2094;IL2095 - - $(NoWarn);IL2097;IL2098;IL2099;IL2106 - - $(NoWarn);IL2103 - - $(NoWarn);IL2107 - - $(NoWarn);IL2109 - - $(NoWarn);IL2110;IL2111;IL2114;IL2115 - - $(NoWarn);IL2112;IL2113 - +--> + + + true + + + + true + + + + 7.0 + + + + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - - - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - - - - - - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - - - - - - - 5 - 0 - - - - copyused - - $(TrimMode) - - - link - - copy - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - - - - $(TrimMode) - - - $(TrimmerDefaultAction) - - - - - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - - - - - - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + + + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + - - - - true - true - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets - - - - - +--> +--> - - - true - - - - true - - - - 7.0 - - - - $(TargetPlatformMinVersion) - $(SupportedOSPlatformVersion) - - $(TargetPlatformVersion) - $(TargetPlatformVersion) - - - - <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> - - - - - - - - - - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> - - - - - - - +--> + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll + + + + + - - - - 0.0 - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - - - - $(TargetPlatformVersion) - - +--> + + + + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) + + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + +--> - - - - +--> - - - - - _GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - - - $(RoslynTargetsPath) - <_packageReferenceList>@(PackageReference) - - $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) - $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) - - - $(PackageId) - $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - false - <_compatibilitySuppressionFilePath>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - $(_compatibilitySuppressionFilePath) - - - - - - <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' != 'true'">_GetReferencePathForPackageValidation - <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' == 'true'">_ComputeTargetFrameworkItems - - - - <_ReferencePathWithTargetFramework Include="@(ReferencePath)" TargetFramework="$(TargetFramework)" /> - - - - - - - - - - +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. +*********************************************************************************************** +--> + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + + + + + + + + + + $(TargetPlatformMoniker) + + + + + + + + + +--> + - - - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets - true - +--> + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + +--> - - - ..\CoreCLR\NuGet.Build.Tasks.Pack.dll - ..\Desktop\NuGet.Build.Tasks.Pack.dll - - - - - - - - - $(AssemblyName) - $(Version) - true - _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) - $(Description) - Package Description - false - true - true - tools - lib - content;contentFiles - $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) - true - symbols.nupkg - DeterminePortableBuildCapabilities - false - false - .dll; .exe; .winmd; .json; .pri; .xml - $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) - .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) - .pdb - false - - - $(GenerateNuspecDependsOn) - - - Build;$(GenerateNuspecDependsOn) - - - - - - - $(TargetFramework) - - - - $(MSBuildProjectExtensionsPath) - $(BaseOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - +--> + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - + --> + + + + + + - - - <_ProjectFrameworks /> - - - - - - <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> - - + --> + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + - - - - <_PackageFilesToDelete Include="@(_OutputPackItems)" /> - - - - - - false - - - - - - - - - - - - - + --> + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + - - - - - - true - - - - - - - - - + --> + + + + + + true + + + + + + + + + - - - - $(PrivateRepositoryUrl) - $(SourceRevisionId) - - + --> + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + - - - - $(MSBuildProjectFullPath) - - - - - - - - - - - - - - - - - <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> - $(PackageVersion) - 1.0.0 - - - - - - - - - - - - - - - - - - - - - - - - - - <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> - - - - - - $(TargetFramework) - - - - - - - - - - - - - %(TfmSpecificPackageFile.RecursiveDir) - %(TfmSpecificPackageFile.BuildAction) - - - - - - <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> - $(TargetFramework) - - - - <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> - - + --> + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + - - - <_PathToPriFile Include="$(ProjectPriFullPath)"> - $(ProjectPriFullPath) - $(ProjectPriFileName) - - - + has to be added manually here.--> + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + - - - <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> - - - - <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> - Content - - <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> - Compile - - <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> - None - - <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> - EmbeddedResource - - <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> - ApplicationDefinition - - <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> - Page - - <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> - Resource - - <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> - SplashScreen - - <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> - DesignData - - <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> - DesignDataWithDesignTimeCreatableTypes - - <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> - CodeAnalysisDictionary - - <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> - AndroidAsset - - <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> - AndroidResource - - <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> - BundleResource - - - + --> + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + +--> +--> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.301.CSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.301.CSharp.xml index 9f6c053..9e5f594 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.301.CSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.301.CSharp.xml @@ -1,6 +1,6 @@ @@ -9,7 +9,7 @@ This import was added implicitly because the Project element's Sdk attribute specified "Microsoft.NET.Sdk". -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> true + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + $(ProjectExtensionsPathForSpecifiedProject) @@ -213,14 +251,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> + + + true + Library @@ -287,7 +333,17 @@ Copyright (c) .NET Foundation. All rights reserved. ARM + + arm64 + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + portable @@ -299,8 +355,6 @@ Copyright (c) .NET Foundation. All rights reserved. cause the right thing to happen even if there aren't any PackageReference items in the project, such as when a project targets .NET Framework and doesn't have any direct package dependencies. --> PackageReference - - {CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName} $(AssemblySearchPaths) false false @@ -312,7 +366,7 @@ Copyright (c) .NET Foundation. All rights reserved. false false true - 1.0.2 + 1.0.3 false true true @@ -328,7 +382,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props ============================================================================================================================================ --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + - - - + + + - - - - - - + + + + + + + + - - - - - + + + + + + + + + + + + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> - - - $(BundledRuntimeIdentifierGraphFile) - false @@ -490,12 +584,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + @@ -538,7 +634,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props ============================================================================================================================================ --> @@ -594,6 +696,7 @@ Copyright (c) .NET Foundation. All rights reserved. + @@ -603,7 +706,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props ============================================================================================================================================ --> @@ -611,7 +714,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props ============================================================================================================================================ --> @@ -643,7 +746,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props ============================================================================================================================================ --> - 4 - 1701;1702 - - $(WarningsAsErrors);NU1605 + + true + <_SourceLinkPropsImported>true - - $(DefineConstants); - $(DefineConstants)TRACE + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll - - - - - - - - - - - - + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + + + + + - + + + + + - - true - $(MSBuildThisFileDirectory)..\tools\net6.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll - + + + + + + + + + + + + - - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.Compatibility.dll - $(MSBuildThisFileDirectory)..\tools\net6.0\Microsoft.DotNet.Compatibility.dll + + + 1701;1702 + + $(WarningsAsErrors);NU1605 + + + $(DefineConstants); + $(DefineConstants)TRACE + + + + + + + + + + + + - - + + MSBuild:Compile $(DefaultXamlRuntime) + Designer - - MSBuild:Compile - $(DefaultXamlRuntime) - - + MSBuild:Compile $(DefaultXamlRuntime) + Designer + + + + + - - - Debug AnyCPU $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - @@ -1324,7 +1436,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportPublishProfile.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportPublishProfile.targets ============================================================================================================================================ --> @@ -1463,12 +1578,23 @@ Copyright (c) .NET Foundation. All rights reserved. true + true - + + - + + + + + + + + + + - + + true + + + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - - - - true - + + - true - - - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + true + true - - - - true - - false - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - - - - + - - + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ + + + - - - - - - + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** + + + + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + + + + + + true + + false + + + + + + + + + + + + + + + + @@ -1829,7 +2130,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets ============================================================================================================================================ --> @@ -1859,7 +2160,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets ============================================================================================================================================ --> + + true + + + + $(PublishSelfContained) + + + + true + $(NETCoreSdkPortableRuntimeIdentifier) + + $(PublishRuntimeIdentifier) + <_UsingDefaultPlatformTarget>true @@ -1975,7 +2299,8 @@ Copyright (c) .NET Foundation. All rights reserved. <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - true + + true false <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true @@ -1995,14 +2320,22 @@ Copyright (c) .NET Foundation. All rights reserved. $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - + + + + + + + - + + @@ -2010,6 +2343,12 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + false + + @@ -2035,8 +2374,8 @@ Copyright (c) .NET Foundation. All rights reserved. append a RID the user never mentioned in the path and do so even in the AnyCPU case. --> - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ @@ -2060,7 +2399,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets ============================================================================================================================================ --> - true + true + true - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0" /> + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + @@ -2125,8 +2468,9 @@ Copyright (c) .NET Foundation. All rights reserved. $(PreserveCompilationContext) - - + + publish $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ @@ -2140,7 +2484,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets ============================================================================================================================================ --> @@ -2189,9 +2533,6 @@ Copyright (c) .NET Foundation. All rights reserved. <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> @@ -2204,7 +2545,7 @@ Copyright (c) .NET Foundation. All rights reserved. false - $(AssetTargetFallback);net461;net462;net47;net471;net472;net48 + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 @@ -2246,11 +2587,21 @@ Copyright (c) .NET Foundation. All rights reserved. <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + - + $(DefineConstants);@(_ImplicitDefineConstant) $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') @@ -2284,7 +2635,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -8661,7 +9012,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -8669,7 +9020,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> $(MSBuildThisFileDirectory)..\tools\ - net6.0 + net8.0 net472 $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll @@ -8741,15 +9092,18 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> + + true + - + + - @@ -8944,12 +9298,14 @@ Copyright (c) .NET Foundation. All rights reserved. - + + + @@ -8960,7 +9316,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> @@ -8976,12 +9339,7 @@ Copyright (c) .NET Foundation. All rights reserved. that's consumable by an IDE to display package dependencies. ============================================================ --> - - - - - - + @@ -9129,7 +9487,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets ============================================================================================================================================ --> - $(DefaultItemExcludesInProjectFolder);**/.*/** + that are in the project folder. Support both DefaultItemExcludesInProjectFolder and DefaultExcludesInProjectFolder + properties because of a naming mistake. --> + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + + true + + + + + - + @@ -9492,19 +9862,23 @@ Copyright (c) .NET Foundation. All rights reserved. <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - + + + + + $(RuntimeIdentifier) $(DefaultAppHostRuntimeIdentifier) - + @@ -9525,6 +9899,11 @@ Copyright (c) .NET Foundation. All rights reserved. + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + - + @@ -9725,7 +10119,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -9736,7 +10130,6 @@ Copyright (c) .NET Foundation. All rights reserved. $(_IsNETCoreOrNETStandard) - true true false true @@ -9745,12 +10138,32 @@ Copyright (c) .NET Foundation. All rights reserved. true <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json + + + true @@ -9769,7 +10182,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets ============================================================================================================================================ --> @@ -9851,6 +10264,15 @@ Copyright (c) .NET Foundation. All rights reserved. true + + true + + + + false + true + @@ -9873,6 +10295,47 @@ Copyright (c) .NET Foundation. All rights reserved. false + + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + _CheckForBuildWithNoBuild; @@ -9893,6 +10356,15 @@ Copyright (c) .NET Foundation. All rights reserved. $(RebuildDependsOn) + + + + + + + @@ -9918,7 +10390,14 @@ Copyright (c) .NET Foundation. All rights reserved. - + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + @@ -10020,11 +10499,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + + @@ -10032,18 +10514,25 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + - + + + + - - - - - + + + + + + + + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - - - - - - false - - - - false - - - - false +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation - - + + + + + + + + + - - - + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - - - - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + - + @@ -10535,20 +11497,22 @@ Copyright (c) .NET Foundation. All rights reserved. --> <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + true + true false true false @@ -11335,7 +12313,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -11344,7 +12322,7 @@ Copyright (c) .NET Foundation. All rights reserved. - $(MSBuildThisFileDirectory)..\tasks\net6.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - + + + + + + + @@ -11414,7 +12398,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -11427,7 +12411,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================ --> - + @@ -11447,7 +12431,7 @@ Copyright (c) .NET Foundation. All rights reserved. Emit native symbols for ReadyToRun images in the _ReadyToRunSymbolsCompileList list ============================================================ --> - + @@ -11464,14 +12448,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -11526,14 +12510,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> + + + true + true + Always + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + - + + + + + + + + @@ -11614,6 +12619,10 @@ Copyright (c) .NET Foundation. All rights reserved. + + + $(PublishDir)\ @@ -11736,7 +12745,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -11767,6 +12776,16 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================ --> + + true true @@ -11793,7 +12812,7 @@ Copyright (c) .NET Foundation. All rights reserved. PreserveNewest - + $(ProjectRuntimeConfigFileName) PreserveNewest @@ -12121,8 +13140,27 @@ Copyright (c) .NET Foundation. All rights reserved. $(PublishedSingleFileName) + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + - + false false @@ -12139,19 +13177,50 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + - + - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) @@ -12165,7 +13234,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - + $(ProjectDepsFileName) @@ -12241,14 +13310,14 @@ Copyright (c) .NET Foundation. All rights reserved. Block unsupported language and feature combination. ============================================================ --> - + @@ -12256,7 +13325,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets ============================================================================================================================================ --> + + @@ -12383,14 +13469,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -12825,14 +13911,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> - - - - - + BinaryFormatter infrastructure is obsolete as error in 7.0+. + When https://github.com/Microsoft/visualfsharp/issues/3207 is fixed, + remove the block below and move it into the shared .targets file. + --> - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore + $(WarningsAsErrors);SYSLIB0011 - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - - - - false - false - false - false - false - false - false - false - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - - $(NoWarn);IL2026 - - $(NoWarn);IL2041;IL2042;IL2043;IL2056 - - $(NoWarn);IL2045 - - $(NoWarn);IL2046 - - $(NoWarn);IL2050 - - $(NoWarn);IL2032;IL2055;IL2057;IL2058;IL2059;IL2060;IL2061;IL2096 - - $(NoWarn);IL2062;IL2063;IL2064;IL2065;IL2066 - - $(NoWarn);IL2067;IL2068;IL2069;IL2070;IL2071;IL2072;IL2073;IL2074;IL2075;IL2076;IL2077;IL2078;IL2079;IL2080;IL2081;IL2082;IL2083;IL2084;IL2085;IL2086;IL2087;IL2088;IL2089;IL2090;IL2091 - - $(NoWarn);IL2092;IL2093;IL2094;IL2095 - - $(NoWarn);IL2097;IL2098;IL2099;IL2106 - - $(NoWarn);IL2103 - - $(NoWarn);IL2107 - - $(NoWarn);IL2109 - - $(NoWarn);IL2110;IL2111;IL2114;IL2115 - - $(NoWarn);IL2112;IL2113 - - - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - - - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - - - - - - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - - - - - - - 5 - 0 - - - - copyused - - $(TrimMode) - - - link - - copy - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - - - - $(TrimMode) - - - $(TrimmerDefaultAction) - - - - - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - - - - - - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - + + + + - - 5.0 - - latest + + <_NoneAnalysisLevel>4.0 + + <_LatestAnalysisLevel>8.0 + <_PreviewAnalysisLevel>9.0 + latest + $(_TargetFrameworkVersionWithoutV) - 4.0 - 6.0 - 7.0 + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) $(AnalysisLevelPrefix) $(AnalysisLevel) + + + + 9999 + + 4 + + $(_TargetFrameworkVersionWithoutV.Substring(0, 1)) true - true + true - true - - 5 - - - - 6 + true + + true + + false - + + false - false - - 9999 + false + false + false - <_NETAnalyzersSDKAssemblyVersion>6.0.0 + <_NETAnalyzersSDKAssemblyVersion>8.0.0 - CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1401;CA1416;CA1417;CA1418;CA1419;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2100;CA2101;CA2109;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2229;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 - $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) + CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1510;CA1511;CA1512;CA1513;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA1856;CA1857;CA1858;CA1859;CA1860;CA1861;CA1862;CA1863;CA1864;CA1865;CA1866;CA1867;CA1868;CA1869;CA1870;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2021;CA2100;CA2101;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2261;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 + $(CodeAnalysisTreatWarningsAsErrors) + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) - @@ -13283,15 +14099,17 @@ Copyright (c) .NET Foundation. All rights reserved. - - - - + + + @@ -13311,7 +14129,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -13330,7 +14148,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets ============================================================================================================================================ --> - + true @@ -13391,7 +14209,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> - - + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll + + + - - - - - _GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - + + + + + $(RoslynTargetsPath) <_packageReferenceList>@(PackageReference) + are on the same directory as Microsoft.CodeAnalysis. So there is no need to distinguish between csproj or vbproj. --> $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + $(PackageId) $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - false - <_compatibilitySuppressionFilePath>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - $(_compatibilitySuppressionFilePath) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + - + + + - - <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' != 'true'">_GetReferencePathForPackageValidation - <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' == 'true'">_ComputeTargetFrameworkItems - - + - <_ReferencePathWithTargetFramework Include="@(ReferencePath)" TargetFramework="$(TargetFramework)" /> + + $(TargetPlatformMoniker) + - - + + + - - - + @@ -13501,7 +14391,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets ============================================================================================================================================ --> - + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> @@ -13664,7 +14554,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.301.FSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.301.FSharp.xml index 4500d57..2e8f0e0 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.301.FSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.301.FSharp.xml @@ -1,6 +1,6 @@ @@ -9,7 +9,7 @@ This import was added implicitly because the Project element's Sdk attribute specified "Microsoft.NET.Sdk". -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> true + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + $(ProjectExtensionsPathForSpecifiedProject) @@ -213,14 +251,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> + + + true + Library @@ -287,7 +333,17 @@ Copyright (c) .NET Foundation. All rights reserved. ARM + + arm64 + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + portable @@ -299,8 +355,6 @@ Copyright (c) .NET Foundation. All rights reserved. cause the right thing to happen even if there aren't any PackageReference items in the project, such as when a project targets .NET Framework and doesn't have any direct package dependencies. --> PackageReference - - {CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName} $(AssemblySearchPaths) false false @@ -312,7 +366,7 @@ Copyright (c) .NET Foundation. All rights reserved. false false true - 1.0.2 + 1.0.3 false true true @@ -328,7 +382,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props ============================================================================================================================================ --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + - - - + + + - - - - - - + + + + + + + + - - - - - + + + + + + + + + + + + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> - - - $(BundledRuntimeIdentifierGraphFile) - false @@ -490,12 +584,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + @@ -538,7 +634,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props ============================================================================================================================================ --> @@ -594,6 +696,7 @@ Copyright (c) .NET Foundation. All rights reserved. + @@ -603,7 +706,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props ============================================================================================================================================ --> @@ -611,7 +714,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props ============================================================================================================================================ --> @@ -643,7 +746,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props ============================================================================================================================================ --> + + + + + true + <_SourceLinkPropsImported>true + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + + + + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -682,7 +940,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.props ============================================================================================================================================ --> - - false - - - - - - - - - - - true - $(MSBuildThisFileDirectory)..\tools\net6.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll - - - - - - - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.Compatibility.dll - $(MSBuildThisFileDirectory)..\tools\net6.0\Microsoft.DotNet.Compatibility.dll - - - + + MSBuild:Compile $(DefaultXamlRuntime) + Designer - - MSBuild:Compile - $(DefaultXamlRuntime) - - + MSBuild:Compile $(DefaultXamlRuntime) + Designer + + + + + - - - Debug AnyCPU $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - $(OutputPath) - - @@ -1452,7 +1562,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportPublishProfile.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportPublishProfile.targets ============================================================================================================================================ --> @@ -1591,12 +1704,23 @@ Copyright (c) .NET Foundation. All rights reserved. true + true - + + - + + + + + + + + + + - + + true + + + + + - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** + true + true + + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ - - true + + + + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + @@ -1695,9 +1997,6 @@ Copyright (c) .NET Foundation. All rights reserved. false - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - @@ -1987,7 +2286,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets ============================================================================================================================================ --> + + true + + + + $(PublishSelfContained) + + + + true + $(NETCoreSdkPortableRuntimeIdentifier) + + $(PublishRuntimeIdentifier) + <_UsingDefaultPlatformTarget>true @@ -2103,7 +2425,8 @@ Copyright (c) .NET Foundation. All rights reserved. <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - true + + true false <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true @@ -2123,14 +2446,22 @@ Copyright (c) .NET Foundation. All rights reserved. $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - + + + + + + + - + + @@ -2138,6 +2469,12 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + false + + @@ -2163,8 +2500,8 @@ Copyright (c) .NET Foundation. All rights reserved. append a RID the user never mentioned in the path and do so even in the AnyCPU case. --> - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ @@ -2188,7 +2525,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets ============================================================================================================================================ --> - true + true + true - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0" /> + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + @@ -2253,8 +2594,9 @@ Copyright (c) .NET Foundation. All rights reserved. $(PreserveCompilationContext) - - + + publish $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ @@ -2268,7 +2610,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets ============================================================================================================================================ --> @@ -2317,9 +2659,6 @@ Copyright (c) .NET Foundation. All rights reserved. <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> @@ -2332,7 +2671,7 @@ Copyright (c) .NET Foundation. All rights reserved. false - $(AssetTargetFallback);net461;net462;net47;net471;net472;net48 + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 @@ -2374,11 +2713,21 @@ Copyright (c) .NET Foundation. All rights reserved. <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + @(_DefineConstantsWithoutTrace) + - + $(DefineConstants);@(_ImplicitDefineConstant) $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') @@ -2412,7 +2761,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -2430,7 +2779,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets ============================================================================================================================================ --> @@ -8648,7 +8997,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets ============================================================================================================================================ --> @@ -8731,7 +9080,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> $(MSBuildThisFileDirectory)..\tools\ - net6.0 + net8.0 net472 $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll @@ -8803,15 +9152,18 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> + + true + - + + - @@ -9006,12 +9358,14 @@ Copyright (c) .NET Foundation. All rights reserved. - + + + @@ -9022,7 +9376,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> @@ -9038,12 +9399,7 @@ Copyright (c) .NET Foundation. All rights reserved. that's consumable by an IDE to display package dependencies. ============================================================ --> - - - - - - + @@ -9191,7 +9547,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets ============================================================================================================================================ --> - $(DefaultItemExcludesInProjectFolder);**/.*/** + that are in the project folder. Support both DefaultItemExcludesInProjectFolder and DefaultExcludesInProjectFolder + properties because of a naming mistake. --> + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + + true + + + + + - + @@ -9554,19 +9922,23 @@ Copyright (c) .NET Foundation. All rights reserved. <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - + + + + + $(RuntimeIdentifier) $(DefaultAppHostRuntimeIdentifier) - + @@ -9587,6 +9959,11 @@ Copyright (c) .NET Foundation. All rights reserved. + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + - + @@ -9787,7 +10179,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -9798,7 +10190,6 @@ Copyright (c) .NET Foundation. All rights reserved. $(_IsNETCoreOrNETStandard) - true true false true @@ -9807,12 +10198,32 @@ Copyright (c) .NET Foundation. All rights reserved. true <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json + + + true @@ -9831,7 +10242,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets ============================================================================================================================================ --> @@ -9913,6 +10324,15 @@ Copyright (c) .NET Foundation. All rights reserved. true + + true + + + + false + true + @@ -9935,6 +10355,47 @@ Copyright (c) .NET Foundation. All rights reserved. false + + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + _CheckForBuildWithNoBuild; @@ -9955,6 +10416,15 @@ Copyright (c) .NET Foundation. All rights reserved. $(RebuildDependsOn) + + + + + + + @@ -9980,7 +10450,14 @@ Copyright (c) .NET Foundation. All rights reserved. - + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + @@ -10082,11 +10559,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + + @@ -10094,18 +10574,25 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + - + + + + - - - - - - - - false + ============================================================ + ValidateExecutableReferences + ============================================================ + --> + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll - - - false + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation - - - false + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation - - + + + + + + + + + - - - + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - - - - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + - + @@ -10597,20 +11557,22 @@ Copyright (c) .NET Foundation. All rights reserved. --> <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + @@ -10802,7 +11777,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.GenerateSupportedRuntime.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.GenerateSupportedRuntime.targets ============================================================================================================================================ --> true + true false true false @@ -11342,7 +12318,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -11351,7 +12327,7 @@ Copyright (c) .NET Foundation. All rights reserved. - $(MSBuildThisFileDirectory)..\tasks\net6.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - + + + + + + + @@ -11421,7 +12403,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -11434,7 +12416,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================ --> - + @@ -11454,7 +12436,7 @@ Copyright (c) .NET Foundation. All rights reserved. Emit native symbols for ReadyToRun images in the _ReadyToRunSymbolsCompileList list ============================================================ --> - + @@ -11471,14 +12453,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -11533,14 +12515,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> + + + true + true + Always + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + - + + + + + + + + @@ -11621,6 +12624,10 @@ Copyright (c) .NET Foundation. All rights reserved. + + + $(PublishDir)\ @@ -11743,7 +12750,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -11774,6 +12781,16 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================ --> + + true true @@ -11800,7 +12817,7 @@ Copyright (c) .NET Foundation. All rights reserved. PreserveNewest - + $(ProjectRuntimeConfigFileName) PreserveNewest @@ -12128,8 +13145,27 @@ Copyright (c) .NET Foundation. All rights reserved. $(PublishedSingleFileName) + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + - + false false @@ -12146,19 +13182,50 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + - + - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) @@ -12172,7 +13239,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - + $(ProjectDepsFileName) @@ -12248,14 +13315,14 @@ Copyright (c) .NET Foundation. All rights reserved. Block unsupported language and feature combination. ============================================================ --> - + @@ -12263,7 +13330,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets ============================================================================================================================================ --> + + @@ -12390,14 +13474,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -12832,7 +13916,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -12841,7 +13925,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.targets ============================================================================================================================================ --> @@ -12911,299 +13995,11 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets -============================================================================================================================================ ---> - - - - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - - - - false - false - false - false - false - false - false - false - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - - $(NoWarn);IL2026 - - $(NoWarn);IL2041;IL2042;IL2043;IL2056 - - $(NoWarn);IL2045 - - $(NoWarn);IL2046 - - $(NoWarn);IL2050 - - $(NoWarn);IL2032;IL2055;IL2057;IL2058;IL2059;IL2060;IL2061;IL2096 - - $(NoWarn);IL2062;IL2063;IL2064;IL2065;IL2066 - - $(NoWarn);IL2067;IL2068;IL2069;IL2070;IL2071;IL2072;IL2073;IL2074;IL2075;IL2076;IL2077;IL2078;IL2079;IL2080;IL2081;IL2082;IL2083;IL2084;IL2085;IL2086;IL2087;IL2088;IL2089;IL2090;IL2091 - - $(NoWarn);IL2092;IL2093;IL2094;IL2095 - - $(NoWarn);IL2097;IL2098;IL2099;IL2106 - - $(NoWarn);IL2103 - - $(NoWarn);IL2107 - - $(NoWarn);IL2109 - - $(NoWarn);IL2110;IL2111;IL2114;IL2115 - - $(NoWarn);IL2112;IL2113 - - - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - - - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - - - - - - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - - - - - - - 5 - 0 - - - - copyused - - $(TrimMode) - - - link - - copy - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - - - - $(TrimMode) - - - $(TrimmerDefaultAction) - - - - - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - - - - - - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - + + @@ -13221,7 +14017,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets ============================================================================================================================================ --> - + true @@ -13282,7 +14078,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> - - + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll + + + - - - - - _GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - + + + + + $(RoslynTargetsPath) <_packageReferenceList>@(PackageReference) + are on the same directory as Microsoft.CodeAnalysis. So there is no need to distinguish between csproj or vbproj. --> $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + $(PackageId) $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - false - <_compatibilitySuppressionFilePath>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - $(_compatibilitySuppressionFilePath) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + - + + + - - <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' != 'true'">_GetReferencePathForPackageValidation - <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' == 'true'">_ComputeTargetFrameworkItems - - + - <_ReferencePathWithTargetFramework Include="@(ReferencePath)" TargetFramework="$(TargetFramework)" /> + + $(TargetPlatformMoniker) + - - + + + - - - + @@ -13392,7 +14260,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.301/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets ============================================================================================================================================ --> - + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> @@ -13555,7 +14423,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.408.CSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.408.CSharp.xml index b4b1a23..8ec7a42 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.408.CSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.408.CSharp.xml @@ -1,6 +1,6 @@ @@ -9,7 +9,7 @@ This import was added implicitly because the Project element's Sdk attribute specified "Microsoft.NET.Sdk". -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> true + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + $(ProjectExtensionsPathForSpecifiedProject) @@ -214,14 +252,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> + + + true + Library @@ -292,6 +338,13 @@ Copyright (c) .NET Foundation. All rights reserved. arm64 + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + portable @@ -303,8 +356,6 @@ Copyright (c) .NET Foundation. All rights reserved. cause the right thing to happen even if there aren't any PackageReference items in the project, such as when a project targets .NET Framework and doesn't have any direct package dependencies. --> PackageReference - - {CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName} $(AssemblySearchPaths) false false @@ -316,7 +367,7 @@ Copyright (c) .NET Foundation. All rights reserved. false false true - 1.0.2 + 1.0.3 false true true @@ -332,7 +383,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props ============================================================================================================================================ --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + - - - + + + + @@ -425,18 +512,19 @@ Copyright (c) .NET Foundation. All rights reserved. + - - - - - - + + + + + + @@ -444,19 +532,16 @@ Copyright (c) .NET Foundation. All rights reserved. + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> - - - $(BundledRuntimeIdentifierGraphFile) - false @@ -500,12 +585,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + @@ -548,7 +635,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props ============================================================================================================================================ --> @@ -614,7 +707,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props ============================================================================================================================================ --> @@ -622,7 +715,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props ============================================================================================================================================ --> @@ -654,7 +747,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props ============================================================================================================================================ --> - 4 - 1701;1702 - - $(WarningsAsErrors);NU1605 + + true + <_SourceLinkPropsImported>true - - $(DefineConstants); - $(DefineConstants)TRACE + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll - - - - - - - - - - - - + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + + + + + - + + + + + - - true - $(MSBuildThisFileDirectory)..\tools\net6.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll - + + + + + + + + + + + + - - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.Compatibility.dll - $(MSBuildThisFileDirectory)..\tools\net6.0\Microsoft.DotNet.Compatibility.dll + + + 1701;1702 + + $(WarningsAsErrors);NU1605 + + + $(DefineConstants); + $(DefineConstants)TRACE + + + + + + + + + + + + - - - MSBuild:Compile - $(DefaultXamlRuntime) - - + + MSBuild:Compile $(DefaultXamlRuntime) + Designer - + MSBuild:Compile $(DefaultXamlRuntime) + Designer + + + + + - - - Debug AnyCPU $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - @@ -1335,7 +1437,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportPublishProfile.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportPublishProfile.targets ============================================================================================================================================ --> @@ -1474,12 +1579,23 @@ Copyright (c) .NET Foundation. All rights reserved. true + true - + + - + + + + + + + + + + - + + true + + + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - - - - true - + + - true - - - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + true + true - - - - true - - false - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - - - - + - - + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ + + - - - - + It would look something like this: + + + true + + --> + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** + + + + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + + + + + + true + + false + + + + + + + + + + + + + + + @@ -1870,7 +2161,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets ============================================================================================================================================ --> + + true + + + + $(PublishSelfContained) + + + + true + $(NETCoreSdkPortableRuntimeIdentifier) + + $(PublishRuntimeIdentifier) + <_UsingDefaultPlatformTarget>true @@ -1986,7 +2300,8 @@ Copyright (c) .NET Foundation. All rights reserved. <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - true + + true false <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true @@ -2006,14 +2321,22 @@ Copyright (c) .NET Foundation. All rights reserved. $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - + + + + + + + - + + @@ -2021,6 +2344,12 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + false + + @@ -2046,8 +2375,8 @@ Copyright (c) .NET Foundation. All rights reserved. append a RID the user never mentioned in the path and do so even in the AnyCPU case. --> - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ @@ -2071,7 +2400,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets ============================================================================================================================================ --> - true + true + true - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;5.0" /> + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + @@ -2136,8 +2469,9 @@ Copyright (c) .NET Foundation. All rights reserved. $(PreserveCompilationContext) - - + + publish $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ @@ -2151,7 +2485,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets ============================================================================================================================================ --> @@ -2200,9 +2534,6 @@ Copyright (c) .NET Foundation. All rights reserved. <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> @@ -2257,11 +2588,21 @@ Copyright (c) .NET Foundation. All rights reserved. <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + - + $(DefineConstants);@(_ImplicitDefineConstant) $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') @@ -2295,7 +2636,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -8740,7 +9081,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -8748,7 +9089,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> $(MSBuildThisFileDirectory)..\tools\ - net6.0 + net8.0 net472 $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll @@ -8820,15 +9161,18 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> + + true + - + + - @@ -9023,12 +9367,14 @@ Copyright (c) .NET Foundation. All rights reserved. - + + + @@ -9039,7 +9385,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> @@ -9055,12 +9408,7 @@ Copyright (c) .NET Foundation. All rights reserved. that's consumable by an IDE to display package dependencies. ============================================================ --> - - - - - - + @@ -9208,7 +9556,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets ============================================================================================================================================ --> - $(DefaultItemExcludesInProjectFolder);**/.*/** + that are in the project folder. Support both DefaultItemExcludesInProjectFolder and DefaultExcludesInProjectFolder + properties because of a naming mistake. --> + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + + true + + + + + - + @@ -9571,19 +9931,23 @@ Copyright (c) .NET Foundation. All rights reserved. <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - + + + + + $(RuntimeIdentifier) $(DefaultAppHostRuntimeIdentifier) - + @@ -9604,6 +9968,11 @@ Copyright (c) .NET Foundation. All rights reserved. + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + @@ -9815,7 +10199,6 @@ Copyright (c) .NET Foundation. All rights reserved. $(_IsNETCoreOrNETStandard) - true true false true @@ -9824,12 +10207,32 @@ Copyright (c) .NET Foundation. All rights reserved. true <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json + + + true @@ -9848,7 +10251,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets ============================================================================================================================================ --> @@ -9930,6 +10333,15 @@ Copyright (c) .NET Foundation. All rights reserved. true + + true + + + + false + true + @@ -9953,8 +10365,45 @@ Copyright (c) .NET Foundation. All rights reserved. false - - false + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false @@ -9976,6 +10425,15 @@ Copyright (c) .NET Foundation. All rights reserved. $(RebuildDependsOn) + + + + + + + @@ -10001,7 +10459,14 @@ Copyright (c) .NET Foundation. All rights reserved. - + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + @@ -10103,11 +10568,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + + @@ -10115,18 +10583,25 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + - + + + + - - - - - + + + + + + + + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - - - - - - false - - - - false - - - - false +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation - - + + + + + + + + + - - - + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - - - - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + - + @@ -10618,20 +11566,22 @@ Copyright (c) .NET Foundation. All rights reserved. --> <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + true + true false true false @@ -11427,7 +12391,7 @@ Copyright (c) .NET Foundation. All rights reserved. - $(MSBuildThisFileDirectory)..\tasks\net6.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - + + + + + + + @@ -11497,7 +12467,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -11547,14 +12517,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -11609,14 +12579,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> + + + true + true + Always + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + - + + + + + + + + @@ -11697,6 +12688,10 @@ Copyright (c) .NET Foundation. All rights reserved. + + + $(PublishDir)\ @@ -11819,7 +12814,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -11850,6 +12845,16 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================ --> + + true true @@ -11876,7 +12881,7 @@ Copyright (c) .NET Foundation. All rights reserved. PreserveNewest - + $(ProjectRuntimeConfigFileName) PreserveNewest @@ -12204,8 +13209,27 @@ Copyright (c) .NET Foundation. All rights reserved. $(PublishedSingleFileName) + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + - + false false @@ -12222,19 +13246,50 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + - + - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) @@ -12248,7 +13303,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - + $(ProjectDepsFileName) @@ -12324,14 +13379,14 @@ Copyright (c) .NET Foundation. All rights reserved. Block unsupported language and feature combination. ============================================================ --> - + @@ -12339,7 +13394,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets ============================================================================================================================================ --> + + @@ -12466,14 +13538,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -12908,14 +13980,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> - - - - - + BinaryFormatter infrastructure is obsolete as error in 7.0+. + When https://github.com/Microsoft/visualfsharp/issues/3207 is fixed, + remove the block below and move it into the shared .targets file. + --> - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore + $(WarningsAsErrors);SYSLIB0011 - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - - - - false - false - false - false - false - false - false - false - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - - $(NoWarn);IL2026 - - $(NoWarn);IL2041;IL2042;IL2043;IL2056 - - $(NoWarn);IL2045 - - $(NoWarn);IL2046 - - $(NoWarn);IL2050 - - $(NoWarn);IL2032;IL2055;IL2057;IL2058;IL2059;IL2060;IL2061;IL2096 - - $(NoWarn);IL2062;IL2063;IL2064;IL2065;IL2066 - - $(NoWarn);IL2067;IL2068;IL2069;IL2070;IL2071;IL2072;IL2073;IL2074;IL2075;IL2076;IL2077;IL2078;IL2079;IL2080;IL2081;IL2082;IL2083;IL2084;IL2085;IL2086;IL2087;IL2088;IL2089;IL2090;IL2091 - - $(NoWarn);IL2092;IL2093;IL2094;IL2095 - - $(NoWarn);IL2097;IL2098;IL2099;IL2106 - - $(NoWarn);IL2103 - - $(NoWarn);IL2107 - - $(NoWarn);IL2109 - - $(NoWarn);IL2110;IL2111;IL2114;IL2115 - - $(NoWarn);IL2112;IL2113 - - - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - - - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - - - - - - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - - - - - - - 5 - 0 - - - - copyused - - $(TrimMode) - - - link - - copy - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - - - - $(TrimMode) - - - $(TrimmerDefaultAction) - - - - - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - - - - - - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - + + + + - - 5.0 - - latest + + <_NoneAnalysisLevel>4.0 + + <_LatestAnalysisLevel>8.0 + <_PreviewAnalysisLevel>9.0 + latest + $(_TargetFrameworkVersionWithoutV) - 4.0 - 6.0 - 7.0 + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) $(AnalysisLevelPrefix) $(AnalysisLevel) + + + + 9999 + + 4 + + $(_TargetFrameworkVersionWithoutV.Substring(0, 1)) true - true + true - true - - 5 - - - - 6 + true + + true + + false - + + false - false - - 9999 + false + false + false - <_NETAnalyzersSDKAssemblyVersion>6.0.0 + <_NETAnalyzersSDKAssemblyVersion>8.0.0 - CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1401;CA1416;CA1417;CA1418;CA1419;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2100;CA2101;CA2109;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2229;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 - $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) + CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1510;CA1511;CA1512;CA1513;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA1856;CA1857;CA1858;CA1859;CA1860;CA1861;CA1862;CA1863;CA1864;CA1865;CA1866;CA1867;CA1868;CA1869;CA1870;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2021;CA2100;CA2101;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2261;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 + $(CodeAnalysisTreatWarningsAsErrors) + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) - @@ -13366,15 +14168,17 @@ Copyright (c) .NET Foundation. All rights reserved. - - - - + + + @@ -13394,7 +14198,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -13413,7 +14217,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets ============================================================================================================================================ --> - + true @@ -13474,7 +14278,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> - - + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll + + + - - - - - _GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - + + + + + $(RoslynTargetsPath) <_packageReferenceList>@(PackageReference) + are on the same directory as Microsoft.CodeAnalysis. So there is no need to distinguish between csproj or vbproj. --> $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + $(PackageId) $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - false - <_compatibilitySuppressionFilePath>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - $(_compatibilitySuppressionFilePath) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + - + + + - - <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' != 'true'">_GetReferencePathForPackageValidation - <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' == 'true'">_ComputeTargetFrameworkItems - - + - <_ReferencePathWithTargetFramework Include="@(ReferencePath)" TargetFramework="$(TargetFramework)" /> + + $(TargetPlatformMoniker) + - - + + + - - - + @@ -13584,7 +14460,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets ============================================================================================================================================ --> - + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> @@ -13747,7 +14623,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.408.FSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.408.FSharp.xml index 2df8121..a2239d0 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.408.FSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.408.FSharp.xml @@ -1,6 +1,6 @@ @@ -9,7 +9,7 @@ This import was added implicitly because the Project element's Sdk attribute specified "Microsoft.NET.Sdk". -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> true + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + $(ProjectExtensionsPathForSpecifiedProject) @@ -214,14 +252,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> + + + true + Library @@ -292,6 +338,13 @@ Copyright (c) .NET Foundation. All rights reserved. arm64 + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + portable @@ -303,8 +356,6 @@ Copyright (c) .NET Foundation. All rights reserved. cause the right thing to happen even if there aren't any PackageReference items in the project, such as when a project targets .NET Framework and doesn't have any direct package dependencies. --> PackageReference - - {CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName} $(AssemblySearchPaths) false false @@ -316,7 +367,7 @@ Copyright (c) .NET Foundation. All rights reserved. false false true - 1.0.2 + 1.0.3 false true true @@ -332,7 +383,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props ============================================================================================================================================ --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + - - - + + + + @@ -425,18 +512,19 @@ Copyright (c) .NET Foundation. All rights reserved. + - - - - - - + + + + + + @@ -444,19 +532,16 @@ Copyright (c) .NET Foundation. All rights reserved. + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> - - - $(BundledRuntimeIdentifierGraphFile) - false @@ -500,12 +585,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + @@ -548,7 +635,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props ============================================================================================================================================ --> @@ -614,7 +707,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props ============================================================================================================================================ --> @@ -622,7 +715,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props ============================================================================================================================================ --> @@ -654,7 +747,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props ============================================================================================================================================ --> + + + + + true + <_SourceLinkPropsImported>true + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + + + + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -693,7 +941,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.props ============================================================================================================================================ --> - - false - - - - - - - - - - true - $(MSBuildThisFileDirectory)..\tools\net6.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll - - - - - - - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.Compatibility.dll - $(MSBuildThisFileDirectory)..\tools\net6.0\Microsoft.DotNet.Compatibility.dll - - - - - MSBuild:Compile - $(DefaultXamlRuntime) - - + + MSBuild:Compile $(DefaultXamlRuntime) + Designer - + MSBuild:Compile $(DefaultXamlRuntime) + Designer + + + + + - - - Debug AnyCPU $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - $(OutputPath) - - @@ -1463,7 +1563,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportPublishProfile.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportPublishProfile.targets ============================================================================================================================================ --> @@ -1602,12 +1705,23 @@ Copyright (c) .NET Foundation. All rights reserved. true + true - + + - + + + + + + + + + + - + + true + + + + + - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** + true + true + + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ - - true + + + + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + @@ -1706,9 +1998,6 @@ Copyright (c) .NET Foundation. All rights reserved. false - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - @@ -1998,7 +2287,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets ============================================================================================================================================ --> + + true + + + + $(PublishSelfContained) + + + + true + $(NETCoreSdkPortableRuntimeIdentifier) + + $(PublishRuntimeIdentifier) + <_UsingDefaultPlatformTarget>true @@ -2114,7 +2426,8 @@ Copyright (c) .NET Foundation. All rights reserved. <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - true + + true false <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true @@ -2134,14 +2447,22 @@ Copyright (c) .NET Foundation. All rights reserved. $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - + + + + + + + - + + @@ -2149,6 +2470,12 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + false + + @@ -2174,8 +2501,8 @@ Copyright (c) .NET Foundation. All rights reserved. append a RID the user never mentioned in the path and do so even in the AnyCPU case. --> - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ @@ -2199,7 +2526,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets ============================================================================================================================================ --> - true + true + true - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;5.0" /> + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + @@ -2264,8 +2595,9 @@ Copyright (c) .NET Foundation. All rights reserved. $(PreserveCompilationContext) - - + + publish $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ @@ -2279,7 +2611,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets ============================================================================================================================================ --> @@ -2328,9 +2660,6 @@ Copyright (c) .NET Foundation. All rights reserved. <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> @@ -2385,11 +2714,21 @@ Copyright (c) .NET Foundation. All rights reserved. <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + @(_DefineConstantsWithoutTrace) + - + $(DefineConstants);@(_ImplicitDefineConstant) $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') @@ -2423,7 +2762,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -2441,7 +2780,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets ============================================================================================================================================ --> @@ -8689,7 +9028,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets ============================================================================================================================================ --> @@ -8772,7 +9111,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> $(MSBuildThisFileDirectory)..\tools\ - net6.0 + net8.0 net472 $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll @@ -8844,15 +9183,18 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> + + true + - + + - @@ -9047,12 +9389,14 @@ Copyright (c) .NET Foundation. All rights reserved. - + + + @@ -9063,7 +9407,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> @@ -9079,12 +9430,7 @@ Copyright (c) .NET Foundation. All rights reserved. that's consumable by an IDE to display package dependencies. ============================================================ --> - - - - - - + @@ -9232,7 +9578,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets ============================================================================================================================================ --> - $(DefaultItemExcludesInProjectFolder);**/.*/** + that are in the project folder. Support both DefaultItemExcludesInProjectFolder and DefaultExcludesInProjectFolder + properties because of a naming mistake. --> + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + + true + + + + + - + @@ -9595,19 +9953,23 @@ Copyright (c) .NET Foundation. All rights reserved. <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - + + + + + $(RuntimeIdentifier) $(DefaultAppHostRuntimeIdentifier) - + @@ -9628,6 +9990,11 @@ Copyright (c) .NET Foundation. All rights reserved. + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + @@ -9839,7 +10221,6 @@ Copyright (c) .NET Foundation. All rights reserved. $(_IsNETCoreOrNETStandard) - true true false true @@ -9848,12 +10229,32 @@ Copyright (c) .NET Foundation. All rights reserved. true <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json + + + true @@ -9872,7 +10273,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets ============================================================================================================================================ --> @@ -9954,6 +10355,15 @@ Copyright (c) .NET Foundation. All rights reserved. true + + true + + + + false + true + @@ -9977,8 +10387,45 @@ Copyright (c) .NET Foundation. All rights reserved. false - - false + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false @@ -10000,6 +10447,15 @@ Copyright (c) .NET Foundation. All rights reserved. $(RebuildDependsOn) + + + + + + + @@ -10025,7 +10481,14 @@ Copyright (c) .NET Foundation. All rights reserved. - + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + @@ -10127,11 +10590,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + + @@ -10139,18 +10605,25 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + - + + + + - - - - - - - - false + ============================================================ + ValidateExecutableReferences + ============================================================ + --> + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll - - - false + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation - - - false + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation - - + + + + + + + + + - - - + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - - - - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + - + @@ -10642,20 +11588,22 @@ Copyright (c) .NET Foundation. All rights reserved. --> <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + @@ -10847,7 +11808,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.GenerateSupportedRuntime.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.GenerateSupportedRuntime.targets ============================================================================================================================================ --> true + true false true false @@ -11396,7 +12358,7 @@ Copyright (c) .NET Foundation. All rights reserved. - $(MSBuildThisFileDirectory)..\tasks\net6.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - + + + + + + + @@ -11466,7 +12434,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -11516,14 +12484,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -11578,14 +12546,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> + + + true + true + Always + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + - + + + + + + + + @@ -11666,6 +12655,10 @@ Copyright (c) .NET Foundation. All rights reserved. + + + $(PublishDir)\ @@ -11788,7 +12781,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -11819,6 +12812,16 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================ --> + + true true @@ -11845,7 +12848,7 @@ Copyright (c) .NET Foundation. All rights reserved. PreserveNewest - + $(ProjectRuntimeConfigFileName) PreserveNewest @@ -12173,8 +13176,27 @@ Copyright (c) .NET Foundation. All rights reserved. $(PublishedSingleFileName) + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + - + false false @@ -12191,19 +13213,50 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + - + - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) @@ -12217,7 +13270,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - + $(ProjectDepsFileName) @@ -12293,14 +13346,14 @@ Copyright (c) .NET Foundation. All rights reserved. Block unsupported language and feature combination. ============================================================ --> - + @@ -12308,7 +13361,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets ============================================================================================================================================ --> + + @@ -12435,14 +13505,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -12877,7 +13947,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -12886,7 +13956,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.targets ============================================================================================================================================ --> @@ -12956,299 +14026,11 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets -============================================================================================================================================ ---> - - - - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - - - - false - false - false - false - false - false - false - false - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - - $(NoWarn);IL2026 - - $(NoWarn);IL2041;IL2042;IL2043;IL2056 - - $(NoWarn);IL2045 - - $(NoWarn);IL2046 - - $(NoWarn);IL2050 - - $(NoWarn);IL2032;IL2055;IL2057;IL2058;IL2059;IL2060;IL2061;IL2096 - - $(NoWarn);IL2062;IL2063;IL2064;IL2065;IL2066 - - $(NoWarn);IL2067;IL2068;IL2069;IL2070;IL2071;IL2072;IL2073;IL2074;IL2075;IL2076;IL2077;IL2078;IL2079;IL2080;IL2081;IL2082;IL2083;IL2084;IL2085;IL2086;IL2087;IL2088;IL2089;IL2090;IL2091 - - $(NoWarn);IL2092;IL2093;IL2094;IL2095 - - $(NoWarn);IL2097;IL2098;IL2099;IL2106 - - $(NoWarn);IL2103 - - $(NoWarn);IL2107 - - $(NoWarn);IL2109 - - $(NoWarn);IL2110;IL2111;IL2114;IL2115 - - $(NoWarn);IL2112;IL2113 - - - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - - - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - - - - - - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - - - - - - - 5 - 0 - - - - copyused - - $(TrimMode) - - - link - - copy - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - - - - $(TrimMode) - - - $(TrimmerDefaultAction) - - - - - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - - - - - - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - + + @@ -13266,7 +14048,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets ============================================================================================================================================ --> - + true @@ -13327,7 +14109,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> - - + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll + + + - - - - - _GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - + + + + + $(RoslynTargetsPath) <_packageReferenceList>@(PackageReference) + are on the same directory as Microsoft.CodeAnalysis. So there is no need to distinguish between csproj or vbproj. --> $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + $(PackageId) $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - false - <_compatibilitySuppressionFilePath>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - $(_compatibilitySuppressionFilePath) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + - + + + - - <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' != 'true'">_GetReferencePathForPackageValidation - <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' == 'true'">_ComputeTargetFrameworkItems - - + - <_ReferencePathWithTargetFramework Include="@(ReferencePath)" TargetFramework="$(TargetFramework)" /> + + $(TargetPlatformMoniker) + - - + + + - - - + @@ -13437,7 +14291,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/6.0.408/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets ============================================================================================================================================ --> - + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> @@ -13600,7 +14454,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.105.CSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.105.CSharp.xml index d7c9a49..8e65c36 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.105.CSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.105.CSharp.xml @@ -1,6 +1,6 @@ @@ -9,7 +9,7 @@ This import was added implicitly because the Project element's Sdk attribute specified "Microsoft.NET.Sdk". -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> true + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + $(ProjectExtensionsPathForSpecifiedProject) @@ -214,14 +252,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> + + + true + Library @@ -321,12 +367,10 @@ Copyright (c) .NET Foundation. All rights reserved. false false true - 1.0.2 + 1.0.3 false true true - false - true @@ -339,7 +383,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props ============================================================================================================================================ --> + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + - - - + + + + @@ -445,18 +512,19 @@ Copyright (c) .NET Foundation. All rights reserved. + - - - - - - + + + + + + @@ -464,19 +532,16 @@ Copyright (c) .NET Foundation. All rights reserved. + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> - - - $(BundledRuntimeIdentifierGraphFile) - false @@ -520,12 +585,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + @@ -568,7 +635,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props ============================================================================================================================================ --> @@ -635,7 +707,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props ============================================================================================================================================ --> @@ -643,7 +715,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props ============================================================================================================================================ --> @@ -675,7 +747,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props ============================================================================================================================================ --> - 1701;1702 - - $(WarningsAsErrors);NU1605 - - - $(DefineConstants); - $(DefineConstants)TRACE + + true + <_SourceLinkPropsImported>true - - - - - - - - - - + - - + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + - + - true + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true - + + + + + - - - $(MSBuildThisFileDirectory)Microsoft.DotNet.ILCompiler.SingleEntry.targets - + + + + + + + + + + + + + + + + + + - - - - $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.targets - - true - $(MSBuildThisFileDirectory)..\tools\net7.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll + + 1701;1702 + + $(WarningsAsErrors);NU1605 + + $(DefineConstants); + $(DefineConstants)TRACE + + + + + + + + + + + - + + @@ -1076,7 +1182,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.WindowsForms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.WindowsForms.props ============================================================================================================================================ --> - - - Debug AnyCPU $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - @@ -1379,7 +1437,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportPublishProfile.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportPublishProfile.targets ============================================================================================================================================ --> @@ -1518,12 +1579,23 @@ Copyright (c) .NET Foundation. All rights reserved. true + true - + + - + + + + + + + + + + - + + true + + + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - - - - true - + + true true - - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ - - - - - true - - false - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - - - - + - - + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ + + - - - - - - - - - - + It would look something like this: + + + true + + --> + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** + + + + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + + + + + + true + + false + + + + + + + + + + + + + + + + + + + + + @@ -2105,7 +2351,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets ============================================================================================================================================ --> + + true + + + + $(PublishSelfContained) + + - true + true $(NETCoreSdkPortableRuntimeIdentifier) + + $(PublishRuntimeIdentifier) + <_UsingDefaultPlatformTarget>true @@ -2224,7 +2490,8 @@ Copyright (c) .NET Foundation. All rights reserved. <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - true + + true false <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true @@ -2245,18 +2512,21 @@ Copyright (c) .NET Foundation. All rights reserved. - - - - + + + + + - + + @@ -2295,8 +2565,8 @@ Copyright (c) .NET Foundation. All rights reserved. append a RID the user never mentioned in the path and do so even in the AnyCPU case. --> - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ @@ -2320,7 +2590,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets ============================================================================================================================================ --> - true + true + true - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;5.0" /> + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + @@ -2385,8 +2659,9 @@ Copyright (c) .NET Foundation. All rights reserved. $(PreserveCompilationContext) - - + + publish $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ @@ -2400,7 +2675,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets ============================================================================================================================================ --> @@ -2503,11 +2778,21 @@ Copyright (c) .NET Foundation. All rights reserved. <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + @(_DefineConstantsWithoutTrace) + - + $(DefineConstants);@(_ImplicitDefineConstant) $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') @@ -2541,7 +2826,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -9069,7 +9354,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -9077,7 +9362,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> $(MSBuildThisFileDirectory)..\tools\ - net7.0 + net8.0 net472 $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll @@ -9149,7 +9434,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -9160,7 +9445,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets ============================================================================================================================================ --> - + + - @@ -9355,7 +9640,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -9373,6 +9658,7 @@ Copyright (c) .NET Foundation. All rights reserved. + @@ -9395,12 +9681,7 @@ Copyright (c) .NET Foundation. All rights reserved. that's consumable by an IDE to display package dependencies. ============================================================ --> - - - - - - + @@ -9548,7 +9829,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets ============================================================================================================================================ --> + + true + + + + + - + @@ -9915,7 +10204,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - + @@ -9924,12 +10213,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + $(RuntimeIdentifier) $(DefaultAppHostRuntimeIdentifier) - + @@ -9950,6 +10241,11 @@ Copyright (c) .NET Foundation. All rights reserved. + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + @@ -10175,6 +10480,23 @@ Copyright (c) .NET Foundation. All rights reserved. true <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json @@ -10202,7 +10524,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets ============================================================================================================================================ --> @@ -10284,6 +10606,9 @@ Copyright (c) .NET Foundation. All rights reserved. true + + true + @@ -10313,8 +10638,45 @@ Copyright (c) .NET Foundation. All rights reserved. false - - false + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false @@ -10336,6 +10698,15 @@ Copyright (c) .NET Foundation. All rights reserved. $(RebuildDependsOn) + + + + + + + @@ -10361,7 +10732,14 @@ Copyright (c) .NET Foundation. All rights reserved. - + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + @@ -10463,11 +10841,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + + @@ -10475,19 +10856,25 @@ Copyright (c) .NET Foundation. All rights reserved. + + + - + + + + + + + + + + + + + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + + + + + + + + + + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + - - - - - - - + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - - - - - - - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> - - - - - - - - - - false - - - - false - - - - false +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.SourceLink.Bitbucket.Git/build/Microsoft.SourceLink.Bitbucket.Git.targets +============================================================================================================================================ +--> + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation - - + + + + + + + + + - - - + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - - - - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + - + @@ -10981,20 +11839,22 @@ Copyright (c) .NET Foundation. All rights reserved. --> <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + - + + + + + + + @@ -11864,7 +12740,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -11914,14 +12790,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -11976,14 +12852,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> + + + true + true + Always + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + - + + + + + + + + @@ -12064,9 +12961,10 @@ Copyright (c) .NET Foundation. All rights reserved. - - - + + + $(PublishDir)\ @@ -12189,7 +13087,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -12220,6 +13118,16 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================ --> + + true true @@ -12574,8 +13482,27 @@ Copyright (c) .NET Foundation. All rights reserved. $(PublishedSingleFileName) + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + - + false false @@ -12592,19 +13519,50 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + - + - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) @@ -12618,7 +13576,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - + $(ProjectDepsFileName) @@ -12694,14 +13652,14 @@ Copyright (c) .NET Foundation. All rights reserved. Block unsupported language and feature combination. ============================================================ --> - + @@ -12709,7 +13667,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets ============================================================================================================================================ --> - $(TargetName) $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) - + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + @@ -12838,14 +13811,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -13280,14 +14253,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> - - $(WarningsAsErrors);SYSLIB0011 + + $(WarningsAsErrors);SYSLIB0011 - - - - - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - - - - false - false - false - false - false - false - false - false - - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --notrimwarn - false - - - - $(NoWarn);IL2121 - - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - - - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - - - - - - - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - - - - - - - - - 5 - 0 - - - - - - <_ILLinkSuppressions Include="$(MSBuildThisFileDirectory)6.0_suppressions.xml" /> - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --link-attributes "@(_ILLinkSuppressions->'%(Identity)', '" --link-attributes "')" - - - - copyused - partial - full - - <_TrimmerDefaultAction Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '7.0'))">$(TrimmerDefaultAction) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">$(TrimMode) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '6.0'))">copy - - - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - <_ExtraTrimmerArgs>--enable-serialization-discovery $(_ExtraTrimmerArgs) - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - - - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - - - - - - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - + + <_NoneAnalysisLevel>4.0 - <_LatestAnalysisLevel>7.0 - <_PreviewAnalysisLevel>8.0 + <_LatestAnalysisLevel>8.0 + <_PreviewAnalysisLevel>9.0 latest $(_TargetFrameworkVersionWithoutV) true - true + true - true + true - true + true false @@ -13705,7 +14402,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/analyzers/build/Microsoft.CodeAnalysis.NetAnalyzers.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/analyzers/build/Microsoft.CodeAnalysis.NetAnalyzers.props ============================================================================================================================================ --> - <_NETAnalyzersSDKAssemblyVersion>7.0.0 + <_NETAnalyzersSDKAssemblyVersion>8.0.0 - CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2100;CA2101;CA2109;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2229;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 - $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) - $(WarningsAsErrors);$(CodeAnalysisRuleIds) + CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1510;CA1511;CA1512;CA1513;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA1856;CA1857;CA1858;CA1859;CA1860;CA1861;CA1862;CA1863;CA1864;CA1865;CA1866;CA1867;CA1868;CA1869;CA1870;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2021;CA2100;CA2101;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2261;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 + $(CodeAnalysisTreatWarningsAsErrors) + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) - @@ -13745,15 +14441,17 @@ Copyright (c) .NET Foundation. All rights reserved. - - - - + + + @@ -13773,7 +14471,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -13792,7 +14490,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets ============================================================================================================================================ --> - + true @@ -13853,7 +14551,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll - $(MSBuildThisFileDirectory)..\tools\net7.0\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll @@ -13909,7 +14607,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.Common.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.Common.targets ============================================================================================================================================ --> + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - + $(PackageId) $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) @@ -13980,12 +14691,15 @@ Copyright (c) .NET Foundation. All rights reserved. <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> - + + - + + $(TargetPlatformMoniker) + @@ -13998,7 +14712,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.targets ============================================================================================================================================ --> @@ -14006,7 +14720,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -14019,7 +14733,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets ============================================================================================================================================ --> - + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.105.FSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.105.FSharp.xml index 936e627..0e8e347 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.105.FSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.105.FSharp.xml @@ -1,6 +1,6 @@ @@ -9,7 +9,7 @@ This import was added implicitly because the Project element's Sdk attribute specified "Microsoft.NET.Sdk". -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> true + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + $(ProjectExtensionsPathForSpecifiedProject) @@ -214,14 +252,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> + + + true + Library @@ -321,12 +367,10 @@ Copyright (c) .NET Foundation. All rights reserved. false false true - 1.0.2 + 1.0.3 false true true - false - true @@ -339,7 +383,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props ============================================================================================================================================ --> + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + - - - + + + + @@ -445,18 +512,19 @@ Copyright (c) .NET Foundation. All rights reserved. + - - - - - - + + + + + + @@ -464,19 +532,16 @@ Copyright (c) .NET Foundation. All rights reserved. + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> - - - $(BundledRuntimeIdentifierGraphFile) - false @@ -520,12 +585,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + @@ -568,7 +635,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props ============================================================================================================================================ --> @@ -635,7 +707,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props ============================================================================================================================================ --> @@ -643,7 +715,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props ============================================================================================================================================ --> @@ -675,7 +747,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props ============================================================================================================================================ --> + + + + + true + <_SourceLinkPropsImported>true + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + + + + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -714,7 +941,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.props ============================================================================================================================================ --> - - - - - - true - - - - - - - $(MSBuildThisFileDirectory)Microsoft.DotNet.ILCompiler.SingleEntry.targets - - - - - - - - - - - $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.targets - - true - $(MSBuildThisFileDirectory)..\tools\net7.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll - - @@ -1203,7 +1309,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.WindowsForms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.WindowsForms.props ============================================================================================================================================ --> - + + + Debug + AnyCPU + $(Platform) + + + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) + + false + + + - - Debug - AnyCPU - $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - - - - - - - - true - <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) - <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties - <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ - $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) - $(_PublishProfileRootFolder)$(PublishProfileName).pubxml - $(PublishProfileFullPath) - - false - - - - @@ -1645,12 +1706,23 @@ Copyright (c) .NET Foundation. All rights reserved. true + true - + + - + + + + + + + + + + - + + true + + + + + - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** + true + true + + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ - - true - true + + + + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + @@ -1750,9 +1999,6 @@ Copyright (c) .NET Foundation. All rights reserved. false - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - @@ -2232,7 +2478,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets ============================================================================================================================================ --> + + true + + + + $(PublishSelfContained) + + - true + true $(NETCoreSdkPortableRuntimeIdentifier) + + $(PublishRuntimeIdentifier) + <_UsingDefaultPlatformTarget>true @@ -2351,7 +2617,8 @@ Copyright (c) .NET Foundation. All rights reserved. <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - true + + true false <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true @@ -2372,18 +2639,21 @@ Copyright (c) .NET Foundation. All rights reserved. - - - - + + + + + - + + @@ -2422,8 +2692,8 @@ Copyright (c) .NET Foundation. All rights reserved. append a RID the user never mentioned in the path and do so even in the AnyCPU case. --> - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ @@ -2447,7 +2717,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets ============================================================================================================================================ --> - true + true + true - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;5.0" /> + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + @@ -2512,8 +2786,9 @@ Copyright (c) .NET Foundation. All rights reserved. $(PreserveCompilationContext) - - + + publish $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ @@ -2527,7 +2802,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets ============================================================================================================================================ --> @@ -2630,11 +2905,21 @@ Copyright (c) .NET Foundation. All rights reserved. <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + - + $(DefineConstants);@(_ImplicitDefineConstant) $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') @@ -2668,7 +2953,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -2686,7 +2971,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets ============================================================================================================================================ --> @@ -9000,7 +9285,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets ============================================================================================================================================ --> @@ -9084,7 +9369,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> $(MSBuildThisFileDirectory)..\tools\ - net7.0 + net8.0 net472 $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll @@ -9156,7 +9441,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -9167,7 +9452,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets ============================================================================================================================================ --> - + + - @@ -9362,7 +9647,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -9380,6 +9665,7 @@ Copyright (c) .NET Foundation. All rights reserved. + @@ -9402,12 +9688,7 @@ Copyright (c) .NET Foundation. All rights reserved. that's consumable by an IDE to display package dependencies. ============================================================ --> - - - - - - + @@ -9555,7 +9836,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets ============================================================================================================================================ --> + + true + + + + + - + @@ -9922,7 +10211,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - + @@ -9931,12 +10220,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + $(RuntimeIdentifier) $(DefaultAppHostRuntimeIdentifier) - + @@ -9957,6 +10248,11 @@ Copyright (c) .NET Foundation. All rights reserved. + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + @@ -10182,6 +10487,23 @@ Copyright (c) .NET Foundation. All rights reserved. true <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json @@ -10209,7 +10531,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets ============================================================================================================================================ --> @@ -10291,6 +10613,9 @@ Copyright (c) .NET Foundation. All rights reserved. true + + true + @@ -10320,8 +10645,45 @@ Copyright (c) .NET Foundation. All rights reserved. false - - false + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false @@ -10343,6 +10705,15 @@ Copyright (c) .NET Foundation. All rights reserved. $(RebuildDependsOn) + + + + + + + @@ -10368,7 +10739,14 @@ Copyright (c) .NET Foundation. All rights reserved. - + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + @@ -10470,11 +10848,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + + @@ -10482,19 +10863,25 @@ Copyright (c) .NET Foundation. All rights reserved. + + + - + + + + + + + + + + + + + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + + + + + + + + + + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + - - - - - - - + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - - - - - - - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> - - - - - - - - - - false - - - - false - - - - false +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.SourceLink.Bitbucket.Git/build/Microsoft.SourceLink.Bitbucket.Git.targets +============================================================================================================================================ +--> + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation - - + + + + + + + + + - - - + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - - - - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + - + @@ -10988,20 +11846,22 @@ Copyright (c) .NET Foundation. All rights reserved. --> <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + @@ -11196,7 +12066,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.GenerateSupportedRuntime.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.GenerateSupportedRuntime.targets ============================================================================================================================================ --> - + + + + + + + @@ -11816,7 +12692,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -11866,14 +12742,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -11928,14 +12804,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> + + + true + true + Always + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + - + + + + + + + + @@ -12016,9 +12913,10 @@ Copyright (c) .NET Foundation. All rights reserved. - - - + + + $(PublishDir)\ @@ -12141,7 +13039,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -12172,6 +13070,16 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================ --> + + true true @@ -12526,8 +13434,27 @@ Copyright (c) .NET Foundation. All rights reserved. $(PublishedSingleFileName) + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + - + false false @@ -12544,19 +13471,50 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + - + - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) @@ -12570,7 +13528,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - + $(ProjectDepsFileName) @@ -12646,14 +13604,14 @@ Copyright (c) .NET Foundation. All rights reserved. Block unsupported language and feature combination. ============================================================ --> - + @@ -12661,7 +13619,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets ============================================================================================================================================ --> - $(TargetName) $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) - + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + @@ -12790,14 +13763,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -13232,7 +14205,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -13241,7 +14214,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.targets ============================================================================================================================================ --> @@ -13311,287 +14284,11 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets -============================================================================================================================================ ---> - - - - - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - - - - false - false - false - false - false - false - false - false - - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --notrimwarn - false - - - - $(NoWarn);IL2121 - - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - - - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - - - - - - - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - - - - - - - - - 5 - 0 - - - - - - <_ILLinkSuppressions Include="$(MSBuildThisFileDirectory)6.0_suppressions.xml" /> - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --link-attributes "@(_ILLinkSuppressions->'%(Identity)', '" --link-attributes "')" - - - - copyused - partial - full - - <_TrimmerDefaultAction Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '7.0'))">$(TrimmerDefaultAction) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">$(TrimMode) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '6.0'))">copy - - - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - <_ExtraTrimmerArgs>--enable-serialization-discovery $(_ExtraTrimmerArgs) - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - - - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - - - - - - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - + + @@ -13609,7 +14306,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets ============================================================================================================================================ --> - + true @@ -13670,7 +14367,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll - $(MSBuildThisFileDirectory)..\tools\net7.0\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll @@ -13726,7 +14423,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.Common.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.Common.targets ============================================================================================================================================ --> + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - + $(PackageId) $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) @@ -13797,12 +14507,15 @@ Copyright (c) .NET Foundation. All rights reserved. <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> - + + - + + $(TargetPlatformMoniker) + @@ -13815,7 +14528,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.targets ============================================================================================================================================ --> @@ -13823,7 +14536,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -13836,7 +14549,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.105/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets ============================================================================================================================================ --> - + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.CSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.CSharp.xml index 002df9b..7db4d8a 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.CSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.CSharp.xml @@ -1,17 +1,17 @@ - +--> + +--> - +--> + - true + --> + true - true - - - $(ProjectExtensionsPathForSpecifiedProject) - - + --> + true + + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + + + $(ProjectExtensionsPathForSpecifiedProject) + + +--> - - true - true - true - true - true - +--> + + true + true + true + true + true + - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - + --> + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + - + --> + - obj\ - $(BaseIntermediateOutputPath)\ - <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) - $(BaseIntermediateOutputPath) + --> + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) - $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) - $(MSBuildProjectExtensionsPath)\ - true - <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) - - + --> + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) - - + --> + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + - - true - - - $(DefaultProjectConfiguration) - $(DefaultProjectPlatform) - - - WJProject - JavaScript - - - - - + e.g. by the project itself. --> + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props - $(MSBuildToolsPath)\NuGet.props - + --> + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + +--> +--> - - true - + --> + + true + - - <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props - <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) - $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) - - - - true - + --> + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + - - true - true - true - true - true - true - true - true - true - true - true - true - true - +%UserProfile%//.dotnet/sdk/7.0.202/Current/Microsoft.Common.props +============================================================================================================================================ +--> + + true + true + true + true + true + true + true + true + true + true + true + true + true + +--> +--> - - - true - - - - Debug;Release - AnyCPU - Debug - AnyCPU - - - - Library - 512 - prompt - $(MSBuildProjectName) - $(MSBuildProjectName.Replace(" ", "_")) - true - - - - true - false - - - true - - +--> + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + + true + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + - - <_PlatformWithoutConfigurationInference>$(Platform) - - - x64 - - - x86 - - - ARM - - - arm64 - - - - - {CandidateAssemblyFiles} - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);{RawFileName} - - - portable - - false - - true - true + --> + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + arm64 + + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + + + portable + + false + + true + true - PackageReference - $(AssemblySearchPaths) - false - false - false - false - false - false - false - false - false - true - 1.0.3 - false - true - true - false - true - - - - - - $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj - - + a project targets .NET Framework and doesn't have any direct package dependencies. --> + PackageReference + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.3 + false + true + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + - - - $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) - $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs - 7.0 - 7.0 - 7.0.4 - 2.1 - 2.1.0 - 7.0.1 - $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json - 7.0.202 - win-x64 - win-x64 - <_NETCoreSdkIsPreview>false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +--> + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)../../')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + <_NetFrameworkHostedCompilersVersion>4.8.0-3.23471.11 + 8.0 + 8.0 + 8.0.0-rc.2.23479.6 + 2.1 + 2.1.0 + 8.0.0-rc.2.23479.6 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 8.0.100-rc.2.23502.2 + linux-x64 + linux-x64 + <_NETCoreSdkIsPreview>true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> + - - - $(BundledRuntimeIdentifierGraphFile) - - - - false - - - <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif - - - - - - - - - - - - - - - - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props +============================================================================================================================================ +--> + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + - - - - - - - - - + evaluated in the second pass of evaluation, after all properties have been evaluated. --> + + + + + + + + + - + an implicit FrameworkReference --> + - - - - - + Packing an DotnetCliTool should include the Microsoft.NETCore.App package dependency. --> + + + + + + + +--> - - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel - true - - + putting an EnableWorkloadResolver.sentinel file beside the MSBuild SDK resolver DLL --> + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + +--> - - +--> + + - +--> + +--> +--> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + This is used by VS to show the list of frameworks to which projects can be retargeted. --> + + + + + + + + + + + + + + + + 9.0 + 17.8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +--> + +--> - - - - - - +--> + + + + + + - +--> + +--> - - - - - - - - - - - - +--> + + + + + + + + + + + + +--> +--> - - 1701;1702 - - $(WarningsAsErrors);NU1605 - - - $(DefineConstants); - $(DefineConstants)TRACE - - - - - - - - - - - +--> + + + true + <_SourceLinkPropsImported>true + + - - +--> + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + +--> + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + + - - - true - - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.props +============================================================================================================================================ +--> +--> + + + + + - - - $(MSBuildThisFileDirectory)Microsoft.DotNet.ILCompiler.SingleEntry.targets - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.SourceLink.GitLab/build/Microsoft.SourceLink.GitLab.props +============================================================================================================================================ +--> + + + + +--> + + + + + + + +--> +--> + + + + + + - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props +============================================================================================================================================ +--> +--> - - - $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.targets - - true - $(MSBuildThisFileDirectory)..\tools\net7.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll - - +--> + + 1701;1702 + + $(WarningsAsErrors);NU1605 + + + $(DefineConstants); + $(DefineConstants)TRACE + + + + + + + + + + + +--> + + +--> - - $(TargetsForTfmSpecificContentInPackage);PackTool - +--> + + $(TargetsForTfmSpecificContentInPackage);PackTool + +--> +--> - - $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation - +--> + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + +--> - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - - - - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props +============================================================================================================================================ +--> + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + + + + - - - - - - - + --> + + + + + + + - + --> + - <_WpfCommonNetFxReference Include="WindowsBase" /> - <_WpfCommonNetFxReference Include="PresentationCore" /> - <_WpfCommonNetFxReference Include="PresentationFramework" /> - <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> - 4.0 - - <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> - - - <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> - <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> - <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> - + --> + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + --> - + --> + - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + --> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> - <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + --> + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> - <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> - - - - - + --> + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + --> +--> + --> - + --> + - - - - + --> + + + + +--> - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + +--> +--> +--> - - - - + --> + + + + +--> +--> +--> - - - - - true - - <_TargetFrameworkVersionValue>0.0 - <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 - +--> + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + +--> +--> +--> +--> - - - true - - +--> + + + true + + +--> +--> - - - - - - - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - - - $(_IsExecutable) - <_UsingDefaultForHasRuntimeOutput>true - + So import them here. --> + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + +--> - - 1.0.0 - $(VersionPrefix)-$(VersionSuffix) - $(VersionPrefix) - - - $(AssemblyName) - $(Authors) - $(AssemblyName) - $(AssemblyName) - +--> + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + - - - +--> - - Debug - AnyCPU - $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - - + --> + + Debug + AnyCPU + $(Platform) + + respected by the SDK. --> +--> - - - true - <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) - <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties - <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ - $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) - $(_PublishProfileRootFolder)$(PublishProfileName).pubxml - $(PublishProfileFullPath) +--> + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) - false - - - + to limit the import to the project being published. --> + false + + + +--> + --> +--> +--> - - + --> + + - - $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) - v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) - + --> + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + - - $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) - - - Windows - + --> + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + - - <_UnsupportedTargetFrameworkError>true - + --> + + <_UnsupportedTargetFrameworkError>true + - - - - + --> + + + + - - - true - - - - - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + true + true + + + + + + + + + + + + + + + + + - - v0.0 - - - _ - + --> + + v0.0 + + + _ + - - - + --> + + + true + + + + - - - - - - <_EnableDefaultWindowsPlatform>false - false - - - 2.1 + --> + + + + + + <_EnableDefaultWindowsPlatform>false + false + + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion->Distinct()) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + + + + + true + true + + + + + + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ + + - - - <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> - - - @(_ValidTargetPlatformVersion->Distinct()) - - - - - true - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None - - - + --> + + + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - - - - true - - - true - true - + in the project file, the specified value will be used for the exclude. --> + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** + - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ - + --> + + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + - - - - true - - false - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - +--> + + + + true + + false + - - + --> + + +--> - - +--> + + - - - - - - - - - - +--> + + + + + + + + + + +--> - - - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +%UserProfile%//.dotnet/sdk-manifests/7.0.100/microsoft.net.sdk.ios/WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\15.4.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +%UserProfile%//.dotnet/sdk-manifests/7.0.100/microsoft.net.sdk.maccatalyst/WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\15.4.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\12.3.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +%UserProfile%//.dotnet/sdk-manifests/7.0.100/microsoft.net.sdk.macos/WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\12.3.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - +--> + + + + + + + - - - - - + --> + + + + + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +%UserProfile%//.dotnet/sdk-manifests/7.0.100/microsoft.net.sdk.tvos/WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - <_RuntimePackInWorkloadVersion6>6.0.15 - true - true - +--> + + <_RuntimePackInWorkloadVersion6>6.0.15 + true + true + - - false - - - - true - $(WasmNativeWorkload) - - - false - false - - - false - true - - - - - - - - - - - - - - - - + --> + + false + + + + true + $(WasmNativeWorkload) + + + false + false + + + false + true + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) - - - - $(_MonoWorkloadRuntimePackPackageVersion) - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + - - - - - - - - + and emit a warning --> + + + + + + + + +--> - - <_RuntimePackInWorkloadVersion7>7.0.4 - <_BrowserWorkloadDisabled7>$(BrowserWorkloadDisabled) - <_BrowserWorkloadDisabled7 Condition="'$(_BrowserWorkloadDisabled7)' == '' and '$(RuntimeIdentifier)' == 'browser-wasm' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and !$([MSBuild]::VersionEquals('$(TargetFrameworkVersion)', '7.0'))">true - true - +--> + + <_RuntimePackInWorkloadVersion7>7.0.4 + <_BrowserWorkloadDisabled7>$(BrowserWorkloadDisabled) + <_BrowserWorkloadDisabled7 Condition="'$(_BrowserWorkloadDisabled7)' == '' and '$(RuntimeIdentifier)' == 'browser-wasm' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and !$([MSBuild]::VersionEquals('$(TargetFrameworkVersion)', '7.0'))">true + true + - - true - false - - - - true - $(WasmNativeWorkload7) - - - false - false - false - - - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) - - - - $(_MonoWorkloadRuntimePackPackageVersion) - - Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** - Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** - - + --> + + true + false + + + + true + $(WasmNativeWorkload7) + + + false + false + false + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** + + - - - - - - - - - - - + and emit a warning --> + + + + + + + + + + + +--> - - - - - +--> + + + + + +--> - - true - - - <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true - WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ - - - true - $(WasmNativeWorkload) - - - false - false - - - - - - - - +%UserProfile%//.dotnet/sdk-manifests/7.0.100/microsoft.net.workload.emscripten.net7/WorkloadManifest.targets +============================================================================================================================================ +--> + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + - - - - - - +--> + + + + + + - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + - - - - - - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> - - + need to be set to "true" to avoid requiring restore (which would likely fail if the required workloads aren't already installed).--> + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + +--> + --> +--> +--> - - <_UsingDefaultRuntimeIdentifier>true - win7-x64 - win7-x86 - + --> + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + + + + true + - - $(PublishSelfContained) - + This Won't affect t:/Publish (because of _IsPublishing), and also won't override a global SelfContained property.--> + + $(PublishSelfContained) + - - true - - - $(NETCoreSdkPortableRuntimeIdentifier) - - - $(PublishRuntimeIdentifier) - - - <_UsingDefaultPlatformTarget>true - - - - - - - x86 - - - - - x64 - - - - - arm - - - - - arm64 - - - - - AnyCPU - - - + Finally, library projects and non-executable projects have awkward interactions here so they are excluded.--> + + true + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + $(PublishRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + - - - <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - - - true - false - <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false - <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true - true - false - - - - $(NETCoreSdkRuntimeIdentifier) - win-x64 - win-x86 - win-arm - win-arm64 - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - - - - - - - - - - - + --> + + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + + + + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + + + + + + + - - - - - - - - - - - - - false - - - - - - - - - - - - - + because we do not want the behavior to be a breaking change compared to version 3.0 --> + + + + + + + + + + + + + + false + + + + + + + + + + + + + - - - true - + Configuration-specific PropertyGroup), so in that case we won't append to it by default. --> + + + true + - - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ - - + --> + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + - - - - - + --> + + + + + - +--> + +--> - - - true - +--> + + + true + true + - - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;5.0" /> - - - - + --> + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + + + + + - - - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true - - - - true - true - true - - - true - - - - true +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets +============================================================================================================================================ +--> + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true - true - - .dll + runtime minor version roll-forward: https://github.com/dotnet/core-setup/issues/3546 --> + true + + .dll - false - - - - $(PreserveCompilationContext) - - - - publish - - $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ - $(OutputPath)$(PublishDirName)\ - + is not needed for NETStandard or NETCore since references come from NuGet packages--> + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + --> +--> - - <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder - <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true - <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs - - - $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) - - - $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) - +--> + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + - - <_SDKImplicitReference Include="System" /> - <_SDKImplicitReference Include="System.Data" /> - <_SDKImplicitReference Include="System.Drawing" /> - <_SDKImplicitReference Include="System.Xml" /> +--> + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> - - <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - - <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> - - <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + such if the parse succeeds. --> + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> - <_SDKImplicitReference Remove="@(Reference)" /> - - - - - - false - - - $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 - - - - <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET - $(_FrameworkIdentifierForImplicitDefine) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET - <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) - <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) - <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) - $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) - $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - - - - - <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) - <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) - - - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> - - - - - - <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - - - - - - <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> - - - - - - $(DefineConstants);@(_ImplicitDefineConstant) - $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') - - - - - false - true - - - $(AssemblyName).xml - $(IntermediateOutputPath)$(AssemblyName).xml - - - - - - true - true - true - - - - - - - true - + NuGet package, you can just add the Reference to your project file. --> + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + - - $(MSBuildToolsPath)\Microsoft.CSharp.targets - $(MSBuildToolsPath)\Microsoft.VisualBasic.targets - $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets +--> + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets - $(MSBuildToolsPath)\Microsoft.Common.targets - + languages could either be supplied via an SDK or via a NuGet package. --> + $(MSBuildToolsPath)\Microsoft.Common.targets + + using Sdk attribute (from .NET Core Sdk 1.0.0-preview4) --> +--> - - - - $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets - - - - - $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets - - - +--> + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets + + + +--> +--> - - true - + --> + + true + +--> +--> - - true - true - true - true - - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets - - - - .cs - C# - Managed - true - true - true - true - true - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Properties - - - - - File - - - BrowseObject - - - - - - +--> + + true + true + true + true + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets + + + + .cs + C# + Managed + true + true + true + true + true + {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Properties + + + + + File + + + BrowseObject + + + + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - true - - - - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet - true - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + true + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet + true + - +--> + - - $(NoWarn);1701;1702 - - - - $(NoWarn);2008 - - - - - - - + so the compiler warning would be redundant. --> + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + + + + - $(AppConfig) - - $(IntermediateOutputPath)$(TargetName).compile.pdb - - - - false - - - - - - - true - - - - + then we'll use AppConfig --> + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + false + + + + + + + true + + + + - - - - - $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets - +--> + + + + + $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets + - +--> + - +--> + - + --> + - - roslyn4.5 - +--> + + roslyn4.5 + - +--> + - - - - - - - - - - - - - false - + --> + + + + + + + + + + + + + false + - - - - - - true - - + https://github.com/dotnet/roslyn/issues/12223 --> + + + + + + true + + - - - - - <_SkipAnalyzers /> - <_ImplicitlySkipAnalyzers /> - + --> + + + + + <_SkipAnalyzers /> + <_ImplicitlySkipAnalyzers /> + - - <_SkipAnalyzers>true - + --> + + <_SkipAnalyzers>true + - - <_ImplicitlySkipAnalyzers>true - <_SkipAnalyzers>true - run-nullable-analysis=never;$(Features) - - - - - - <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers - + --> + + <_ImplicitlySkipAnalyzers>true + <_SkipAnalyzers>true + run-nullable-analysis=never;$(Features) + + + + + + <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers + - - - - - - - - - + --> + + + + + + + + + - - <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> + --> + + <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> - - - - - + compilation includes linked files with relative paths - https://github.com/microsoft/msbuild/issues/4392 --> + + + + + - - - - - $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig - true - <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true - <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true - - - - - - <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> - $(%(CompilerVisibleProperty.Identity)) - - - <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> - %(Identity) - %(CompilerVisibleItemMetadata.MetadataName) - - - - - - - - + --> + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig + true + <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true + <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true + + + + + + <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> + $(%(CompilerVisibleProperty.Identity)) + + + <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> + %(Identity) + %(CompilerVisibleItemMetadata.MetadataName) + + + + + + + + - - true - + --> + + true + - - - <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> - - - - - - - - - + --> + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + - - true - + --> + + true + - + --> + - - - <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> - $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) - $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) - - - + --> + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + - @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) - - + --> + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + - - - - - + --> + + + + + - - false - - $(IntermediateOutputPath)/generated - - - - - + --> + + false + + $(IntermediateOutputPath)/generated + + + + + - - - + --> + + + - - - <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 - - <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 - - <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '5.0' AND '$(_MaxSupportedLangVersion)' == ''">9.0 - - <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '6.0' AND '$(_MaxSupportedLangVersion)' == ''">10.0 - - <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '7.0' AND '$(_MaxSupportedLangVersion)' == ''">11.0 - $(_MaxSupportedLangVersion) - $(_MaxSupportedLangVersion) - - +%UserProfile%//.dotnet/sdk/7.0.202/Roslyn/Microsoft.CSharp.Core.targets +============================================================================================================================================ +--> + + + <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 + + <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '5.0' AND '$(_MaxSupportedLangVersion)' == ''">9.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '6.0' AND '$(_MaxSupportedLangVersion)' == ''">10.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '7.0' AND '$(_MaxSupportedLangVersion)' == ''">11.0 + $(_MaxSupportedLangVersion) + $(_MaxSupportedLangVersion) + + - - $(NoWarn);1701;1702 - - - - $(NoWarn);2008 - - + so the compiler warning would be redundant. --> + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + - $(AppConfig) - - $(IntermediateOutputPath)$(TargetName).compile.pdb - - - - - - - <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> - - - + then we'll use AppConfig --> + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + - - -langversion:$(LangVersion) - $(CommandLineArgsForDesignTimeEvaluation) -checksumalgorithm:$(ChecksumAlgorithm) - $(CommandLineArgsForDesignTimeEvaluation) -define:$(DefineConstants) - + probably won't be any worse than having no options at all. --> + + -langversion:$(LangVersion) + $(CommandLineArgsForDesignTimeEvaluation) -checksumalgorithm:$(ChecksumAlgorithm) + $(CommandLineArgsForDesignTimeEvaluation) -define:$(DefineConstants) + - - - - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets - - +--> + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets + + +--> - - $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets - +--> + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + +--> - - - true - true - true - true - - - - - - - 10.0 - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets - - - - - Managed - +--> + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + - - .NETFramework - v4.0 - - - - Any CPU,x86,x64,Itanium - Any CPU,x86,x64 - - - - - - - true - - true - - - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) - - $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + Native apps) because they do not target a .NET Framework. --> + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) - $(MSBuildFrameworkToolsPath) - - - Windows - 7.0 - $(TargetPlatformSdkRootOverride)\ - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - $(TargetPlatformSdkPath)Windows Metadata - $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral - $(TargetPlatformSdkMetadataLocation) - true - $(WinDir)\System32\WinMetadata - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - + we need to find a directory which does contain mscorlib to allow the inproc compiler to initialize and give us the chance to show certain dialogs in the IDE (which only happen after initialization).--> + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + - - - <_OriginalPlatform>$(Platform) - - <_OriginalConfiguration>$(Configuration) - - <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true - - true - - - AnyCPU - $(Platform) - Debug - $(Configuration) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(TargetType) - library - exe - true - - <_DebugSymbolsProduced>false - <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false - <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false - <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false - - <_DocumentationFileProduced>true - <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false - - false - + --> + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + - + --> + - <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true - <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true - + --> + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + - - .exe - .exe - .exe - .dll - .netmodule - .winmdobj - - - - true - $(OutputPath) - - - $(OutDir)\ - $(MSBuildProjectName) - - - $(OutDir)$(ProjectName)\ - $(MSBuildProjectName) - $(RootNamespace) - $(AssemblyName) - - $(MSBuildProjectFile) - - $(MSBuildProjectExtension) - - $(TargetName).winmd - $(WinMDExpOutputWindowsMetadataFilename) - $(TargetName)$(TargetExt) - - - + --> + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + - <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true - $(_DeploymentPublishableProjectDefault) - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest - - $(AssemblyName).application - - $(AssemblyName).xbap - - $(GenerateManifests) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days - <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) - <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - 100 - - + --> + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + - * - $(UICulture) - - - - <_OutputPathItem Include="$(OutDir)" /> - <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> - <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> - - - + --> + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + - $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) - - $(TargetDir)$(TargetFileName) - $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) - - $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) - - $(ProjectDir)$(ProjectFileName) - - - - - + --> + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + - - *Undefined* - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - - - true - - true - - - true - false - - - $(MSBuildProjectFile).FileListAbsolute.txt - - false - - true - true - <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false - <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true - false - false - - - <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config - - - - - - - - - - - - - - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> - - - $(IntermediateOutputPath)$(TargetName).pdb - <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) - - - $(IntermediateOutputPath)$(TargetName).xml - <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) - - - <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) - <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) - - - - <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> - $(TargetFileName) - - - - <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> - $(ApplicationIcon) - - - - $(_DeploymentTargetApplicationManifestFileName) - + --> + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + - <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> - $(_DeploymentTargetApplicationManifestFileName) - - - - $(TargetDeployManifestFileName) - - - <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> - + references and for copying to the publish output location. --> + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + - - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) - <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> - <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + --> + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) - <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> - <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> - - - - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) - <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) - - - - $(PublishDir)\ - $(OutputPath)app.publish\ - + --> + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + - - $(PublishDir) - $(ClickOncePublishDir)\ - + --> + + $(PublishDir) + $(ClickOncePublishDir)\ + - + --> + - $(PlatformTarget) + --> + $(PlatformTarget) - msil - amd64 - ia64 - x86 - arm - - - true - - - - $(Platform) - msil - amd64 - ia64 - x86 - arm - - None - $(PROCESSOR_ARCHITECTURE) - + --> + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + - - CLR2 - CLR4 - CurrentRuntime - true - false - $(PlatformTarget) - x86 - x64 - CurrentArchitecture - - - - Client - + If support for out-of-proc task execution is added on other runtimes, make sure each task's logic is checked against the current state of support. --> + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + - - false - - - - - true - true - false - + --> + + false + + + + + true + true + false + - - AssemblyFoldersEx - Software\Microsoft\$(TargetFrameworkIdentifier) - Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) - $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config - {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> .winmd; .dll; .exe - + + --> .pdb; .xml; .pri; .dll.config; .exe.config - + - Full - - + --> + Full + + - {CandidateAssemblyFiles} - $(AssemblySearchPaths);$(ReferencePath) - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) - $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} - $(AssemblySearchPaths);{AssemblyFolders} - $(AssemblySearchPaths);{GAC} - $(AssemblySearchPaths);{RawFileName} - $(AssemblySearchPaths);$(OutDir) - + --> + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + - - false - - - - $(NoWarn) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - - - - $(MSBuildThisFileDirectory)$(LangName)\ - - - - $(MSBuildThisFileDirectory)en-US\ - - - - - Project - - - BrowseObject - - - File - - - Invisible - - - File;BrowseObject - - - File;ProjectSubscriptionService - - - - $(DefineCommonItemSchemas) - - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - - - - - - Never - - - Never - - - Never - - - Never - - + typically expect --> + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + - - - true - + --> + + + true + - - - <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath - - + --> + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + - - - <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. - - - - - - - - - + --> + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + - - x86 - + correct value when we're trying to figure out PlatformTargetAsMSBuildArchitecture --> + + x86 + - + --> + - - + --> + + - + --> + BeforeBuild; CoreBuild; AfterBuild - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -4036,52 +4304,52 @@ Copyright (C) Microsoft Corporation. All rights reserved. UnmanagedRegistration; IncrementalClean; PostBuildEvent - - - - - - + + + + + + - - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + --> + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build BeforeRebuild; Clean; $(_ProjectDefaultTargets); AfterRebuild; - + BeforeRebuild; Clean; Build; AfterRebuild; - - - + + + - + --> + - + --> + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - + --> + - - - - - - - - + --> + + + + + + + + + --> - - false - - - - true - - + --> + + false + + + + true + + + --> - - $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata - - - - - $(TargetFileName).config - - - - - - - - - - + --> + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + - - @(_TargetFramework40DirectoryItem) - @(_TargetFramework35DirectoryItem) - @(_TargetFramework30DirectoryItem) - @(_TargetFramework20DirectoryItem) - - @(_TargetFramework20DirectoryItem) - @(_TargetFramework40DirectoryItem) - @(_TargetedFrameworkDirectoryItem) - @(_TargetFrameworkSDKDirectoryItem) - - - - + --> + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + - - - - - - - - - - - - - $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) - $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) - + --> + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + - - true - - - $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) - - - - - - - $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) - - - - - - - - - + resolving from the assemblyfolders global location if we are not acutally targeting a framework--> + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + - + E.g "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0.1\;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\" --> + - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - + --> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + --> - - - - - - + --> + + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + --> - + --> + - + --> + BeforeResolveReferences; AssignProjectConfiguration; @@ -4424,25 +4692,25 @@ Copyright (C) Microsoft Corporation. All rights reserved. GenerateBindingRedirects; ResolveComReferences; AfterResolveReferences - - - + + + - + --> + - + --> + - - - true - true - false + --> + + + true + true + false - false - - true - - - - - - - - - - - <_ProjectReferenceWithConfiguration> - true - true - - - true - true - - - + want this to happen, so just turn off synthetic project reference generation for Silverlight projects. --> + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + - + --> + - - - - + --> + + + + - - <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> - - - - <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> - <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> - - + --> + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + - - true - + --> + + true + - - - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> - true - - - - <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - - - - - <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> - - x86=Win32 - - - <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> - Win32=x86 - - - - - + Configuration information. --> + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + - - - - Platform=%(ProjectsWithNearestPlatform.NearestPlatform) - - - - %(ProjectsWithNearestPlatform.UndefineProperties);Platform - - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> - - + that can't multiplatform. --> + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + - + --> + - - $(NuGetTargetMoniker) - $(TargetFrameworkMoniker) - + --> + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> - true - %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework - - + --> + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> - true - - + --> + true + + - - - + --> + + + - - - - + --> + + + + - <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> - <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> - <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> - - + --> + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + - - - - - - - + that we are using a version of NuGet which supports that parameter on this task. --> + + + + + + + - - + --> + + - - - - - - - - - - TargetFramework=%(AnnotatedProjects.NearestTargetFramework) - + the IsRidAgnostic value for the NearestTargetFramework for the project. --> + + + + + + + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + - - %(AnnotatedProjects.UndefineProperties);TargetFramework - + --> + + %(AnnotatedProjects.UndefineProperties);TargetFramework + - - %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained - + unless the project is expecting those properties to flow. --> + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained + - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> - - - - - - - - - <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> - @(_TargetFrameworkInfo) - @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') - @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') - $(_AdditionalPropertiesFromProject) - true - @(_TargetFrameworkInfo->'%(IsRidAgnostic)') - - true - $(Platform) - $(Platforms) + --> + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + @(_TargetFrameworkInfo->'%(IsRidAgnostic)') + + true + $(Platform) + $(Platforms) - @(ProjectConfiguration->'%(Platform)'->Distinct()) - - - - - - <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> - $(%(AdditionalTargetFrameworkInfoProperty.Identity)) - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false - - - - - - <_TargetFrameworkInfo Include="$(TargetFramework)"> - $(TargetFramework) - $(TargetFrameworkMoniker) - $(TargetPlatformMoniker) - None - $(_AdditionalTargetFrameworkInfoProperties) + Build the `Platforms` property from that. --> + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) - $(IsRidAgnostic) - true - false - - - + fallback logic here will be that the project is RID agnostic if it doesn't have RuntimeIdentifier or RuntimeIdentifiers properties set. --> + $(IsRidAgnostic) + true + false + + + - + --> + - + --> + AssignProjectConfiguration; _SplitProjectReferencesByFileExistence; _GetProjectReferenceTargetFrameworkProperties; _GetProjectReferencePlatformProperties - - - + + + - - - - - $(ProjectReferenceBuildTargets) - - - ProjectReference - - - + --> + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + - - - - + --> + + + + - - - - + --> + + + + - - - - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + --> + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> - <_ResolvedProjectReferencePaths> - %(_ResolvedProjectReferencePaths.OriginalItemSpec) - - - - - - + --> + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + - - <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> - %(ReferencePath.ProjectReferenceOriginalItemSpec) - - - - + --> + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + - - $(GetTargetPathDependsOn) - - + --> + + $(GetTargetPathDependsOn) + + - - $(GetTargetPathDependsOn) - + --> + + $(GetTargetPathDependsOn) + - - - - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion.TrimStart('vV')) - $(TargetRefPath) - @(CopyUpToDateMarker) - - - + BeforeTargets. --> + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + - - - - %(_ApplicationManifestFinal.FullPath) - - - + --> + + + + %(_ApplicationManifestFinal.FullPath) + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + ResolveProjectReferences; FindInvalidProjectReferences; @@ -5034,69 +5302,69 @@ Copyright (C) Microsoft Corporation. All rights reserved. PrepareForBuild; ResolveSDKReferences; ExpandSDKReferences; - - - - - <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> - + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + - - $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache - - - - <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> - - - - <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false - true - false - Warning - $(BuildingProject) - $(BuildingProject) - $(BuildingProject) - false - - + --> + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + - - - true - - + ide will show one of the references as not resolved, this will not break the build but is a display issue --> + + + true + + - - false - true - - - - - - - - - - - - - - - - - + --> + + false + true + + + + + + + + + + + + + + + + + - - + --> + + - - %(FullPath) - - - %(ReferencePath.Identity) - - - - + assembly unless already specified. --> + + %(FullPath) + + + %(ReferencePath.Identity) + + + + - - - - - + --> + + + + + - - - $(_GenerateBindingRedirectsIntermediateAppConfig) - - - - - $(TargetFileName).config - - - + --> + + + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + - - Software\Microsoft\Microsoft SDKs - $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs - - $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 - - true - Windows - 8.1 - - false - WindowsPhoneApp - 8.1 - - - - - - - - - - - - - + --> + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + - + --> + GetInstalledSDKLocations - - - - Debug - Retail - Retail - $(ProcessorArchitecture) - Neutral - - - true - - - - - - - - - - - - + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + - + --> + GetReferenceTargetPlatformMonikers - - - - - - - - <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> - - - - - - - + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + - + --> + ResolveSDKReferences - + .winmd; .dll - - - - - - - - - - - + + + + + + + + + + + - - - - false - false - false - $(TargetFrameworkSDKToolsDirectory) - true - - - - - - - - - - - - - - - <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> - - - + --> + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5354,8 +5622,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(TargetDir) - - + + - + --> + GetFrameworkPaths; GetReferenceAssemblyPaths; ResolveReferences - - - - - <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - - - $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache - - + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5396,29 +5664,29 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(OutDir) - - - - false - false - false - false - false - true - false - - - <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> - - - <_RARResolvedReferencePath Include="@(ReferencePath)" /> - - - - - - - + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + - - false - - - - $(IntermediateOutputPath) - - + --> + + false + + + + $(IntermediateOutputPath) + + - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - false - - - - - - - - - - - - - - + --> + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + - + --> + + --> - + --> + $(PrepareResourcesDependsOn); PrepareResourceNames; ResGen; CompileLicxFiles - - - + + + - + --> + AssignTargetPaths; SplitResourcesByCulture; CreateManifestResourceNames; CreateCustomManifestResourceNames - - - + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + - + --> + - - - - - - - <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> - - - Resx - - - Non-Resx - - - - - - - - - + --> + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + - - - - - - Resx - - - Non-Resx - - - - - - - - - - - - <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> - <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> - - + i.e. either Licx, or resources that don't have culture info --> + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + - - - - + --> + + + + - - ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen - FindReferenceAssembliesForReferences - true - false - - + --> + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + - + --> + - + --> + - - - <_Temporary Remove="@(_Temporary)" /> - - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - - + --> + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - true - - - true - - - - true - - - true - - - + suddenly start failing to build.--> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + --> - - - - - - - + --> + + + + + + + + --> - + --> + ResolveReferences; ResolveKeySource; @@ -5812,96 +6080,96 @@ Copyright (C) Microsoft Corporation. All rights reserved. CoreCompile; _TimeStampAfterCompile; AfterCompile; - - - + + + - - - - - - <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> - - <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> - Resx - false - - <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - false - - - + --> + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + - - - true - $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) - - - true - - - - - + --> + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + - - - - - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + + + - - true - - - - - - - - - - + --> + + true + + + + + + + + + + - + --> + - + --> + - - - <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + - - - $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + - - - <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + - - - __NonExistentSubDir__\__NonExistentFile__ - - + --> + + + __NonExistentSubDir__\__NonExistentFile__ + + - - <_SGenDllName>$(TargetName).XmlSerializers.dll - <_SGenDllCreated>false - <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) - <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto - <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off - true - false - true - + --> + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - + --> + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + --> - + --> + _GenerateSatelliteAssemblyInputs; ComputeIntermediateSatelliteAssemblies; GenerateSatelliteAssemblies - - - + + + - - - - - - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> - - <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> - Resx - true - - <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - true - - - + --> + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + - - - <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) - - - - - - + --> + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + - + --> + CreateManifestResourceNames - - - - - - %(EmbeddedResource.Culture) - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - - - + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + - - $(Win32Manifest) - + --> + + $(Win32Manifest) + - - - + --> + + + - <_DeploymentBaseManifest>$(ApplicationManifest) - <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + property is set though, prefer that one be used to specify the manifest. --> + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) - true - - - - - $(ApplicationManifest) - $(ApplicationManifest) - - - - - - $(_FrameworkVersion40Path)\default.win32manifest - - + a manifest to their built assemblies --> + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + --> - + --> + SetWin32ManifestProperties; GenerateApplicationManifest; GenerateDeploymentManifest - - + + - - - <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> - - - - - - + --> + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + - - - - - - - - - <_DeploymentCopyApplicationManifest>true - - + --> + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + - - - <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) - <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) - - + --> + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) - <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) - - - - - - - + --> + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + - - - <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> - <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> - - + --> + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + - - - - - - - <_DeploymentManifestType>Native - - - - - - - <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') - - - + --> + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + CleanPublishFolder; _DeploymentGenerateTrustInfo $(DeploymentComputeClickOnceManifestInfoDependsOn) - - + + - - - - <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - - - <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> - <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> - - - <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> - - - - <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> - true - - <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> - - - - <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> - - - + --> + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + + + + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + - <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> - - - - <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> - <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> - - <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> - - - + --> + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + - - <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> - <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> - - - + --> + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + - - - - - - - - - - - - - - - <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> - - - <_DeploymentManifestType>ClickOnce - + This is being done to avoid Windows Forms designer memory issues that can arise while operating directly on files located in Obj directory. --> + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + - - <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) - - - - - - - - - - - - - - - + --> + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - true - false - + --> + + true + false + - + --> + CopyFilesToOutputDirectory - - - + + + - - - false - false - - - - - false - false - false - - - true - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - false - false - - - - - - + --> + + + + false + false + + + + + + - - - - - + input to projects that reference this one. --> + + + + + - + --> + - - <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + --> + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence - true + --> + true <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> AssignProjectConfiguration; _SplitProjectReferencesByFileExistence - + AssignTargetPaths; $(_TargetsThatPrepareProjectReferences); _GetProjectReferenceTargetFrameworkProperties; _PopulateCommonStateForGetCopyToOutputDirectoryItems - + - <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems - - <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject - - + --> + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + - - <_GCTODIKeepDuplicates>false - <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> - - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - - <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> - - + a non-empty value and the original behavior will be restored. --> + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + - - - - %(CopyToOutputDirectory) - - - + --> + + + + %(CopyToOutputDirectory) + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - - - - - - - - - - - - + --> + + + + + + + + + + + + - - - - - - - - - <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false - - - - - - - <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false - - - - - + --> + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + - - - - <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true - - - - - + --> + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + --> - - - - <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> - - - - - - - - - - - - - + --> + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + - - <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> - - - - - - - - + the current final output and intermediate output directories. --> + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + - - - - - + --> + + + + + - - - + --> + + + - - <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - + --> + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - - - - - - + --> + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + --> - + --> + BeforeClean; UnmanagedUnregistration; @@ -7042,81 +7310,81 @@ Copyright (C) Microsoft Corporation. All rights reserved. CleanReferencedProjects; CleanPublishFolder; AfterClean - - - + + + - + --> + - + --> + - + --> + - - + --> + + - - - - + --> + + + + - - - - - - - - - - - - - - - - - - - - <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> - - - - - - - - - - + Declare items of this type if you want Clean to delete them. --> + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + - + --> + - - - - - - - - + --> + + + + + + + + - - - + --> + + + + --> - - - - - - + --> + + + + + + + --> - + --> + SetGenerateManifests; Build; PublishOnly - + _DeploymentUnpublishable - - - + + + - - - + --> + + + - - - - - true - - + --> + + + + + true + + - + --> + SetGenerateManifests; PublishBuild; @@ -7248,33 +7516,33 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; _DeploymentSignClickOnceDeployment; AfterPublish - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -7283,77 +7551,77 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; GenerateSerializationAssemblies; CreateSatelliteAssemblies; - - - + + + - + --> + - - - - - <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) - <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ - - - - false - false - - - - - - - - - - - - - - - - - + This is done because some servers misinterpret "." as a file extension. --> + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + - - - - + --> + + + + - - - - - - - - - - + --> + + + + + + + + + + + --> - + --> + - - - true - $(TargetPath) - $(TargetFileName) - true - - - - - - true - $(TargetPath) - $(TargetFileName) - - + --> + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + - - PrepareForBuild - true - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> - $(TargetDir)$(TargetFileName).config - $(TargetFileName).config - - $(AppConfig) - - - - <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> - <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> - $(_DeploymentTargetApplicationManifestFileName) - - $(OutDir)$(_DeploymentTargetApplicationManifestFileName) - - - - - - - %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) - - - + --> + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + - - - - - - @(_DebugSymbolsOutputPath->'%(FullPath)') - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputPdbItem->'%(FullPath)') - @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + - - - - - - @(FinalDocFile->'%(FullPath)') - true - @(DocFileItem->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputDocItem->'%(FullPath)') - @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + - - $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames - - - - - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - %(EmbeddedResource.Culture) - - - - - - $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) - - %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) - - - + --> + + $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - - - - - - $(MSBuildProjectFullPath) - $(ProjectFileName) - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + - - - - - - @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') - $(_SGenDllName) - - - + --> + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + - - + --> + + - - - + Needed for certain build environments that import partial sets of targets. --> + + + - - - - - - - - ResolveSDKReferences;ExpandSDKReferences - + --> + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + - - - - - - + --> + + + + + + + --> - + --> + $(CommonOutputGroupsDependsOn); BuildOnlySettings; PrepareForBuild; AssignTargetPaths; ResolveReferences - - + + - + --> + - + --> + $(BuiltProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - + + + + + + + - + --> + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(DocumentationProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SGenFilesOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(ReferenceCopyLocalPathsOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - + --> + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - + + + + --> - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets - - - - - - true - - - - - - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets - - - + retrieve them. --> + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets - - - - - - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets - $(MSBuildToolsPath)\NuGet.targets - + --> + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + +--> - - - true - - NuGet.Build.Tasks.dll - - false - - true - true - - false - - WarnAndContinue - - $(BuildInParallel) - true - - <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true - - $(MSBuildInteractive) - - true - - true - - <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true - - - - <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + --> + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + skipped. --> <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); NuGetRestoreTargets=$(MSBuildThisFileFullPath); RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); - - + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); _RestoreSolutionFileUsed=true; @@ -7917,57 +8185,57 @@ Copyright (c) .NET Foundation. All rights reserved. SolutionFileName=$(SolutionFileName); SolutionPath=$(SolutionPath); SolutionExt=$(SolutionExt); - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + --> + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - + --> + + + + $(ContinueOnError) + false + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - + --> + + + + $(ContinueOnError) + false + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - - - - - - - - + --> + + + + $(ContinueOnError) + false + + + + + + + + + - - - <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> - - + --> + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + - - - exclusionlist - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> - - - - - - - - - - - - - - - - - + --> + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + - - - - - - <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> - <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> - - - - - - - - - - + --> + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + - - - + --> + + + - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> - RestoreSpec - $(MSBuildProjectFullPath) - - - + --> + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + - - - netcoreapp1.0 - - - - - - + --> + + + netcoreapp1.0 + + + + + + - - - - - - - + --> + + + + + + + - + --> + - - <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true - - - <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true - - - - - - - <_HasPackageReferenceItems /> - - + --> + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + - - - true - - + --> + + + true + + - - - <_RestoreProjectFramework /> - <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) - - - - - - - <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> - - + --> + + + <_RestoreProjectFramework /> + <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + - - - <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> - - - <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> - - + --> + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + + <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> + + - - - $(SolutionDir) - - - - - - - - - - + --> + + + $(SolutionDir) + + + + + + + + + + - + --> + - - - - - - + --> + + + + + + - - - <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> - $(RestoreAdditionalProjectSources) - $(RestoreAdditionalProjectFallbackFolders) - $(RestoreAdditionalProjectFallbackFoldersExcludes) - - - + --> + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + - - - - $(MSBuildProjectExtensionsPath) - - - - + --> + + + + $(MSBuildProjectExtensionsPath) + + + + - - <_RestoreProjectName>$(MSBuildProjectName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) - + --> + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + - - <_RestoreProjectVersion>1.0.0 - <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) - <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) - - - - <_RestoreCrossTargeting>true - - - - <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(_RestoreProjectVersion) - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(RestoreProjectStyle) - $(RestoreOutputAbsolutePath) - $(RuntimeIdentifiers);$(RuntimeIdentifier) - $(RuntimeSupports) - $(_RestoreCrossTargeting) - $(RestoreLegacyPackagesDirectory) - $(ValidateRuntimeIdentifierCompatibility) - $(_RestoreSkipContentFileWrite) - $(_OutputConfigFilePaths) - $(TreatWarningsAsErrors) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - $(NoWarn) - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) - $(CentralPackageVersionOverrideEnabled) - $(CentralPackageTransitivePinningEnabled) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(RestoreOutputAbsolutePath) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(_CurrentProjectJsonPath) - $(RestoreProjectStyle) - $(_OutputConfigFilePaths) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - $(MSBuildProjectDirectory)\packages.config - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - $(_OutputSources) - $(SolutionDir) - $(_OutputRepositoryPath) - $(_OutputConfigFilePaths) - $(_OutputPackagesPath) - @(_RestoreTargetFrameworksOutputFiltered) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - @(_RestoreTargetFrameworksOutputFiltered) - - - + --> + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + - - - + --> + + + - + --> + - - - - - - - + --> + + + + + + + - + --> + - - - - - - - - - - - - - - - - - - - - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - TargetFrameworkInformation - $(MSBuildProjectFullPath) - $(PackageTargetFallback) - $(AssetTargetFallback) - $(TargetFramework) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion) - $(TargetFrameworkMoniker) - $(TargetFrameworkProfile) - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetPlatformVersion) - $(TargetPlatformMinVersion) - $(CLRSupport) - $(RuntimeIdentifierGraphPath) - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + + + - + --> + - - - - - - - <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> - - + --> + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + - - - - - - + --> + + + + + + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - - - - - - - - <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> - - - - - - + --> + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + - - - <_RestorePackagesPathOverride>$(RestorePackagesPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + - - - <_RestorePackagesPathOverride>$(RestoreRepositoryPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + - - - <_RestoreSourcesOverride>$(RestoreSources) - - + --> + + + <_RestoreSourcesOverride>$(RestoreSources) + + - - - <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) - - + --> + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + - - - - - - + --> + + + + + + - - - <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) - - + --> + + + <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) + + - - - <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> - - + --> + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + - + --> + - +--> + +--> - - $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets - +--> + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + +--> - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - $(MSBuildThisFileDirectory)\tools\net7.0\Microsoft.NET.Build.Extensions.Tasks.dll - $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll - - true - - - - +--> + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net7.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + +--> +--> +--> - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + +--> - - - Microsoft.TestPlatform.Build.dll - $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) - - - +--> + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +--> - +--> + +--> - - true - - - - true - + --> + + true + + + + true + - - <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets - <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) - - + --> + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + - - - +--> + + + // <autogenerated /> using System%3b using System.Reflection%3b [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName = "$(TargetFrameworkMonikerDisplayName)")] - - - - - true + + + + + true - true - true - - $([System.Globalization.CultureInfo]::CurrentUICulture.Name) - + --> + true + true + + $([System.Globalization.CultureInfo]::CurrentUICulture.Name) + - + but the user hasn't told us to not include standard references --> + - <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> - - - - + --> + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> + + + + +--> +--> - - - TargetFramework - TargetFrameworks - - - true - - +--> + + + TargetFramework + TargetFrameworks + + + true + + - - + --> + + - - - <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets - <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath - GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) - $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) - GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) - Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) - $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) - - <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath - <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) - GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) - - - - - - - - - - + --> + + + <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath + GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) + $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) + GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) + Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) + GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + + + + + + + + +--> - +--> + +--> +--> +--> - - - $(MSBuildThisFileDirectory)..\tools\ - net7.0 - net472 - $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ - $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll +--> + + + $(MSBuildThisFileDirectory)..\tools\ + net8.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll - Microsoft.NETCore.App;NETStandard.Library - + --> + Microsoft.NETCore.App;NETStandard.Library + - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - $(_IsExecutable) - - - - netcoreapp2.2 - - - false - DotnetTool - $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) - - - Preview - - - - - + --> + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + - - true - - +--> + + true + + +--> +--> - - - $(MSBuildProjectExtensionsPath)/project.assets.json - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + --> + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) - $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) - - false - - false - - true - $(IntermediateOutputPath)NuGet\ - true - $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) - $(TargetFrameworkMoniker) - true + be stored in a shared directory next to the assets.json file --> + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true - false + TargetDefinitions, FileDefinitions and FileDependencies items. --> + false - true - - - - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) - - - - - + its own multi-targeting logic, or if the current SDK targets will pick the assets correctly. --> + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + - + --> + $(ResolveAssemblyReferencesDependsOn); ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; - + ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; $(PrepareResourcesDependsOn) - - - - - - $(RootNamespace) - - - $(AssemblyName) - - - $(MSBuildProjectDirectory) - - - $(TargetFileName) - - - $(MSBuildProjectFile) - - - + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + - - true - + --> + + true + + --> - + --> + ResolveLockFileReferences; ResolveLockFileAnalyzers; @@ -9305,110 +9573,110 @@ Copyright (c) .NET Foundation. All rights reserved. ResolveRuntimePackAssets; RunProduceContentAssets; IncludeTransitiveProjectReferences - - - + + + + --> - - - - + --> + + + + - + run and created the assets file. --> + - - - - - - - - - - - - - - - - - <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) - roslyn$(_RoslynApiVersion) - - - - - - false - - - true - - - true - - - - true - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + compile errors. --> + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + match the expected version --> + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> - - - <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> - - + (that was spread across different tasks/targets) for backwards compatibility. --> + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + - + --> + - - - - - - + --> + + + + + + - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + - - - - + but the names depend upon the items themselves. Split it apart. --> + + + + - - + --> + + - - true - + --> + + true + - - + project, use that, in order to preserve metadata (such as aliases). --> + + - - - - - - - - - - - - - - + a reference with a warning. See https://github.com/dotnet/sdk/issues/1499 --> + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> - - <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - - - - + --> + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + - + NETSDK1056. --> + - - +--> + + +--> - - - true - true - true - true - - +--> + + + true + true + true + true + + - - $(DefaultItemExcludes);$(BaseOutputPath)/** - - $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** - - $(DefaultItemExcludes);**/*.user - $(DefaultItemExcludes);**/*.*proj - $(DefaultItemExcludes);**/*.sln - $(DefaultItemExcludes);**/*.vssscc + This is in the .targets because it needs to come after the final BaseOutputPath has been evaluated. --> + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc + $(DefaultItemExcludes);**/.DS_Store - $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** - + properties because of a naming mistake. --> + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + - + in the project file. --> + - 1.6.1 - - 2.0.3 - + produced, so we will roll forward to the latest version. --> + 1.6.1 + + 2.0.3 + +--> +--> - - true - false - <_TargetLatestRuntimePatchIsDefault>true - - - true - - - - - all - true - - - all - true - - - - - - - - - - - - + --> + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + - - - - - - - - - + A FrameworkReference to Microsoft.AspNetCore.App should be used instead, and will be implicitly included by Microsoft.NET.Sdk.Web. --> + + + + + + + + + - - - - - - - - - - - - + should be replaced with a FrameworkReference. --> + + + + + + + + + + + + - - $(_TargetFrameworkVersionWithoutV) - - - - - - - - https://aka.ms/sdkimplicitrefs - - - - - - - - - - - <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> - - - - false - - - - - - https://aka.ms/sdkimplicititems - + this should prevent breaking it. --> + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + - - - - - - - - - - - - - - - - - - - - - - - - - - <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> - - - + be easy to miss the duplicate items error which is the real source of the problem. --> + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + +--> - - - + if building with an implicit restore. --> + + + - - + --> + + - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + --> + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - - - - - - - - - - - - - - - + --> + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + + + + true + + + + + +--> +--> - +--> + $(ResolveAssemblyReferencesDependsOn); ResolveTargetingPackAssets; - - - - - - - + + + + + + + - - - - - - - - + we can't do the change atomically --> + + + + + + + + - - - - - - - - - - - true - true - - - <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - - - - - $(RuntimeIdentifier) - $(DefaultAppHostRuntimeIdentifier) - - - - - - - - - - - true - true - false - - - - [%(_PackageToDownload.Version)] - - - - - - + --> + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + + - - - - - - + --> + + + + + + - - - - - - - %(ResolvedTargetingPack.PackageDirectory) - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> - %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) - - - - - %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) - - - - @(ResolvedAppHostPack->'%(Path)') - - - - %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) - - - - @(ResolvedSingleFileHostPack->'%(Path)') - - - - %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) - - - - @(ResolvedComHostPack->'%(Path)') - - - - %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) - - - - @(ResolvedIjwHostPack->'%(Path)') - - - - - - - - - - + --> + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + - - - - true - false - - - - - - - - - - + --> + + + + true + false + + + + + + + + + + - $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) - - - - - - - - - - + that consume it. --> + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + + + + + + + + + + - - - - - - <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> - - - + --> + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + - - - - - - - - + --> + + + + + + + + - + --> + - - - <_Parameter1>$(UserSecretsId.Trim()) - - - + --> + + + <_Parameter1>$(UserSecretsId.Trim()) + + + - - - - - - $(_IsNETCoreOrNETStandard) - - - true - false - true - $(MSBuildProjectDirectory)/runtimeconfig.template.json - true - true - <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache - <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) - - - - - - - - - - - true - - - false - - - $(AssemblyName).deps.json - $(TargetDir)$(ProjectDepsFileName) - $(AssemblyName).runtimeconfig.json - $(TargetDir)$(ProjectRuntimeConfigFileName) - $(TargetDir)$(AssemblyName).runtimeconfig.dev.json - true - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + + + + + $(_IsNETCoreOrNETStandard) + + + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json + + + + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + +--> - - - true - true - - - - CurrentArchitecture - CurrentRuntime - - - <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so - <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe - <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) - <_DotNetAppHostExecutableNameWithoutExtension>apphost - <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) - <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost - <_DotNetComHostLibraryNameWithoutExtension>comhost - <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) - <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost - <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) - <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) - <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) - - - - - - <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> - - +--> + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + - - - Microsoft.NETCore.App - - + --> + + + Microsoft.NETCore.App + + - - <_DefaultUserProfileRuntimeStorePath>$(HOME) - <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) - <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) - $(_DefaultUserProfileRuntimeStorePath) - - - true - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + + + true + - - false - true - + property values from referencing projects. --> + + false + true + - - true - - - true - - - $(AvailablePlatforms),ARM32 - - - $(AvailablePlatforms),ARM64 - - - $(AvailablePlatforms),ARM64 - - - - false - - - - true - - + --> + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + + _CheckForBuildWithNoBuild; $(CoreBuildDependsOn); GenerateBuildDependencyFile; GenerateBuildRuntimeConfigurationFiles - - - + + + _SdkBeforeClean; $(CoreCleanDependsOn) - - - + + + _SdkBeforeRebuild; $(RebuildDependsOn) - - + + + + + + + + + - - - + --> + + + - - - - 1.0.0 - - - - - - - - - - - + --> + + + + 1.0.0 + + + + + + + + + + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + + - - - + during incremental builds when the task is skipped --> + + + - - - - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + - - - <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true - LatestMinor - + --> + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + - - - <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true - - - + other values should still keep failing as they won't have any effect when run on 2.*. --> + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_CleaningWithoutRebuilding>true - false - - - - - <_CleaningWithoutRebuilding>false - - + during incremental builds when the task is skipped --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + --> + + + + + $(CompileDependsOn); _CreateAppHost; _CreateComHost; _GetIjwHostPaths; - - + + - - - - <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true - <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true - - - + --> + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + - - - $(SingleFileHostSourcePath) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) - - + --> + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + - - - - - @(_NativeRestoredAppHostNETCore) - - - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) - - - - - - + --> + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + - - - - - + --> + + + + + - - - - + --> + + + + - - - + --> + + + - - - $(AssemblyName).comhost$(_ComHostLibraryExtension) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) - - - + --> + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + - - - + --> + + + - - - - <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest - PreserveNewest - - - + --> + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + - - PreserveNewest - Never - - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest + --> + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest - Always - - - - - $(AssemblyName).$(_DotNetComHostLibraryName) - PreserveNewest - PreserveNewest - - - %(FileName)%(Extension) - PreserveNewest - PreserveNewest - - - - - $(_DotNetIjwHostLibraryName) - PreserveNewest - PreserveNewest - - - + places the correct unbundled apphost in the publish directory. --> + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + - - - <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + --> + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> - <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> - <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> - <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> - - + --> + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + - - - - - true - - - true - - - - - + --> + + + + + true + + + true + + + + + - - $(StartWorkingDirectory) - - - - - $(StartProgram) - $(StartArguments) - - - - - - dotnet - <_NetCoreRunArguments>exec "$(TargetPath)" - $(_NetCoreRunArguments) $(StartArguments) - $(_NetCoreRunArguments) - - - $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) - $(StartArguments) - - - - - $(TargetPath) - $(StartArguments) - - - mono - "$(TargetPath)" $(StartArguments) - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) - - - - - + --> + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + - + --> + $(CreateSatelliteAssembliesDependsOn); CoreGenerateSatelliteAssemblies - - - - - - - <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs - <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll - - - - <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) - - - - - - - true - - - - - - - - - - - - - + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + - + --> + - - - - - + --> + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - + --> + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + - - - - - - + --> + + + + + + - - - - - - - - - - false - - + --> + + + + + + + + + + false + + - false - - - - false - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true - - - - + to run it. --> + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + - - - + --> + + + - - - - - - - - + --> + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + +--> - +--> + $(CommonOutputGroupsDependsOn); - - - + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); _GenerateDesignerDepsFile; _GenerateDesignerRuntimeConfigFile; GetCopyToOutputDirectoryItems; _GatherDesignerShadowCopyFiles; - - <_DesignerDepsFileName>$(AssemblyName).designer.deps.json - <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json - <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) - <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) - - - + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + - - - - - - - - - - <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> - - - - - - - - - - - <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + --> + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> - <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> - - - - - + --> + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + + + + +--> +--> +--> - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) - true - - - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - + --> + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + - - - - - <_InformationalVersionContainsPlus>false - <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true - $(InformationalVersion)+$(SourceRevisionId) - $(InformationalVersion).$(SourceRevisionId) - - - - - - <_Parameter1>$(Company) - - - <_Parameter1>$(Configuration) - - - <_Parameter1>$(Copyright) - - - <_Parameter1>$(Description) - - - <_Parameter1>$(FileVersion) - - - <_Parameter1>$(InformationalVersion) - - - <_Parameter1>$(Product) - - - <_Parameter1>$(AssemblyTitle) - - - <_Parameter1>$(AssemblyVersion) - - - <_Parameter1>RepositoryUrl - <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) - <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) - - - <_Parameter1>$(NeutralLanguage) - - - %(InternalsVisibleTo.PublicKey) - - - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) - - - <_Parameter1>%(AssemblyMetadata.Identity) - <_Parameter2>%(AssemblyMetadata.Value) - - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) - - - <_Parameter1>$(TargetPlatformIdentifier) - - - + --> + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(Trademark) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + %(InternalsVisibleTo.PublicKey) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + + + + - - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache - - - - - - - - - - - - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + - - - - - - $(AssemblyVersion) - $(Version) - - + --> + + + + + + $(AssemblyVersion) + $(Version) + + +--> +--> +--> - - - $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) + - - - - - - - - - - + --> + + + + + + + + + + +--> +--> - - - - <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config - - - - - - - - - - - - - - - - - +--> + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + +--> +--> +--> - + --> + - - - <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> - <_AllProjects Include="$(MSBuildProjectFullPath)" /> - - - - - + --> + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + - - - - %(PackageReference.Identity) - %(PackageReference.Version) + --> + + + + %(PackageReference.Identity) + %(PackageReference.Version) StorePackageName=%(PackageReference.Identity); StorePackageVersion=%(PackageReference.Version); @@ -11375,246 +12229,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); DisableImplicitFrameworkReferences=false; - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - + --> + + + + + + + + + <_StoreArtifactContent> @(ListOfPackageReference) -]]> - - - - - - +]]> + + + + + + - - - <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> - <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> - - - - - - - - + --> + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + - - - true - true - <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) - true - - - - - - $(UserProfileRuntimeStorePath) - <_ProfilingSymbolsDirectoryName>symbols - $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) - $(DefaultProfilingSymbolsDir) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) - $(ProfilingSymbolsDir)\ - $(DefaultComposeDir) - $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) - $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) - $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) - $([System.IO.Path]::GetFullPath($(ComposeDir))) - <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) - $([System.IO.Path]::GetTempPath()) - $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) - $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) - - $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) - - $(PublishDir)\ - - - - false - true - - - - - - - - $(StorePackageVersion.Replace('*','-')) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) - <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) - $(StoreWorkerWorkingDir)\ - $(BaseIntermediateOutputPath)\project.assets.json - - - $(MicrosoftNETPlatformLibrary) - true - - + --> + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + - - - - + --> + + + + - + --> + - + --> + - - - - - + --> + + + + + - + --> + - - - <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> - - - true - - + --> + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + - - - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> - - + --> + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + - - - - true - true - - - - - - - - - + --> + + + + true + true + + + + + + + + + - - - - - - + --> + + + + + + +--> +--> +--> - - true - true - false - true - false - true - 1 - + --> + + true + true + false + true + false + true + 1 + - - - - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> - - - - - - - - <_CoreclrPath>@(_CoreclrResolvedPath) - @(_JitResolvedPath) - <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) - <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) - $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) - - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) - - - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) - - + --> + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + - - - + --> + + + CrossgenExe=$(Crossgen); CrossgenJit=$(JitPath); @@ -11704,246 +12558,252 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) - - - - - - + + + + + + - - - $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) - $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) - $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" - CreatePDB - CreatePerfMap - - - - - - - - - - - - <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> - - - - - - - - $([System.IO.Path]::PathSeparator) - $([System.IO.Path]::DirectorySeparatorChar) - - + --> + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + - - - <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) - <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) - - - - - <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) - - + --> + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + - - - <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) - - <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) - - <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) - - - <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> - - - - - - - - + --> + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll - $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - + --> + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + - - - - - + --> + + + + + + + + + + + - - - - - + --> + + + + + - - - - <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R - - - - <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> - + --> + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + - - <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> - - - - - - <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> - <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> - - - <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> - <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> - - - - - - - - - - - - - - - - - + assembly list. --> + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + - - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> - - + --> + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> - - + --> + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + +--> +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + - - +--> + + - - <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> - - <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> - - - - +--> + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + +--> +--> - - true - <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true - true - - - - Always - - +--> + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + + true + true + + + + Always + + + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + - - - - + --> + + + + <_BeforePublishNoBuildTargets> BuildOnlySettings; _PreventProjectReferencesFromBuilding; @@ -12045,62 +12919,70 @@ Copyright (c) .NET Foundation. All rights reserved. PrepareResourceNames; ComputeIntermediateSatelliteAssemblies; ComputeEmbeddedApphostPaths; - + <_CorePublishTargets> PrepareForPublish; ComputeAndCopyFilesToPublishDirectory; $(PublishProtocolProviderTargets); PublishItemsOutputGroup; - - <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) - - - - + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + - - - - - - - false - - + the published assets were copied. --> + + + + + + + + + + + + + + false + + - - - - - - - - - - - - - - $(PublishDir)\ - - - + --> + + + + + + + + + + + + + + $(PublishDir)\ + + + - + --> + - + --> + - - - - <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> - - - - - - - - + --> + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + - - - <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) - - - - - - <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt - - - - - - - - - - - - - - - - - - <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> - <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> - - - - - - - - - + --> + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + - + --> + - - - - + --> + + + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - - <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> - <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> - - - <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> - <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> - - + --> + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + - - - true - true - false - - + --> + + + + + true + true + false + + - - - - - @(IntermediateAssembly->'%(Filename)%(Extension)') - PreserveNewest - - - - $(ProjectDepsFileName) - PreserveNewest - - - - $(ProjectRuntimeConfigFileName) - PreserveNewest - - - - @(AppConfigWithTargetPath->'%(TargetPath)') - PreserveNewest - - - - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - PreserveNewest - true - - - - %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) - PreserveNewest - - - - %(Filename)%(Extension) - PreserveNewest - - + --> + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> - - - - %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) - PreserveNewest - - - - @(FinalDocFile->'%(Filename)%(Extension)') - PreserveNewest - - - - shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) - PreserveNewest - - - <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> - - - + to ensure that we don't get duplicate files in the publish output. --> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + - - + --> + + - - - - - <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> - - - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> - - + PreserveStoreLayout without this task, and how to handle RuntimeStorePackages. --> + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + - - - - - - + --> + + + + + + - - - <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> - - + --> + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + - - - <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + --> + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - - - - %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) - Always - True - - - %(_SourceItemsToCopyToPublishDirectory.TargetPath) - PreserveNewest - True - - - + --> + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + - + --> + - - <_GCTPDIKeepDuplicates>false - <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath - - - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - + a non-empty value and the original behavior will be restored. --> + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + - - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - Always - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - PreserveNewest - - - - - <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies - - - + --> + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + - - - <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> - - <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> - - <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> - - - - <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> - + --> + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + - - - + --> + + + - - - - - - - - - <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> - - - + --> + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + - - <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true - <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true - - + generate a different one. --> + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + - - - <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> - - - - $(AssemblyName)$(_NativeExecutableExtension) - $(PublishDir)$(PublishedSingleFileName) - - - - - - - - $(PublishedSingleFileName) - - - - - - false - false - false - $(IncludeAllContentForSelfExtract) - false - - - - - - - - - - + --> + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + - - - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) - $(PublishDir)$(ProjectDepsFileName) - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) - - - - - - <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - - - - - $(ProjectDepsFileName) - - - + --> + + + + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + - - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + --> + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + - - - - - - - - + --> + + + + + + + + - + --> + $(PublishItemsOutputGroupDependsOn); ResolveReferences; ComputeResolvedFilesToPublishList; _ComputeFilesToBundle; - - - - - - - - - - - + + + + + + + + + + + - + --> + - - - + --> + + + - +--> + +--> - - - - - +--> + + + + + - - <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml - true - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) - - - - <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> - <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> - <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> - - - - - - - tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) - - - %(_ResolvedFileToPublishWithPackagePath.PackagePath) - - - - - - - $(TargetName) - $(TargetFileName) - - - - - - - - - - - - - + --> + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + $(TargetName) + $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) + + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + + + + + + + + + + + + - - <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache - <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) - <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel - <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) - $(OutDir) - - - - - + --> + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + - - + --> + + - - - - - - - - - + during incremental builds when the task is skipped --> + + + + + + + + + - - - <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> - <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> - <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> - <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + +--> +--> - - - +--> + + + +--> +--> - - refs - $(PreserveCompilationContext) - - - - - $(DefineConstants) - $(LangVersion) - $(PlatformTarget) - $(AllowUnsafeBlocks) - $(TreatWarningsAsErrors) - $(Optimize) - $(AssemblyOriginatorKeyFile) - $(DelaySign) - $(PublicSign) - $(DebugType) - $(OutputType) - $(GenerateDocumentationFile) - - - - - - - - - +--> + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(PublicSign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + - <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + --> + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> - <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> - - $(RefAssembliesFolderName)\%(Filename)%(Extension) - - - + --> + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + - - - - - + --> + + + + + +--> +--> +--> +--> - - +--> + + Microsoft.CSharp|4.4.0; Microsoft.Win32.Primitives|4.3.0; @@ -13123,9 +14080,9 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + Microsoft.Win32.Primitives|4.3.0; System.AppContext|4.3.0; @@ -13222,50 +14179,50 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + - - +--> + + - - + --> + + - <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> - - - - - - - + --> + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + - - - - - - - - - + (eg: HintPath) --> + + + + + + + + + - - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> - - + --> + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + - - - - - - - + --> + + + + + + + +--> +--> - - Properties - - - $(Configuration.ToUpperInvariant()) +--> + + Properties + + + $(Configuration.ToUpperInvariant()) - $(ImplicitConfigurationDefine.Replace('-', '_')) - $(ImplicitConfigurationDefine.Replace('.', '_')) - $(ImplicitConfigurationDefine.Replace(' ', '_')) - $(DefineConstants);$(ImplicitConfigurationDefine) - - - $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) - - - - - + --> + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(ImplicitConfigurationDefine.Replace(' ', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + + + + + - - $(WarningsAsErrors);SYSLIB0011 - - - - - - - - - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - - - - false - false - false - false - false - false - false - false - - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --notrimwarn - false - - - - $(NoWarn);IL2121 - - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - - - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - - - - - - - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - - - - - - - - - 5 - 0 - - - - - - <_ILLinkSuppressions Include="$(MSBuildThisFileDirectory)6.0_suppressions.xml" /> - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --link-attributes "@(_ILLinkSuppressions->'%(Identity)', '" --link-attributes "')" - - - - copyused - partial - full - - <_TrimmerDefaultAction Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '7.0'))">$(TrimmerDefaultAction) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">$(TrimMode) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '6.0'))">copy - - - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - <_ExtraTrimmerArgs>--enable-serialization-discovery $(_ExtraTrimmerArgs) - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - - - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - - - - - - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - + --> + + $(WarningsAsErrors);SYSLIB0011 + +--> + + + + +--> - +--> + + and enable .NET analyzers. Valid values are 'none', 'latest', 'preview', or a version number --> - <_NoneAnalysisLevel>4.0 - - <_LatestAnalysisLevel>7.0 - <_PreviewAnalysisLevel>8.0 - latest - $(_TargetFrameworkVersionWithoutV) + we choose to only do the 'latest' => actual value translation one time. --> + <_NoneAnalysisLevel>4.0 + + <_LatestAnalysisLevel>8.0 + <_PreviewAnalysisLevel>9.0 + latest + $(_TargetFrameworkVersionWithoutV) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) + --> + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) - $(_NoneAnalysisLevel) - $(_LatestAnalysisLevel) - $(_PreviewAnalysisLevel) - - $(AnalysisLevelPrefix) - $(AnalysisLevel) - - - - 9999 - - 4 - - $(_TargetFrameworkVersionWithoutV.Substring(0, 1)) - - - - - true - - true - - true - - true - - false - - - - false - false - false - false - false - - + and an implied numerical option (such as '4')--> + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefix) + $(AnalysisLevel) + + + + 9999 + + 4 + + $(_TargetFrameworkVersionWithoutV.Substring(0, 1)) + + + + + true + + true + + true + + true + + false + + + + false + false + false + false + false + + +--> - + --> + - - <_NETAnalyzersSDKAssemblyVersion>7.0.1 - + --> + + <_NETAnalyzersSDKAssemblyVersion>8.0.0 + - - CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2100;CA2101;CA2109;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2229;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 - $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) - $(WarningsAsErrors);$(CodeAnalysisRuleIds) - + This property group handles 'CodeAnalysisTreatWarningsAsErrors = false' for the CA rule ids implemented in this package. + --> + + CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1510;CA1511;CA1512;CA1513;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA1856;CA1857;CA1858;CA1859;CA1860;CA1861;CA1862;CA1863;CA1864;CA1865;CA1866;CA1867;CA1868;CA1869;CA1870;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2021;CA2100;CA2101;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2261;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 + $(CodeAnalysisTreatWarningsAsErrors) + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Analyzers.targets +============================================================================================================================================ +--> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - true - true - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets - - - - - +--> + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + +--> - - - true - - - - true - - - - 7.0 - - +--> + + + true + + + + true + + + + 7.0 + + - $(TargetPlatformMinVersion) - $(SupportedOSPlatformVersion) - - $(TargetPlatformVersion) - $(TargetPlatformVersion) - - - - <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> - - - - - - - - + other value. --> + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> - - - - - - - + The WinMD in this case can be identified because the Implementation metadata value is WinRT.Host.dll. So here we remove any such WinMD references. --> + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + +--> - + TargetPlatformVersion may have been set later than that in evaluation by platform-specific targets or Directory.Build.targets. So fix up those properties here --> + - 0.0 - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - - - - $(TargetPlatformVersion) - - + workloads. --> + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + +--> +--> - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll - $(MSBuildThisFileDirectory)..\tools\net7.0\Microsoft.DotNet.ApiCompat.Task.dll - - - - - +--> + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll + + + + + +--> - - - - - - $(RoslynTargetsPath) - <_packageReferenceList>@(PackageReference) +--> + + + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) - $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) - $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) - - - - $(GenerateCompatibilitySuppressionFile) - - - - - - - <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - - $(_apiCompatDefaultProjectSuppressionFile) - - - - - - + are on the same directory as Microsoft.CodeAnalysis. So there is no need to distinguish between csproj or vbproj. --> + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + +--> +--> - - $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore - - CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - - - $(PackageId) - $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) - - - <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> - - - - - - - - - - - - - - - - +--> + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + + + + + + + + + + $(TargetPlatformMoniker) + + + + + + + + + - +--> + - - - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets - true - +--> + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + +--> - - - ..\CoreCLR\NuGet.Build.Tasks.Pack.dll - ..\Desktop\NuGet.Build.Tasks.Pack.dll - - - - - - - - - $(AssemblyName) - $(Version) - true - _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) - $(Description) - Package Description - false - true - true - tools - lib - content;contentFiles - $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) - true - symbols.nupkg - DeterminePortableBuildCapabilities - false - false - .dll; .exe; .winmd; .json; .pri; .xml - $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) - .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) - .pdb - false - - - $(GenerateNuspecDependsOn) - - - Build;$(GenerateNuspecDependsOn) - - - - - - - $(TargetFramework) - - - - $(MSBuildProjectExtensionsPath) - $(BaseOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - +--> + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - + --> + + + + + + - - - <_ProjectFrameworks /> - - - - - - <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> - - + --> + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + - - - - <_PackageFilesToDelete Include="@(_OutputPackItems)" /> - - - - - - false - - - - - - - - - - - - - + --> + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + - - - - - - true - - - - - - - - - + --> + + + + + + true + + + + + + + + + - - - - $(PrivateRepositoryUrl) - $(SourceRevisionId) - - + --> + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + - - - - $(MSBuildProjectFullPath) - - - - - - - - - - - - - - - - - <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> - $(PackageVersion) - 1.0.0 - - - - - - - - - - - - - - - - - - - - - - - - - - <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> - - - - - - $(TargetFramework) - - - - - - - - - - - - - %(TfmSpecificPackageFile.RecursiveDir) - %(TfmSpecificPackageFile.BuildAction) - - - - - - <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> - $(TargetFramework) - - - - <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> - - + --> + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + - - - <_PathToPriFile Include="$(ProjectPriFullPath)"> - $(ProjectPriFullPath) - $(ProjectPriFileName) - - - + has to be added manually here.--> + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + - - - <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> - - - - <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> - Content - - <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> - Compile - - <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> - None - - <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> - EmbeddedResource - - <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> - ApplicationDefinition - - <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> - Page - - <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> - Resource - - <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> - SplashScreen - - <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> - DesignData - - <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> - DesignDataWithDesignTimeCreatableTypes - - <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> - CodeAnalysisDictionary - - <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> - AndroidAsset - - <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> - AndroidResource - - <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> - BundleResource - - - + --> + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + +--> +--> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.FSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.FSharp.xml index f2f5a8f..1ef8691 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.FSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.FSharp.xml @@ -1,17 +1,17 @@ - +--> + +--> - +--> + - true + --> + true - true - - - $(ProjectExtensionsPathForSpecifiedProject) - - + --> + true + + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + + + $(ProjectExtensionsPathForSpecifiedProject) + + +--> - - true - true - true - true - true - +--> + + true + true + true + true + true + - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - + --> + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + - + --> + - obj\ - $(BaseIntermediateOutputPath)\ - <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) - $(BaseIntermediateOutputPath) + --> + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) - $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) - $(MSBuildProjectExtensionsPath)\ - true - <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) - - + --> + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) - - + --> + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + - - true - - - $(DefaultProjectConfiguration) - $(DefaultProjectPlatform) - - - WJProject - JavaScript - - - - - + e.g. by the project itself. --> + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props - $(MSBuildToolsPath)\NuGet.props - + --> + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + +--> +--> - - true - + --> + + true + - - <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props - <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) - $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) - - - - true - + --> + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + - - true - true - true - true - true - true - true - true - true - true - true - true - true - +%UserProfile%//.dotnet/sdk/7.0.202/Current/Microsoft.Common.props +============================================================================================================================================ +--> + + true + true + true + true + true + true + true + true + true + true + true + true + true + +--> +--> - - - true - - - - Debug;Release - AnyCPU - Debug - AnyCPU - - - - Library - 512 - prompt - $(MSBuildProjectName) - $(MSBuildProjectName.Replace(" ", "_")) - true - - - - true - false - - - true - - +--> + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + + true + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + - - <_PlatformWithoutConfigurationInference>$(Platform) - - - x64 - - - x86 - - - ARM - - - arm64 - - - - - {CandidateAssemblyFiles} - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);{RawFileName} - - - portable - - false - - true - true + --> + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + arm64 + + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + + + portable + + false + + true + true - PackageReference - $(AssemblySearchPaths) - false - false - false - false - false - false - false - false - false - true - 1.0.3 - false - true - true - false - true - - - - - - $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj - - + a project targets .NET Framework and doesn't have any direct package dependencies. --> + PackageReference + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.3 + false + true + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + - - - $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) - $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs - 7.0 - 7.0 - 7.0.4 - 2.1 - 2.1.0 - 7.0.1 - $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json - 7.0.202 - win-x64 - win-x64 - <_NETCoreSdkIsPreview>false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +--> + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)../../')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + <_NetFrameworkHostedCompilersVersion>4.8.0-3.23471.11 + 8.0 + 8.0 + 8.0.0-rc.2.23479.6 + 2.1 + 2.1.0 + 8.0.0-rc.2.23479.6 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 8.0.100-rc.2.23502.2 + linux-x64 + linux-x64 + <_NETCoreSdkIsPreview>true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> + - - - $(BundledRuntimeIdentifierGraphFile) - - - - false - - - <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif - - - - - - - - - - - - - - - - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props +============================================================================================================================================ +--> + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + - - - - - - - - - + evaluated in the second pass of evaluation, after all properties have been evaluated. --> + + + + + + + + + - + an implicit FrameworkReference --> + - - - - - + Packing an DotnetCliTool should include the Microsoft.NETCore.App package dependency. --> + + + + + + + +--> - - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel - true - - + putting an EnableWorkloadResolver.sentinel file beside the MSBuild SDK resolver DLL --> + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + +--> - - +--> + + - +--> + +--> +--> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + This is used by VS to show the list of frameworks to which projects can be retargeted. --> + + + + + + + + + + + + + + + + 9.0 + 17.8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +--> + +--> - - - - - - +--> + + + + + + - +--> + +--> - - - - - - - - - - - - +--> + + + + + + + + + + + + - - +--> +--> - - - - false - true - - - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.props - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.props - +--> + + + true + <_SourceLinkPropsImported>true + + - +--> + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - TRACE - - - - - $(DefineConstants);TRACE - - - - - false - - false - - - {F2A71F9B-5D33-465A-A702-920D77279786} - - false - false - 3 - 3239;$(WarningsAsErrors) - true - true - false - - - true - false - false - - - false - true - true - - - $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) - $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) - "$(MSBuildThisFileDirectory)fsc.dll" - $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) - $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) - "$(MSBuildThisFileDirectory)fsi.dll" - - - true - true - - - - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.SourceLink.Common/build/Microsoft.SourceLink.Common.props +============================================================================================================================================ +--> + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + - +--> + + + + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.props +============================================================================================================================================ +--> - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - <_FSCorePackageVersionSet>true - 7.0.200 - <_FSharpCoreLibraryPacksFolder Condition="'$(_FSharpCoreLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(MSBuildThisFileDirectory)'))library-packs - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.SourceLink.GitLab/build/Microsoft.SourceLink.GitLab.props +============================================================================================================================================ +--> + + + + - - - 4.4.0 - - - - contentFiles - - - contentFiles - - - - - - - - true - - +--> +--> + + + + + + +--> +--> + + + + + + - - - true - - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props +============================================================================================================================================ +--> + + +--> - - - $(MSBuildThisFileDirectory)Microsoft.DotNet.ILCompiler.SingleEntry.targets - - - +--> + + + + false + true + + + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.props + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.props + +--> + - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + TRACE + + + + + $(DefineConstants);TRACE + + + + + false + + false + + + {F2A71F9B-5D33-465A-A702-920D77279786} + + false + false + 3 + 3239;$(WarningsAsErrors) + true + true + false + + + true + false + false + + + false + true + true + + + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsc.dll" + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsi.dll" + + + true + true + + + + +--> + - - - $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.targets - - true - $(MSBuildThisFileDirectory)..\tools\net7.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + <_FSCorePackageVersionSet>true + 7.0.200 + <_FSharpCoreLibraryPacksFolder Condition="'$(_FSharpCoreLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(MSBuildThisFileDirectory)'))library-packs + + + + + 4.4.0 + + + + contentFiles + + + contentFiles + + + + + + + + true + + +--> +--> +--> - - $(TargetsForTfmSpecificContentInPackage);PackTool - +--> + + $(TargetsForTfmSpecificContentInPackage);PackTool + +--> +--> - - $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation - +--> + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + +--> - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - - - - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props +============================================================================================================================================ +--> + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + + + + - - - - - - - + --> + + + + + + + - + --> + - <_WpfCommonNetFxReference Include="WindowsBase" /> - <_WpfCommonNetFxReference Include="PresentationCore" /> - <_WpfCommonNetFxReference Include="PresentationFramework" /> - <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> - 4.0 - - <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> - - - <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> - <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> - <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> - + --> + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + --> - + --> + - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + --> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> - <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + --> + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> - <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> - - - - - + --> + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + --> +--> + --> - + --> + - - - - + --> + + + + +--> - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + +--> +--> +--> - - - - + --> + + + + +--> +--> +--> - - - - - true - - <_TargetFrameworkVersionValue>0.0 - <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 - +--> + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + +--> +--> +--> +--> - - - true - - +--> + + + true + + +--> +--> - - - - - - - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - - - $(_IsExecutable) - <_UsingDefaultForHasRuntimeOutput>true - + So import them here. --> + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + +--> - - 1.0.0 - $(VersionPrefix)-$(VersionSuffix) - $(VersionPrefix) - - - $(AssemblyName) - $(Authors) - $(AssemblyName) - $(AssemblyName) - +--> + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + - - - +--> - - Debug - AnyCPU - $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - - + --> + + Debug + AnyCPU + $(Platform) + + respected by the SDK. --> +--> - - - true - <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) - <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties - <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ - $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) - $(_PublishProfileRootFolder)$(PublishProfileName).pubxml - $(PublishProfileFullPath) +--> + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) - false - - - + to limit the import to the project being published. --> + false + + + +--> + --> +--> +--> - - + --> + + - - $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) - v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) - + --> + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + - - $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) - - - Windows - + --> + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + - - <_UnsupportedTargetFrameworkError>true - + --> + + <_UnsupportedTargetFrameworkError>true + - - - - + --> + + + + - - - true - - - - - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + true + true + + + + + + + + + + + + + + + + + - - v0.0 - - - _ - + --> + + v0.0 + + + _ + - - - + --> + + + true + + + + - - - - - - <_EnableDefaultWindowsPlatform>false - false - - - 2.1 + --> + + + + + + <_EnableDefaultWindowsPlatform>false + false + + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion->Distinct()) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + + + + + true + true + + + + + + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ + + - - - <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> - - - @(_ValidTargetPlatformVersion->Distinct()) - - - - - true - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None - - - + --> + + + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - - - - true - - - true - true - + in the project file, the specified value will be used for the exclude. --> + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** + - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ - + --> + + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + - - - - true - - false - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - +--> + + + + true + + false + - - + --> + + +--> - - +--> + + - - - - - - - - - - +--> + + + + + + + + + + +--> - - - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +%UserProfile%//.dotnet/sdk-manifests/7.0.100/microsoft.net.sdk.ios/WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\15.4.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +%UserProfile%//.dotnet/sdk-manifests/7.0.100/microsoft.net.sdk.maccatalyst/WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\15.4.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\12.3.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +%UserProfile%//.dotnet/sdk-manifests/7.0.100/microsoft.net.sdk.macos/WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\12.3.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - +--> + + + + + + + - - - - - + --> + + + + + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +%UserProfile%//.dotnet/sdk-manifests/7.0.100/microsoft.net.sdk.tvos/WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - <_RuntimePackInWorkloadVersion6>6.0.15 - true - true - +--> + + <_RuntimePackInWorkloadVersion6>6.0.15 + true + true + - - false - - - - true - $(WasmNativeWorkload) - - - false - false - - - false - true - - - - - - - - - - - - - - - - + --> + + false + + + + true + $(WasmNativeWorkload) + + + false + false + + + false + true + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) - - - - $(_MonoWorkloadRuntimePackPackageVersion) - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + - - - - - - - - + and emit a warning --> + + + + + + + + +--> - - <_RuntimePackInWorkloadVersion7>7.0.4 - <_BrowserWorkloadDisabled7>$(BrowserWorkloadDisabled) - <_BrowserWorkloadDisabled7 Condition="'$(_BrowserWorkloadDisabled7)' == '' and '$(RuntimeIdentifier)' == 'browser-wasm' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and !$([MSBuild]::VersionEquals('$(TargetFrameworkVersion)', '7.0'))">true - true - +--> + + <_RuntimePackInWorkloadVersion7>7.0.4 + <_BrowserWorkloadDisabled7>$(BrowserWorkloadDisabled) + <_BrowserWorkloadDisabled7 Condition="'$(_BrowserWorkloadDisabled7)' == '' and '$(RuntimeIdentifier)' == 'browser-wasm' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and !$([MSBuild]::VersionEquals('$(TargetFrameworkVersion)', '7.0'))">true + true + - - true - false - - - - true - $(WasmNativeWorkload7) - - - false - false - false - - - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) - - - - $(_MonoWorkloadRuntimePackPackageVersion) - - Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** - Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** - - + --> + + true + false + + + + true + $(WasmNativeWorkload7) + + + false + false + false + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** + + - - - - - - - - - - - + and emit a warning --> + + + + + + + + + + + +--> - - - - - +--> + + + + + +--> - - true - - - <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true - WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ - - - true - $(WasmNativeWorkload) - - - false - false - - - - - - - - +%UserProfile%//.dotnet/sdk-manifests/7.0.100/microsoft.net.workload.emscripten.net7/WorkloadManifest.targets +============================================================================================================================================ +--> + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + - - - - - - +--> + + + + + + - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + - - - - - - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> - - + need to be set to "true" to avoid requiring restore (which would likely fail if the required workloads aren't already installed).--> + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + +--> + --> +--> +--> - - <_UsingDefaultRuntimeIdentifier>true - win7-x64 - win7-x86 - + --> + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + + + + true + - - $(PublishSelfContained) - + This Won't affect t:/Publish (because of _IsPublishing), and also won't override a global SelfContained property.--> + + $(PublishSelfContained) + - - true - - - $(NETCoreSdkPortableRuntimeIdentifier) - - - $(PublishRuntimeIdentifier) - - - <_UsingDefaultPlatformTarget>true - - - - - - - x86 - - - - - x64 - - - - - arm - - - - - arm64 - - - - - AnyCPU - - - + Finally, library projects and non-executable projects have awkward interactions here so they are excluded.--> + + true + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + $(PublishRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + - - - <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - - - true - false - <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false - <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true - true - false - - - - $(NETCoreSdkRuntimeIdentifier) - win-x64 - win-x86 - win-arm - win-arm64 - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - - - - - - - - - - - + --> + + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + + + + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + + + + + + + - - - - - - - - - - - - - false - - - - - - - - - - - - - + because we do not want the behavior to be a breaking change compared to version 3.0 --> + + + + + + + + + + + + + + false + + + + + + + + + + + + + - - - true - + Configuration-specific PropertyGroup), so in that case we won't append to it by default. --> + + + true + - - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ - - + --> + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + - - - - - + --> + + + + + - +--> + +--> - - - true - +--> + + + true + true + - - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;5.0" /> - - - - + --> + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + + + + + - - - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true - - - - true - true - true - - - true - - - - true +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets +============================================================================================================================================ +--> + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true - true - - .dll + runtime minor version roll-forward: https://github.com/dotnet/core-setup/issues/3546 --> + true + + .dll - false - - - - $(PreserveCompilationContext) - - - - publish - - $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ - $(OutputPath)$(PublishDirName)\ - + is not needed for NETStandard or NETCore since references come from NuGet packages--> + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + --> +--> - - <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder - <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true - <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs - - - $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) - - - $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) - +--> + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + - - <_SDKImplicitReference Include="System" /> - <_SDKImplicitReference Include="System.Data" /> - <_SDKImplicitReference Include="System.Drawing" /> - <_SDKImplicitReference Include="System.Xml" /> +--> + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> - - <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - - <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> - - <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + such if the parse succeeds. --> + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> - <_SDKImplicitReference Remove="@(Reference)" /> - - - - - - false - - - $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 - - - - <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET - $(_FrameworkIdentifierForImplicitDefine) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET - <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) - <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) - <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) - $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) - $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - - - - - <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) - <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) - - - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> - - - - - - <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - - - - - - <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> - - - - - - $(DefineConstants);@(_ImplicitDefineConstant) - $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') - - - - - false - true - - - $(AssemblyName).xml - $(IntermediateOutputPath)$(AssemblyName).xml - - - - - - true - true - true - - - - - - - true - + NuGet package, you can just add the Reference to your project file. --> + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + - - $(MSBuildToolsPath)\Microsoft.CSharp.targets - $(MSBuildToolsPath)\Microsoft.VisualBasic.targets - $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets +--> + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets - $(MSBuildToolsPath)\Microsoft.Common.targets - + languages could either be supplied via an SDK or via a NuGet package. --> + $(MSBuildToolsPath)\Microsoft.Common.targets + + using Sdk attribute (from .NET Core Sdk 1.0.0-preview4) --> +--> +--> +--> +--> - - true - + --> + + true + - - Properties - - - $(Configuration.ToUpperInvariant()) +--> + + Properties + + + $(Configuration.ToUpperInvariant()) - $(ImplicitConfigurationDefine.Replace('-', '_')) - $(ImplicitConfigurationDefine.Replace('.', '_')) - $(DefineConstants);$(ImplicitConfigurationDefine) - + --> + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + - - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.FSharp.DesignTime.targets - - - + *************************************************************************************************************** --> + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.FSharp.DesignTime.targets + + + - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.targets - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.targets - + *************************************************************************************************************** --> + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.targets + - +--> + - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - true - true - true - true - true - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - - <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" Condition=" '$(NoStdLib)' != 'true' " /> - - - mscorlib - netcore - netstandard - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + true + true + true + true + true + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" Condition=" '$(NoStdLib)' != 'true' " /> + + + mscorlib + netcore + netstandard + - +--> + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildThisFileDirectory)FSharp.Build.dll - - - - - - - - - - - true - true - - - - .fs - F# - Managed - $(Optimize) - Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier) - - RootNamespace - false - $(Prefer32Bit) - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildThisFileDirectory)FSharp.Build.dll + + + + + + + + + + + true + true + + + + .fs + F# + Managed + $(Optimize) + Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier) + + RootNamespace + false + $(Prefer32Bit) + - - true - - - false - $(FSharpPrefer64BitTools) - $(Fsc_NetFramework_ToolPath) - $(Fsc_NetFramework_AnyCpu_ToolExe) - $(Fsc_NetFramework_PlatformSpecific_ToolExe) - - - - $(Fsc_Dotnet_ToolPath) - $(Fsc_Dotnet_ToolExe) - "$(Fsc_Dotnet_DotnetFscCompilerPath)" - - - - false - true - + --> + + true + + + false + $(FSharpPrefer64BitTools) + $(Fsc_NetFramework_ToolPath) + $(Fsc_NetFramework_AnyCpu_ToolExe) + $(Fsc_NetFramework_PlatformSpecific_ToolExe) + + + + $(Fsc_Dotnet_ToolPath) + $(Fsc_Dotnet_ToolExe) + "$(Fsc_Dotnet_DotnetFscCompilerPath)" + + + + false + true + - - - - - false - true - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - _ComputeNonExistentFileProperty - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + false + true + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + _ComputeNonExistentFileProperty + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - --simpleresolution $(OtherFlags) - $(OtherFlags) - - - - - - - - <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> - - - + --> + + + + + + + + + + + --simpleresolution $(OtherFlags) + $(OtherFlags) + + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + +--> - - $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets - +--> + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + +--> - - - true - true - true - true - - - - - - - 10.0 - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets - - - - - Managed - +--> + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + - - .NETFramework - v4.0 - - - - Any CPU,x86,x64,Itanium - Any CPU,x86,x64 - - - - - - - true - - true - - - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) - - $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + Native apps) because they do not target a .NET Framework. --> + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) - $(MSBuildFrameworkToolsPath) - - - Windows - 7.0 - $(TargetPlatformSdkRootOverride)\ - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - $(TargetPlatformSdkPath)Windows Metadata - $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral - $(TargetPlatformSdkMetadataLocation) - true - $(WinDir)\System32\WinMetadata - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - + we need to find a directory which does contain mscorlib to allow the inproc compiler to initialize and give us the chance to show certain dialogs in the IDE (which only happen after initialization).--> + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + - - - <_OriginalPlatform>$(Platform) - - <_OriginalConfiguration>$(Configuration) - - <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true - - true - - - AnyCPU - $(Platform) - Debug - $(Configuration) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(TargetType) - library - exe - true - - <_DebugSymbolsProduced>false - <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false - <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false - <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false - - <_DocumentationFileProduced>true - <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false - - false - + --> + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + - + --> + - <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true - <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true - + --> + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + - - .exe - .exe - .exe - .dll - .netmodule - .winmdobj - - - - true - $(OutputPath) - - - $(OutDir)\ - $(MSBuildProjectName) - - - $(OutDir)$(ProjectName)\ - $(MSBuildProjectName) - $(RootNamespace) - $(AssemblyName) - - $(MSBuildProjectFile) - - $(MSBuildProjectExtension) - - $(TargetName).winmd - $(WinMDExpOutputWindowsMetadataFilename) - $(TargetName)$(TargetExt) - - - + --> + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + - <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true - $(_DeploymentPublishableProjectDefault) - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest - - $(AssemblyName).application - - $(AssemblyName).xbap - - $(GenerateManifests) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days - <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) - <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - 100 - - + --> + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + - * - $(UICulture) - - - - <_OutputPathItem Include="$(OutDir)" /> - <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> - <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> - - - + --> + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + - $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) - - $(TargetDir)$(TargetFileName) - $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) - - $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) - - $(ProjectDir)$(ProjectFileName) - - - - - + --> + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + - - *Undefined* - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - - - true - - true - - - true - false - - - $(MSBuildProjectFile).FileListAbsolute.txt - - false - - true - true - <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false - <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true - false - false - - - <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config - - - - - - - - - - - - - - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> - - - $(IntermediateOutputPath)$(TargetName).pdb - <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) - - - $(IntermediateOutputPath)$(TargetName).xml - <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) - - - <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) - <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) - - - - <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> - $(TargetFileName) - - - - <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> - $(ApplicationIcon) - - - - $(_DeploymentTargetApplicationManifestFileName) - + --> + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + - <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> - $(_DeploymentTargetApplicationManifestFileName) - - - - $(TargetDeployManifestFileName) - - - <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> - + references and for copying to the publish output location. --> + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + - - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) - <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> - <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + --> + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) - <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> - <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> - - - - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) - <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) - - - - $(PublishDir)\ - $(OutputPath)app.publish\ - + --> + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + - - $(PublishDir) - $(ClickOncePublishDir)\ - + --> + + $(PublishDir) + $(ClickOncePublishDir)\ + - + --> + - $(PlatformTarget) + --> + $(PlatformTarget) - msil - amd64 - ia64 - x86 - arm - - - true - - - - $(Platform) - msil - amd64 - ia64 - x86 - arm - - None - $(PROCESSOR_ARCHITECTURE) - + --> + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + - - CLR2 - CLR4 - CurrentRuntime - true - false - $(PlatformTarget) - x86 - x64 - CurrentArchitecture - - - - Client - + If support for out-of-proc task execution is added on other runtimes, make sure each task's logic is checked against the current state of support. --> + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + - - false - - - - - true - true - false - + --> + + false + + + + + true + true + false + - - AssemblyFoldersEx - Software\Microsoft\$(TargetFrameworkIdentifier) - Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) - $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config - {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> .winmd; .dll; .exe - + + --> .pdb; .xml; .pri; .dll.config; .exe.config - + - Full - - + --> + Full + + - {CandidateAssemblyFiles} - $(AssemblySearchPaths);$(ReferencePath) - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) - $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} - $(AssemblySearchPaths);{AssemblyFolders} - $(AssemblySearchPaths);{GAC} - $(AssemblySearchPaths);{RawFileName} - $(AssemblySearchPaths);$(OutDir) - + --> + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + - - false - - - - $(NoWarn) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - - - - $(MSBuildThisFileDirectory)$(LangName)\ - - - - $(MSBuildThisFileDirectory)en-US\ - - - - - Project - - - BrowseObject - - - File - - - Invisible - - - File;BrowseObject - - - File;ProjectSubscriptionService - - - - $(DefineCommonItemSchemas) - - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - - - - - - Never - - - Never - - - Never - - - Never - - + typically expect --> + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + - - - true - + --> + + + true + - - - <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath - - + --> + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + - - - <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. - - - - - - - - - + --> + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + - - x86 - + correct value when we're trying to figure out PlatformTargetAsMSBuildArchitecture --> + + x86 + - + --> + - - + --> + + - + --> + BeforeBuild; CoreBuild; AfterBuild - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -3878,52 +4146,52 @@ Copyright (C) Microsoft Corporation. All rights reserved. UnmanagedRegistration; IncrementalClean; PostBuildEvent - - - - - - + + + + + + - - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + --> + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build BeforeRebuild; Clean; $(_ProjectDefaultTargets); AfterRebuild; - + BeforeRebuild; Clean; Build; AfterRebuild; - - - + + + - + --> + - + --> + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - + --> + - - - - - - - - + --> + + + + + + + + + --> - - false - - - - true - - + --> + + false + + + + true + + + --> - - $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata - - - - - $(TargetFileName).config - - - - - - - - - - + --> + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + - - @(_TargetFramework40DirectoryItem) - @(_TargetFramework35DirectoryItem) - @(_TargetFramework30DirectoryItem) - @(_TargetFramework20DirectoryItem) - - @(_TargetFramework20DirectoryItem) - @(_TargetFramework40DirectoryItem) - @(_TargetedFrameworkDirectoryItem) - @(_TargetFrameworkSDKDirectoryItem) - - - - + --> + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + - - - - - - - - - - - - - $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) - $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) - + --> + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + - - true - - - $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) - - - - - - - $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) - - - - - - - - - + resolving from the assemblyfolders global location if we are not acutally targeting a framework--> + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + - + E.g "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0.1\;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\" --> + - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - + --> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + --> - - - - - - + --> + + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + --> - + --> + - + --> + BeforeResolveReferences; AssignProjectConfiguration; @@ -4266,25 +4534,25 @@ Copyright (C) Microsoft Corporation. All rights reserved. GenerateBindingRedirects; ResolveComReferences; AfterResolveReferences - - - + + + - + --> + - + --> + - - - true - true - false + --> + + + true + true + false - false - - true - - - - - - - - - - - <_ProjectReferenceWithConfiguration> - true - true - - - true - true - - - + want this to happen, so just turn off synthetic project reference generation for Silverlight projects. --> + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + - + --> + - - - - + --> + + + + - - <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> - - - - <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> - <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> - - + --> + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + - - true - + --> + + true + - - - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> - true - - - - <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - - - - - <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> - - x86=Win32 - - - <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> - Win32=x86 - - - - - + Configuration information. --> + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + - - - - Platform=%(ProjectsWithNearestPlatform.NearestPlatform) - - - - %(ProjectsWithNearestPlatform.UndefineProperties);Platform - - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> - - + that can't multiplatform. --> + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + - + --> + - - $(NuGetTargetMoniker) - $(TargetFrameworkMoniker) - + --> + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> - true - %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework - - + --> + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> - true - - + --> + true + + - - - + --> + + + - - - - + --> + + + + - <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> - <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> - <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> - - + --> + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + - - - - - - - + that we are using a version of NuGet which supports that parameter on this task. --> + + + + + + + - - + --> + + - - - - - - - - - - TargetFramework=%(AnnotatedProjects.NearestTargetFramework) - + the IsRidAgnostic value for the NearestTargetFramework for the project. --> + + + + + + + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + - - %(AnnotatedProjects.UndefineProperties);TargetFramework - + --> + + %(AnnotatedProjects.UndefineProperties);TargetFramework + - - %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained - + unless the project is expecting those properties to flow. --> + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained + - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> - - - - - - - - - <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> - @(_TargetFrameworkInfo) - @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') - @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') - $(_AdditionalPropertiesFromProject) - true - @(_TargetFrameworkInfo->'%(IsRidAgnostic)') - - true - $(Platform) - $(Platforms) + --> + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + @(_TargetFrameworkInfo->'%(IsRidAgnostic)') + + true + $(Platform) + $(Platforms) - @(ProjectConfiguration->'%(Platform)'->Distinct()) - - - - - - <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> - $(%(AdditionalTargetFrameworkInfoProperty.Identity)) - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false - - - - - - <_TargetFrameworkInfo Include="$(TargetFramework)"> - $(TargetFramework) - $(TargetFrameworkMoniker) - $(TargetPlatformMoniker) - None - $(_AdditionalTargetFrameworkInfoProperties) + Build the `Platforms` property from that. --> + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) - $(IsRidAgnostic) - true - false - - - + fallback logic here will be that the project is RID agnostic if it doesn't have RuntimeIdentifier or RuntimeIdentifiers properties set. --> + $(IsRidAgnostic) + true + false + + + - + --> + - + --> + AssignProjectConfiguration; _SplitProjectReferencesByFileExistence; _GetProjectReferenceTargetFrameworkProperties; _GetProjectReferencePlatformProperties - - - + + + - - - - - $(ProjectReferenceBuildTargets) - - - ProjectReference - - - + --> + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + - - - - + --> + + + + - - - - + --> + + + + - - - - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + --> + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> - <_ResolvedProjectReferencePaths> - %(_ResolvedProjectReferencePaths.OriginalItemSpec) - - - - - - + --> + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + - - <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> - %(ReferencePath.ProjectReferenceOriginalItemSpec) - - - - + --> + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + - - $(GetTargetPathDependsOn) - - + --> + + $(GetTargetPathDependsOn) + + - - $(GetTargetPathDependsOn) - + --> + + $(GetTargetPathDependsOn) + - - - - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion.TrimStart('vV')) - $(TargetRefPath) - @(CopyUpToDateMarker) - - - + BeforeTargets. --> + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + - - - - %(_ApplicationManifestFinal.FullPath) - - - + --> + + + + %(_ApplicationManifestFinal.FullPath) + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + ResolveProjectReferences; FindInvalidProjectReferences; @@ -4876,69 +5144,69 @@ Copyright (C) Microsoft Corporation. All rights reserved. PrepareForBuild; ResolveSDKReferences; ExpandSDKReferences; - - - - - <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> - + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + - - $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache - - - - <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> - - - - <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false - true - false - Warning - $(BuildingProject) - $(BuildingProject) - $(BuildingProject) - false - - + --> + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + - - - true - - + ide will show one of the references as not resolved, this will not break the build but is a display issue --> + + + true + + - - false - true - - - - - - - - - - - - - - - - - + --> + + false + true + + + + + + + + + + + + + + + + + - - + --> + + - - %(FullPath) - - - %(ReferencePath.Identity) - - - - + assembly unless already specified. --> + + %(FullPath) + + + %(ReferencePath.Identity) + + + + - - - - - + --> + + + + + - - - $(_GenerateBindingRedirectsIntermediateAppConfig) - - - - - $(TargetFileName).config - - - + --> + + + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + - - Software\Microsoft\Microsoft SDKs - $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs - - $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 - - true - Windows - 8.1 - - false - WindowsPhoneApp - 8.1 - - - - - - - - - - - - - + --> + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + - + --> + GetInstalledSDKLocations - - - - Debug - Retail - Retail - $(ProcessorArchitecture) - Neutral - - - true - - - - - - - - - - - - + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + - + --> + GetReferenceTargetPlatformMonikers - - - - - - - - <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> - - - - - - - + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + - + --> + ResolveSDKReferences - + .winmd; .dll - - - - - - - - - - - + + + + + + + + + + + - - - - false - false - false - $(TargetFrameworkSDKToolsDirectory) - true - - - - - - - - - - - - - - - <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> - - - + --> + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5196,8 +5464,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(TargetDir) - - + + - + --> + GetFrameworkPaths; GetReferenceAssemblyPaths; ResolveReferences - - - - - <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - - - $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache - - + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5238,29 +5506,29 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(OutDir) - - - - false - false - false - false - false - true - false - - - <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> - - - <_RARResolvedReferencePath Include="@(ReferencePath)" /> - - - - - - - + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + - - false - - - - $(IntermediateOutputPath) - - + --> + + false + + + + $(IntermediateOutputPath) + + - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - false - - - - - - - - - - - - - - + --> + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + - + --> + + --> - + --> + $(PrepareResourcesDependsOn); PrepareResourceNames; ResGen; CompileLicxFiles - - - + + + - + --> + AssignTargetPaths; SplitResourcesByCulture; CreateManifestResourceNames; CreateCustomManifestResourceNames - - - + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + - + --> + - - - - - - - <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> - - - Resx - - - Non-Resx - - - - - - - - - + --> + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + - - - - - - Resx - - - Non-Resx - - - - - - - - - - - - <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> - <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> - - + i.e. either Licx, or resources that don't have culture info --> + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + - - - - + --> + + + + - - ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen - FindReferenceAssembliesForReferences - true - false - - + --> + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + - + --> + - + --> + - - - <_Temporary Remove="@(_Temporary)" /> - - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - - + --> + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - true - - - true - - - - true - - - true - - - + suddenly start failing to build.--> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + --> - - - - - - - + --> + + + + + + + + --> - + --> + ResolveReferences; ResolveKeySource; @@ -5654,96 +5922,96 @@ Copyright (C) Microsoft Corporation. All rights reserved. CoreCompile; _TimeStampAfterCompile; AfterCompile; - - - + + + - - - - - - <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> - - <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> - Resx - false - - <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - false - - - + --> + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + - - - true - $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) - - - true - - - - - + --> + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + - - - - - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + + + - - true - - - - - - - - - - + --> + + true + + + + + + + + + + - + --> + - + --> + - - - <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + - - - $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + - - - <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + - - - __NonExistentSubDir__\__NonExistentFile__ - - + --> + + + __NonExistentSubDir__\__NonExistentFile__ + + - - <_SGenDllName>$(TargetName).XmlSerializers.dll - <_SGenDllCreated>false - <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) - <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto - <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off - true - false - true - + --> + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - + --> + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + --> - + --> + _GenerateSatelliteAssemblyInputs; ComputeIntermediateSatelliteAssemblies; GenerateSatelliteAssemblies - - - + + + - - - - - - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> - - <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> - Resx - true - - <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - true - - - + --> + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + - - - <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) - - - - - - + --> + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + - + --> + CreateManifestResourceNames - - - - - - %(EmbeddedResource.Culture) - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - - - + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + - - $(Win32Manifest) - + --> + + $(Win32Manifest) + - - - + --> + + + - <_DeploymentBaseManifest>$(ApplicationManifest) - <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + property is set though, prefer that one be used to specify the manifest. --> + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) - true - - - - - $(ApplicationManifest) - $(ApplicationManifest) - - - - - - $(_FrameworkVersion40Path)\default.win32manifest - - + a manifest to their built assemblies --> + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + --> - + --> + SetWin32ManifestProperties; GenerateApplicationManifest; GenerateDeploymentManifest - - + + - - - <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> - - - - - - + --> + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + - - - - - - - - - <_DeploymentCopyApplicationManifest>true - - + --> + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + - - - <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) - <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) - - + --> + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) - <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) - - - - - - - + --> + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + - - - <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> - <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> - - + --> + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + - - - - - - - <_DeploymentManifestType>Native - - - - - - - <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') - - - + --> + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + CleanPublishFolder; _DeploymentGenerateTrustInfo $(DeploymentComputeClickOnceManifestInfoDependsOn) - - + + - - - - <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - - - <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> - <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> - - - <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> - - - - <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> - true - - <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> - - - - <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> - - - + --> + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + + + + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + - <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> - - - - <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> - <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> - - <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> - - - + --> + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + - - <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> - <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> - - - + --> + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + - - - - - - - - - - - - - - - <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> - - - <_DeploymentManifestType>ClickOnce - + This is being done to avoid Windows Forms designer memory issues that can arise while operating directly on files located in Obj directory. --> + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + - - <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) - - - - - - - - - - - - - - - + --> + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - true - false - + --> + + true + false + - + --> + CopyFilesToOutputDirectory - - - + + + - - - false - false - - - - - false - false - false - - - true - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - false - false - - - - - - + --> + + + + false + false + + + + + + - - - - - + input to projects that reference this one. --> + + + + + - + --> + - - <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + --> + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence - true + --> + true <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> AssignProjectConfiguration; _SplitProjectReferencesByFileExistence - + AssignTargetPaths; $(_TargetsThatPrepareProjectReferences); _GetProjectReferenceTargetFrameworkProperties; _PopulateCommonStateForGetCopyToOutputDirectoryItems - + - <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems - - <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject - - + --> + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + - - <_GCTODIKeepDuplicates>false - <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> - - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - - <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> - - + a non-empty value and the original behavior will be restored. --> + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + - - - - %(CopyToOutputDirectory) - - - + --> + + + + %(CopyToOutputDirectory) + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - - - - - - - - - - - - + --> + + + + + + + + + + + + - - - - - - - - - <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false - - - - - - - <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false - - - - - + --> + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + - - - - <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true - - - - - + --> + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + --> - - - - <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> - - - - - - - - - - - - - + --> + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + - - <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> - - - - - - - - + the current final output and intermediate output directories. --> + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + - - - - - + --> + + + + + - - - + --> + + + - - <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - + --> + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - - - - - - + --> + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + --> - + --> + BeforeClean; UnmanagedUnregistration; @@ -6884,81 +7152,81 @@ Copyright (C) Microsoft Corporation. All rights reserved. CleanReferencedProjects; CleanPublishFolder; AfterClean - - - + + + - + --> + - + --> + - + --> + - - + --> + + - - - - + --> + + + + - - - - - - - - - - - - - - - - - - - - <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> - - - - - - - - - - + Declare items of this type if you want Clean to delete them. --> + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + - + --> + - - - - - - - - + --> + + + + + + + + - - - + --> + + + + --> - - - - - - + --> + + + + + + + --> - + --> + SetGenerateManifests; Build; PublishOnly - + _DeploymentUnpublishable - - - + + + - - - + --> + + + - - - - - true - - + --> + + + + + true + + - + --> + SetGenerateManifests; PublishBuild; @@ -7090,33 +7358,33 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; _DeploymentSignClickOnceDeployment; AfterPublish - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -7125,77 +7393,77 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; GenerateSerializationAssemblies; CreateSatelliteAssemblies; - - - + + + - + --> + - - - - - <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) - <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ - - - - false - false - - - - - - - - - - - - - - - - - + This is done because some servers misinterpret "." as a file extension. --> + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + - - - - + --> + + + + - - - - - - - - - - + --> + + + + + + + + + + + --> - + --> + - - - true - $(TargetPath) - $(TargetFileName) - true - - - - - - true - $(TargetPath) - $(TargetFileName) - - + --> + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + - - PrepareForBuild - true - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> - $(TargetDir)$(TargetFileName).config - $(TargetFileName).config - - $(AppConfig) - - - - <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> - <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> - $(_DeploymentTargetApplicationManifestFileName) - - $(OutDir)$(_DeploymentTargetApplicationManifestFileName) - - - - - - - %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) - - - + --> + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + - - - - - - @(_DebugSymbolsOutputPath->'%(FullPath)') - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputPdbItem->'%(FullPath)') - @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + - - - - - - @(FinalDocFile->'%(FullPath)') - true - @(DocFileItem->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputDocItem->'%(FullPath)') - @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + - - $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames - - - - - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - %(EmbeddedResource.Culture) - - - - - - $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) - - %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) - - - + --> + + $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - - - - - - $(MSBuildProjectFullPath) - $(ProjectFileName) - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + - - - - - - @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') - $(_SGenDllName) - - - + --> + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + - - + --> + + - - - + Needed for certain build environments that import partial sets of targets. --> + + + - - - - - - - - ResolveSDKReferences;ExpandSDKReferences - + --> + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + - - - - - - + --> + + + + + + + --> - + --> + $(CommonOutputGroupsDependsOn); BuildOnlySettings; PrepareForBuild; AssignTargetPaths; ResolveReferences - - + + - + --> + - + --> + $(BuiltProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - + + + + + + + - + --> + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(DocumentationProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SGenFilesOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(ReferenceCopyLocalPathsOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - + --> + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - + + + + --> - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets - - - - - - true - - - - - - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets - - - + retrieve them. --> + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets - - - - - - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets - $(MSBuildToolsPath)\NuGet.targets - + --> + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + +--> - - - true - - NuGet.Build.Tasks.dll - - false - - true - true - - false - - WarnAndContinue - - $(BuildInParallel) - true - - <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true - - $(MSBuildInteractive) - - true - - true - - <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true - - - - <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + --> + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + skipped. --> <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); NuGetRestoreTargets=$(MSBuildThisFileFullPath); RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); - - + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); _RestoreSolutionFileUsed=true; @@ -7759,57 +8027,57 @@ Copyright (c) .NET Foundation. All rights reserved. SolutionFileName=$(SolutionFileName); SolutionPath=$(SolutionPath); SolutionExt=$(SolutionExt); - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + --> + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - + --> + + + + $(ContinueOnError) + false + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - + --> + + + + $(ContinueOnError) + false + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - - - - - - - - + --> + + + + $(ContinueOnError) + false + + + + + + + + + - - - <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> - - + --> + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + - - - exclusionlist - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> - - - - - - - - - - - - - - - - - + --> + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + - - - - - - <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> - <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> - - - - - - - - - - + --> + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + - - - + --> + + + - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> - RestoreSpec - $(MSBuildProjectFullPath) - - - + --> + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + - - - netcoreapp1.0 - - - - - - + --> + + + netcoreapp1.0 + + + + + + - - - - - - - + --> + + + + + + + - + --> + - - <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true - - - <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true - - - - - - - <_HasPackageReferenceItems /> - - + --> + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + - - - true - - + --> + + + true + + - - - <_RestoreProjectFramework /> - <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) - - - - - - - <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> - - + --> + + + <_RestoreProjectFramework /> + <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + - - - <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> - - - <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> - - + --> + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + + <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> + + - - - $(SolutionDir) - - - - - - - - - - + --> + + + $(SolutionDir) + + + + + + + + + + - + --> + - - - - - - + --> + + + + + + - - - <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> - $(RestoreAdditionalProjectSources) - $(RestoreAdditionalProjectFallbackFolders) - $(RestoreAdditionalProjectFallbackFoldersExcludes) - - - + --> + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + - - - - $(MSBuildProjectExtensionsPath) - - - - + --> + + + + $(MSBuildProjectExtensionsPath) + + + + - - <_RestoreProjectName>$(MSBuildProjectName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) - + --> + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + - - <_RestoreProjectVersion>1.0.0 - <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) - <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) - - - - <_RestoreCrossTargeting>true - - - - <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(_RestoreProjectVersion) - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(RestoreProjectStyle) - $(RestoreOutputAbsolutePath) - $(RuntimeIdentifiers);$(RuntimeIdentifier) - $(RuntimeSupports) - $(_RestoreCrossTargeting) - $(RestoreLegacyPackagesDirectory) - $(ValidateRuntimeIdentifierCompatibility) - $(_RestoreSkipContentFileWrite) - $(_OutputConfigFilePaths) - $(TreatWarningsAsErrors) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - $(NoWarn) - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) - $(CentralPackageVersionOverrideEnabled) - $(CentralPackageTransitivePinningEnabled) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(RestoreOutputAbsolutePath) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(_CurrentProjectJsonPath) - $(RestoreProjectStyle) - $(_OutputConfigFilePaths) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - $(MSBuildProjectDirectory)\packages.config - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - $(_OutputSources) - $(SolutionDir) - $(_OutputRepositoryPath) - $(_OutputConfigFilePaths) - $(_OutputPackagesPath) - @(_RestoreTargetFrameworksOutputFiltered) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - @(_RestoreTargetFrameworksOutputFiltered) - - - + --> + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + - - - + --> + + + - + --> + - - - - - - - + --> + + + + + + + - + --> + - - - - - - - - - - - - - - - - - - - - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - TargetFrameworkInformation - $(MSBuildProjectFullPath) - $(PackageTargetFallback) - $(AssetTargetFallback) - $(TargetFramework) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion) - $(TargetFrameworkMoniker) - $(TargetFrameworkProfile) - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetPlatformVersion) - $(TargetPlatformMinVersion) - $(CLRSupport) - $(RuntimeIdentifierGraphPath) - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + + + - + --> + - - - - - - - <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> - - + --> + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + - - - - - - + --> + + + + + + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - - - - - - - - <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> - - - - - - + --> + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + - - - <_RestorePackagesPathOverride>$(RestorePackagesPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + - - - <_RestorePackagesPathOverride>$(RestoreRepositoryPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + - - - <_RestoreSourcesOverride>$(RestoreSources) - - + --> + + + <_RestoreSourcesOverride>$(RestoreSources) + + - - - <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) - - + --> + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + - - - - - - + --> + + + + + + - - - <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) - - + --> + + + <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) + + - - - <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> - - + --> + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + - + --> + - +--> + +--> - - $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets - +--> + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + +--> - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - $(MSBuildThisFileDirectory)\tools\net7.0\Microsoft.NET.Build.Extensions.Tasks.dll - $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll - - true - - - - +--> + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net7.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + +--> +--> +--> - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + +--> - - - Microsoft.TestPlatform.Build.dll - $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) - - - +--> + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +--> - +--> + +--> - - true - - - - true - + --> + + true + + + + true + - - <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets - <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) - - + --> + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + +--> - - - + --> + + + $(AdditionalSourcesText) namespace Microsoft.BuildSettings [<System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName="$(TargetFrameworkMonikerDisplayName)")>] do () - - + + - - - - <_FsGeneratedTfmAttributesSource Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" /> - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + <_FsGeneratedTfmAttributesSource Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" /> + + - - - <_OldRootSdkLocation>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp - $(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\FSharpSdk - <_CoreRelativeSuffix>.NETCore\$(TargetFSharpCoreVersion)\FSharp.Core.dll - <_FrameworkRelativeSuffix>.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll - <_PortableRelativeSuffix>.NETPortable\$(TargetFSharpCoreVersion)\FSharp.Core.dll - - <_OldCoreSdkPath>$(_OldRootSdkLocation)\$(_CoreRelativeSuffix) - <_NewCoreSdkPath>$(NewFSharpSdkLocation)\$(_CoreRelativeSuffix) - - <_OldFrameworkSdkPath>$(_OldRootSdkLocation)\$(_FrameworkRelativeSuffix) - <_NewFrameworkSdkPath>$(NewFSharpSdkLocation)\$(_FrameworkRelativeSuffix) - - <_OldPortableSdkPath>$(_OldRootSdkLocation)\$(_PortableRelativeSuffix) - <_NewPortableSdkPath>$(NewFSharpSdkLocation)\$(_PortableRelativeSuffix) - - - - - $(_NewCoreSdkPath) - - - - $(_NewFrameworkSdkPath) - - - - $(_NewPortableSdkPath) - - - - - - <_OldRefAssemTPLocation>Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\Type Providers\FSharp.Data.TypeProviders.dll - <_OldSdkTPLocationPrefix>$(MSBuildProgramFiles32)\Microsoft SDKs\F# - <_OldSdkTPLocationSuffix>Framework\v4.0\FSharp.Data.TypeProviders.dll - - - - - - - - - + --> + + + <_OldRootSdkLocation>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp + $(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\FSharpSdk + <_CoreRelativeSuffix>.NETCore\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_FrameworkRelativeSuffix>.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_PortableRelativeSuffix>.NETPortable\$(TargetFSharpCoreVersion)\FSharp.Core.dll + + <_OldCoreSdkPath>$(_OldRootSdkLocation)\$(_CoreRelativeSuffix) + <_NewCoreSdkPath>$(NewFSharpSdkLocation)\$(_CoreRelativeSuffix) + + <_OldFrameworkSdkPath>$(_OldRootSdkLocation)\$(_FrameworkRelativeSuffix) + <_NewFrameworkSdkPath>$(NewFSharpSdkLocation)\$(_FrameworkRelativeSuffix) + + <_OldPortableSdkPath>$(_OldRootSdkLocation)\$(_PortableRelativeSuffix) + <_NewPortableSdkPath>$(NewFSharpSdkLocation)\$(_PortableRelativeSuffix) + + + + + $(_NewCoreSdkPath) + + + + $(_NewFrameworkSdkPath) + + + + $(_NewPortableSdkPath) + + + + + + <_OldRefAssemTPLocation>Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\Type Providers\FSharp.Data.TypeProviders.dll + <_OldSdkTPLocationPrefix>$(MSBuildProgramFiles32)\Microsoft SDKs\F# + <_OldSdkTPLocationSuffix>Framework\v4.0\FSharp.Data.TypeProviders.dll + + + + + + + + + - - $(MSBuildProjectFullPath) - - - $(TargetsForTfmSpecificContentInPackage);PackageFSharpDesignTimeTools - - - $(RestoreAdditionalProjectSources);$(_FSharpCoreLibraryPacksFolder) - - - - - - - - - - - fsharp41 - tools - - - - - <_ResolvedOutputFiles Include="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/*" Exclude="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/FSharp.Core.dll;%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/System.ValueTuple.dll" Condition="'%(_ResolvedProjectReferencePaths.IsFSharpDesignTimeProvider)' == 'true'"> - %(_ResolvedProjectReferencePaths.NearestTargetFramework) - - <_ResolvedOutputFiles Include="@(BuiltProjectOutputGroupKeyOutput)" Condition=" '$(IsFSharpDesignTimeProvider)' == 'true' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'FSharp.Core.dll' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'System.ValueTuple.dll' "> - $(TargetFramework) - - - $(FSharpToolsDirectory)/$(FSharpDesignTimeProtocol)/%(_ResolvedOutputFiles.NearestTargetFramework)/%(_ResolvedOutputFiles.FileName)%(_ResolvedOutputFiles.Extension) - - - +%UserProfile%//.dotnet/sdk/7.0.202/FSharp/Microsoft.FSharp.NetSdk.targets +============================================================================================================================================ +--> + + $(MSBuildProjectFullPath) + + + $(TargetsForTfmSpecificContentInPackage);PackageFSharpDesignTimeTools + + + $(RestoreAdditionalProjectSources);$(_FSharpCoreLibraryPacksFolder) + + + + + + + + + + + fsharp41 + tools + + + + + <_ResolvedOutputFiles Include="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/*" Exclude="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/FSharp.Core.dll;%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/System.ValueTuple.dll" Condition="'%(_ResolvedProjectReferencePaths.IsFSharpDesignTimeProvider)' == 'true'"> + %(_ResolvedProjectReferencePaths.NearestTargetFramework) + + <_ResolvedOutputFiles Include="@(BuiltProjectOutputGroupKeyOutput)" Condition=" '$(IsFSharpDesignTimeProvider)' == 'true' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'FSharp.Core.dll' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'System.ValueTuple.dll' "> + $(TargetFramework) + + + $(FSharpToolsDirectory)/$(FSharpDesignTimeProtocol)/%(_ResolvedOutputFiles.NearestTargetFramework)/%(_ResolvedOutputFiles.FileName)%(_ResolvedOutputFiles.Extension) + + + + --> - - true - + --> + + true + - - - <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> - - - - - - - - - + --> + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + - - true - + --> + + true + - + --> + - - - <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> - $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) - $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) - - - + --> + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + - @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) - - + --> + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + +--> +--> - - - TargetFramework - TargetFrameworks - - - true - - +--> + + + TargetFramework + TargetFrameworks + + + true + + - - + --> + + - - - <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets - <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath - GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) - $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) - GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) - Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) - $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) - - <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath - <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) - GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) - - - - - - - - - - + --> + + + <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath + GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) + $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) + GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) + Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) + GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + + + + + + + + +--> - +--> + +--> +--> +--> - - - $(MSBuildThisFileDirectory)..\tools\ - net7.0 - net472 - $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ - $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll +--> + + + $(MSBuildThisFileDirectory)..\tools\ + net8.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll - Microsoft.NETCore.App;NETStandard.Library - + --> + Microsoft.NETCore.App;NETStandard.Library + - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - $(_IsExecutable) - - - - netcoreapp2.2 - - - false - DotnetTool - $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) - - - Preview - - - - - + --> + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + - - true - - +--> + + true + + +--> +--> - - - $(MSBuildProjectExtensionsPath)/project.assets.json - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + --> + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) - $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) - - false - - false - - true - $(IntermediateOutputPath)NuGet\ - true - $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) - $(TargetFrameworkMoniker) - true + be stored in a shared directory next to the assets.json file --> + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true - false + TargetDefinitions, FileDefinitions and FileDependencies items. --> + false - true - - - - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) - - - - - + its own multi-targeting logic, or if the current SDK targets will pick the assets correctly. --> + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + - + --> + $(ResolveAssemblyReferencesDependsOn); ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; - + ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; $(PrepareResourcesDependsOn) - - - - - - $(RootNamespace) - - - $(AssemblyName) - - - $(MSBuildProjectDirectory) - - - $(TargetFileName) - - - $(MSBuildProjectFile) - - - + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + - - true - + --> + + true + + --> - + --> + ResolveLockFileReferences; ResolveLockFileAnalyzers; @@ -9313,110 +9581,110 @@ Copyright (c) .NET Foundation. All rights reserved. ResolveRuntimePackAssets; RunProduceContentAssets; IncludeTransitiveProjectReferences - - - + + + + --> - - - - + --> + + + + - + run and created the assets file. --> + - - - - - - - - - - - - - - - - - <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) - roslyn$(_RoslynApiVersion) - - - - - - false - - - true - - - true - - - - true - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + compile errors. --> + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + match the expected version --> + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> - - - <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> - - + (that was spread across different tasks/targets) for backwards compatibility. --> + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + - + --> + - - - - - - + --> + + + + + + - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + - - - - + but the names depend upon the items themselves. Split it apart. --> + + + + - - + --> + + - - true - + --> + + true + - - + project, use that, in order to preserve metadata (such as aliases). --> + + - - - - - - - - - - - - - - + a reference with a warning. See https://github.com/dotnet/sdk/issues/1499 --> + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> - - <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - - - - + --> + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + - + NETSDK1056. --> + - - +--> + + +--> - - - true - true - true - true - - +--> + + + true + true + true + true + + - - $(DefaultItemExcludes);$(BaseOutputPath)/** - - $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** - - $(DefaultItemExcludes);**/*.user - $(DefaultItemExcludes);**/*.*proj - $(DefaultItemExcludes);**/*.sln - $(DefaultItemExcludes);**/*.vssscc + This is in the .targets because it needs to come after the final BaseOutputPath has been evaluated. --> + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc + $(DefaultItemExcludes);**/.DS_Store - $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** - + properties because of a naming mistake. --> + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + - + in the project file. --> + - 1.6.1 - - 2.0.3 - + produced, so we will roll forward to the latest version. --> + 1.6.1 + + 2.0.3 + +--> +--> - - true - false - <_TargetLatestRuntimePatchIsDefault>true - - - true - - - - - all - true - - - all - true - - - - - - - - - - - - + --> + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + - - - - - - - - - + A FrameworkReference to Microsoft.AspNetCore.App should be used instead, and will be implicitly included by Microsoft.NET.Sdk.Web. --> + + + + + + + + + - - - - - - - - - - - - + should be replaced with a FrameworkReference. --> + + + + + + + + + + + + - - $(_TargetFrameworkVersionWithoutV) - - - - - - - - https://aka.ms/sdkimplicitrefs - - - - - - - - - - - <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> - - - - false - - - - - - https://aka.ms/sdkimplicititems - + this should prevent breaking it. --> + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + - - - - - - - - - - - - - - - - - - - - - - - - - - <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> - - - + be easy to miss the duplicate items error which is the real source of the problem. --> + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + +--> - - - + if building with an implicit restore. --> + + + - - + --> + + - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + --> + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - - - - - - - - - - - - - - - + --> + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + + + + true + + + + + +--> +--> - +--> + $(ResolveAssemblyReferencesDependsOn); ResolveTargetingPackAssets; - - - - - - - + + + + + + + - - - - - - - - + we can't do the change atomically --> + + + + + + + + - - - - - - - - - - - true - true - - - <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - - - - - $(RuntimeIdentifier) - $(DefaultAppHostRuntimeIdentifier) - - - - - - - - - - - true - true - false - - - - [%(_PackageToDownload.Version)] - - - - - - + --> + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + + - - - - - - + --> + + + + + + - - - - - - - %(ResolvedTargetingPack.PackageDirectory) - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> - %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) - - - - - %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) - - - - @(ResolvedAppHostPack->'%(Path)') - - - - %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) - - - - @(ResolvedSingleFileHostPack->'%(Path)') - - - - %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) - - - - @(ResolvedComHostPack->'%(Path)') - - - - %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) - - - - @(ResolvedIjwHostPack->'%(Path)') - - - - - - - - - - + --> + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + - - - - true - false - - - - - - - - - - + --> + + + + true + false + + + + + + + + + + - $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) - - - - - - - - - - + that consume it. --> + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + + + + + + + + + + - - - - - - <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> - - - + --> + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + - - - - - - - - + --> + + + + + + + + - + --> + - - - <_Parameter1>$(UserSecretsId.Trim()) - - - + --> + + + <_Parameter1>$(UserSecretsId.Trim()) + + + - - - - - - $(_IsNETCoreOrNETStandard) - - - true - false - true - $(MSBuildProjectDirectory)/runtimeconfig.template.json - true - true - <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache - <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) - - - - - - - - - - - true - - - false - - - $(AssemblyName).deps.json - $(TargetDir)$(ProjectDepsFileName) - $(AssemblyName).runtimeconfig.json - $(TargetDir)$(ProjectRuntimeConfigFileName) - $(TargetDir)$(AssemblyName).runtimeconfig.dev.json - true - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + + + + + $(_IsNETCoreOrNETStandard) + + + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json + + + + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + +--> - - - true - true - - - - CurrentArchitecture - CurrentRuntime - - - <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so - <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe - <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) - <_DotNetAppHostExecutableNameWithoutExtension>apphost - <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) - <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost - <_DotNetComHostLibraryNameWithoutExtension>comhost - <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) - <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost - <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) - <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) - <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) - - - - - - <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> - - +--> + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + - - - Microsoft.NETCore.App - - + --> + + + Microsoft.NETCore.App + + - - <_DefaultUserProfileRuntimeStorePath>$(HOME) - <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) - <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) - $(_DefaultUserProfileRuntimeStorePath) - - - true - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + + + true + - - false - true - + property values from referencing projects. --> + + false + true + - - true - - - true - - - $(AvailablePlatforms),ARM32 - - - $(AvailablePlatforms),ARM64 - - - $(AvailablePlatforms),ARM64 - - - - false - - - - true - - + --> + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + + _CheckForBuildWithNoBuild; $(CoreBuildDependsOn); GenerateBuildDependencyFile; GenerateBuildRuntimeConfigurationFiles - - - + + + _SdkBeforeClean; $(CoreCleanDependsOn) - - - + + + _SdkBeforeRebuild; $(RebuildDependsOn) - - + + + + + + + + + - - - + --> + + + - - - - 1.0.0 - - - - - - - - - - - + --> + + + + 1.0.0 + + + + + + + + + + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + + - - - + during incremental builds when the task is skipped --> + + + - - - - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + - - - <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true - LatestMinor - + --> + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + - - - <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true - - - + other values should still keep failing as they won't have any effect when run on 2.*. --> + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_CleaningWithoutRebuilding>true - false - - - - - <_CleaningWithoutRebuilding>false - - + during incremental builds when the task is skipped --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + --> + + + + + $(CompileDependsOn); _CreateAppHost; _CreateComHost; _GetIjwHostPaths; - - + + - - - - <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true - <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true - - - + --> + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + - - - $(SingleFileHostSourcePath) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) - - + --> + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + - - - - - @(_NativeRestoredAppHostNETCore) - - - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) - - - - - - + --> + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + - - - - - + --> + + + + + - - - - + --> + + + + - - - + --> + + + - - - $(AssemblyName).comhost$(_ComHostLibraryExtension) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) - - - + --> + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + - - - + --> + + + - - - - <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest - PreserveNewest - - - + --> + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + - - PreserveNewest - Never - - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest + --> + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest - Always - - - - - $(AssemblyName).$(_DotNetComHostLibraryName) - PreserveNewest - PreserveNewest - - - %(FileName)%(Extension) - PreserveNewest - PreserveNewest - - - - - $(_DotNetIjwHostLibraryName) - PreserveNewest - PreserveNewest - - - + places the correct unbundled apphost in the publish directory. --> + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + - - - <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + --> + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> - <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> - <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> - <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> - - + --> + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + - - - - - true - - - true - - - - - + --> + + + + + true + + + true + + + + + - - $(StartWorkingDirectory) - - - - - $(StartProgram) - $(StartArguments) - - - - - - dotnet - <_NetCoreRunArguments>exec "$(TargetPath)" - $(_NetCoreRunArguments) $(StartArguments) - $(_NetCoreRunArguments) - - - $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) - $(StartArguments) - - - - - $(TargetPath) - $(StartArguments) - - - mono - "$(TargetPath)" $(StartArguments) - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) - - - - - + --> + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + - + --> + $(CreateSatelliteAssembliesDependsOn); CoreGenerateSatelliteAssemblies - - - - - - - <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs - <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll - - - - <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) - - - - - - - true - - - - - - - - - - - - - + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + - + --> + - - - - - + --> + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - + --> + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + - - - - - - + --> + + + + + + - - - - - - - - - - false - - + --> + + + + + + + + + + false + + - false - - - - false - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true - - - - + to run it. --> + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + - - - + --> + + + - - - - - - - - + --> + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + +--> - +--> + $(CommonOutputGroupsDependsOn); - - - + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); _GenerateDesignerDepsFile; _GenerateDesignerRuntimeConfigFile; GetCopyToOutputDirectoryItems; _GatherDesignerShadowCopyFiles; - - <_DesignerDepsFileName>$(AssemblyName).designer.deps.json - <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json - <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) - <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) - - - + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + - - - - - - - - - - <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> - - - - - - - - - - - <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + --> + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> - <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> - - - - - + --> + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + + + + +--> +--> +--> - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) - true - - - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - + --> + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + - - - - - <_InformationalVersionContainsPlus>false - <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true - $(InformationalVersion)+$(SourceRevisionId) - $(InformationalVersion).$(SourceRevisionId) - - - - - - <_Parameter1>$(Company) - - - <_Parameter1>$(Configuration) - - - <_Parameter1>$(Copyright) - - - <_Parameter1>$(Description) - - - <_Parameter1>$(FileVersion) - - - <_Parameter1>$(InformationalVersion) - - - <_Parameter1>$(Product) - - - <_Parameter1>$(AssemblyTitle) - - - <_Parameter1>$(AssemblyVersion) - - - <_Parameter1>RepositoryUrl - <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) - <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) - - - <_Parameter1>$(NeutralLanguage) - - - %(InternalsVisibleTo.PublicKey) - - - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) - - - <_Parameter1>%(AssemblyMetadata.Identity) - <_Parameter2>%(AssemblyMetadata.Value) - - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) - - - <_Parameter1>$(TargetPlatformIdentifier) - - - + --> + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(Trademark) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + %(InternalsVisibleTo.PublicKey) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + + + + - - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache - - - - - - - - - - - - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + - - - - - - $(AssemblyVersion) - $(Version) - - + --> + + + + + + $(AssemblyVersion) + $(Version) + + - +--> + +--> - - - - <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config - - - - - - - - - - - - - - - - - +--> + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + +--> +--> +--> - + --> + - - - <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> - <_AllProjects Include="$(MSBuildProjectFullPath)" /> - - - - - + --> + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + - - - - %(PackageReference.Identity) - %(PackageReference.Version) + --> + + + + %(PackageReference.Identity) + %(PackageReference.Version) StorePackageName=%(PackageReference.Identity); StorePackageVersion=%(PackageReference.Version); @@ -11328,246 +12182,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); DisableImplicitFrameworkReferences=false; - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - + --> + + + + + + + + + <_StoreArtifactContent> @(ListOfPackageReference) -]]> - - - - - - +]]> + + + + + + - - - <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> - <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> - - - - - - - - + --> + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + - - - true - true - <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) - true - - - - - - $(UserProfileRuntimeStorePath) - <_ProfilingSymbolsDirectoryName>symbols - $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) - $(DefaultProfilingSymbolsDir) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) - $(ProfilingSymbolsDir)\ - $(DefaultComposeDir) - $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) - $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) - $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) - $([System.IO.Path]::GetFullPath($(ComposeDir))) - <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) - $([System.IO.Path]::GetTempPath()) - $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) - $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) - - $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) - - $(PublishDir)\ - - - - false - true - - - - - - - - $(StorePackageVersion.Replace('*','-')) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) - <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) - $(StoreWorkerWorkingDir)\ - $(BaseIntermediateOutputPath)\project.assets.json - - - $(MicrosoftNETPlatformLibrary) - true - - + --> + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + - - - - + --> + + + + - + --> + - + --> + - - - - - + --> + + + + + - + --> + - - - <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> - - - true - - + --> + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + - - - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> - - + --> + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + - - - - true - true - - - - - - - - - + --> + + + + true + true + + + + + + + + + - - - - - - + --> + + + + + + +--> +--> +--> - - true - true - false - true - false - true - 1 - + --> + + true + true + false + true + false + true + 1 + - - - - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> - - - - - - - - <_CoreclrPath>@(_CoreclrResolvedPath) - @(_JitResolvedPath) - <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) - <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) - $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) - - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) - - - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) - - + --> + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + - - - + --> + + + CrossgenExe=$(Crossgen); CrossgenJit=$(JitPath); @@ -11657,246 +12511,252 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) - - - - - - + + + + + + - - - $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) - $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) - $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" - CreatePDB - CreatePerfMap - - - - - - - - - - - - <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> - - - - - - - - $([System.IO.Path]::PathSeparator) - $([System.IO.Path]::DirectorySeparatorChar) - - + --> + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + - - - <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) - <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) - - - - - <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) - - + --> + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + - - - <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) - - <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) - - <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) - - - <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> - - - - - - - - + --> + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll - $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - + --> + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + - - - - - + --> + + + + + + + + + + + - - - - - + --> + + + + + - - - - <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R - - - - <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> - + --> + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + - - <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> - - - - - - <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> - <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> - - - <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> - <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> - - - - - - - - - - - - - - - - - + assembly list. --> + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + - - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> - - + --> + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> - - + --> + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + +--> +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + - - +--> + + - - <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> - - <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> - - - - +--> + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + +--> +--> - - true - <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true - true - - - - Always - - +--> + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + + true + true + + + + Always + + + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + - - - - + --> + + + + <_BeforePublishNoBuildTargets> BuildOnlySettings; _PreventProjectReferencesFromBuilding; @@ -11998,62 +12872,70 @@ Copyright (c) .NET Foundation. All rights reserved. PrepareResourceNames; ComputeIntermediateSatelliteAssemblies; ComputeEmbeddedApphostPaths; - + <_CorePublishTargets> PrepareForPublish; ComputeAndCopyFilesToPublishDirectory; $(PublishProtocolProviderTargets); PublishItemsOutputGroup; - - <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) - - - - + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + - - - - - - - false - - + the published assets were copied. --> + + + + + + + + + + + + + + false + + - - - - - - - - - - - - - - $(PublishDir)\ - - - + --> + + + + + + + + + + + + + + $(PublishDir)\ + + + - + --> + - + --> + - - - - <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> - - - - - - - - + --> + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + - - - <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) - - - - - - <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt - - - - - - - - - - - - - - - - - - <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> - <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> - - - - - - - - - + --> + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + - + --> + - - - - + --> + + + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - - <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> - <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> - - - <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> - <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> - - + --> + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + - - - true - true - false - - + --> + + + + + true + true + false + + - - - - - @(IntermediateAssembly->'%(Filename)%(Extension)') - PreserveNewest - - - - $(ProjectDepsFileName) - PreserveNewest - - - - $(ProjectRuntimeConfigFileName) - PreserveNewest - - - - @(AppConfigWithTargetPath->'%(TargetPath)') - PreserveNewest - - - - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - PreserveNewest - true - - - - %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) - PreserveNewest - - - - %(Filename)%(Extension) - PreserveNewest - - + --> + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> - - - - %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) - PreserveNewest - - - - @(FinalDocFile->'%(Filename)%(Extension)') - PreserveNewest - - - - shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) - PreserveNewest - - - <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> - - - + to ensure that we don't get duplicate files in the publish output. --> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + - - + --> + + - - - - - <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> - - - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> - - + PreserveStoreLayout without this task, and how to handle RuntimeStorePackages. --> + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + - - - - - - + --> + + + + + + - - - <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> - - + --> + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + - - - <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + --> + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - - - - %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) - Always - True - - - %(_SourceItemsToCopyToPublishDirectory.TargetPath) - PreserveNewest - True - - - + --> + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + - + --> + - - <_GCTPDIKeepDuplicates>false - <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath - - - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - + a non-empty value and the original behavior will be restored. --> + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + - - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - Always - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - PreserveNewest - - - - - <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies - - - + --> + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + - - - <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> - - <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> - - <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> - - - - <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> - + --> + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + - - - + --> + + + - - - - - - - - - <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> - - - + --> + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + - - <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true - <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true - - + generate a different one. --> + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + - - - <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> - - - - $(AssemblyName)$(_NativeExecutableExtension) - $(PublishDir)$(PublishedSingleFileName) - - - - - - - - $(PublishedSingleFileName) - - - - - - false - false - false - $(IncludeAllContentForSelfExtract) - false - - - - - - - - - - + --> + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + - - - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) - $(PublishDir)$(ProjectDepsFileName) - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) - - - - - - <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - - - - - $(ProjectDepsFileName) - - - + --> + + + + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + - - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + --> + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + - - - - - - - - + --> + + + + + + + + - + --> + $(PublishItemsOutputGroupDependsOn); ResolveReferences; ComputeResolvedFilesToPublishList; _ComputeFilesToBundle; - - - - - - - - - - - + + + + + + + + + + + - + --> + - - - + --> + + + - +--> + +--> - - - - - +--> + + + + + - - <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml - true - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) - - - - <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> - <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> - <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> - - - - - - - tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) - - - %(_ResolvedFileToPublishWithPackagePath.PackagePath) - - - - - - - $(TargetName) - $(TargetFileName) - - - - - - - - - - - - - + --> + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + $(TargetName) + $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) + + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + + + + + + + + + + + + - - <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache - <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) - <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel - <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) - $(OutDir) - - - - - + --> + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + - - + --> + + - - - - - - - - - + during incremental builds when the task is skipped --> + + + + + + + + + - - - <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> - <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> - <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> - <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + +--> +--> - - - +--> + + + +--> +--> - - refs - $(PreserveCompilationContext) - - - - - $(DefineConstants) - $(LangVersion) - $(PlatformTarget) - $(AllowUnsafeBlocks) - $(TreatWarningsAsErrors) - $(Optimize) - $(AssemblyOriginatorKeyFile) - $(DelaySign) - $(PublicSign) - $(DebugType) - $(OutputType) - $(GenerateDocumentationFile) - - - - - - - - - +--> + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(PublicSign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + - <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + --> + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> - <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> - - $(RefAssembliesFolderName)\%(Filename)%(Extension) - - - + --> + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + - - - - - + --> + + + + + +--> +--> +--> +--> - - +--> + + Microsoft.CSharp|4.4.0; Microsoft.Win32.Primitives|4.3.0; @@ -13076,9 +14033,9 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + Microsoft.Win32.Primitives|4.3.0; System.AppContext|4.3.0; @@ -13175,50 +14132,50 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + - - +--> + + - - + --> + + - <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> - - - - - - - + --> + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + - - - - - - - - - + (eg: HintPath) --> + + + + + + + + + - - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> - - + --> + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + - - - - - - - + --> + + + + + + + - - +--> + + +--> +--> - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets - + *************************************************************************************************************** --> + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + - +--> + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - - - - - - - - - - - $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + + + + + + + - - - - - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - - - - false - false - false - false - false - false - false - false - - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --notrimwarn - false - - - - $(NoWarn);IL2121 - - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - - - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - - - - - - - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - - - - - - - - - 5 - 0 - - - - - - <_ILLinkSuppressions Include="$(MSBuildThisFileDirectory)6.0_suppressions.xml" /> - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --link-attributes "@(_ILLinkSuppressions->'%(Identity)', '" --link-attributes "')" - - - - copyused - partial - full - - <_TrimmerDefaultAction Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '7.0'))">$(TrimmerDefaultAction) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">$(TrimMode) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '6.0'))">copy - - - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - <_ExtraTrimmerArgs>--enable-serialization-discovery $(_ExtraTrimmerArgs) - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - - - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - - - - - - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - +--> + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + - - - - true - true - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets - - - - - +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + + + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + +--> - - - true - - - - true - - - - 7.0 - - +--> + + + true + + + + true + + + + 7.0 + + - $(TargetPlatformMinVersion) - $(SupportedOSPlatformVersion) - - $(TargetPlatformVersion) - $(TargetPlatformVersion) - - - - <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> - - - - - - - - + other value. --> + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> - - - - - - - + The WinMD in this case can be identified because the Implementation metadata value is WinRT.Host.dll. So here we remove any such WinMD references. --> + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + +--> - + TargetPlatformVersion may have been set later than that in evaluation by platform-specific targets or Directory.Build.targets. So fix up those properties here --> + - 0.0 - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - - - - $(TargetPlatformVersion) - - + workloads. --> + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + +--> +--> - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll - $(MSBuildThisFileDirectory)..\tools\net7.0\Microsoft.DotNet.ApiCompat.Task.dll - - - - - +--> + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll + + + + + +--> - - - - - - $(RoslynTargetsPath) - <_packageReferenceList>@(PackageReference) +--> + + + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) - $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) - $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) - - - - $(GenerateCompatibilitySuppressionFile) - - - - - - - <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - - $(_apiCompatDefaultProjectSuppressionFile) - - - - - - + are on the same directory as Microsoft.CodeAnalysis. So there is no need to distinguish between csproj or vbproj. --> + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + +--> +--> - - $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore - - CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - - - $(PackageId) - $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) - - - <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> - - - - - - - - - - - - - - - - +--> + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + + + + + + + + + + $(TargetPlatformMoniker) + + + + + + + + + - +--> + - - - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets - true - +--> + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + +--> - - - ..\CoreCLR\NuGet.Build.Tasks.Pack.dll - ..\Desktop\NuGet.Build.Tasks.Pack.dll - - - - - - - - - $(AssemblyName) - $(Version) - true - _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) - $(Description) - Package Description - false - true - true - tools - lib - content;contentFiles - $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) - true - symbols.nupkg - DeterminePortableBuildCapabilities - false - false - .dll; .exe; .winmd; .json; .pri; .xml - $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) - .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) - .pdb - false - - - $(GenerateNuspecDependsOn) - - - Build;$(GenerateNuspecDependsOn) - - - - - - - $(TargetFramework) - - - - $(MSBuildProjectExtensionsPath) - $(BaseOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - +--> + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - + --> + + + + + + - - - <_ProjectFrameworks /> - - - - - - <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> - - + --> + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + - - - - <_PackageFilesToDelete Include="@(_OutputPackItems)" /> - - - - - - false - - - - - - - - - - - - - + --> + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + - - - - - - true - - - - - - - - - + --> + + + + + + true + + + + + + + + + - - - - $(PrivateRepositoryUrl) - $(SourceRevisionId) - - + --> + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + - - - - $(MSBuildProjectFullPath) - - - - - - - - - - - - - - - - - <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> - $(PackageVersion) - 1.0.0 - - - - - - - - - - - - - - - - - - - - - - - - - - <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> - - - - - - $(TargetFramework) - - - - - - - - - - - - - %(TfmSpecificPackageFile.RecursiveDir) - %(TfmSpecificPackageFile.BuildAction) - - - - - - <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> - $(TargetFramework) - - - - <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> - - + --> + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + - - - <_PathToPriFile Include="$(ProjectPriFullPath)"> - $(ProjectPriFullPath) - $(ProjectPriFileName) - - - + has to be added manually here.--> + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + - - - <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> - - - - <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> - Content - - <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> - Compile - - <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> - None - - <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> - EmbeddedResource - - <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> - ApplicationDefinition - - <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> - Page - - <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> - Resource - - <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> - SplashScreen - - <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> - DesignData - - <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> - DesignDataWithDesignTimeCreatableTypes - - <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> - CodeAnalysisDictionary - - <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> - AndroidAsset - - <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> - AndroidResource - - <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> - BundleResource - - - + --> + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + +--> +--> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.203.CSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.203.CSharp.xml index d9f78ab..7d12ec1 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.203.CSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.203.CSharp.xml @@ -1,6 +1,6 @@ @@ -9,7 +9,7 @@ This import was added implicitly because the Project element's Sdk attribute specified "Microsoft.NET.Sdk". -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> true + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + $(ProjectExtensionsPathForSpecifiedProject) @@ -214,14 +252,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> + + + true + Library @@ -325,8 +371,6 @@ Copyright (c) .NET Foundation. All rights reserved. false true true - false - true @@ -339,7 +383,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props ============================================================================================================================================ --> + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + - - - + + + + @@ -445,18 +512,19 @@ Copyright (c) .NET Foundation. All rights reserved. + - - - - - - + + + + + + @@ -464,19 +532,16 @@ Copyright (c) .NET Foundation. All rights reserved. + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> - - - $(BundledRuntimeIdentifierGraphFile) - false @@ -520,12 +585,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + @@ -568,7 +635,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props ============================================================================================================================================ --> @@ -635,7 +707,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props ============================================================================================================================================ --> @@ -643,7 +715,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props ============================================================================================================================================ --> @@ -675,7 +747,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props ============================================================================================================================================ --> - 1701;1702 - - $(WarningsAsErrors);NU1605 - - - $(DefineConstants); - $(DefineConstants)TRACE + + true + <_SourceLinkPropsImported>true - - - - - - - - - - + - - + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + - + - true + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true - + + + + + - - - $(MSBuildThisFileDirectory)Microsoft.DotNet.ILCompiler.SingleEntry.targets - + + + + + + + + + + + + + + + + + + - - - - $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.targets - - true - $(MSBuildThisFileDirectory)..\tools\net7.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll + + 1701;1702 + + $(WarningsAsErrors);NU1605 + + $(DefineConstants); + $(DefineConstants)TRACE + + + + + + + + + + + - + + @@ -1076,7 +1182,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.WindowsForms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.WindowsForms.props ============================================================================================================================================ --> - - - Debug AnyCPU $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - @@ -1379,7 +1437,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportPublishProfile.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportPublishProfile.targets ============================================================================================================================================ --> @@ -1518,12 +1579,23 @@ Copyright (c) .NET Foundation. All rights reserved. true + true - + + - + + + + + + + + + + - + + true + + + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - - - - true - + + true true - - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ - - - - - true - - false - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - - - - + - - + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ + + - - - - - - - - - - + It would look something like this: + + + true + + --> + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** + + + + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + + + + + + true + + false + + + + + + + + + + + + + + + + + + + + + @@ -2105,7 +2351,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets ============================================================================================================================================ --> + + true + @@ -2240,7 +2490,8 @@ Copyright (c) .NET Foundation. All rights reserved. <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - true + + true false <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true @@ -2264,7 +2515,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -2273,7 +2524,9 @@ Copyright (c) .NET Foundation. All rights reserved. - + + @@ -2312,8 +2565,8 @@ Copyright (c) .NET Foundation. All rights reserved. append a RID the user never mentioned in the path and do so even in the AnyCPU case. --> - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ @@ -2337,7 +2590,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets ============================================================================================================================================ --> - true + true + true - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;5.0" /> + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + @@ -2402,8 +2659,9 @@ Copyright (c) .NET Foundation. All rights reserved. $(PreserveCompilationContext) - - + + publish $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ @@ -2417,7 +2675,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets ============================================================================================================================================ --> @@ -2523,8 +2781,18 @@ Copyright (c) .NET Foundation. All rights reserved. <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + - + $(DefineConstants);@(_ImplicitDefineConstant) $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') @@ -2558,7 +2826,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -9090,7 +9358,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -9098,7 +9366,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> $(MSBuildThisFileDirectory)..\tools\ - net7.0 + net8.0 net472 $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll @@ -9170,7 +9438,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -9181,7 +9449,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets ============================================================================================================================================ --> @@ -9565,7 +9833,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets ============================================================================================================================================ --> + + true + + + + + - + @@ -9932,7 +10208,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - + @@ -9941,12 +10217,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + $(RuntimeIdentifier) $(DefaultAppHostRuntimeIdentifier) - + @@ -9967,6 +10245,11 @@ Copyright (c) .NET Foundation. All rights reserved. + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + @@ -10192,6 +10484,23 @@ Copyright (c) .NET Foundation. All rights reserved. true <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json @@ -10219,7 +10528,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets ============================================================================================================================================ --> @@ -10301,6 +10610,9 @@ Copyright (c) .NET Foundation. All rights reserved. true + + true + @@ -10333,6 +10645,43 @@ Copyright (c) .NET Foundation. All rights reserved. true + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + _CheckForBuildWithNoBuild; @@ -10353,6 +10702,15 @@ Copyright (c) .NET Foundation. All rights reserved. $(RebuildDependsOn) + + + + + + + @@ -10378,7 +10736,14 @@ Copyright (c) .NET Foundation. All rights reserved. - + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + @@ -10480,11 +10845,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + + @@ -10492,19 +10860,25 @@ Copyright (c) .NET Foundation. All rights reserved. + + + - + + + + + + + + + + + + + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + + + + + + + + + + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + - - - - - - - + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - - - - - - - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> - - - - - - - - - - false - - - - false - - - - false +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.SourceLink.Bitbucket.Git/build/Microsoft.SourceLink.Bitbucket.Git.targets +============================================================================================================================================ +--> + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation - - + + + + + + + + + - - - + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - - - - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + - + @@ -11007,14 +11851,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> - + + + + + + + @@ -11884,7 +12744,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -11934,14 +12794,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -11996,14 +12856,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> + + + true + true + Always + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + - + + + + + + + + @@ -12084,9 +12965,10 @@ Copyright (c) .NET Foundation. All rights reserved. - - - + + + $(PublishDir)\ @@ -12209,7 +13091,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -12240,6 +13122,16 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================ --> + + true true @@ -12594,8 +13486,27 @@ Copyright (c) .NET Foundation. All rights reserved. $(PublishedSingleFileName) + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + - + false false @@ -12612,19 +13523,50 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + - + - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) @@ -12638,7 +13580,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - + $(ProjectDepsFileName) @@ -12714,14 +13656,14 @@ Copyright (c) .NET Foundation. All rights reserved. Block unsupported language and feature combination. ============================================================ --> - + @@ -12729,7 +13671,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets ============================================================================================================================================ --> - $(TargetName) $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) - + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + @@ -12858,14 +13815,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -13300,14 +14257,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> - - $(WarningsAsErrors);SYSLIB0011 + + $(WarningsAsErrors);SYSLIB0011 - - - - - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - - - - false - false - false - false - false - false - false - false - - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --notrimwarn - false - - - - $(NoWarn);IL2121 - - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - - - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - - - - - - - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - - - - - - - - - 5 - 0 - - - - - - <_ILLinkSuppressions Include="$(MSBuildThisFileDirectory)6.0_suppressions.xml" /> - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --link-attributes "@(_ILLinkSuppressions->'%(Identity)', '" --link-attributes "')" - - - - copyused - partial - full - - <_TrimmerDefaultAction Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '7.0'))">$(TrimmerDefaultAction) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">$(TrimMode) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '6.0'))">copy - - - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - <_ExtraTrimmerArgs>--enable-serialization-discovery $(_ExtraTrimmerArgs) - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - - - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - - - - - - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - + + <_NoneAnalysisLevel>4.0 - <_LatestAnalysisLevel>7.0 - <_PreviewAnalysisLevel>8.0 + <_LatestAnalysisLevel>8.0 + <_PreviewAnalysisLevel>9.0 latest $(_TargetFrameworkVersionWithoutV) true - true + true - true + true - true + true false @@ -13725,7 +14406,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/analyzers/build/Microsoft.CodeAnalysis.NetAnalyzers.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/analyzers/build/Microsoft.CodeAnalysis.NetAnalyzers.props ============================================================================================================================================ --> - <_NETAnalyzersSDKAssemblyVersion>7.0.1 + <_NETAnalyzersSDKAssemblyVersion>8.0.0 - CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2100;CA2101;CA2109;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2229;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 - $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) - $(WarningsAsErrors);$(CodeAnalysisRuleIds) + CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1510;CA1511;CA1512;CA1513;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA1856;CA1857;CA1858;CA1859;CA1860;CA1861;CA1862;CA1863;CA1864;CA1865;CA1866;CA1867;CA1868;CA1869;CA1870;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2021;CA2100;CA2101;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2261;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 + $(CodeAnalysisTreatWarningsAsErrors) + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) - @@ -13765,15 +14445,17 @@ Copyright (c) .NET Foundation. All rights reserved. - - - - + + + @@ -13793,7 +14475,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -13812,7 +14494,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets ============================================================================================================================================ --> $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll - $(MSBuildThisFileDirectory)..\tools\net7.0\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll @@ -13929,7 +14611,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.Common.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.Common.targets ============================================================================================================================================ --> - + + - + + $(TargetPlatformMoniker) + @@ -14031,7 +14716,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.targets ============================================================================================================================================ --> @@ -14039,7 +14724,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -14052,7 +14737,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets ============================================================================================================================================ --> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.203.FSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.203.FSharp.xml index 682bab8..75d5c3c 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.203.FSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.203.FSharp.xml @@ -1,6 +1,6 @@ @@ -9,7 +9,7 @@ This import was added implicitly because the Project element's Sdk attribute specified "Microsoft.NET.Sdk". -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> true + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + $(ProjectExtensionsPathForSpecifiedProject) @@ -214,14 +252,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> + + + true + Library @@ -325,8 +371,6 @@ Copyright (c) .NET Foundation. All rights reserved. false true true - false - true @@ -339,7 +383,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props ============================================================================================================================================ --> + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + - - - + + + + @@ -445,18 +512,19 @@ Copyright (c) .NET Foundation. All rights reserved. + - - - - - - + + + + + + @@ -464,19 +532,16 @@ Copyright (c) .NET Foundation. All rights reserved. + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> - - - $(BundledRuntimeIdentifierGraphFile) - false @@ -520,12 +585,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + @@ -568,7 +635,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props ============================================================================================================================================ --> @@ -635,7 +707,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props ============================================================================================================================================ --> @@ -643,7 +715,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props ============================================================================================================================================ --> @@ -675,7 +747,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props ============================================================================================================================================ --> + + + + + true + <_SourceLinkPropsImported>true + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + + + + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -714,7 +941,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.props ============================================================================================================================================ --> - - - - - - true - - - - - - - $(MSBuildThisFileDirectory)Microsoft.DotNet.ILCompiler.SingleEntry.targets - - - - - - - - - - - $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.targets - - true - $(MSBuildThisFileDirectory)..\tools\net7.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll - - @@ -1207,7 +1313,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.WindowsForms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.WindowsForms.props ============================================================================================================================================ --> - + + + Debug + AnyCPU + $(Platform) + + + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) + + false + + + - - Debug - AnyCPU - $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - - - - - - - - true - <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) - <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties - <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ - $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) - $(_PublishProfileRootFolder)$(PublishProfileName).pubxml - $(PublishProfileFullPath) - - false - - - - @@ -1649,12 +1710,23 @@ Copyright (c) .NET Foundation. All rights reserved. true + true - + + - + + + + + + + + + + - + + true + + + + + - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** + true + true + + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ - - true - true + + + + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + @@ -1754,9 +2003,6 @@ Copyright (c) .NET Foundation. All rights reserved. false - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - @@ -2236,7 +2482,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets ============================================================================================================================================ --> + + true + @@ -2371,7 +2621,8 @@ Copyright (c) .NET Foundation. All rights reserved. <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - true + + true false <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true @@ -2395,7 +2646,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -2404,7 +2655,9 @@ Copyright (c) .NET Foundation. All rights reserved. - + + @@ -2443,8 +2696,8 @@ Copyright (c) .NET Foundation. All rights reserved. append a RID the user never mentioned in the path and do so even in the AnyCPU case. --> - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ @@ -2468,7 +2721,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets ============================================================================================================================================ --> - true + true + true - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;5.0" /> + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + @@ -2533,8 +2790,9 @@ Copyright (c) .NET Foundation. All rights reserved. $(PreserveCompilationContext) - - + + publish $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ @@ -2548,7 +2806,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets ============================================================================================================================================ --> @@ -2654,8 +2912,18 @@ Copyright (c) .NET Foundation. All rights reserved. <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + - + $(DefineConstants);@(_ImplicitDefineConstant) $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') @@ -2689,7 +2957,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -2707,7 +2975,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets ============================================================================================================================================ --> @@ -9022,7 +9290,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets ============================================================================================================================================ --> @@ -9106,7 +9374,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> $(MSBuildThisFileDirectory)..\tools\ - net7.0 + net8.0 net472 $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll @@ -9178,7 +9446,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -9189,7 +9457,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets ============================================================================================================================================ --> @@ -9573,7 +9841,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets ============================================================================================================================================ --> + + true + + + + + - + @@ -9940,7 +10216,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - + @@ -9949,12 +10225,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + $(RuntimeIdentifier) $(DefaultAppHostRuntimeIdentifier) - + @@ -9975,6 +10253,11 @@ Copyright (c) .NET Foundation. All rights reserved. + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + @@ -10200,6 +10492,23 @@ Copyright (c) .NET Foundation. All rights reserved. true <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json @@ -10227,7 +10536,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets ============================================================================================================================================ --> @@ -10309,6 +10618,9 @@ Copyright (c) .NET Foundation. All rights reserved. true + + true + @@ -10341,6 +10653,43 @@ Copyright (c) .NET Foundation. All rights reserved. true + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + _CheckForBuildWithNoBuild; @@ -10361,6 +10710,15 @@ Copyright (c) .NET Foundation. All rights reserved. $(RebuildDependsOn) + + + + + + + @@ -10386,7 +10744,14 @@ Copyright (c) .NET Foundation. All rights reserved. - + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + @@ -10488,11 +10853,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + + @@ -10500,19 +10868,25 @@ Copyright (c) .NET Foundation. All rights reserved. + + + - + + + + - - - - + + + + + + + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + + + + + + + + + + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + + + + - - - - - + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - - - - - - - - false - - - - false - - - - false +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation - - + + + + + + + + + - - - + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - - - - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + - + @@ -11015,14 +11859,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -11217,7 +12071,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.GenerateSupportedRuntime.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.GenerateSupportedRuntime.targets ============================================================================================================================================ --> - + + + + + + + @@ -11837,7 +12697,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -11887,14 +12747,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -11949,14 +12809,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> + + + true + true + Always + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + - + + + + + + + + @@ -12037,9 +12918,10 @@ Copyright (c) .NET Foundation. All rights reserved. - - - + + + $(PublishDir)\ @@ -12162,7 +13044,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -12193,6 +13075,16 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================ --> + + true true @@ -12547,8 +13439,27 @@ Copyright (c) .NET Foundation. All rights reserved. $(PublishedSingleFileName) + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + - + false false @@ -12565,19 +13476,50 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + - + - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) @@ -12591,7 +13533,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - + $(ProjectDepsFileName) @@ -12667,14 +13609,14 @@ Copyright (c) .NET Foundation. All rights reserved. Block unsupported language and feature combination. ============================================================ --> - + @@ -12682,7 +13624,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets ============================================================================================================================================ --> - $(TargetName) $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) - + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + @@ -12811,14 +13768,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -13253,7 +14210,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -13262,7 +14219,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.targets ============================================================================================================================================ --> @@ -13332,287 +14289,11 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets -============================================================================================================================================ ---> - - - - - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - - - - false - false - false - false - false - false - false - false - - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --notrimwarn - false - - - - $(NoWarn);IL2121 - - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - - - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - - - - - - - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - - - - - - - - - 5 - 0 - - - - - - <_ILLinkSuppressions Include="$(MSBuildThisFileDirectory)6.0_suppressions.xml" /> - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --link-attributes "@(_ILLinkSuppressions->'%(Identity)', '" --link-attributes "')" - - - - copyused - partial - full - - <_TrimmerDefaultAction Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '7.0'))">$(TrimmerDefaultAction) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">$(TrimMode) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '6.0'))">copy - - - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - <_ExtraTrimmerArgs>--enable-serialization-discovery $(_ExtraTrimmerArgs) - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - - - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - - - - - - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - + + @@ -13630,7 +14311,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets ============================================================================================================================================ --> $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll - $(MSBuildThisFileDirectory)..\tools\net7.0\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll @@ -13747,7 +14428,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.Common.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.Common.targets ============================================================================================================================================ --> - + + - + + $(TargetPlatformMoniker) + @@ -13849,7 +14533,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.targets ============================================================================================================================================ --> @@ -13857,7 +14541,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -13870,7 +14554,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.203/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets ============================================================================================================================================ --> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.302.CSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.302.CSharp.xml index 5c968fd..80c3a82 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.302.CSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.302.CSharp.xml @@ -1,6 +1,6 @@ @@ -9,7 +9,7 @@ This import was added implicitly because the Project element's Sdk attribute specified "Microsoft.NET.Sdk". -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> true + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + $(ProjectExtensionsPathForSpecifiedProject) @@ -214,14 +252,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> + + + true + Library @@ -325,8 +371,6 @@ Copyright (c) .NET Foundation. All rights reserved. false true true - false - true @@ -339,7 +383,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props ============================================================================================================================================ --> + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + - - - + + + + @@ -445,18 +512,19 @@ Copyright (c) .NET Foundation. All rights reserved. + - - - - - - + + + + + + @@ -464,19 +532,16 @@ Copyright (c) .NET Foundation. All rights reserved. + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> - - - $(BundledRuntimeIdentifierGraphFile) - false @@ -520,12 +585,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + @@ -568,7 +635,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props ============================================================================================================================================ --> @@ -635,7 +707,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props ============================================================================================================================================ --> @@ -643,7 +715,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props ============================================================================================================================================ --> @@ -675,7 +747,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props ============================================================================================================================================ --> - 1701;1702 - - $(WarningsAsErrors);NU1605 - - - $(DefineConstants); - $(DefineConstants)TRACE + + true + <_SourceLinkPropsImported>true - - - - - - - - - - + - - + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + - + - true + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true - + + + + + - - - $(MSBuildThisFileDirectory)Microsoft.DotNet.ILCompiler.SingleEntry.targets - + + + + + + + + + + + + + + + + + + - - - - $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.targets - - true - $(MSBuildThisFileDirectory)..\tools\net7.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll + + 1701;1702 + + $(WarningsAsErrors);NU1605 + + $(DefineConstants); + $(DefineConstants)TRACE + + + + + + + + + + + - + + @@ -1076,7 +1182,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.WindowsForms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.WindowsForms.props ============================================================================================================================================ --> - - - Debug AnyCPU $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - @@ -1379,7 +1437,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportPublishProfile.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportPublishProfile.targets ============================================================================================================================================ --> @@ -1518,8 +1579,10 @@ Copyright (c) .NET Foundation. All rights reserved. true + true - + + @@ -1529,6 +1592,8 @@ Copyright (c) .NET Foundation. All rights reserved. + + @@ -1550,7 +1615,11 @@ Copyright (c) .NET Foundation. All rights reserved. Trigger an error if targeting a higher version of .NET Core or .NET Standard than is supported by the current SDK. --> - + + true + + + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - - - - true - + + true true - - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ - - - - - true - - false - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - - - - + - - + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ + + - - - - - - - - - - + It would look something like this: + + + true + + --> + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** + + + + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + + + + + + true + + false + + + + + + + + + + + + + + + + + + + + + @@ -2082,7 +2321,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets ============================================================================================================================================ --> @@ -2112,7 +2351,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets ============================================================================================================================================ --> + + true + @@ -2247,7 +2490,8 @@ Copyright (c) .NET Foundation. All rights reserved. <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - true + + true false <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true @@ -2271,7 +2515,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -2280,7 +2524,9 @@ Copyright (c) .NET Foundation. All rights reserved. - + + @@ -2319,8 +2565,8 @@ Copyright (c) .NET Foundation. All rights reserved. append a RID the user never mentioned in the path and do so even in the AnyCPU case. --> - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ @@ -2344,7 +2590,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets ============================================================================================================================================ --> - true + true + true - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;5.0" /> + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + @@ -2409,8 +2659,9 @@ Copyright (c) .NET Foundation. All rights reserved. $(PreserveCompilationContext) - - + + publish $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ @@ -2424,7 +2675,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets ============================================================================================================================================ --> @@ -2530,8 +2781,18 @@ Copyright (c) .NET Foundation. All rights reserved. <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + - + $(DefineConstants);@(_ImplicitDefineConstant) $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') @@ -2565,7 +2826,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -9105,7 +9366,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -9113,7 +9374,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> $(MSBuildThisFileDirectory)..\tools\ - net7.0 + net8.0 net472 $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll @@ -9185,7 +9446,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -9196,7 +9457,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets ============================================================================================================================================ --> @@ -9580,7 +9841,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets ============================================================================================================================================ --> + + true + + + + + - + @@ -9947,7 +10216,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - + @@ -9956,12 +10225,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + $(RuntimeIdentifier) $(DefaultAppHostRuntimeIdentifier) - + @@ -9982,6 +10253,11 @@ Copyright (c) .NET Foundation. All rights reserved. + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + @@ -10207,6 +10492,23 @@ Copyright (c) .NET Foundation. All rights reserved. true <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json @@ -10234,7 +10536,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets ============================================================================================================================================ --> @@ -10316,6 +10618,9 @@ Copyright (c) .NET Foundation. All rights reserved. true + + true + @@ -10348,6 +10653,43 @@ Copyright (c) .NET Foundation. All rights reserved. true + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + _CheckForBuildWithNoBuild; @@ -10368,6 +10710,15 @@ Copyright (c) .NET Foundation. All rights reserved. $(RebuildDependsOn) + + + + + + + @@ -10393,7 +10744,14 @@ Copyright (c) .NET Foundation. All rights reserved. - + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + @@ -10495,11 +10853,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + + @@ -10507,19 +10868,25 @@ Copyright (c) .NET Foundation. All rights reserved. + + + - + + + + - - - - + + + + + + + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + + + + + + + + + + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + + + + - - - - - + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - - - - - - - - false - - - - false - - - - false +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation - - + + + + + + + + + - - - + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - - - - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + - + @@ -11022,14 +11859,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -12017,14 +12864,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> + + + true + true + Always + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + - + + $(PublishDir)\ @@ -12238,7 +13099,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -12269,6 +13130,16 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================ --> + + true true @@ -12623,8 +13494,27 @@ Copyright (c) .NET Foundation. All rights reserved. $(PublishedSingleFileName) + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + - + false false @@ -12641,19 +13531,50 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + - + - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) @@ -12667,7 +13588,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - + $(ProjectDepsFileName) @@ -12743,14 +13664,14 @@ Copyright (c) .NET Foundation. All rights reserved. Block unsupported language and feature combination. ============================================================ --> - + @@ -12758,7 +13679,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets ============================================================================================================================================ --> - $(TargetName) $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) - + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + @@ -12887,14 +13823,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -13329,14 +14265,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> - - $(WarningsAsErrors);SYSLIB0011 + + $(WarningsAsErrors);SYSLIB0011 - - - - - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - - - - false - false - false - false - false - false - false - false - - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --notrimwarn - false - - - - $(NoWarn);IL2121 - - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - - - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - - - - - - - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - - - - - - - - - 5 - 0 - - - - - - <_ILLinkSuppressions Include="$(MSBuildThisFileDirectory)6.0_suppressions.xml" /> - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --link-attributes "@(_ILLinkSuppressions->'%(Identity)', '" --link-attributes "')" - - - - copyused - partial - full - - <_TrimmerDefaultAction Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '7.0'))">$(TrimmerDefaultAction) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">$(TrimMode) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '6.0'))">copy - - - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - <_ExtraTrimmerArgs>--enable-serialization-discovery $(_ExtraTrimmerArgs) - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - - - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - - - - - - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - + + <_NoneAnalysisLevel>4.0 - <_LatestAnalysisLevel>7.0 - <_PreviewAnalysisLevel>8.0 + <_LatestAnalysisLevel>8.0 + <_PreviewAnalysisLevel>9.0 latest $(_TargetFrameworkVersionWithoutV) true - true + true - true + true - true + true false @@ -13754,7 +14414,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/analyzers/build/Microsoft.CodeAnalysis.NetAnalyzers.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/analyzers/build/Microsoft.CodeAnalysis.NetAnalyzers.props ============================================================================================================================================ --> - <_NETAnalyzersSDKAssemblyVersion>7.0.1 + <_NETAnalyzersSDKAssemblyVersion>8.0.0 - CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2100;CA2101;CA2109;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2229;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 - $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) - $(WarningsAsErrors);$(CodeAnalysisRuleIds) + CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1510;CA1511;CA1512;CA1513;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA1856;CA1857;CA1858;CA1859;CA1860;CA1861;CA1862;CA1863;CA1864;CA1865;CA1866;CA1867;CA1868;CA1869;CA1870;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2021;CA2100;CA2101;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2261;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 + $(CodeAnalysisTreatWarningsAsErrors) + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) - @@ -13794,15 +14453,17 @@ Copyright (c) .NET Foundation. All rights reserved. - - - - + + + @@ -13822,7 +14483,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -13841,7 +14502,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets ============================================================================================================================================ --> $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll - $(MSBuildThisFileDirectory)..\tools\net7.0\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll @@ -13958,7 +14619,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.Common.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.Common.targets ============================================================================================================================================ --> - + + - + + $(TargetPlatformMoniker) + @@ -14060,7 +14724,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.targets ============================================================================================================================================ --> @@ -14068,7 +14732,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -14081,7 +14745,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets ============================================================================================================================================ --> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.302.FSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.302.FSharp.xml index 667b2de..0a5ae32 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.302.FSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.302.FSharp.xml @@ -1,6 +1,6 @@ @@ -9,7 +9,7 @@ This import was added implicitly because the Project element's Sdk attribute specified "Microsoft.NET.Sdk". -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> true + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + $(ProjectExtensionsPathForSpecifiedProject) @@ -214,14 +252,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props ============================================================================================================================================ --> + + + true + Library @@ -325,8 +371,6 @@ Copyright (c) .NET Foundation. All rights reserved. false true true - false - true @@ -339,7 +383,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.props ============================================================================================================================================ --> + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + - - - + + + + @@ -445,18 +512,19 @@ Copyright (c) .NET Foundation. All rights reserved. + - - - - - - + + + + + + @@ -464,19 +532,16 @@ Copyright (c) .NET Foundation. All rights reserved. + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> - - - $(BundledRuntimeIdentifierGraphFile) - false @@ -520,12 +585,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + @@ -568,7 +635,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props ============================================================================================================================================ --> @@ -635,7 +707,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props ============================================================================================================================================ --> @@ -643,7 +715,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props ============================================================================================================================================ --> @@ -675,7 +747,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props ============================================================================================================================================ --> + + + + + true + <_SourceLinkPropsImported>true + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + + + + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -714,7 +941,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.props ============================================================================================================================================ --> - - - - - - true - - - - - - - $(MSBuildThisFileDirectory)Microsoft.DotNet.ILCompiler.SingleEntry.targets - - - - - - - - - - - $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.targets - - true - $(MSBuildThisFileDirectory)..\tools\net7.0\ILLink.Tasks.dll - $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll - - @@ -1207,7 +1313,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.WindowsForms.props +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.WindowsForms.props ============================================================================================================================================ --> - + + + Debug + AnyCPU + $(Platform) + + + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) + + false + + + - - Debug - AnyCPU - $(Platform) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - - - - - - - - true - <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) - <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties - <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ - $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) - $(_PublishProfileRootFolder)$(PublishProfileName).pubxml - $(PublishProfileFullPath) - - false - - - - @@ -1649,8 +1710,10 @@ Copyright (c) .NET Foundation. All rights reserved. true + true - + + @@ -1660,6 +1723,8 @@ Copyright (c) .NET Foundation. All rights reserved. + + @@ -1681,7 +1746,11 @@ Copyright (c) .NET Foundation. All rights reserved. Trigger an error if targeting a higher version of .NET Core or .NET Standard than is supported by the current SDK. --> - + + true + + + + + - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** + true + true + + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ - - true - true + + + + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + @@ -1761,9 +2003,6 @@ Copyright (c) .NET Foundation. All rights reserved. false - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - @@ -2243,7 +2482,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.BeforeCommon.targets ============================================================================================================================================ --> + + true + @@ -2378,7 +2621,8 @@ Copyright (c) .NET Foundation. All rights reserved. <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - true + + true false <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true @@ -2402,7 +2646,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -2411,7 +2655,9 @@ Copyright (c) .NET Foundation. All rights reserved. - + + @@ -2450,8 +2696,8 @@ Copyright (c) .NET Foundation. All rights reserved. append a RID the user never mentioned in the path and do so even in the AnyCPU case. --> - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ @@ -2475,7 +2721,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets ============================================================================================================================================ --> - true + true + true - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;5.0" /> + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + @@ -2540,8 +2790,9 @@ Copyright (c) .NET Foundation. All rights reserved. $(PreserveCompilationContext) - - + + publish $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ @@ -2555,7 +2806,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.NuGetOfflineCache.targets ============================================================================================================================================ --> @@ -2661,8 +2912,18 @@ Copyright (c) .NET Foundation. All rights reserved. <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + - + $(DefineConstants);@(_ImplicitDefineConstant) $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') @@ -2696,7 +2957,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -2714,7 +2975,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets ============================================================================================================================================ --> @@ -9027,7 +9288,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharpTargetsShim.targets ============================================================================================================================================ --> @@ -9121,7 +9382,7 @@ Copyright (C) Microsoft Corporation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> $(MSBuildThisFileDirectory)..\tools\ - net7.0 + net8.0 net472 $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll @@ -9193,7 +9454,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -9204,7 +9465,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets ============================================================================================================================================ --> @@ -9588,7 +9849,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets ============================================================================================================================================ --> + + true + + + + + - + @@ -9955,7 +10224,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - + @@ -9964,12 +10233,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + $(RuntimeIdentifier) $(DefaultAppHostRuntimeIdentifier) - + @@ -9990,6 +10261,11 @@ Copyright (c) .NET Foundation. All rights reserved. + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + @@ -10215,6 +10500,23 @@ Copyright (c) .NET Foundation. All rights reserved. true <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json @@ -10242,7 +10544,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Shared.targets ============================================================================================================================================ --> @@ -10324,6 +10626,9 @@ Copyright (c) .NET Foundation. All rights reserved. true + + true + @@ -10356,6 +10661,43 @@ Copyright (c) .NET Foundation. All rights reserved. true + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + _CheckForBuildWithNoBuild; @@ -10376,6 +10718,15 @@ Copyright (c) .NET Foundation. All rights reserved. $(RebuildDependsOn) + + + + + + + @@ -10401,7 +10752,14 @@ Copyright (c) .NET Foundation. All rights reserved. - + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + @@ -10503,11 +10861,14 @@ Copyright (c) .NET Foundation. All rights reserved. + + + @@ -10515,19 +10876,25 @@ Copyright (c) .NET Foundation. All rights reserved. + + + - + + + + - - - - + + + + + + + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + + + + + + + + + + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + + + + - - - - - + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - - - - - - - - false - - - - false - - - - false +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation - - + + + + + + + + + - - - + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + - - - - - - - +============================================================================================================================================ + + +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets +============================================================================================================================================ +--> + - + @@ -11030,14 +11867,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -11232,7 +12079,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.GenerateSupportedRuntime.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.GenerateSupportedRuntime.targets ============================================================================================================================================ --> @@ -11970,14 +12817,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> + + + true + true + Always + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + - + + $(PublishDir)\ @@ -12191,7 +13052,7 @@ Copyright (c) .NET Foundation. All rights reserved. - + @@ -12222,6 +13083,16 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================ --> + + true true @@ -12576,8 +13447,27 @@ Copyright (c) .NET Foundation. All rights reserved. $(PublishedSingleFileName) + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + - + false false @@ -12594,19 +13484,50 @@ Copyright (c) .NET Foundation. All rights reserved. + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + - + - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) @@ -12620,7 +13541,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - + $(ProjectDepsFileName) @@ -12696,14 +13617,14 @@ Copyright (c) .NET Foundation. All rights reserved. Block unsupported language and feature combination. ============================================================ --> - + @@ -12711,7 +13632,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.PackTool.targets ============================================================================================================================================ --> - $(TargetName) $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) - + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + @@ -12840,14 +13776,14 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -13282,7 +14218,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets ============================================================================================================================================ --> @@ -13291,7 +14227,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FSharp.targets ============================================================================================================================================ --> @@ -13361,287 +14297,11 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets -============================================================================================================================================ ---> - - - - - - $(IntermediateOutputPath)linked\ - $(IntermediateLinkDir)\ - - <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore - - - - <_Parameter1>IsTrimmable - <_Parameter2>True - - - - - false - false - false - false - false - false - false - false - - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true - <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false - true - - - - true - - true - - false - - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --notrimwarn - false - - - - $(NoWarn);IL2121 - - - - - - <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> - - - - - - - <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - - - - - - - - - - - - <_DotNetHostDirectory>$(NetCoreRoot) - <_DotNetHostFileName>dotnet - <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe - - - - - - - - - - - - - - - 5 - 0 - - - - - - <_ILLinkSuppressions Include="$(MSBuildThisFileDirectory)6.0_suppressions.xml" /> - - - <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --link-attributes "@(_ILLinkSuppressions->'%(Identity)', '" --link-attributes "')" - - - - copyused - partial - full - - <_TrimmerDefaultAction Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '7.0'))">$(TrimmerDefaultAction) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">$(TrimMode) - <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '6.0'))">copy - - - $(TreatWarningsAsErrors) - <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) - true - - - - - $(NoWarn);IL2008 - - $(NoWarn);IL2009 - - - $(NoWarn);IL2037 - - - $(NoWarn);IL2009;IL2012 - - - - - <_ExtraTrimmerArgs>--enable-serialization-discovery $(_ExtraTrimmerArgs) - - - - - true - false - - - <_TrimmerUnreachableBodies>false - - - - - true - - - - - - - - - - - - - - - - - - - copy - - - - - - <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - - - - false - - - - <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> - - - - - - - - - - - - <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> - <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> - - - <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> - - - + + @@ -13659,7 +14319,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets ============================================================================================================================================ --> $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll - $(MSBuildThisFileDirectory)..\tools\net7.0\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll @@ -13776,7 +14436,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.Common.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.Common.targets ============================================================================================================================================ --> - + + - + + $(TargetPlatformMoniker) + @@ -13878,7 +14541,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ApiCompat.targets ============================================================================================================================================ --> @@ -13886,7 +14549,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.targets ============================================================================================================================================ --> @@ -13899,7 +14562,7 @@ Copyright (c) .NET Foundation. All rights reserved. ============================================================================================================================================ -%UserProfile%//.dotnet/sdk/7.0.302/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets +%UserProfile%//.dotnet/sdk/8.0.100-rc.2.23502.2/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets ============================================================================================================================================ --> \ No newline at end of file From cfa80b47d7196d5b34b69c89e1a287fe0b59fda9 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Wed, 8 Nov 2023 01:55:04 +0000 Subject: [PATCH 17/29] Investigate --- .../InMemoryTaskBasedTests.cs | 17 ++++++++++ .../CompilationResultsCache.cs | 33 ++++++++++++++++--- MSBuild.CompilerCache/LocatorAndPopulator.cs | 29 ++++++++++++++-- MSBuild.CompilerCache/Utils.cs | 12 +++++++ 4 files changed, 84 insertions(+), 7 deletions(-) diff --git a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs index b1f4411..913f858 100644 --- a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs +++ b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs @@ -5,6 +5,7 @@ using Newtonsoft.Json; using NUnit.Framework; using IRefCache = MSBuild.CompilerCache.ICacheBase; +using JsonSerializer = System.Text.Json.JsonSerializer; namespace Tests; @@ -82,6 +83,22 @@ public string SaveConfig(Config config) return CreateTmpFile(".config", json); } + [Test] + public async Task CacheFoo() + { + var extract1 = new FullExtract(Props: new[]{("a", "b")}, Files: new FileExtract[]{}, OutputFiles: new string[]{}); + var extract2 = new FullExtract(Props: new[]{("a", "c")}, Files: new FileExtract[]{}, OutputFiles: new string[]{}); + var hasher = HasherFactory.CreateHash(HasherType.XxHash64); + var hashString1 = Utils.ObjectToHash(extract1, hasher); + var hashString2 = Utils.ObjectToHash(extract2, hasher); + + await using var fs = new MemoryStream(); + var txt1 = JsonSerializer.Serialize(extract1, FullExtractJsonContext.Default.FullExtract); + var txt2 = JsonSerializer.Serialize(extract2, FullExtractJsonContext.Default.FullExtract); + + await _compilationResultsCache.SetAsync(new CacheKey("cachekey"), extract1, new FileInfo("foo")); + } + [Test] public async Task SimpleCacheHitTest() { diff --git a/MSBuild.CompilerCache/CompilationResultsCache.cs b/MSBuild.CompilerCache/CompilationResultsCache.cs index 6247b28..09cc2a2 100644 --- a/MSBuild.CompilerCache/CompilationResultsCache.cs +++ b/MSBuild.CompilerCache/CompilationResultsCache.cs @@ -11,7 +11,19 @@ namespace MSBuild.CompilerCache; /// Strong hash of the contents of the file /// [Serializable] -public record struct FileExtract(string Name, string? ContentHash, long Length); +public record struct FileExtract +{ + public string Name { get; } + public string? ContentHash { get; } + public long Length { get; } + + public FileExtract(string Name, string? ContentHash, long Length) + { + this.Name = Name; + this.ContentHash = ContentHash ?? throw new Exception($"Null ContentHash for {Name} {Length}"); + this.Length = Length; + } +} [JsonSerializable(typeof(FileExtract[]))] [JsonSourceGenerationOptions(WriteIndented = true)] @@ -24,7 +36,12 @@ public partial class FileExtractsJsonContext : JsonSerializerContext; /// /// [Serializable] -public record FullExtract(FileExtract[] Files, (string, string)[] Props, string[] OutputFiles); +public record FullExtract(FileExtract[] Files, KeyValuePair[] Props, string[] OutputFiles) +{ + public FullExtract(FileExtract[] Files, (string, string)[] Props, string[] OutputFiles) + : this(Files, Props.Select(x => new KeyValuePair(x.Item1, x.Item2)).OrderBy(kvp => kvp.Key).ToArray(), OutputFiles) + {} +} /// /// An extended version of @@ -95,8 +112,12 @@ public string GetCacheFileName() /// Used to describe raw compilation inputs, with absolute paths and machine-specific values. /// Used only for debugging purposes, stored alongside cache items. /// -public record LocalInputs(InputResult[] Files, (string, string)[] Props, OutputItem[] OutputFiles) +public record LocalInputs(InputResult[] Files, KeyValuePair[] Props, OutputItem[] OutputFiles) { + public LocalInputs(InputResult[] Files, (string, string)[] Props, OutputItem[] OutputFiles) + : this(Files, Props.Select(x => new KeyValuePair(x.Item1, x.Item2)).ToArray(), OutputFiles) + {} + public FullExtract ToFullExtract() { return new FullExtract(Files: Files.Select(f => f.fileHashCacheKey.ToFileExtract()).ToArray(), Props: Props, @@ -108,8 +129,12 @@ public LocalInputsSlim ToSlim() => } [Serializable] -public record LocalInputsSlim(LocalFileExtract[] Files, (string, string)[] Props, OutputItem[] OutputFiles) +public record LocalInputsSlim(LocalFileExtract[] Files, KeyValuePair[] Props, OutputItem[] OutputFiles) { + public LocalInputsSlim(LocalFileExtract[] Files, (string, string)[] Props, OutputItem[] OutputFiles): + this(Files, Props.Select(x => new KeyValuePair(x.Item1, x.Item2)).ToArray(), OutputFiles) + {} + public FullExtract ToFullExtract() { return new FullExtract(Files: Files.Select(f => f.ToFileExtract()).ToArray(), Props: Props, diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index a27e7e0..a1be00c 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -112,9 +112,30 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A _assemblyName = inputs.AssemblyName; _localInputs = CalculateLocalInputs(logTime); _extract = _localInputs.ToFullExtract(); + var extractBytes = Utils.ObjectToBytes(_extract); var hashString = Utils.ObjectToHash(_extract, _hasher); _cacheKey = GenerateKey(inputs, hashString); - + var file = $"c:\\projekty\\TestSolutions\\cache\\{_cacheKey.Key}.json"; + var binfile = $"c:\\projekty\\TestSolutions\\cache\\{_cacheKey.Key}.data"; + File.WriteAllText(file, Newtonsoft.Json.JsonConvert.SerializeObject(_extract)); + File.WriteAllBytes(binfile, extractBytes); + var mymodule = _extract.Files.Where(x => x.Name.Contains("MyModule", StringComparison.OrdinalIgnoreCase)).ToArray(); + var file2 = $"c:\\projekty\\TestSolutions\\cache\\{_cacheKey.Key}_mymodule.json"; + var binfile2 = $"c:\\projekty\\TestSolutions\\cache\\{_cacheKey.Key}_mymodule.data"; + File.WriteAllText(file2, Newtonsoft.Json.JsonConvert.SerializeObject(mymodule)); + var mymoduleBytes = Utils.ObjectToBytes(mymodule); + File.WriteAllBytes(binfile2, mymoduleBytes); + int i = 0; + foreach (var m in mymodule) + { + var file5 = $"c:\\projekty\\TestSolutions\\cache\\{_cacheKey.Key}_mymodule_{i}.json"; + var binfile5 = $"c:\\projekty\\TestSolutions\\cache\\{_cacheKey.Key}_mymodule_{i}.data"; + File.WriteAllText(file5, Newtonsoft.Json.JsonConvert.SerializeObject(m)); + var mymoduleBytes5 = Utils.ObjectToBytes(m); + File.WriteAllBytes(binfile5, mymoduleBytes5); + i++; + } + LocateOutcome outcome; if (_config.CheckCompileOutputAgainstCache) @@ -194,14 +215,15 @@ public static async Task ProcessReference(string relativePath, stri var f = File.Open(relativePath, FileMode.Open, FileAccess.Read, FileShare.Read); var info = new FileInfo(relativePath); var fileHashCacheKey = FileHashCacheKey.FromFileInfo(info); - var hash = await fileHashCache.GetAsync(fileHashCacheKey); + string hash = null;// await fileHashCache.GetAsync(fileHashCacheKey); + //var hash = await fileHashCache.GetAsync(fileHashCacheKey); byte[]? bytes = null; if (hash == null) { bytes ??= await File.ReadAllBytesAsync(fileHashCacheKey.FullName); hash = Utils.BytesToHash(bytes, hasher); - await fileHashCache.SetAsync(fileHashCacheKey, hash); + //await fileHashCache.SetAsync(fileHashCacheKey, hash); } var referenceDllName = Path.GetFileNameWithoutExtension(fileHashCacheKey.FullName); @@ -222,6 +244,7 @@ public static async Task ProcessReference(string relativePath, stri var data = AllRefDataToExtract(allRefData, compilingAssemblyName, refTrimmingConfig.IgnoreInternalsIfPossible); var extract = new LocalFileExtract(fileHashCacheKey, data.Hash); + extract = originalExtract; // TODO Revert once bug found return new InputResult(f, extract); } diff --git a/MSBuild.CompilerCache/Utils.cs b/MSBuild.CompilerCache/Utils.cs index 542cb1a..4ade2c0 100644 --- a/MSBuild.CompilerCache/Utils.cs +++ b/MSBuild.CompilerCache/Utils.cs @@ -21,6 +21,18 @@ public static byte[] ObjectToBytes(object item) var bytes = ms.ToArray(); return bytes; } + + + public static T BytesToObject(byte[] bytes) + { + using var ms = new MemoryStream(); + ms.Write(bytes); +#pragma warning disable SYSLIB0011 + ms.Position = 0; + var binaryFormatter = new BinaryFormatter(); + return (T) binaryFormatter.Deserialize(ms); +#pragma warning restore SYSLIB0011 + } public static string BytesToHash(ReadOnlySpan bytes, IHash hasher) { From b320e2440288e4133c9def51d4955e52ef89f4b8 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Thu, 9 Nov 2023 00:20:27 +0000 Subject: [PATCH 18/29] Net7 and others --- .../CompilationResultsCache.cs | 7 +++- MSBuild.CompilerCache/CompilerCacheLocate.cs | 1 + MSBuild.CompilerCache/FileHashCache.cs | 10 ++++-- MSBuild.CompilerCache/LocatorAndPopulator.cs | 33 +++++-------------- .../MSBuild.CompilerCache.csproj | 7 ++-- .../Targets/MSBuild.CompilerCache.targets | 2 +- MSBuild.CompilerCache/Utils.cs | 12 ------- 7 files changed, 28 insertions(+), 44 deletions(-) diff --git a/MSBuild.CompilerCache/CompilationResultsCache.cs b/MSBuild.CompilerCache/CompilationResultsCache.cs index 09cc2a2..c2884e8 100644 --- a/MSBuild.CompilerCache/CompilationResultsCache.cs +++ b/MSBuild.CompilerCache/CompilationResultsCache.cs @@ -11,7 +11,7 @@ namespace MSBuild.CompilerCache; /// Strong hash of the contents of the file /// [Serializable] -public record struct FileExtract +public record FileExtract { public string Name { get; } public string? ContentHash { get; } @@ -23,8 +23,13 @@ public FileExtract(string Name, string? ContentHash, long Length) this.ContentHash = ContentHash ?? throw new Exception($"Null ContentHash for {Name} {Length}"); this.Length = Length; } + + public FileExtract2 ToFileExtract2() => new(ContentHash); } +[Serializable] +public record FileExtract2(string? ContentHash); + [JsonSerializable(typeof(FileExtract[]))] [JsonSourceGenerationOptions(WriteIndented = true)] public partial class FileExtractsJsonContext : JsonSerializerContext; diff --git a/MSBuild.CompilerCache/CompilerCacheLocate.cs b/MSBuild.CompilerCache/CompilerCacheLocate.cs index 93e4ab7..263620b 100644 --- a/MSBuild.CompilerCache/CompilerCacheLocate.cs +++ b/MSBuild.CompilerCache/CompilerCacheLocate.cs @@ -53,6 +53,7 @@ private InMemoryCaches GetInMemoryCaches() public override bool Execute() { + Log.LogWarning($"GCMode = {System.Runtime.GCSettings.LatencyMode} Server = {System.Runtime.GCSettings.IsServerGC} lohcm={System.Runtime.GCSettings.LargeObjectHeapCompactionMode}"); var sw = Stopwatch.StartNew(); var guid = System.Guid.NewGuid(); var (inMemoryRefCache, fileHashCache) = GetInMemoryCaches(); diff --git a/MSBuild.CompilerCache/FileHashCache.cs b/MSBuild.CompilerCache/FileHashCache.cs index 9a236d5..bc0eb7b 100644 --- a/MSBuild.CompilerCache/FileHashCache.cs +++ b/MSBuild.CompilerCache/FileHashCache.cs @@ -1,4 +1,5 @@ using System.Text; +using System.Text.Json; namespace MSBuild.CompilerCache; @@ -20,8 +21,13 @@ public FileHashCache(string cacheDir, IHash hasher) public string EntryPath(CacheKey key) => Path.Combine(_cacheDir, key.Key); - public CacheKey ExtractKey(FileHashCacheKey key) => new CacheKey(Utils.ObjectToHash(key, _hasher)); - + public CacheKey ExtractKey(FileHashCacheKey key) + { + var bytes = JsonSerializer.SerializeToUtf8Bytes(key); + string hash = Utils.BytesToHash(bytes, _hasher); + return new CacheKey(hash); + } + public bool Exists(FileHashCacheKey originalKey) { var key = ExtractKey(originalKey); diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index a1be00c..6a89953 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -112,29 +112,9 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A _assemblyName = inputs.AssemblyName; _localInputs = CalculateLocalInputs(logTime); _extract = _localInputs.ToFullExtract(); - var extractBytes = Utils.ObjectToBytes(_extract); - var hashString = Utils.ObjectToHash(_extract, _hasher); + var extractBytes = JsonSerializer.SerializeToUtf8Bytes(_extract, FullExtractJsonContext.Default.FullExtract); + var hashString = Utils.BytesToHash(extractBytes, _hasher); _cacheKey = GenerateKey(inputs, hashString); - var file = $"c:\\projekty\\TestSolutions\\cache\\{_cacheKey.Key}.json"; - var binfile = $"c:\\projekty\\TestSolutions\\cache\\{_cacheKey.Key}.data"; - File.WriteAllText(file, Newtonsoft.Json.JsonConvert.SerializeObject(_extract)); - File.WriteAllBytes(binfile, extractBytes); - var mymodule = _extract.Files.Where(x => x.Name.Contains("MyModule", StringComparison.OrdinalIgnoreCase)).ToArray(); - var file2 = $"c:\\projekty\\TestSolutions\\cache\\{_cacheKey.Key}_mymodule.json"; - var binfile2 = $"c:\\projekty\\TestSolutions\\cache\\{_cacheKey.Key}_mymodule.data"; - File.WriteAllText(file2, Newtonsoft.Json.JsonConvert.SerializeObject(mymodule)); - var mymoduleBytes = Utils.ObjectToBytes(mymodule); - File.WriteAllBytes(binfile2, mymoduleBytes); - int i = 0; - foreach (var m in mymodule) - { - var file5 = $"c:\\projekty\\TestSolutions\\cache\\{_cacheKey.Key}_mymodule_{i}.json"; - var binfile5 = $"c:\\projekty\\TestSolutions\\cache\\{_cacheKey.Key}_mymodule_{i}.data"; - File.WriteAllText(file5, Newtonsoft.Json.JsonConvert.SerializeObject(m)); - var mymoduleBytes5 = Utils.ObjectToBytes(m); - File.WriteAllBytes(binfile5, mymoduleBytes5); - i++; - } LocateOutcome outcome; @@ -272,8 +252,8 @@ internal static LocalInputs CalculateLocalInputs(DecomposedCompilerProps decompo var allTasks = allTaskFuncs .Chunk(20) - .SelectMany(taskFuncs => taskFuncs.Select(tf => tf())) .AsParallel() + .SelectMany(taskFuncs => taskFuncs.Select(tf => tf())) .ToArray(); var allItems = Task.WhenAll(allTasks).GetAwaiter().GetResult(); @@ -458,6 +438,8 @@ private async ValueTask RefasmAndPopulateCacheWithOutputDll(OutputData dll) record ArchiveEntry(string Name, byte[] Bytes); + public record struct OutputPair(string Name, string BytesHash); + public static async Task BuildOutputsZip(DirectoryInfo baseTmpDir, OutputData[] items, AllCompilationMetadata metadata, IHash hasher, TaskLoggingHelper? log = null) @@ -466,8 +448,9 @@ public static async Task BuildOutputsZip(DirectoryInfo baseTmpDir, Out var saveInputsTask = Task.Run( () => JsonSerializer.SerializeToUtf8Bytes(metadata, AllCompilationMetadataJsonContext.Default.AllCompilationMetadata)); - var objectToHash = items.Select(i => (i.Item.Name, i.BytesHash)).ToArray(); - var hashForFileName = Utils.ObjectToHash(objectToHash, hasher); + var objectToHash = items.Select(i => new OutputPair(i.Item.Name, i.BytesHashString)).ToArray(); + var extractBytes = JsonSerializer.SerializeToUtf8Bytes(objectToHash); + var hashForFileName = Utils.BytesToHash(extractBytes, hasher); var outputExtracts = items.Select(i => new FileExtract(i.Item.Name, i.BytesHashString, i.Length)).ToArray(); byte[] outputsJsonBytes = diff --git a/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj b/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj index 6d65eed..01aa323 100644 --- a/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj +++ b/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net7.0 MSBuild.CompilerCache 0.0.2 @@ -13,6 +13,7 @@ true README.md win-x64;linux-x64 + false @@ -35,8 +36,8 @@ - - + + diff --git a/MSBuild.CompilerCache/Targets/MSBuild.CompilerCache.targets b/MSBuild.CompilerCache/Targets/MSBuild.CompilerCache.targets index e47a19e..0f9c97a 100644 --- a/MSBuild.CompilerCache/Targets/MSBuild.CompilerCache.targets +++ b/MSBuild.CompilerCache/Targets/MSBuild.CompilerCache.targets @@ -23,7 +23,7 @@ - $(MSBuildThisFileDirectory)..\lib\net6.0\MSBuild.CompilerCache.dll + $(MSBuildThisFileDirectory)..\lib\net7.0\MSBuild.CompilerCache.dll diff --git a/MSBuild.CompilerCache/Utils.cs b/MSBuild.CompilerCache/Utils.cs index 4ade2c0..17c0418 100644 --- a/MSBuild.CompilerCache/Utils.cs +++ b/MSBuild.CompilerCache/Utils.cs @@ -22,18 +22,6 @@ public static byte[] ObjectToBytes(object item) return bytes; } - - public static T BytesToObject(byte[] bytes) - { - using var ms = new MemoryStream(); - ms.Write(bytes); -#pragma warning disable SYSLIB0011 - ms.Position = 0; - var binaryFormatter = new BinaryFormatter(); - return (T) binaryFormatter.Deserialize(ms); -#pragma warning restore SYSLIB0011 - } - public static string BytesToHash(ReadOnlySpan bytes, IHash hasher) { var hash = hasher.ComputeHash(bytes); From 33fe5ea7bc0224216d75e8e159f92374c05ef10f Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Thu, 9 Nov 2023 20:47:23 +0000 Subject: [PATCH 19/29] Order --- MSBuild.CompilerCache/LocatorAndPopulator.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index 6a89953..bc7b53e 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -253,6 +253,7 @@ internal static LocalInputs CalculateLocalInputs(DecomposedCompilerProps decompo allTaskFuncs .Chunk(20) .AsParallel() + .AsOrdered() .SelectMany(taskFuncs => taskFuncs.Select(tf => tf())) .ToArray(); var allItems = Task.WhenAll(allTasks).GetAwaiter().GetResult(); From f59e24fa32cb9dce0bd3667cd4c93e979a94cbda Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Thu, 9 Nov 2023 22:08:57 +0000 Subject: [PATCH 20/29] Changes, WIP NET8.0.100.rc-2 --- .../TargetsExtraction.cs | 1 + .../Targets.6.0.300.CSharp.xml | 18107 +++++++-------- .../Targets.6.0.300.FSharp.xml | 18009 +++++++-------- .../Targets.7.0.202.CSharp.xml | 18689 ++++++++-------- .../Targets.7.0.202.FSharp.xml | 18572 ++++++++------- 5 files changed, 35123 insertions(+), 38255 deletions(-) diff --git a/MSBuild.CompilerCache.Tests/TargetsExtraction.cs b/MSBuild.CompilerCache.Tests/TargetsExtraction.cs index 01a5a9f..d42c18a 100644 --- a/MSBuild.CompilerCache.Tests/TargetsExtraction.cs +++ b/MSBuild.CompilerCache.Tests/TargetsExtraction.cs @@ -63,6 +63,7 @@ public void GenerateAllTargets(SDKVersion sdk, SupportedLanguage language, strin internal static readonly ImmutableArray SupportedSdks = new[] { + "8.0.100.rc-2", "7.0.302", "7.0.203", "7.0.202", diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.CSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.CSharp.xml index fd43cfa..863b8ba 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.CSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.CSharp.xml @@ -1,17 +1,17 @@ - +--> + +--> - +--> + - true + --> + true - true - - - - true - - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - - - false - - - - - true - $(MSBuildProjectName) - - - $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ - $(ArtifactsPath)\obj\ - - - - <_ArtifactsPathSetEarly>true - - - $(ProjectExtensionsPathForSpecifiedProject) - - + --> + true + + + $(ProjectExtensionsPathForSpecifiedProject) + + +--> - - true - true - true - true - true - +--> + + true + true + true + true + true + - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - + --> + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + - + --> + - obj\ - $(BaseIntermediateOutputPath)\ - <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) - $(BaseIntermediateOutputPath) + --> + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) - $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) - $(MSBuildProjectExtensionsPath)\ - true - <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) - - + --> + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) - - + --> + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + - - true - - - $(DefaultProjectConfiguration) - $(DefaultProjectPlatform) - - - WJProject - JavaScript - - - - - + e.g. by the project itself. --> + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props - $(MSBuildToolsPath)\NuGet.props - + --> + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + +--> +--> - - true - + --> + + true + - - <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props - <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) - $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) - - - - true - + --> + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + - - true - true - true - true - true - true - true - true - true - true - true - true - true - +C:\Program Files\dotnet\sdk\6.0.300\Current\Microsoft.Common.props +============================================================================================================================================ +--> + + true + true + true + true + true + true + true + true + true + true + true + true + true + +--> +--> - - - true - - - - Debug;Release - AnyCPU - Debug - AnyCPU - - - - - true - - - - Library - 512 - prompt - $(MSBuildProjectName) - $(MSBuildProjectName.Replace(" ", "_")) - true - - - - true - false - - - true - - +--> + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + - - <_PlatformWithoutConfigurationInference>$(Platform) - - - x64 - - - x86 - - - ARM - - - arm64 - - - - - {CandidateAssemblyFiles} - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);{RawFileName} - - - portable - - false - - true - true + --> + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + + portable + + false + + true + true - PackageReference - $(AssemblySearchPaths) - false - false - false - false - false - false - false - false - false - true - 1.0.3 - false - true - true - - - - - - $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj - - + a project targets .NET Framework and doesn't have any direct package dependencies. --> + PackageReference + + {CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName} + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.2 + false + true + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + - - - $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)../../')) - $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs - <_NetFrameworkHostedCompilersVersion>4.8.0-3.23471.11 - 8.0 - 8.0 - 8.0.0-rc.2.23479.6 - 2.1 - 2.1.0 - 8.0.0-rc.2.23479.6 - $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json - 8.0.100-rc.2.23502.2 - linux-x64 - linux-x64 - <_NETCoreSdkIsPreview>true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> - <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> - +--> + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + 6.0 + 6.0 + 6.0.5 + 2.1 + 2.1.0 + 6.0.3 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 6.0.300 + win-x64 + win-x64 + <_NETCoreSdkIsPreview>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - false - - - <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif - - - - - - - - - - - - - - - - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.props +============================================================================================================================================ +--> + + + $(BundledRuntimeIdentifierGraphFile) + + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + - - - - - - - - - + evaluated in the second pass of evaluation, after all properties have been evaluated. --> + + + + + + + + + - + an implicit FrameworkReference --> + - - - - - - - + Packing an DotnetCliTool should include the Microsoft.NETCore.App package dependency. --> + + + + + +--> - - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel - true - - + putting an EnableWorkloadResolver.sentinel file beside the MSBuild SDK resolver DLL --> + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + +--> - - +--> + + - +--> + +--> +--> - - - - - - - - - - - - - - - - 9.0 - 17.8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + This is used by VS to show the list of frameworks to which projects can be retargeted. --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +--> + +--> - - - - - - +--> + + + + + + - +--> + +--> - - - - - - - - - - - - +--> + + + + + + + + + + + + +--> +--> - - - true - <_SourceLinkPropsImported>true - - - - - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll - $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll - +--> + + 4 + 1701;1702 + + $(WarningsAsErrors);NU1605 + + + $(DefineConstants); + $(DefineConstants)TRACE + + + + + + + + + + + +--> + + - - - <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll - <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll - - - - true - - true - +--> - - - - - +Copyright (c) .NET Foundation. All rights reserved. +*********************************************************************************************** +--> +--> - - - - - +Copyright (c) .NET Foundation. All rights reserved. +*********************************************************************************************** +--> + - - - - - - +--> +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. +*********************************************************************************************** +--> + + true + $(MSBuildThisFileDirectory)..\tools\net6.0\ILLink.Tasks.dll + $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll + - - - - +--> - +--> +--> - - - 1701;1702 - - $(WarningsAsErrors);NU1605 - - - $(DefineConstants); - $(DefineConstants)TRACE - - - - - - - - - - - +--> + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.Compatibility.dll + $(MSBuildThisFileDirectory)..\tools\net6.0\Microsoft.DotNet.Compatibility.dll + - - +--> +--> - - $(TargetsForTfmSpecificContentInPackage);PackTool - +--> + + $(TargetsForTfmSpecificContentInPackage);PackTool + +--> +--> - - $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation - +--> + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + +--> - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - - - - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props +============================================================================================================================================ +--> + + + MSBuild:Compile + $(DefaultXamlRuntime) + + + MSBuild:Compile + $(DefaultXamlRuntime) + + + MSBuild:Compile + $(DefaultXamlRuntime) + - - - - - - - + --> + + + + + + + - + --> + - <_WpfCommonNetFxReference Include="WindowsBase" /> - <_WpfCommonNetFxReference Include="PresentationCore" /> - <_WpfCommonNetFxReference Include="PresentationFramework" /> - <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> - 4.0 - - <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> - - - <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> - <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> - <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> - + --> + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + --> - + --> + - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + --> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> - <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + --> + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> - <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> - - - - - + --> + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + --> +--> + --> - + --> + - - - - + --> + + + + +--> - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + +--> +--> +--> - - - - + --> + + + + +--> +--> +--> - - - - - true - - <_TargetFrameworkVersionValue>0.0 - <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 - +--> + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + +--> +--> +--> +--> - - - true - - +--> + + + true + + +--> +--> - - - - - - - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - - - $(_IsExecutable) - <_UsingDefaultForHasRuntimeOutput>true - + So import them here. --> + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + +--> - - 1.0.0 - $(VersionPrefix)-$(VersionSuffix) - $(VersionPrefix) - - - $(AssemblyName) - $(Authors) - $(AssemblyName) - $(AssemblyName) - +--> + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + +--> + + + - - Debug - AnyCPU - $(Platform) - + + Also note that common targets only set a default OutputPath if neither configuration nor + platform were set by the user. This was used to validate that a valid configuration is passed, + assuming the convention maintained by VS that every Configuration|Platform combination had + an explicit OutputPath. Since we now want to support leaner project files with less + duplication and more automatic defaults, we always set a default OutputPath and can no + longer depend on that convention for validation. Getting validation re-enabled with a + different mechanism is tracked by https://github.com/dotnet/sdk/issues/350 + --> + + Debug + AnyCPU + $(Platform) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + respected by the SDK. --> +--> - - - true - <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) - <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties - <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ - $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) - $(_PublishProfileRootFolder)$(PublishProfileName).pubxml - $(PublishProfileFullPath) +--> + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) - false - - - + to limit the import to the project being published. --> + false + + + +--> + --> +--> +--> - - + --> + + - - $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) - v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - + --> + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + - - $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) - - - Windows - + --> + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + - - <_UnsupportedTargetFrameworkError>true - + --> + + <_UnsupportedTargetFrameworkError>true + - - - - + --> + + + + - - - true - true - - - - - - - - - - - - - - - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + true + + + + + + + - - v0.0 - - - _ - + --> + + v0.0 + + + _ + - - - true - - - - + --> + + + - - - - - - <_EnableDefaultWindowsPlatform>false - false - - - 2.1 - - - - - - - - - - - - - - <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> - - - @(_ValidTargetPlatformVersion->Distinct()) - - - - - true - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None - - - - - - - true - true - - - - - - - - - true - false - true - <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ - - + + + + + + <_EnableDefaultWindowsPlatform>false + false - --> - - - - - - <_DefaultArtifactsPathPropsImported>true - - - - true - true - <_ArtifactsPathLocationType>ExplicitlySpecified - - - - - $(_DirectoryBuildPropsBasePath)\artifacts - true - <_ArtifactsPathLocationType>DirectoryBuildPropsFolder - - - - $(MSBuildProjectDirectory)\artifacts - <_ArtifactsPathLocationType>ProjectFolder - - - - $(MSBuildProjectName) - bin - publish - package - - - $(Configuration.ToLowerInvariant()) - - $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) - - $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) - - - - $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ - $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ - $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ - - - - $(ArtifactsPath)\$(ArtifactsBinOutputName)\ - $(ArtifactsPath)\obj\ - $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ - - - $(BaseOutputPath)$(ArtifactsPivots)\ - $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ - - $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ - - - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ - $(OutputPath)\ - - - - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - - - $(DefaultItemExcludes);$(ArtifactsPath)/** - - $(DefaultItemExcludes);bin/**;obj/** - + in the project file, the specified value will be used for the exclude. --> + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + + true + + + true + - - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ - - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - - - - - - + --> + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + - - - - true - - false - +--> + + + + true + + false + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + - - + --> + + +--> - - +--> + + - - - - - - +--> + + + + +--> - - true - - - <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true - WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ - - - true - $(WasmNativeWorkload) - - - false - false - - - - - - +C:\Program Files\dotnet\sdk-manifests\6.0.300\microsoft.net.sdk.ios\WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + +--> - - - - +--> + + + + +--> - - - - +--> + + + + +--> - - - - +--> + + + + + + +--> - - - - - +--> + + + + +--> - - 6.0.5 - true - - - - true - $(WasmNativeWorkload) - - - false - false - - - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(RuntimePackInWorkloadVersion) - - - - - - - - - - - - - - +C:\Program Files\dotnet\sdk-manifests\6.0.300\microsoft.net.workload.emscripten\WorkloadManifest.targets +============================================================================================================================================ +--> + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + +--> - - - - +--> + + 6.0.4 + true + + + + true + $(WasmNativeWorkload) + + + false + false + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(RuntimePackInWorkloadVersion) + + + + + + + + + + + + + + - - - - - - +--> + + + + + + - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + - - - - - - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> - - + need to be set to "true" to avoid requiring restore (which would likely fail if the required workloads aren't already installed).--> + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + +--> + --> +--> +--> - - <_UsingDefaultRuntimeIdentifier>true - win7-x64 - win7-x86 - - - - true - - - - $(PublishSelfContained) - - - - true - - - $(NETCoreSdkPortableRuntimeIdentifier) - - - $(PublishRuntimeIdentifier) - - - <_UsingDefaultPlatformTarget>true - - - - - - - x86 - - - - - x64 - - - - - arm - - - - - arm64 - - - - - AnyCPU - - - + --> + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + - - - <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - - - - true - false - <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false - <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true - true - false - - - - $(NETCoreSdkRuntimeIdentifier) - win-x64 - win-x86 - win-arm - win-arm64 - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - - - - - - - - - - - + --> + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + - - - - - - - - - - - - - - false - - - - - - - - - - - - - + because we do not want the behavior to be a breaking change compared to version 3.0 --> + + + + + + + + + + + + + + + + + + + + - - - true - + Configuration-specific PropertyGroup), so in that case we won't append to it by default. --> + + + true + - - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ - - + --> + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + - - - - - + --> + + + + + - +--> + +--> - - - true - true - +--> + + + true + - - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> - - - - - - - + --> + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0" /> + + + + - - - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true - - - - true - true - true - - - true - - - - true +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.BeforeCommon.targets +============================================================================================================================================ +--> + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true - true - - .dll + runtime minor version roll-forward: https://github.com/dotnet/core-setup/issues/3546 --> + true + + .dll - false - - - - $(PreserveCompilationContext) - - - - publish - - $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ - $(OutputPath)$(PublishDirName)\ - + is not needed for NETStandard or NETCore since references come from NuGet packages--> + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + --> +--> - - <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder - <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true - <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs - - - $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) - - - $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) - +--> + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + - - <_SDKImplicitReference Include="System" /> - <_SDKImplicitReference Include="System.Data" /> - <_SDKImplicitReference Include="System.Drawing" /> - <_SDKImplicitReference Include="System.Xml" /> +--> + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> - - <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - - <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> - - <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + such if the parse succeeds. --> + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + + + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> - <_SDKImplicitReference Remove="@(Reference)" /> - - - - - - false - - - $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 - - - - <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET - $(_FrameworkIdentifierForImplicitDefine) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET - <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) - <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) - <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) - $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) - $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - - - - - <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) - <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) - - - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> - - - - - - <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - - - - - - <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> - - - - - - <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> - <_DefineConstantsWithoutTrace Remove="TRACE" /> - - - @(_DefineConstantsWithoutTrace) - - - - - - $(DefineConstants);@(_ImplicitDefineConstant) - $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') - - - - - false - true - - - $(AssemblyName).xml - $(IntermediateOutputPath)$(AssemblyName).xml - - - - - - true - true - true - - - - - - - true - + NuGet package, you can just add the Reference to your project file. --> + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + - - $(MSBuildToolsPath)\Microsoft.CSharp.targets - $(MSBuildToolsPath)\Microsoft.VisualBasic.targets - $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets +--> + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets - $(MSBuildToolsPath)\Microsoft.Common.targets - + languages could either be supplied via an SDK or via a NuGet package. --> + $(MSBuildToolsPath)\Microsoft.Common.targets + + using Sdk attribute (from .NET Core Sdk 1.0.0-preview4) --> +--> - - - - $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets - - - - - $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets - - - +--> + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets + + + +--> +--> - - true - + --> + + true + +--> +--> - - true - true - true - true - - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets - - - - .cs - C# - Managed - true - true - true - true - true - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Properties - - - - - File - - - BrowseObject - - - - - - +--> + + true + true + true + true + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets + + + + .cs + C# + Managed + true + true + true + true + true + {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Properties + + + + + File + + + BrowseObject + + + + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - true - - - - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet - true - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + true + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet + true + - +--> + - - $(NoWarn);1701;1702 - - - - $(NoWarn);2008 - - - - - - - + so the compiler warning would be redundant. --> + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + + + + - $(AppConfig) - - $(IntermediateOutputPath)$(TargetName).compile.pdb - - - - false - - - - - - - true - - - - + then we'll use AppConfig --> + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + false + + + + + + + true + + + + - - - - - $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets - +--> + + + + + $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets + - +--> + - +--> + - + --> + - - roslyn4.2 - +--> + + roslyn4.2 + - +--> + - - - - - - - - - - - - - false - + --> + + + + + + + + + + + + + false + - - - - - - true - - + https://github.com/dotnet/roslyn/issues/12223 --> + + + + + + true + + - - - - - <_SkipAnalyzers /> - <_ImplicitlySkipAnalyzers /> - + --> + + + + + <_SkipAnalyzers /> + <_ImplicitlySkipAnalyzers /> + - - <_SkipAnalyzers>true - + --> + + <_SkipAnalyzers>true + - - <_ImplicitlySkipAnalyzers>true - <_SkipAnalyzers>true - run-nullable-analysis=never;$(Features) - - - - - - <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers - + --> + + <_ImplicitlySkipAnalyzers>true + <_SkipAnalyzers>true + run-nullable-analysis=never;$(Features) + + + + + + <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers + - - - - - - - - - + --> + + + + + + + + + - - <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> + --> + + <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> - - - - - + compilation includes linked files with relative paths - https://github.com/microsoft/msbuild/issues/4392 --> + + + + + - - - - - $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig - true - <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true - <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true - - - - - - <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> - $(%(CompilerVisibleProperty.Identity)) - - - <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> - %(Identity) - %(CompilerVisibleItemMetadata.MetadataName) - - - - - - - - + --> + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig + true + <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true + <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true + + + + + + <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> + $(%(CompilerVisibleProperty.Identity)) + + + <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> + %(Identity) + %(CompilerVisibleItemMetadata.MetadataName) + + + + + + + + - - true - + --> + + true + - - - <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> - - - - - - - - - + --> + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + - - true - + --> + + true + - + --> + - - - <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> - $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) - $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) - - - + --> + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + - @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) - - + --> + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + - - - - - + --> + + + + + - - false - - $(IntermediateOutputPath)/generated - - - - - + --> + + false + + $(IntermediateOutputPath)/generated + + + + + - - - + --> + + + - - - <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 - - <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 - - <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '5.0' AND '$(_MaxSupportedLangVersion)' == ''">9.0 - - <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '6.0' AND '$(_MaxSupportedLangVersion)' == ''">10.0 - $(_MaxSupportedLangVersion) - $(_MaxSupportedLangVersion) - - +C:\Program Files\dotnet\sdk\6.0.300\Roslyn\Microsoft.CSharp.Core.targets +============================================================================================================================================ +--> + + + <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 + + <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '5.0' AND '$(_MaxSupportedLangVersion)' == ''">9.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '6.0' AND '$(_MaxSupportedLangVersion)' == ''">10.0 + $(_MaxSupportedLangVersion) + $(_MaxSupportedLangVersion) + + - - $(NoWarn);1701;1702 - - - - $(NoWarn);2008 - - + so the compiler warning would be redundant. --> + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + - $(AppConfig) - - $(IntermediateOutputPath)$(TargetName).compile.pdb - - - - - - - <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> - - - + then we'll use AppConfig --> + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + - - - - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets - - +--> + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets + + +--> - - $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets - +--> + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + +--> - - - true - true - true - true - - - - - - - 10.0 - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets - - - - - Managed - +--> + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + - - .NETFramework - v4.0 - - - - Any CPU,x86,x64,Itanium - Any CPU,x86,x64 - - - - - - - true - - true - - - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) - - $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + Native apps) because they do not target a .NET Framework. --> + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) - $(MSBuildFrameworkToolsPath) - - - Windows - 7.0 - $(TargetPlatformSdkRootOverride)\ - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - $(TargetPlatformSdkPath)Windows Metadata - $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral - $(TargetPlatformSdkMetadataLocation) - true - $(WinDir)\System32\WinMetadata - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - + we need to find a directory which does contain mscorlib to allow the inproc compiler to initialize and give us the chance to show certain dialogs in the IDE (which only happen after initialization).--> + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + - - - <_OriginalPlatform>$(Platform) - - <_OriginalConfiguration>$(Configuration) - - <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true - - true - - - AnyCPU - $(Platform) - Debug - $(Configuration) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(TargetType) - library - exe - true - - <_DebugSymbolsProduced>false - <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false - <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false - <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false - - <_DocumentationFileProduced>true - <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false - - false - + --> + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + - + --> + - <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true - <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true - + --> + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + - - .exe - .exe - .exe - .dll - .netmodule - .winmdobj - - - - true - $(OutputPath) - - - $(OutDir)\ - $(MSBuildProjectName) - - - $(OutDir)$(ProjectName)\ - $(MSBuildProjectName) - $(RootNamespace) - $(AssemblyName) - - $(MSBuildProjectFile) - - $(MSBuildProjectExtension) - - $(TargetName).winmd - $(WinMDExpOutputWindowsMetadataFilename) - $(TargetName)$(TargetExt) - - - + --> + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + - <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true - $(_DeploymentPublishableProjectDefault) - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest - - $(AssemblyName).application - - $(AssemblyName).xbap - - $(GenerateManifests) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days - <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) - <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - 100 - - + --> + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + - * - $(UICulture) - - - - <_OutputPathItem Include="$(OutDir)" /> - <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> - <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> - - - + --> + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + - $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) - - $(TargetDir)$(TargetFileName) - $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) - - $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) - - $(ProjectDir)$(ProjectFileName) - - - - - + --> + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + - - *Undefined* - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - - - true - - true - - - true - false - - - $(MSBuildProjectFile).FileListAbsolute.txt - - false - - true - true - <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false - <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true - false - false - - - <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config - - - - - - - - - - - - - - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> - - - $(IntermediateOutputPath)$(TargetName).pdb - <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) - - - $(IntermediateOutputPath)$(TargetName).xml - <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) - - - <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) - <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) - - - - <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> - $(TargetFileName) - - - - <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> - $(ApplicationIcon) - - - - $(_DeploymentTargetApplicationManifestFileName) - + --> + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + - <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> - $(_DeploymentTargetApplicationManifestFileName) - - - - $(TargetDeployManifestFileName) - - - <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> - + references and for copying to the publish output location. --> + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + - - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) - <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> - <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + --> + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) - <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> - <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> - - - - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) - <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) - - - - $(PublishDir)\ - $(OutputPath)app.publish\ - + --> + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + - + --> + - $(PlatformTarget) + --> + $(PlatformTarget) - msil - amd64 - ia64 - x86 - arm - - - true - - - - $(Platform) - msil - amd64 - ia64 - x86 - arm - - None - $(PROCESSOR_ARCHITECTURE) - + --> + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + - - CLR2 - CLR4 - CurrentRuntime - true - false - $(PlatformTarget) - x86 - x64 - CurrentArchitecture - - - - Client - + If support for out-of-proc task execution is added on other runtimes, make sure each task's logic is checked against the current state of support. --> + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + - - false - - - - - true - true - false - + --> + + false + + + + + true + true + false + - - AssemblyFoldersEx - Software\Microsoft\$(TargetFrameworkIdentifier) - Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) - $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config - {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> .winmd; .dll; .exe - + + --> .pdb; .xml; .pri; .dll.config; .exe.config - + - Full - - + --> + Full + + - {CandidateAssemblyFiles} - $(AssemblySearchPaths);$(ReferencePath) - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) - $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} - $(AssemblySearchPaths);{AssemblyFolders} - $(AssemblySearchPaths);{GAC} - $(AssemblySearchPaths);{RawFileName} - $(AssemblySearchPaths);$(OutDir) - + --> + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + - - false - - - - $(NoWarn) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - - - - $(MSBuildThisFileDirectory)$(LangName)\ - - - - $(MSBuildThisFileDirectory)en-US\ - - - - - Project - - - BrowseObject - - - File - - - Invisible - - - File;BrowseObject - - - File;ProjectSubscriptionService - - - - $(DefineCommonItemSchemas) - - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - - - - - - Never - - - Never - - - Never - - - Never - - + typically expect --> + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + - - - true - + --> + + + true + - - - <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath - - + --> + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + - - - <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. - - - - - - - - - + --> + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + - - x86 - + correct value when we're trying to figure out PlatformTargetAsMSBuildArchitecture --> + + x86 + - + --> + - - + --> + + - + --> + BeforeBuild; CoreBuild; AfterBuild - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -4080,52 +3726,52 @@ Copyright (C) Microsoft Corporation. All rights reserved. UnmanagedRegistration; IncrementalClean; PostBuildEvent - - - - - - + + + + + + - - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + --> + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build BeforeRebuild; Clean; $(_ProjectDefaultTargets); AfterRebuild; - + BeforeRebuild; Clean; Build; AfterRebuild; - - - + + + - + --> + - + --> + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - + --> + - - - - - - - - + --> + + + + + + + + + --> - - false - - - - true - - + --> + + false + + + + true + + + --> - - $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata - - - - - $(TargetFileName).config - - - - - - - - - - + --> + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + - - @(_TargetFramework40DirectoryItem) - @(_TargetFramework35DirectoryItem) - @(_TargetFramework30DirectoryItem) - @(_TargetFramework20DirectoryItem) - - @(_TargetFramework20DirectoryItem) - @(_TargetFramework40DirectoryItem) - @(_TargetedFrameworkDirectoryItem) - @(_TargetFrameworkSDKDirectoryItem) - - - - + --> + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + - - - - - - - - - - - - - $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) - $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) - + --> + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + - - true - - - $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) - - - - - - - $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) - - - - - - - - - + resolving from the assemblyfolders global location if we are not acutally targeting a framework--> + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + - + E.g "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0.1\;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\" --> + - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - + --> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + --> - - - - - - + --> + + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + --> - + --> + - + --> + BeforeResolveReferences; AssignProjectConfiguration; @@ -4468,25 +4114,25 @@ Copyright (C) Microsoft Corporation. All rights reserved. GenerateBindingRedirects; ResolveComReferences; AfterResolveReferences - - - + + + - + --> + - + --> + - - - true - true - false + --> + + + true + true + false - false - - true - - - - - - - - - - - <_ProjectReferenceWithConfiguration> - true - true - - - true - true - - - + want this to happen, so just turn off synthetic project reference generation for Silverlight projects. --> + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + - + --> + - - - - + --> + + + + - - <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> - - - - <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> - <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> - - + --> + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + - - true - + --> + + true + - - - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> - true - - - - <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - - - - - <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> - - x86=Win32 - - - <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> - Win32=x86 - - - - - + Configuration information. --> + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + - - - - Platform=%(ProjectsWithNearestPlatform.NearestPlatform) - - - - %(ProjectsWithNearestPlatform.UndefineProperties);Platform - - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> - - + that can't multiplatform. --> + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + - + --> + - - $(NuGetTargetMoniker) - $(TargetFrameworkMoniker) - + --> + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> - true - %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework - - + --> + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> - true - - + --> + true + + - - - - + --> + + + + - <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> - <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> - <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> - - + --> + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + - - - - - - - + that we are using a version of NuGet which supports that parameter on this task. --> + + + + + + + - - - - TargetFramework=%(AnnotatedProjects.NearestTargetFramework) - + --> + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + - - %(AnnotatedProjects.UndefineProperties);TargetFramework - - - - %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier - + --> + + %(AnnotatedProjects.UndefineProperties);TargetFramework + + + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier + - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> - - - - - - - - - <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> - @(_TargetFrameworkInfo) - @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') - @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') - $(_AdditionalPropertiesFromProject) - true - - false - true - - true - $(Platforms) + --> + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + + false + true + + true + $(Platforms) - @(ProjectConfiguration->'%(Platform)'->Distinct()) - - - - - - <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> - $(%(AdditionalTargetFrameworkInfoProperty.Identity)) - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false - - - - - - <_TargetFrameworkInfo Include="$(TargetFramework)"> - $(TargetFramework) - $(TargetFrameworkMoniker) - $(TargetPlatformMoniker) - None - $(_AdditionalTargetFrameworkInfoProperties) - - - + Build the `Platforms` property from that. --> + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) + + + - + --> + - + --> + AssignProjectConfiguration; _SplitProjectReferencesByFileExistence; _GetProjectReferenceTargetFrameworkProperties; _GetProjectReferencePlatformProperties - - - + + + - - - - - $(ProjectReferenceBuildTargets) - - - ProjectReference - - - + --> + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + - - - - + --> + + + + - - - - + --> + + + + - - - - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + --> + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> - <_ResolvedProjectReferencePaths> - %(_ResolvedProjectReferencePaths.OriginalItemSpec) - - - - - - + --> + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + - - <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> - %(ReferencePath.ProjectReferenceOriginalItemSpec) - - - - + --> + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + - - $(GetTargetPathDependsOn) - - + --> + + $(GetTargetPathDependsOn) + + - - $(GetTargetPathDependsOn) - + --> + + $(GetTargetPathDependsOn) + - - - - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion.TrimStart('vV')) - $(TargetRefPath) - @(CopyUpToDateMarker) - - - + BeforeTargets. --> + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + - - - - %(_ApplicationManifestFinal.FullPath) - - - + --> + + + + %(_ApplicationManifestFinal.FullPath) + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + ResolveProjectReferences; FindInvalidProjectReferences; @@ -5049,69 +4695,69 @@ Copyright (C) Microsoft Corporation. All rights reserved. PrepareForBuild; ResolveSDKReferences; ExpandSDKReferences; - - - - - <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> - + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + - - $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache - - - - <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> - - - - <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false - true - false - Warning - $(BuildingProject) - $(BuildingProject) - $(BuildingProject) - false - - + --> + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + - - - true - - + ide will show one of the references as not resolved, this will not break the build but is a display issue --> + + + true + + - - false - true - - - - - - - - - - - - - - - - - + --> + + false + true + + + + + + + + + + + + + + + + + - - + --> + + - - %(FullPath) - - - %(ReferencePath.Identity) - - - - + assembly unless already specified. --> + + %(FullPath) + + + %(ReferencePath.Identity) + + + + - - - - - + --> + + + + + - - - $(_GenerateBindingRedirectsIntermediateAppConfig) - - - - - $(TargetFileName).config - - - + --> + + + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + - - Software\Microsoft\Microsoft SDKs - $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs - - $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 - - true - Windows - 8.1 - - false - WindowsPhoneApp - 8.1 - - - - - - - - - - - - - + --> + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + - + --> + GetInstalledSDKLocations - - - - Debug - Retail - Retail - $(ProcessorArchitecture) - Neutral - - - true - - - - - - - - - - - - + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + - + --> + GetReferenceTargetPlatformMonikers - - - - - - - - <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> - - - - - - - + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + - + --> + ResolveSDKReferences - + .winmd; .dll - - - - - - - - - - - + + + + + + + + + + + - - - - false - false - false - $(TargetFrameworkSDKToolsDirectory) - true - - - - - - - - - - - - - - - <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> - - - + --> + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5369,8 +5015,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(TargetDir) - - + + - + --> + GetFrameworkPaths; GetReferenceAssemblyPaths; ResolveReferences - - - - - <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - - - $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache - - + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5411,29 +5057,29 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(OutDir) - - - - false - false - false - false - false - true - false - - - <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> - - - <_RARResolvedReferencePath Include="@(ReferencePath)" /> - - - - - - - + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + - - false - - - - $(IntermediateOutputPath) - - + --> + + false + + + + $(IntermediateOutputPath) + + - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - false - - - - - - - - - - - - - - + --> + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + - + --> + + --> - + --> + $(PrepareResourcesDependsOn); PrepareResourceNames; ResGen; CompileLicxFiles - - - + + + - + --> + AssignTargetPaths; SplitResourcesByCulture; CreateManifestResourceNames; CreateCustomManifestResourceNames - - - + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + - + --> + - - - - - - - <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> - - - Resx - - - Non-Resx - - - - - - - - - + --> + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + - - - - - - Resx - - - Non-Resx - - - - - - - - - - - - <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> - <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> - - + i.e. either Licx, or resources that don't have culture info --> + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + - - - - + --> + + + + - - ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen - FindReferenceAssembliesForReferences - true - false - - + --> + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + - + --> + - + --> + - - - <_Temporary Remove="@(_Temporary)" /> - - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - - + --> + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - true - - - true - - - - true - - - true - - - + suddenly start failing to build.--> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + --> - - - - - - - + --> + + + + + + + + --> - + --> + ResolveReferences; ResolveKeySource; @@ -5827,96 +5473,96 @@ Copyright (C) Microsoft Corporation. All rights reserved. CoreCompile; _TimeStampAfterCompile; AfterCompile; - - - + + + - - - - - - <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> - - <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> - Resx - false - - <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - false - - - + --> + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + - - - true - $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) - - - true - - - - - + --> + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + - - - - - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + + + - - true - - - - - - - - - - + --> + + true + + + + + + + + + + - + --> + - + --> + - - - <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + - - - $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + - - - <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + - - - __NonExistentSubDir__\__NonExistentFile__ - - + --> + + + __NonExistentSubDir__\__NonExistentFile__ + + - - <_SGenDllName>$(TargetName).XmlSerializers.dll - <_SGenDllCreated>false - <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) - <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto - <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off - true - false - true - + --> + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - + --> + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + --> - + --> + _GenerateSatelliteAssemblyInputs; ComputeIntermediateSatelliteAssemblies; GenerateSatelliteAssemblies - - - + + + - - - - - - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> - - <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> - Resx - true - - <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - true - - - + --> + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + - - - <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) - - - - - - + --> + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + - + --> + CreateManifestResourceNames - - - - - - %(EmbeddedResource.Culture) - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - - - + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + - - $(Win32Manifest) - + --> + + $(Win32Manifest) + - - - + --> + + + - <_DeploymentBaseManifest>$(ApplicationManifest) - <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + property is set though, prefer that one be used to specify the manifest. --> + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) - true - - - - - $(ApplicationManifest) - $(ApplicationManifest) - - - - - - $(_FrameworkVersion40Path)\default.win32manifest - - + a manifest to their built assemblies --> + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + --> - + --> + SetWin32ManifestProperties; GenerateApplicationManifest; GenerateDeploymentManifest - - + + - - - <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> - - - - - - + --> + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + - - - - - - - - - <_DeploymentCopyApplicationManifest>true - - + --> + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + - - - <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) - <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) - - + --> + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) - <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) - - - - - - - + --> + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + - - - <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> - <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> - - + --> + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + - - - - - - - <_DeploymentManifestType>Native - - - - - - - <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') - - - + --> + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + CleanPublishFolder; _DeploymentGenerateTrustInfo $(DeploymentComputeClickOnceManifestInfoDependsOn) - - + + - - - - <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - - - <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> - <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> - - - - <_SatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> - <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> - true - - <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> - - - - <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_SatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> - - - + --> + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + + <_SatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_SatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + - <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> - - - - <_ClickOnceFiles Include="$(PublishedSingleFilePath)" /> - <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> - - <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> - - - + --> + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + - - <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> - <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> - - - + --> + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + - - - - - - - - - - - - - - - <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> - - - <_DeploymentManifestType>ClickOnce - + This is being done to avoid Windows Forms designer memory issues that can arise while operating directly on files located in Obj directory. --> + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + - - <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) - - - - - - - - - - - - - - - + --> + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - true - false - + --> + + true + false + - + --> + CopyFilesToOutputDirectory - - - + + + - - - false - false - - - - - false - false - false - - - true - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - false - false - - - - - - + --> + + + + false + false + + + + + + - - - - - + input to projects that reference this one. --> + + + + + - + --> + - - <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + --> + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence - true + --> + true <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> AssignProjectConfiguration; _SplitProjectReferencesByFileExistence - + AssignTargetPaths; $(_TargetsThatPrepareProjectReferences); _GetProjectReferenceTargetFrameworkProperties; _PopulateCommonStateForGetCopyToOutputDirectoryItems - + - <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems - - <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject - - + --> + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + - - <_GCTODIKeepDuplicates>false - <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> - - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - - <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> - - + a non-empty value and the original behavior will be restored. --> + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + - - - - %(CopyToOutputDirectory) - - - + --> + + + + %(CopyToOutputDirectory) + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - - - - - - - - - - - - + --> + + + + + + + + + + + + - - - - - - - - - <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false - - - - - - - <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false - - - - - + --> + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + - - - - <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true - - - - - + --> + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + --> - - - - <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> - - - - - - - - - - - - - + --> + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + - - <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> - - - - - - - - + the current final output and intermediate output directories. --> + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + - - - - - + --> + + + + + - - - + --> + + + - - <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - + --> + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - - - - - - + --> + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + --> - + --> + BeforeClean; UnmanagedUnregistration; @@ -7055,81 +6701,81 @@ Copyright (C) Microsoft Corporation. All rights reserved. CleanReferencedProjects; CleanPublishFolder; AfterClean - - - + + + - + --> + - + --> + - + --> + - - + --> + + - - - - + --> + + + + - - - - - - - - - - - - - - - - - - - - <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> - - - - - - - - - - + Declare items of this type if you want Clean to delete them. --> + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + - + --> + - - - - - - - - + --> + + + + + + + + - - - + --> + + + + --> - - - - - - + --> + + + + + + + --> - + --> + SetGenerateManifests; Build; PublishOnly - + _DeploymentUnpublishable - - - + + + - - - + --> + + + - - - - - true - - + --> + + + + + true + + - + --> + SetGenerateManifests; PublishBuild; @@ -7261,33 +6907,33 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; _DeploymentSignClickOnceDeployment; AfterPublish - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -7296,77 +6942,77 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; GenerateSerializationAssemblies; CreateSatelliteAssemblies; - - - + + + - + --> + - - - - - <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) - <_DeploymentApplicationDir>$(PublishDir)$(_DeploymentApplicationFolderName)\ - - - - false - false - - - - - - - - - - - - - - - - - + This is done because some servers misinterpret "." as a file extension. --> + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(PublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + - - - - + --> + + + + - - - - - - - - - - + --> + + + + + + + + + + + --> - + --> + - - - true - $(TargetPath) - $(TargetFileName) - true - - - - - - true - $(TargetPath) - $(TargetFileName) - - + --> + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + - - PrepareForBuild - true - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> - $(TargetDir)$(TargetFileName).config - $(TargetFileName).config - - $(AppConfig) - - - - <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> - <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="'@(NativeReference)'!='' or '@(_IsolatedComReference)'!=''"> - $(_DeploymentTargetApplicationManifestFileName) - - $(OutDir)$(_DeploymentTargetApplicationManifestFileName) - - - - - - - %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) - - - + --> + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="'@(NativeReference)'!='' or '@(_IsolatedComReference)'!=''"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + - - - - - - @(_DebugSymbolsOutputPath->'%(FullPath)') - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputPdbItem->'%(FullPath)') - @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + - - - - - - @(FinalDocFile->'%(FullPath)') - true - @(DocFileItem->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputDocItem->'%(FullPath)') - @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + - - PrepareForBuild;PrepareResourceNames - - - - - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - %(EmbeddedResource.Culture) - - - - - - $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) - - %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) - - - + --> + + PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - - - - - - $(MSBuildProjectFullPath) - $(ProjectFileName) - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + - - - - - - @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') - $(_SGenDllName) - - - + --> + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + - - + --> + + - - - + Needed for certain build environments that import partial sets of targets. --> + + + - - - - - - - - ResolveSDKReferences;ExpandSDKReferences - + --> + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + - - - - - - + --> + + + + + + + --> - + --> + $(CommonOutputGroupsDependsOn); BuildOnlySettings; PrepareForBuild; AssignTargetPaths; ResolveReferences - - + + - + --> + - + --> + $(BuiltProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - + + + + + + + - + --> + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(DocumentationProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SGenFilesOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(ReferenceCopyLocalPathsOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - + --> + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - + + + + --> - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets - - - - - - true - - - - - - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets - - - + retrieve them. --> + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets - - - - - - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets - $(MSBuildToolsPath)\NuGet.targets - + --> + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + +--> - - - true - - NuGet.Build.Tasks.dll - - false - - true - true - - false - - WarnAndContinue - - $(BuildInParallel) - true - - <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true - - $(MSBuildInteractive) - - true - - true - - <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true - - - - <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + --> + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + skipped. --> <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); NuGetRestoreTargets=$(MSBuildThisFileFullPath); RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); - - + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); _RestoreSolutionFileUsed=true; @@ -7930,55 +7576,55 @@ Copyright (c) .NET Foundation. All rights reserved. SolutionFileName=$(SolutionFileName); SolutionPath=$(SolutionPath); SolutionExt=$(SolutionExt); - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - + --> + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + - + --> + - + --> + - - - <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> - - + --> + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + - - - exclusionlist - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> - - - - - - - - - - - - - - - - - + --> + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + - - - - - - <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> - <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> - - - - - - - - - - + --> + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + - - - + --> + + + - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> - RestoreSpec - $(MSBuildProjectFullPath) - - - + --> + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + - - - netcoreapp1.0 - - - - - - + --> + + + netcoreapp1.0 + + + + + + - - - - - - - + --> + + + + + + + - + --> + - - <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true - - - <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true - - - - - - - <_HasPackageReferenceItems /> - - + --> + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + - - - true - - + --> + + + true + + - - - <_RestoreProjectFramework /> - - - - - - - <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> - - + --> + + + <_RestoreProjectFramework /> + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + - - - <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> - - + --> + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + - - - $(SolutionDir) - - - - - - - - - - + --> + + + $(SolutionDir) + + + + + + + + + + - + --> + - - - - - - + --> + + + + + + - - - <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> - $(RestoreAdditionalProjectSources) - $(RestoreAdditionalProjectFallbackFolders) - $(RestoreAdditionalProjectFallbackFoldersExcludes) - - - + --> + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + - - - - $(MSBuildProjectExtensionsPath) - - - - + --> + + + + $(MSBuildProjectExtensionsPath) + + + + - - <_RestoreProjectName>$(MSBuildProjectName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) - + --> + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + - - <_RestoreProjectVersion>1.0.0 - <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) - <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) - - - - <_RestoreCrossTargeting>true - - - - <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(_RestoreProjectVersion) - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(RestoreProjectStyle) - $(RestoreOutputAbsolutePath) - $(RuntimeIdentifiers);$(RuntimeIdentifier) - $(RuntimeSupports) - $(_RestoreCrossTargeting) - $(RestoreLegacyPackagesDirectory) - $(ValidateRuntimeIdentifierCompatibility) - $(_RestoreSkipContentFileWrite) - $(_OutputConfigFilePaths) - $(TreatWarningsAsErrors) - $(WarningsAsErrors) - $(NoWarn) - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) - $(CentralPackageVersionOverrideEnabled) - $(CentralPackageTransitivePinningEnabled) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(RestoreOutputAbsolutePath) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(_CurrentProjectJsonPath) - $(RestoreProjectStyle) - $(_OutputConfigFilePaths) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - $(MSBuildProjectDirectory)\packages.config - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - $(_OutputSources) - $(SolutionDir) - $(_OutputRepositoryPath) - $(_OutputConfigFilePaths) - $(_OutputPackagesPath) - @(_RestoreTargetFrameworksOutputFiltered) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - @(_RestoreTargetFrameworksOutputFiltered) - - - + --> + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + - - - + --> + + + - + --> + - - - - - - - + --> + + + + + + + - + --> + - - - - - - - - - - - - - - - - - - - - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - TargetFrameworkInformation - $(MSBuildProjectFullPath) - $(PackageTargetFallback) - $(AssetTargetFallback) - $(TargetFramework) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion) - $(TargetFrameworkMoniker) - $(TargetFrameworkProfile) - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetPlatformVersion) - $(TargetPlatformMinVersion) - $(CLRSupport) - $(RuntimeIdentifierGraphPath) - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + + + - + --> + - - - - - - - <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> - - + --> + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + - - - - - - + --> + + + + + + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - - - - - - - - <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> - - - - - - + --> + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + - - - <_RestorePackagesPathOverride>$(RestorePackagesPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + - - - <_RestorePackagesPathOverride>$(RestoreRepositoryPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + - - - <_RestoreSourcesOverride>$(RestoreSources) - - + --> + + + <_RestoreSourcesOverride>$(RestoreSources) + + - - - <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) - - + --> + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + - - - <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> - - + --> + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + - + --> + - +--> + +--> - - $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets - +--> + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + +--> - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - $(MSBuildThisFileDirectory)\tools\net6.0\Microsoft.NET.Build.Extensions.Tasks.dll - $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll - - true - - - - +--> + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net6.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + +--> +--> +--> - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + +--> - - - Microsoft.TestPlatform.Build.dll - $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) - - - +--> + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +--> - +--> + +--> - - true - - - - true - + --> + + true + + + + true + - - <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets - <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) - - + --> + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + - - - +--> + + + // <autogenerated /> using System%3b using System.Reflection%3b [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName = "$(TargetFrameworkMonikerDisplayName)")] - - - - - true + + + + + true - true - true - - $([System.Globalization.CultureInfo]::CurrentUICulture.Name) - + --> + true + true + + $([System.Globalization.CultureInfo]::CurrentUICulture.Name) + - + but the user hasn't told us to not include standard references --> + - <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> - - - - + --> + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> + + + + +--> +--> - - - TargetFramework - TargetFrameworks - - - true - - +--> + + + TargetFramework + TargetFrameworks + + + true + + - - + --> + + - - - <_MainReferenceTarget Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets - <_MainReferenceTarget Condition="'$(_MainReferenceTarget)' == ''">GetTargetPath - GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) - $(_MainReferenceTarget);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) - GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) - Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) - $(ProjectReferenceTargetsForCleanInOuterBuild);$(ProjectReferenceTargetsForBuildInOuterBuild);$(ProjectReferenceTargetsForRebuildInOuterBuild) - $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) - - - - - - - - - - - + --> + + + <_MainReferenceTarget Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTarget Condition="'$(_MainReferenceTarget)' == ''">GetTargetPath + GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) + $(_MainReferenceTarget);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) + GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) + Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForCleanInOuterBuild);$(ProjectReferenceTargetsForBuildInOuterBuild);$(ProjectReferenceTargetsForRebuildInOuterBuild) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + + + + + + + + + +--> - +--> + +--> +--> +--> - - - $(MSBuildThisFileDirectory)..\tools\ - net8.0 - net472 - $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ - $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll +--> + + + $(MSBuildThisFileDirectory)..\tools\ + net6.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll - Microsoft.NETCore.App;NETStandard.Library - + --> + Microsoft.NETCore.App;NETStandard.Library + - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - $(_IsExecutable) - - - - netcoreapp2.2 - - - false - DotnetTool - $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) - - - Preview - - - - - + --> + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + - - true - - +--> + +--> +--> - - - $(MSBuildProjectExtensionsPath)/project.assets.json - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + --> + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) - $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) - - false - - false - - true - $(IntermediateOutputPath)NuGet\ - true - $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) - $(TargetFrameworkMoniker) - true + be stored in a shared directory next to the assets.json file --> + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true - false + TargetDefinitions, FileDefinitions and FileDependencies items. --> + false - true - - - - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) - - - - - + its own multi-targeting logic, or if the current SDK targets will pick the assets correctly. --> + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + - + --> + $(ResolveAssemblyReferencesDependsOn); ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; - + ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; $(PrepareResourcesDependsOn) - - - - - - $(RootNamespace) - - - $(AssemblyName) - - - $(MSBuildProjectDirectory) - - - $(TargetFileName) - - - $(MSBuildProjectFile) - - - + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + - - true - + --> + + true + + --> - + --> + ResolveLockFileReferences; ResolveLockFileAnalyzers; @@ -9227,110 +8870,101 @@ Copyright (c) .NET Foundation. All rights reserved. ResolveRuntimePackAssets; RunProduceContentAssets; IncludeTransitiveProjectReferences - - - + + + + --> - - - - + --> + + + + - + run and created the assets file. --> + - - - - - - - - - - - - - - - - - <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) - roslyn$(_RoslynApiVersion) - - - - - - false - - - true - - - true - - - - true - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + compile errors. --> + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + match the expected version --> + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> - - - <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> - - + (that was spread across different tasks/targets) for backwards compatibility. --> + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + - + --> + + + + + + - - - - - - + --> + + + + + + - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + - - - - + but the names depend upon the items themselves. Split it apart. --> + + + + - - + --> + + - - true - + --> + + true + - - + project, use that, in order to preserve metadata (such as aliases). --> + + - - - - - - - - - - - - - - + a reference with a warning. See https://github.com/dotnet/sdk/issues/1499 --> + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> - - <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - - - - + --> + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + - + NETSDK1056. --> + - - +--> + + +--> - - - true - true - true - true - - +--> + + + true + true + true + true + + - - $(DefaultItemExcludes);$(BaseOutputPath)/** - - $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** - - $(DefaultItemExcludes);**/*.user - $(DefaultItemExcludes);**/*.*proj - $(DefaultItemExcludes);**/*.sln - $(DefaultItemExcludes);**/*.vssscc - $(DefaultItemExcludes);**/.DS_Store + This is in the .targets because it needs to come after the final BaseOutputPath has been evaluated. --> + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc - $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** - + that are in the project folder. --> + $(DefaultItemExcludesInProjectFolder);**/.*/** + - + in the project file. --> + - 1.6.1 - - 2.0.3 - + produced, so we will roll forward to the latest version. --> + 1.6.1 + + 2.0.3 + +--> +--> - - true - false - <_TargetLatestRuntimePatchIsDefault>true - - - true - - - - - all - true - - - all - true - - - - - - - - - - - - + --> + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + - - - - - - - - - + A FrameworkReference to Microsoft.AspNetCore.App should be used instead, and will be implicitly included by Microsoft.NET.Sdk.Web. --> + + + + + + + + + - - - - - - - - - - - - + should be replaced with a FrameworkReference. --> + + + + + + + + + + + + - - $(_TargetFrameworkVersionWithoutV) - - - - - - - - https://aka.ms/sdkimplicitrefs - - - - - - - - - - - <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> - - - - false - - - - - - https://aka.ms/sdkimplicititems - + this should prevent breaking it. --> + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + - - - - - - - - - - - - - - - - - - - - - - - - - - <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> - - - + be easy to miss the duplicate items error which is the real source of the problem. --> + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + +--> - - - + if building with an implicit restore. --> + + + - - + --> + + - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + --> + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - - - - - - - - - - - - - - - true - - - - - + --> + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + +--> +--> - +--> + $(ResolveAssemblyReferencesDependsOn); ResolveTargetingPackAssets; - - - - - - - + + + + + + + - - - - - - - - + we can't do the change atomically --> + + + + + + + + - - - - - - - - - - - true - true - - - <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - - - - - - - $(RuntimeIdentifier) - $(DefaultAppHostRuntimeIdentifier) - - - - - - - - - - - true - true - false - - - - [%(_PackageToDownload.Version)] - - - - - - - - <_ImplicitPackageReference Remove="@(PackageReference)" /> - - - + --> + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + - - - - - - + --> + + + + + + - - - - - - - %(ResolvedTargetingPack.PackageDirectory) - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> - %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) - - - - - %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) - - - - @(ResolvedAppHostPack->'%(Path)') - - - - %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) - - - - @(ResolvedSingleFileHostPack->'%(Path)') - - - - %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) - - - - @(ResolvedComHostPack->'%(Path)') - - - - %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) - - - - @(ResolvedIjwHostPack->'%(Path)') - - - - - - - - - - + --> + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + - - - - true - false - - - - - - - - - - + --> + + + + true + false + + + + + + + + + + - $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) - - - - - - - - - - - - - - - - - - - + that consume it. --> + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + - - - - - - <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> - - - + --> + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + - - - - - - - - + --> + + + + + + + + - + --> + - - - <_Parameter1>$(UserSecretsId.Trim()) - - - + --> + + + <_Parameter1>$(UserSecretsId.Trim()) + + + - - - - - - $(_IsNETCoreOrNETStandard) - - - true - false - true - $(MSBuildProjectDirectory)/runtimeconfig.template.json - true - true - <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache - <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) - <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache - <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) - <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache - <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) - - - - <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true - - - false - true - - - $(BundledRuntimeIdentifierGraphFile) - - $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json - - - - - - - - - - - true - - - false - - - $(AssemblyName).deps.json - $(TargetDir)$(ProjectDepsFileName) - $(AssemblyName).runtimeconfig.json - $(TargetDir)$(ProjectRuntimeConfigFileName) - $(TargetDir)$(AssemblyName).runtimeconfig.dev.json - true - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + + + + + $(_IsNETCoreOrNETStandard) + + + true + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + +--> - - - true - true - - - - CurrentArchitecture - CurrentRuntime - - - <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so - <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe - <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) - <_DotNetAppHostExecutableNameWithoutExtension>apphost - <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) - <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost - <_DotNetComHostLibraryNameWithoutExtension>comhost - <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) - <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost - <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) - <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) - <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) - - - - - - <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> - - +--> + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + - - - Microsoft.NETCore.App - - + --> + + + Microsoft.NETCore.App + + - - <_DefaultUserProfileRuntimeStorePath>$(HOME) - <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) - <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) - $(_DefaultUserProfileRuntimeStorePath) - - - true - - - true - - - - false - true - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + - - true - - - true - - - $(AvailablePlatforms),ARM32 - - - $(AvailablePlatforms),ARM64 - - - $(AvailablePlatforms),ARM64 - - - - false - - - - true - - - - - <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true - <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true - - <_BinaryFormatterObsoleteAsError>true - - true - false - - + --> + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + _CheckForBuildWithNoBuild; $(CoreBuildDependsOn); GenerateBuildDependencyFile; GenerateBuildRuntimeConfigurationFiles - - - + + + _SdkBeforeClean; $(CoreCleanDependsOn) - - - + + + _SdkBeforeRebuild; $(RebuildDependsOn) - - - - - - - - - + + - - - + --> + + + - - - - 1.0.0 - - - - - - - - - - - - - <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> - - <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> - - - + --> + + + + 1.0.0 + + + + + + + + + + + - - - + during incremental builds when the task is skipped --> + + + - - - - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + - - - <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true - LatestMinor - + --> + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + - - - <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true - - - + other values should still keep failing as they won't have any effect when run on 2.*. --> + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_CleaningWithoutRebuilding>true - false - - - - - <_CleaningWithoutRebuilding>false - - + during incremental builds when the task is skipped --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + --> + + + + + $(CompileDependsOn); _CreateAppHost; _CreateComHost; _GetIjwHostPaths; - - + + - - - - <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true - <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true - - - + --> + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + - - - $(SingleFileHostSourcePath) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) - - + --> + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + - - - - - @(_NativeRestoredAppHostNETCore) - - - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) - - - - - - + --> + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + - - - - - + --> + + + + + - - - - + --> + + + + - - - + --> + + + - - - $(AssemblyName).comhost$(_ComHostLibraryExtension) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) - - - + --> + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + - - - + --> + + + - - - - <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest - PreserveNewest - - - + --> + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + - - PreserveNewest - Never - - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest + --> + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest - Always - - - - - $(AssemblyName).$(_DotNetComHostLibraryName) - PreserveNewest - PreserveNewest - - - %(FileName)%(Extension) - PreserveNewest - PreserveNewest - - - - - $(_DotNetIjwHostLibraryName) - PreserveNewest - PreserveNewest - - - + places the correct unbundled apphost in the publish directory. --> + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + - - - <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + --> + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> - <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> - <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> - <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> - - + --> + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + - - - - - true - - - true - - - - - + --> + + + + + true + + + true + + + + + - - $(StartWorkingDirectory) - - - - - $(StartProgram) - $(StartArguments) - - - - - - dotnet - <_NetCoreRunArguments>exec "$(TargetPath)" - $(_NetCoreRunArguments) $(StartArguments) - $(_NetCoreRunArguments) - - - $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) - $(StartArguments) - - - - - $(TargetPath) - $(StartArguments) - - - mono - "$(TargetPath)" $(StartArguments) - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) - - - - - + --> + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + - + --> + $(CreateSatelliteAssembliesDependsOn); CoreGenerateSatelliteAssemblies - - - - - - - <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs - <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll - - - - <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) - - - - - - - true - - - - - - - - - - - - - + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + - + --> + - - - - - + --> + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - + --> + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + - - - - - - + --> + + + + + + - - - - - - - - - - false - - + --> + + + + + + + + false + + - false - - - - false - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true - - - - + to run it. --> + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + - - - + --> + + + - - - - - - - - - - - - - - <_SourceLinkSdkSubDir>build - <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting - true - - - - - - - - local - - - - - - - - - - - git - - - - - - - - - - - - - - - - - - - - - - - - - - $(RepositoryUrl) - $(ScmRepositoryUrl) - - - - %(SourceRoot.ScmRepositoryUrl) - - - - - - - - <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json - - - - - - - - - <_GenerateSourceLinkFileBeforeTargets>Link - <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches - - - <_GenerateSourceLinkFileBeforeTargets>CoreCompile - <_GenerateSourceLinkFileDependsOnTargets /> - - - - - - - - - - - - - - - - %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" - - - - - - - - - <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll - <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - - - <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll - <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - - - <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll - <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - - - <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll - <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - + --> + + + + + + + + +--> - +--> + $(CommonOutputGroupsDependsOn); - - - + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); _GenerateDesignerDepsFile; _GenerateDesignerRuntimeConfigFile; - GetCopyToOutputDirectoryItems; _GatherDesignerShadowCopyFiles; - - <_DesignerDepsFileName>$(AssemblyName).designer.deps.json - <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json - <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) - <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) - - - + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + - - - - - - - - - - <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> - - - - - - - - - - - <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + --> + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> - <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> - - - - - + --> + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + + +--> +--> +--> - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) - true - - - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - + --> + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + - - - - - <_InformationalVersionContainsPlus>false - <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true - $(InformationalVersion)+$(SourceRevisionId) - $(InformationalVersion).$(SourceRevisionId) - - - - - - <_Parameter1>$(Company) - - - <_Parameter1>$(Configuration) - - - <_Parameter1>$(Copyright) - - - <_Parameter1>$(Description) - - - <_Parameter1>$(FileVersion) - - - <_Parameter1>$(InformationalVersion) - - - <_Parameter1>$(Product) - - - <_Parameter1>$(Trademark) - - - <_Parameter1>$(AssemblyTitle) - - - <_Parameter1>$(AssemblyVersion) - - - <_Parameter1>RepositoryUrl - <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) - <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) - - - <_Parameter1>$(NeutralLanguage) - - - %(InternalsVisibleTo.PublicKey) - - - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) - - - <_Parameter1>%(AssemblyMetadata.Identity) - <_Parameter2>%(AssemblyMetadata.Value) - - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) - - - <_Parameter1>$(TargetPlatformIdentifier) - - - - - - + --> + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + - - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache - - - - - - - - - - - - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + - - - - - - $(AssemblyVersion) - $(Version) - - + --> + + + + + + $(AssemblyVersion) + $(Version) + + +--> +--> +--> - - - $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) + - - - - - - - - - - + --> + + + + + + + + + + +--> +--> - - - - <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config - - - - - - - - - - - - - - - - - +--> + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + +--> +--> +--> - + --> + - - - <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> - <_AllProjects Include="$(MSBuildProjectFullPath)" /> - - - - - + --> + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + - - - - %(PackageReference.Identity) - %(PackageReference.Version) + --> + + + + %(PackageReference.Identity) + %(PackageReference.Version) StorePackageName=%(PackageReference.Identity); StorePackageVersion=%(PackageReference.Version); @@ -11883,246 +10903,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); DisableImplicitFrameworkReferences=false; - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - + --> + + + + + + + + + <_StoreArtifactContent> @(ListOfPackageReference) -]]> - - - - - - +]]> + + + + + + - - - <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> - <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> - - - - - - - - + --> + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + - - - true - true - <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) - true - - - - - - $(UserProfileRuntimeStorePath) - <_ProfilingSymbolsDirectoryName>symbols - $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) - $(DefaultProfilingSymbolsDir) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) - $(ProfilingSymbolsDir)\ - $(DefaultComposeDir) - $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) - $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) - $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) - $([System.IO.Path]::GetFullPath($(ComposeDir))) - <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) - $([System.IO.Path]::GetTempPath()) - $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) - $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) - - $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) - - $(PublishDir)\ - - - - false - true - - - - - - - - $(StorePackageVersion.Replace('*','-')) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) - <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) - $(StoreWorkerWorkingDir)\ - $(BaseIntermediateOutputPath)\project.assets.json - - - $(MicrosoftNETPlatformLibrary) - true - - + --> + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + - - - - + --> + + + + - + --> + - + --> + - - - - - + --> + + + + + - + --> + - - - <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> - - - true - - + --> + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + - - - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> - - + --> + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + - - - - true - true - - - - - - - - - + --> + + + + true + true + + + + + + + + + - - - - - - + --> + + + + + + +--> +--> +--> - - true - true - false - true - false - true - 1 - + --> + + true + false + true + false + true + 1 + - - - - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> - - - - - - - - <_CoreclrPath>@(_CoreclrResolvedPath) - @(_JitResolvedPath) - <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) - <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) - $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) - - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) - - - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) - - + --> + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + - - - + --> + + + CrossgenExe=$(Crossgen); CrossgenJit=$(JitPath); @@ -12212,252 +11231,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) - - - - - - + + + + + + - - - $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) - $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) - $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" - CreatePDB - CreatePerfMap - - - - - - - - - - - - <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> - - - - - - - - $([System.IO.Path]::PathSeparator) - $([System.IO.Path]::DirectorySeparatorChar) - - + --> + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + - - - <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) - <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) - - - - - <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) - - + --> + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + - - - <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) - - <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) - - <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) - - - <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> - - - - - - - - + --> + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll - $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - + --> + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net6.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + - - - - - - - - - - - + --> + + + + + - - - - - + --> + + + + + - - - - <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R - - - - <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> - + --> + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + - - <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> - - - - - - <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> - <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> - - - <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> - <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> - - - - - - - - - - - - - - - - - + assembly list. --> + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + - - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> - - + --> + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> - - + --> + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + +--> +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + - - +--> + + - - <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> - - <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> - - - - +--> + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + +--> +--> - - true - <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true - true - - - - - true - true - - - - Always - - - - - - <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true - <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false - - +--> + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + Always + + - - - - + --> + + + + <_BeforePublishNoBuildTargets> BuildOnlySettings; _PreventProjectReferencesFromBuilding; @@ -12573,70 +11572,59 @@ Copyright (c) .NET Foundation. All rights reserved. PrepareResourceNames; ComputeIntermediateSatelliteAssemblies; ComputeEmbeddedApphostPaths; - + <_CorePublishTargets> PrepareForPublish; ComputeAndCopyFilesToPublishDirectory; $(PublishProtocolProviderTargets); PublishItemsOutputGroup; - - <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) - - - - + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + - - - - - - - - - - - - - - false - - + the published assets were copied. --> + + + + + + + false + + - - - - - - - - - - - - - - $(PublishDir)\ - - - + --> + + + + + + + + + + + $(PublishDir)\ + + + - + --> + - + --> + - - - - <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> - - - - - - - - + --> + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + - - - <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) - - - - - - <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt - - - - - - - - - - - - - - - - - - <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> - <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> - - - - - - - - - + --> + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + - + --> + - - - - + --> + + + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - - <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> - <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> - - - <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> - <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> - - + --> + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + - - - - - true - true - false - - + --> + + + true + true + false + + - - - - - @(IntermediateAssembly->'%(Filename)%(Extension)') - PreserveNewest - - - - $(ProjectDepsFileName) - PreserveNewest - - - - $(ProjectRuntimeConfigFileName) - PreserveNewest - - - - @(AppConfigWithTargetPath->'%(TargetPath)') - PreserveNewest - - - - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - PreserveNewest - true - - - - %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) - PreserveNewest - - - - %(Filename)%(Extension) - PreserveNewest - - + --> + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> - - - - %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) - PreserveNewest - - - - @(FinalDocFile->'%(Filename)%(Extension)') - PreserveNewest - - - - shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) - PreserveNewest - - - <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> - - - + to ensure that we don't get duplicate files in the publish output. --> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + - - + --> + + - - - - - <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> - - - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> - - + PreserveStoreLayout without this task, and how to handle RuntimeStorePackages. --> + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + - - - - - - + --> + + + + + + - - - <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> - - + --> + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + - - - <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + --> + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - - - - %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) - Always - True - - - %(_SourceItemsToCopyToPublishDirectory.TargetPath) - PreserveNewest - True - - - + --> + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + - + --> + - - <_GCTPDIKeepDuplicates>false - <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath - - - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - + a non-empty value and the original behavior will be restored. --> + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + - - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - Always - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - PreserveNewest - - - - - <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies - - - + --> + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + - - - <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> - - <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> - - <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> - - - - <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> - + --> + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + - - - + --> + + + - - - - - - - - - <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> - - - + --> + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + - - <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true - <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true - - + generate a different one. --> + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + - - - <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> - - - - $(AssemblyName)$(_NativeExecutableExtension) - $(PublishDir)$(PublishedSingleFileName) - - - - - - - - $(PublishedSingleFileName) - - - - - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> - - - - - - - - - - false - false - false - $(IncludeAllContentForSelfExtract) - false - - - - - - - - - - - - - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) - - - - - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> - - - - - - - - - + --> + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + - - - - $(PublishDir)$(ProjectDepsFileName) - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) - - - - - - <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - - - - - $(ProjectDepsFileName) - - - + --> + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + - - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + --> + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + - - - - - - - - + --> + + + + + + + + - + --> + $(PublishItemsOutputGroupDependsOn); ResolveReferences; ComputeResolvedFilesToPublishList; _ComputeFilesToBundle; - - - - - - - - - - - + + + + + + + + + + + - + --> + - - - + --> + + + - +--> + +--> - - - - - +--> + + + + + - - <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml - true - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) - - - - <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> - <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> - <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> - - - - - - - tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) - - - %(_ResolvedFileToPublishWithPackagePath.PackagePath) - - - - - $(TargetName) - $(TargetFileName) - <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache - <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) - - - - <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> - - - - - - - - - - - - - - - - - - - + --> + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + $(TargetName) + $(TargetFileName) + + + + + + + + + + + + + - - <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache - <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) - <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel - <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) - $(OutDir) - - - - - + --> + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + - - + --> + + - - - - - - - - - + during incremental builds when the task is skipped --> + + + + + + + + + - - - <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> - <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> - <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> - <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + +--> +--> - - - +--> + + + +--> +--> - - refs - $(PreserveCompilationContext) - - - - - $(DefineConstants) - $(LangVersion) - $(PlatformTarget) - $(AllowUnsafeBlocks) - $(TreatWarningsAsErrors) - $(Optimize) - $(AssemblyOriginatorKeyFile) - $(DelaySign) - $(PublicSign) - $(DebugType) - $(OutputType) - $(GenerateDocumentationFile) - - - - - - - - - +--> + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(DelaySign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + - <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + --> + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> - <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> - - $(RefAssembliesFolderName)\%(Filename)%(Extension) - - - + --> + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + - - - - - + --> + + + + + +--> +--> +--> +--> - - +--> + + Microsoft.CSharp|4.4.0; Microsoft.Win32.Primitives|4.3.0; @@ -13734,9 +12645,9 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + Microsoft.Win32.Primitives|4.3.0; System.AppContext|4.3.0; @@ -13833,50 +12744,50 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + - - +--> + + - - + --> + + - <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> - - - - - - - + --> + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + - - - - - - - - - + (eg: HintPath) --> + + + + + + + + + - - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> - - + --> + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + - - - - - - - + --> + + + + + + + +--> +--> - - Properties - - - $(Configuration.ToUpperInvariant()) +--> + + Properties + + + $(Configuration.ToUpperInvariant()) - $(ImplicitConfigurationDefine.Replace('-', '_')) - $(ImplicitConfigurationDefine.Replace('.', '_')) - $(ImplicitConfigurationDefine.Replace(' ', '_')) - $(DefineConstants);$(ImplicitConfigurationDefine) - - - $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) - - - - - - - - $(WarningsAsErrors);SYSLIB0011 - + --> + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(ImplicitConfigurationDefine.Replace(' ', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + + + + + + + + + + + + + $(IntermediateOutputPath)linked\ + $(IntermediateLinkDir)\ + + <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore + + + + <_Parameter1>IsTrimmable + <_Parameter2>True + + + + + false + false + false + false + false + false + false + false + <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false + true + + + + true + + true + + false + + + + + $(NoWarn);IL2026 + + $(NoWarn);IL2041;IL2042;IL2043;IL2056 + + $(NoWarn);IL2045 + + $(NoWarn);IL2046 + + $(NoWarn);IL2050 + + $(NoWarn);IL2032;IL2055;IL2057;IL2058;IL2059;IL2060;IL2061;IL2096 + + $(NoWarn);IL2062;IL2063;IL2064;IL2065;IL2066 + + $(NoWarn);IL2067;IL2068;IL2069;IL2070;IL2071;IL2072;IL2073;IL2074;IL2075;IL2076;IL2077;IL2078;IL2079;IL2080;IL2081;IL2082;IL2083;IL2084;IL2085;IL2086;IL2087;IL2088;IL2089;IL2090;IL2091 + + $(NoWarn);IL2092;IL2093;IL2094;IL2095 + + $(NoWarn);IL2097;IL2098;IL2099;IL2106 + + $(NoWarn);IL2103 + + $(NoWarn);IL2107 + + $(NoWarn);IL2109 + + $(NoWarn);IL2110;IL2111;IL2114;IL2115 + + $(NoWarn);IL2112;IL2113 + + + + + + + <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> + + + + + + + <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + + + + + + + + + + + + <_DotNetHostDirectory>$(NetCoreRoot) + <_DotNetHostFileName>dotnet + <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe + + + + + + + + + + + + + 5 + 0 + + + + copyused + + $(TrimMode) + + + link + + copy + $(TreatWarningsAsErrors) + <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) + true + + + + + $(NoWarn);IL2008 + + $(NoWarn);IL2009 + + + $(NoWarn);IL2037 + + + $(NoWarn);IL2009;IL2012 + + + + + + true + false + + + <_TrimmerUnreachableBodies>false + + + + + true + + + + + + + + + + + + + + + + + + + copy + + + + + + $(TrimMode) + + + $(TrimmerDefaultAction) + + + + + + <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly> + false + + + + + + + false + + + + <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> + + + + + + + + + + + + <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> + <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> + + + <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + - - - - +--> +--> - +--> + - - <_NoneAnalysisLevel>4.0 - - <_LatestAnalysisLevel>8.0 - <_PreviewAnalysisLevel>9.0 - latest - $(_TargetFrameworkVersionWithoutV) + and enable .NET analyzers. Valid values are 'none', 'latest', 'preview', or a version number --> + + 5.0 + + latest - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) + --> + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) - $(_NoneAnalysisLevel) - $(_LatestAnalysisLevel) - $(_PreviewAnalysisLevel) - - $(AnalysisLevelPrefix) - $(AnalysisLevel) - - - - 9999 - - 4 - - $(_TargetFrameworkVersionWithoutV.Substring(0, 1)) - - - - - true - - true - - true - - true - - false - - - - false - false - false - false - false - - + and an implied numerical option (such as '4')--> + 4.0 + 6.0 + 7.0 + + $(AnalysisLevelPrefix) + $(AnalysisLevel) + + + + + true + + true + + true + + 5 + + + + 6 + + + false + + false + + 9999 + + +--> - + --> + - - <_NETAnalyzersSDKAssemblyVersion>8.0.0 - + --> + + <_NETAnalyzersSDKAssemblyVersion>6.0.0 + - - CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1510;CA1511;CA1512;CA1513;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA1856;CA1857;CA1858;CA1859;CA1860;CA1861;CA1862;CA1863;CA1864;CA1865;CA1866;CA1867;CA1868;CA1869;CA1870;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2021;CA2100;CA2101;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2261;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 - $(CodeAnalysisTreatWarningsAsErrors) - $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) - + This property group prevents the rule ids implemented in this package to be bumped to errors when + the 'CodeAnalysisTreatWarningsAsErrors' = 'false'. + --> + + CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1401;CA1416;CA1417;CA1418;CA1419;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2100;CA2101;CA2109;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2229;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.Analyzers.targets +============================================================================================================================================ +--> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - true - true - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets - - - - - +--> + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + +--> - - - true - - - - true - - - - 7.0 - - +--> + + + true + + + + true + + + + 7.0 + + - $(TargetPlatformMinVersion) - $(SupportedOSPlatformVersion) - - $(TargetPlatformVersion) - $(TargetPlatformVersion) - - - - <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> - - - - - - - - + other value. --> + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> - - - - - - - + The WinMD in this case can be identified because the Implementation metadata value is WinRT.Host.dll. So here we remove any such WinMD references. --> + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + +--> - + TargetPlatformVersion may have been set later than that in evaluation by platform-specific targets or Directory.Build.targets. So fix up those properties here --> + - 0.0 - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - - - - $(TargetPlatformVersion) - - + workloads. --> + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + +--> - - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll - $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll - - - - - +--> + + + + - - - - - - - $(RoslynTargetsPath) - <_packageReferenceList>@(PackageReference) +--> + + + + + _GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) - $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) - $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) - - - - $(GenerateCompatibilitySuppressionFile) - - - - - - - <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - - $(_apiCompatDefaultProjectSuppressionFile) - - - - - - - - - - - $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore - - CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - - - $(PackageId) - $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) - - - <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> - - - - - - - - - - $(TargetPlatformMoniker) - - - - - - - - - + are on the same directory as Microsoft.CodeAnalysis. So there is no need to distinguish between csproj or vbproj. --> + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + false + <_compatibilitySuppressionFilePath>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + $(_compatibilitySuppressionFilePath) + + + + + + <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' != 'true'">_GetReferencePathForPackageValidation + <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' == 'true'">_ComputeTargetFrameworkItems + + + + <_ReferencePathWithTargetFramework Include="@(ReferencePath)" TargetFramework="$(TargetFramework)" /> + + + + + + + + + + - +--> - - - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets - true - +--> + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + +--> - - - ..\CoreCLR\NuGet.Build.Tasks.Pack.dll - ..\Desktop\NuGet.Build.Tasks.Pack.dll - - - - - - - - - $(AssemblyName) - $(Version) - true - _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) - $(Description) - Package Description - false - true - true - tools - lib - content;contentFiles - $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) - true - symbols.nupkg - DeterminePortableBuildCapabilities - false - false - .dll; .exe; .winmd; .json; .pri; .xml - $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) - .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) - .pdb - false - - - $(GenerateNuspecDependsOn) - - - Build;$(GenerateNuspecDependsOn) - - - - - - - $(TargetFramework) - - - - $(MSBuildProjectExtensionsPath) - $(BaseOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - +--> + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - + --> + + + + + + - - - <_ProjectFrameworks /> - - - - - - <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> - - + --> + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + - - - - <_PackageFilesToDelete Include="@(_OutputPackItems)" /> - - - - - - false - - - - - - - - - - - - - + --> + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + - - - - - - true - - - - - - - - - + --> + + + + + + true + + + + + + + + + - - - - $(PrivateRepositoryUrl) - $(SourceRevisionId) - - + --> + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + - - - - $(MSBuildProjectFullPath) - - - - - - - - - - - - - - - - - <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> - $(PackageVersion) - 1.0.0 - - - - - - - - - - - - - - - - - - - - - - - - - - <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> - - - - - - $(TargetFramework) - - - - - - - - - - - - - %(TfmSpecificPackageFile.RecursiveDir) - %(TfmSpecificPackageFile.BuildAction) - - - - - - <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> - $(TargetFramework) - - - - <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> - - + --> + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + - - - <_PathToPriFile Include="$(ProjectPriFullPath)"> - $(ProjectPriFullPath) - $(ProjectPriFileName) - - - + has to be added manually here.--> + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + - - - <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> - - - - <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> - Content - - <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> - Compile - - <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> - None - - <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> - EmbeddedResource - - <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> - ApplicationDefinition - - <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> - Page - - <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> - Resource - - <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> - SplashScreen - - <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> - DesignData - - <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> - DesignDataWithDesignTimeCreatableTypes - - <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> - CodeAnalysisDictionary - - <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> - AndroidAsset - - <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> - AndroidResource - - <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> - BundleResource - - - + --> + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + +--> +--> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.FSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.FSharp.xml index a8a7b4a..1bf646d 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.FSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.FSharp.xml @@ -1,17 +1,17 @@ - +--> + +--> - +--> + - true + --> + true - true - - - - true - - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - - - false - - - - - true - $(MSBuildProjectName) - - - $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ - $(ArtifactsPath)\obj\ - - - - <_ArtifactsPathSetEarly>true - - - $(ProjectExtensionsPathForSpecifiedProject) - - + --> + true + + + $(ProjectExtensionsPathForSpecifiedProject) + + +--> - - true - true - true - true - true - +--> + + true + true + true + true + true + - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - + --> + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + - + --> + - obj\ - $(BaseIntermediateOutputPath)\ - <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) - $(BaseIntermediateOutputPath) + --> + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) - $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) - $(MSBuildProjectExtensionsPath)\ - true - <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) - - + --> + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) - - + --> + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + - - true - - - $(DefaultProjectConfiguration) - $(DefaultProjectPlatform) - - - WJProject - JavaScript - - - - - + e.g. by the project itself. --> + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props - $(MSBuildToolsPath)\NuGet.props - + --> + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + +--> +--> - - true - + --> + + true + - - <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props - <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) - $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) - - - - true - + --> + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + - - true - true - true - true - true - true - true - true - true - true - true - true - true - +C:\Program Files\dotnet\sdk\6.0.300\Current\Microsoft.Common.props +============================================================================================================================================ +--> + + true + true + true + true + true + true + true + true + true + true + true + true + true + +--> +--> - - - true - - - - Debug;Release - AnyCPU - Debug - AnyCPU - - - - - true - - - - Library - 512 - prompt - $(MSBuildProjectName) - $(MSBuildProjectName.Replace(" ", "_")) - true - - - - true - false - - - true - - +--> + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + - - <_PlatformWithoutConfigurationInference>$(Platform) - - - x64 - - - x86 - - - ARM - - - arm64 - - - - - {CandidateAssemblyFiles} - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);{RawFileName} - - - portable - - false - - true - true + --> + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + + portable + + false + + true + true - PackageReference - $(AssemblySearchPaths) - false - false - false - false - false - false - false - false - false - true - 1.0.3 - false - true - true - - - - - - $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj - - + a project targets .NET Framework and doesn't have any direct package dependencies. --> + PackageReference + + {CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName} + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.2 + false + true + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + - - - $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)../../')) - $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs - <_NetFrameworkHostedCompilersVersion>4.8.0-3.23471.11 - 8.0 - 8.0 - 8.0.0-rc.2.23479.6 - 2.1 - 2.1.0 - 8.0.0-rc.2.23479.6 - $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json - 8.0.100-rc.2.23502.2 - linux-x64 - linux-x64 - <_NETCoreSdkIsPreview>true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> - <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> - +--> + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + 6.0 + 6.0 + 6.0.5 + 2.1 + 2.1.0 + 6.0.3 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 6.0.300 + win-x64 + win-x64 + <_NETCoreSdkIsPreview>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - false - - - <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif - - - - - - - - - - - - - - - - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.props +============================================================================================================================================ +--> + + + $(BundledRuntimeIdentifierGraphFile) + + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + - - - - - - - - - + evaluated in the second pass of evaluation, after all properties have been evaluated. --> + + + + + + + + + - + an implicit FrameworkReference --> + - - - - - - - + Packing an DotnetCliTool should include the Microsoft.NETCore.App package dependency. --> + + + + + +--> - - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel - true - - + putting an EnableWorkloadResolver.sentinel file beside the MSBuild SDK resolver DLL --> + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + +--> - - +--> + + - +--> + +--> +--> - - - - - - - - - - - - - - - - 9.0 - 17.8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + This is used by VS to show the list of frameworks to which projects can be retargeted. --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +--> + +--> - - - - - - +--> + + + + + + - +--> + +--> - - - - - - - - - - - - +--> + + + + + + + + + + + + +--> + + +--> - - - true - <_SourceLinkPropsImported>true - - +--> + + + + false + true + + + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.props + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.props + - - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll - $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll - +--> + - - - - <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll - <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll - - - - true - - true - +*********************************************************************************************** +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + TRACE + + + + + $(DefineConstants);TRACE + + + + + false + + false + + + {F2A71F9B-5D33-465A-A702-920D77279786} + + false + false + 3 + 3239;$(WarningsAsErrors) + true + true + + + true + false + false + + + false + true + true + + + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsc.dll" + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsi.dll" + + + + +--> + - - - - - +*********************************************************************************************** +--> - - - - + This is a visual studio support version. It adds a property that the build can use to determine the version of FSharp.Core selected for the build/ +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + <_FSCorePackageVersionSet>true + 6.0.4 + <_FSharpCoreLibraryPacksFolder Condition="'$(_FSharpCoreLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(MSBuildThisFileDirectory)'))library-packs + - - - - - - - +--> + + + 4.4.0 + + + + contentFiles + + + contentFiles + + + + + + + + true + + - - - - - +--> + + false + - +--> - - - +--> - - - - false - true - - - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.props - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.props - +--> - +--> - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - TRACE - - - - - $(DefineConstants);TRACE - - - - - false - - false - - - {F2A71F9B-5D33-465A-A702-920D77279786} - - false - false - 3 - 3239;$(WarningsAsErrors) - true - true - - - true - false - false - - - false - true - true - - - $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) - $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) - "$(MSBuildThisFileDirectory)fsc.dll" - $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) - $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) - "$(MSBuildThisFileDirectory)fsi.dll" - - - - +--> + - +--> +--> + + true + $(MSBuildThisFileDirectory)..\tools\net6.0\ILLink.Tasks.dll + $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - <_FSCorePackageVersionSet>true - 6.0.4 - <_FSharpCoreLibraryPacksFolder Condition="'$(_FSharpCoreLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(MSBuildThisFileDirectory)'))library-packs - +============================================================================================================================================ + + +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.ILLink.Tasks\Sdk\Sdk.props +============================================================================================================================================ +--> - - - 4.4.0 - - - - contentFiles - - - contentFiles - - - - - - - - true - - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ILLink.props +============================================================================================================================================ +--> +--> + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.Compatibility.dll + $(MSBuildThisFileDirectory)..\tools\net6.0\Microsoft.DotNet.Compatibility.dll + +--> +--> - - $(TargetsForTfmSpecificContentInPackage);PackTool - +--> + + $(TargetsForTfmSpecificContentInPackage);PackTool + +--> +--> - - $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation - +--> + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + +--> - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - - - - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props +============================================================================================================================================ +--> + + + MSBuild:Compile + $(DefaultXamlRuntime) + + + MSBuild:Compile + $(DefaultXamlRuntime) + + + MSBuild:Compile + $(DefaultXamlRuntime) + - - - - - - - + --> + + + + + + + - + --> + - <_WpfCommonNetFxReference Include="WindowsBase" /> - <_WpfCommonNetFxReference Include="PresentationCore" /> - <_WpfCommonNetFxReference Include="PresentationFramework" /> - <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> - 4.0 - - <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> - - - <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> - <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> - <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> - + --> + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + --> - + --> + - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + --> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> - <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + --> + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> - <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> - - - - - + --> + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + --> +--> + --> - + --> + - - - - + --> + + + + +--> - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + +--> +--> +--> - - - - + --> + + + + +--> +--> +--> - - - - - true - - <_TargetFrameworkVersionValue>0.0 - <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 - +--> + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + +--> +--> +--> +--> - - - true - - +--> + + + true + + +--> +--> - - - - - - - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - - - $(_IsExecutable) - <_UsingDefaultForHasRuntimeOutput>true - + So import them here. --> + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + +--> - - 1.0.0 - $(VersionPrefix)-$(VersionSuffix) - $(VersionPrefix) - - - $(AssemblyName) - $(Authors) - $(AssemblyName) - $(AssemblyName) - +--> + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + + + +--> + - - Debug - AnyCPU - $(Platform) - + + Also note that common targets only set a default OutputPath if neither configuration nor + platform were set by the user. This was used to validate that a valid configuration is passed, + assuming the convention maintained by VS that every Configuration|Platform combination had + an explicit OutputPath. Since we now want to support leaner project files with less + duplication and more automatic defaults, we always set a default OutputPath and can no + longer depend on that convention for validation. Getting validation re-enabled with a + different mechanism is tracked by https://github.com/dotnet/sdk/issues/350 + --> + + Debug + AnyCPU + $(Platform) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + respected by the SDK. --> +--> - - - true - <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) - <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties - <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ - $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) - $(_PublishProfileRootFolder)$(PublishProfileName).pubxml - $(PublishProfileFullPath) +--> + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) - false - - - + to limit the import to the project being published. --> + false + + + +--> + --> +--> +--> - - + --> + + - - $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) - v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - + --> + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + - - $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) - - - Windows - + --> + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + - - <_UnsupportedTargetFrameworkError>true - + --> + + <_UnsupportedTargetFrameworkError>true + - - - - + --> + + + + - - - true - true - - - - - - - - - - - - - - - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + true + + + + + + + - - v0.0 - - - _ - + --> + + v0.0 + + + _ + - - - true - - - - + --> + + + - - - - - - <_EnableDefaultWindowsPlatform>false - false - - - 2.1 - - - - - - - - - - - - - - <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> - - - @(_ValidTargetPlatformVersion->Distinct()) - - - - - true - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None - - - - - - - true - true - - - - - - - - - true - false - true - <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ - - + + + + + + <_EnableDefaultWindowsPlatform>false + false - --> - - - - - - <_DefaultArtifactsPathPropsImported>true - - - - true - true - <_ArtifactsPathLocationType>ExplicitlySpecified - - - - - $(_DirectoryBuildPropsBasePath)\artifacts - true - <_ArtifactsPathLocationType>DirectoryBuildPropsFolder - - - - $(MSBuildProjectDirectory)\artifacts - <_ArtifactsPathLocationType>ProjectFolder - - - - $(MSBuildProjectName) - bin - publish - package - - - $(Configuration.ToLowerInvariant()) - - $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) - - $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) - - - - $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ - $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ - $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ - - - - $(ArtifactsPath)\$(ArtifactsBinOutputName)\ - $(ArtifactsPath)\obj\ - $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ - - - $(BaseOutputPath)$(ArtifactsPivots)\ - $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ - - $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ - - - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ - $(OutputPath)\ - - - - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - - - $(DefaultItemExcludes);$(ArtifactsPath)/** - - $(DefaultItemExcludes);bin/**;obj/** - + in the project file, the specified value will be used for the exclude. --> + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + + true + + + true + - - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ - - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - - - - - - + --> + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + - - - - true - - false - +--> + + + + true + + false + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + - - + --> + + +--> - - +--> + + - - - - - - +--> + + + + +--> - - true - - - <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true - WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ - - - true - $(WasmNativeWorkload) - - - false - false - - - - - - +C:\Program Files\dotnet\sdk-manifests\6.0.300\microsoft.net.sdk.ios\WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + +--> - - - - +--> + + + + +--> - - - - +--> + + + + +--> - - - - +--> + + + + + + +--> - - - - - +--> + + + + +--> - - 6.0.5 - true - - - - true - $(WasmNativeWorkload) - - - false - false - - - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(RuntimePackInWorkloadVersion) - - - - - - - - - - - - - - +C:\Program Files\dotnet\sdk-manifests\6.0.300\microsoft.net.workload.emscripten\WorkloadManifest.targets +============================================================================================================================================ +--> + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + +--> - - - - +--> + + 6.0.4 + true + + + + true + $(WasmNativeWorkload) + + + false + false + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(RuntimePackInWorkloadVersion) + + + + + + + + + + + + + + - - - - - - +--> + + + + + + - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + - - - - - - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> - - + need to be set to "true" to avoid requiring restore (which would likely fail if the required workloads aren't already installed).--> + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + +--> + --> +--> +--> - - <_UsingDefaultRuntimeIdentifier>true - win7-x64 - win7-x86 - - - - true - - - - $(PublishSelfContained) - - - - true - - - $(NETCoreSdkPortableRuntimeIdentifier) - - - $(PublishRuntimeIdentifier) - - - <_UsingDefaultPlatformTarget>true - - - - - - - x86 - - - - - x64 - - - - - arm - - - - - arm64 - - - - - AnyCPU - - - + --> + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + - - - <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - - - - true - false - <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false - <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true - true - false - - - - $(NETCoreSdkRuntimeIdentifier) - win-x64 - win-x86 - win-arm - win-arm64 - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - - - - - - - - - - - + --> + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + - - - - - - - - - - - - - - false - - - - - - - - - - - - - + because we do not want the behavior to be a breaking change compared to version 3.0 --> + + + + + + + + + + + + + + + + + + + + - - - true - + Configuration-specific PropertyGroup), so in that case we won't append to it by default. --> + + + true + - - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ - - + --> + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + - - - - - + --> + + + + + - +--> + +--> - - - true - true - +--> + + + true + - - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> - - - - - - - + --> + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0" /> + + + + - - - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true - - - - true - true - true - - - true - - - - true +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.BeforeCommon.targets +============================================================================================================================================ +--> + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true - true - - .dll + runtime minor version roll-forward: https://github.com/dotnet/core-setup/issues/3546 --> + true + + .dll - false - - - - $(PreserveCompilationContext) - - - - publish - - $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ - $(OutputPath)$(PublishDirName)\ - + is not needed for NETStandard or NETCore since references come from NuGet packages--> + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + --> +--> - - <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder - <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true - <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs - - - $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) - - - $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) - +--> + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + - - <_SDKImplicitReference Include="System" /> - <_SDKImplicitReference Include="System.Data" /> - <_SDKImplicitReference Include="System.Drawing" /> - <_SDKImplicitReference Include="System.Xml" /> +--> + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> - - <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - - <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> - - <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + such if the parse succeeds. --> + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + + + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> - <_SDKImplicitReference Remove="@(Reference)" /> - - - - - - false - - - $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 - - - - <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET - $(_FrameworkIdentifierForImplicitDefine) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET - <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) - <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) - <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) - $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) - $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - - - - - <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) - <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) - - - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> - - - - - - <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - - - - - - <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> - - - - - - <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> - <_DefineConstantsWithoutTrace Remove="TRACE" /> - - - @(_DefineConstantsWithoutTrace) - - - - - - $(DefineConstants);@(_ImplicitDefineConstant) - $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') - - - - - false - true - - - $(AssemblyName).xml - $(IntermediateOutputPath)$(AssemblyName).xml - - - - - - true - true - true - - - - - - - true - + NuGet package, you can just add the Reference to your project file. --> + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + - - $(MSBuildToolsPath)\Microsoft.CSharp.targets - $(MSBuildToolsPath)\Microsoft.VisualBasic.targets - $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets +--> + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets - $(MSBuildToolsPath)\Microsoft.Common.targets - + languages could either be supplied via an SDK or via a NuGet package. --> + $(MSBuildToolsPath)\Microsoft.Common.targets + + using Sdk attribute (from .NET Core Sdk 1.0.0-preview4) --> +--> +--> +--> +--> - - true - + --> + + true + - - Properties - - - $(Configuration.ToUpperInvariant()) +--> + + Properties + + + $(Configuration.ToUpperInvariant()) - $(ImplicitConfigurationDefine.Replace('-', '_')) - $(ImplicitConfigurationDefine.Replace('.', '_')) - $(DefineConstants);$(ImplicitConfigurationDefine) - + --> + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + - - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.FSharp.DesignTime.targets - - - + *************************************************************************************************************** --> + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.FSharp.DesignTime.targets + + + - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.targets - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.targets - + *************************************************************************************************************** --> + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.targets + - +--> + - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - true - true - true - true - true - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - - <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" Condition=" '$(NoStdLib)' != 'true' " /> - - - mscorlib - netcore - netstandard - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + true + true + true + true + true + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" Condition=" '$(NoStdLib)' != 'true' " /> + + + mscorlib + netcore + netstandard + - +--> + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildThisFileDirectory)FSharp.Build.dll - - - - - - - - - - - true - true - - - - .fs - F# - Managed - $(Optimize) - Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier) - - RootNamespace - false - $(Prefer32Bit) - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildThisFileDirectory)FSharp.Build.dll + + + + + + + + + + + true + true + + + + .fs + F# + Managed + $(Optimize) + Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier) + + RootNamespace + false + $(Prefer32Bit) + - - true - - - $(Fsc_NetFramework_ToolPath) - $(Fsc_NetFramework_AnyCpu_ToolExe) - $(Fsc_NetFramework_X86_ToolExe) - - - - $(Fsc_Dotnet_ToolPath) - $(Fsc_Dotnet_ToolExe) - "$(Fsc_Dotnet_DotnetFscCompilerPath)" - - - - false - true - + --> + + true + + + $(Fsc_NetFramework_ToolPath) + $(Fsc_NetFramework_AnyCpu_ToolExe) + $(Fsc_NetFramework_X86_ToolExe) + + + + $(Fsc_Dotnet_ToolPath) + $(Fsc_Dotnet_ToolExe) + "$(Fsc_Dotnet_DotnetFscCompilerPath)" + + + + false + true + - - - - - false - true - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - _ComputeNonExistentFileProperty - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + false + true + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + _ComputeNonExistentFileProperty + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - --simpleresolution $(OtherFlags) - $(OtherFlags) - - - - - - - - <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> - - - + --> + + + + + + + + + + + --simpleresolution $(OtherFlags) + $(OtherFlags) + + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + +--> - - $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets - +--> + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + +--> - - - true - true - true - true - - - - - - - 10.0 - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets - - - - - Managed - +--> + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + - - .NETFramework - v4.0 - - - - Any CPU,x86,x64,Itanium - Any CPU,x86,x64 - - - - - - - true - - true - - - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) - - $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + Native apps) because they do not target a .NET Framework. --> + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) - $(MSBuildFrameworkToolsPath) - - - Windows - 7.0 - $(TargetPlatformSdkRootOverride)\ - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - $(TargetPlatformSdkPath)Windows Metadata - $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral - $(TargetPlatformSdkMetadataLocation) - true - $(WinDir)\System32\WinMetadata - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - + we need to find a directory which does contain mscorlib to allow the inproc compiler to initialize and give us the chance to show certain dialogs in the IDE (which only happen after initialization).--> + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + - - - <_OriginalPlatform>$(Platform) - - <_OriginalConfiguration>$(Configuration) - - <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true - - true - - - AnyCPU - $(Platform) - Debug - $(Configuration) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(TargetType) - library - exe - true - - <_DebugSymbolsProduced>false - <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false - <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false - <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false - - <_DocumentationFileProduced>true - <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false - - false - + --> + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + - + --> + - <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true - <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true - + --> + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + - - .exe - .exe - .exe - .dll - .netmodule - .winmdobj - - - - true - $(OutputPath) - - - $(OutDir)\ - $(MSBuildProjectName) - - - $(OutDir)$(ProjectName)\ - $(MSBuildProjectName) - $(RootNamespace) - $(AssemblyName) - - $(MSBuildProjectFile) - - $(MSBuildProjectExtension) - - $(TargetName).winmd - $(WinMDExpOutputWindowsMetadataFilename) - $(TargetName)$(TargetExt) - - - + --> + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + - <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true - $(_DeploymentPublishableProjectDefault) - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest - - $(AssemblyName).application - - $(AssemblyName).xbap - - $(GenerateManifests) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days - <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) - <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - 100 - - + --> + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + - * - $(UICulture) - - - - <_OutputPathItem Include="$(OutDir)" /> - <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> - <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> - - - + --> + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + - $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) - - $(TargetDir)$(TargetFileName) - $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) - - $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) - - $(ProjectDir)$(ProjectFileName) - - - - - + --> + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + - - *Undefined* - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - - - true - - true - - - true - false - - - $(MSBuildProjectFile).FileListAbsolute.txt - - false - - true - true - <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false - <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true - false - false - - - <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config - - - - - - - - - - - - - - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> - - - $(IntermediateOutputPath)$(TargetName).pdb - <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) - - - $(IntermediateOutputPath)$(TargetName).xml - <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) - - - <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) - <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) - - - - <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> - $(TargetFileName) - - - - <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> - $(ApplicationIcon) - - - - $(_DeploymentTargetApplicationManifestFileName) - + --> + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + - <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> - $(_DeploymentTargetApplicationManifestFileName) - - - - $(TargetDeployManifestFileName) - - - <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> - + references and for copying to the publish output location. --> + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + - - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) - <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> - <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + --> + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) - <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> - <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> - - - - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) - <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) - - - - $(PublishDir)\ - $(OutputPath)app.publish\ - + --> + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + - + --> + - $(PlatformTarget) + --> + $(PlatformTarget) - msil - amd64 - ia64 - x86 - arm - - - true - - - - $(Platform) - msil - amd64 - ia64 - x86 - arm - - None - $(PROCESSOR_ARCHITECTURE) - + --> + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + - - CLR2 - CLR4 - CurrentRuntime - true - false - $(PlatformTarget) - x86 - x64 - CurrentArchitecture - - - - Client - + If support for out-of-proc task execution is added on other runtimes, make sure each task's logic is checked against the current state of support. --> + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + - - false - - - - - true - true - false - + --> + + false + + + + + true + true + false + - - AssemblyFoldersEx - Software\Microsoft\$(TargetFrameworkIdentifier) - Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) - $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config - {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> .winmd; .dll; .exe - + + --> .pdb; .xml; .pri; .dll.config; .exe.config - + - Full - - + --> + Full + + - {CandidateAssemblyFiles} - $(AssemblySearchPaths);$(ReferencePath) - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) - $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} - $(AssemblySearchPaths);{AssemblyFolders} - $(AssemblySearchPaths);{GAC} - $(AssemblySearchPaths);{RawFileName} - $(AssemblySearchPaths);$(OutDir) - + --> + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + - - false - - - - $(NoWarn) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - - - - $(MSBuildThisFileDirectory)$(LangName)\ - - - - $(MSBuildThisFileDirectory)en-US\ - - - - - Project - - - BrowseObject - - - File - - - Invisible - - - File;BrowseObject - - - File;ProjectSubscriptionService - - - - $(DefineCommonItemSchemas) - - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - - - - - - Never - - - Never - - - Never - - - Never - - + typically expect --> + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + - - - true - + --> + + + true + - - - <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath - - + --> + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + - - - <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. - - - - - - - - - + --> + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + - - x86 - + correct value when we're trying to figure out PlatformTargetAsMSBuildArchitecture --> + + x86 + - + --> + - - + --> + + - + --> + BeforeBuild; CoreBuild; AfterBuild - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -3936,52 +3584,52 @@ Copyright (C) Microsoft Corporation. All rights reserved. UnmanagedRegistration; IncrementalClean; PostBuildEvent - - - - - - + + + + + + - - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + --> + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build BeforeRebuild; Clean; $(_ProjectDefaultTargets); AfterRebuild; - + BeforeRebuild; Clean; Build; AfterRebuild; - - - + + + - + --> + - + --> + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - + --> + - - - - - - - - + --> + + + + + + + + + --> - - false - - - - true - - + --> + + false + + + + true + + + --> - - $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata - - - - - $(TargetFileName).config - - - - - - - - - - + --> + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + - - @(_TargetFramework40DirectoryItem) - @(_TargetFramework35DirectoryItem) - @(_TargetFramework30DirectoryItem) - @(_TargetFramework20DirectoryItem) - - @(_TargetFramework20DirectoryItem) - @(_TargetFramework40DirectoryItem) - @(_TargetedFrameworkDirectoryItem) - @(_TargetFrameworkSDKDirectoryItem) - - - - + --> + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + - - - - - - - - - - - - - $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) - $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) - + --> + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + - - true - - - $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) - - - - - - - $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) - - - - - - - - - + resolving from the assemblyfolders global location if we are not acutally targeting a framework--> + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + - + E.g "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0.1\;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\" --> + - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - + --> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + --> - - - - - - + --> + + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + --> - + --> + - + --> + BeforeResolveReferences; AssignProjectConfiguration; @@ -4324,25 +3972,25 @@ Copyright (C) Microsoft Corporation. All rights reserved. GenerateBindingRedirects; ResolveComReferences; AfterResolveReferences - - - + + + - + --> + - + --> + - - - true - true - false + --> + + + true + true + false - false - - true - - - - - - - - - - - <_ProjectReferenceWithConfiguration> - true - true - - - true - true - - - + want this to happen, so just turn off synthetic project reference generation for Silverlight projects. --> + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + - + --> + - - - - + --> + + + + - - <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> - - - - <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> - <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> - - + --> + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + - - true - + --> + + true + - - - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> - true - - - - <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - - - - - <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> - - x86=Win32 - - - <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> - Win32=x86 - - - - - + Configuration information. --> + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + - - - - Platform=%(ProjectsWithNearestPlatform.NearestPlatform) - - - - %(ProjectsWithNearestPlatform.UndefineProperties);Platform - - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> - - + that can't multiplatform. --> + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + - + --> + - - $(NuGetTargetMoniker) - $(TargetFrameworkMoniker) - + --> + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> - true - %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework - - + --> + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> - true - - + --> + true + + - - - - + --> + + + + - <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> - <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> - <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> - - + --> + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + - - - - - - - + that we are using a version of NuGet which supports that parameter on this task. --> + + + + + + + - - - - TargetFramework=%(AnnotatedProjects.NearestTargetFramework) - + --> + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + - - %(AnnotatedProjects.UndefineProperties);TargetFramework - - - - %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier - + --> + + %(AnnotatedProjects.UndefineProperties);TargetFramework + + + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier + - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> - - - - - - - - - <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> - @(_TargetFrameworkInfo) - @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') - @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') - $(_AdditionalPropertiesFromProject) - true - - false - true - - true - $(Platforms) + --> + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + + false + true + + true + $(Platforms) - @(ProjectConfiguration->'%(Platform)'->Distinct()) - - - - - - <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> - $(%(AdditionalTargetFrameworkInfoProperty.Identity)) - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false - - - - - - <_TargetFrameworkInfo Include="$(TargetFramework)"> - $(TargetFramework) - $(TargetFrameworkMoniker) - $(TargetPlatformMoniker) - None - $(_AdditionalTargetFrameworkInfoProperties) - - - + Build the `Platforms` property from that. --> + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) + + + - + --> + - + --> + AssignProjectConfiguration; _SplitProjectReferencesByFileExistence; _GetProjectReferenceTargetFrameworkProperties; _GetProjectReferencePlatformProperties - - - + + + - - - - - $(ProjectReferenceBuildTargets) - - - ProjectReference - - - + --> + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + - - - - + --> + + + + - - - - + --> + + + + - - - - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + --> + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> - <_ResolvedProjectReferencePaths> - %(_ResolvedProjectReferencePaths.OriginalItemSpec) - - - - - - + --> + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + - - <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> - %(ReferencePath.ProjectReferenceOriginalItemSpec) - - - - + --> + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + - - $(GetTargetPathDependsOn) - - + --> + + $(GetTargetPathDependsOn) + + - - $(GetTargetPathDependsOn) - + --> + + $(GetTargetPathDependsOn) + - - - - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion.TrimStart('vV')) - $(TargetRefPath) - @(CopyUpToDateMarker) - - - + BeforeTargets. --> + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + - - - - %(_ApplicationManifestFinal.FullPath) - - - + --> + + + + %(_ApplicationManifestFinal.FullPath) + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + ResolveProjectReferences; FindInvalidProjectReferences; @@ -4905,69 +4553,69 @@ Copyright (C) Microsoft Corporation. All rights reserved. PrepareForBuild; ResolveSDKReferences; ExpandSDKReferences; - - - - - <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> - + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + - - $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache - - - - <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> - - - - <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false - true - false - Warning - $(BuildingProject) - $(BuildingProject) - $(BuildingProject) - false - - + --> + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + - - - true - - + ide will show one of the references as not resolved, this will not break the build but is a display issue --> + + + true + + - - false - true - - - - - - - - - - - - - - - - - + --> + + false + true + + + + + + + + + + + + + + + + + - - + --> + + - - %(FullPath) - - - %(ReferencePath.Identity) - - - - + assembly unless already specified. --> + + %(FullPath) + + + %(ReferencePath.Identity) + + + + - - - - - + --> + + + + + - - - $(_GenerateBindingRedirectsIntermediateAppConfig) - - - - - $(TargetFileName).config - - - + --> + + + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + - - Software\Microsoft\Microsoft SDKs - $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs - - $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 - - true - Windows - 8.1 - - false - WindowsPhoneApp - 8.1 - - - - - - - - - - - - - + --> + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + - + --> + GetInstalledSDKLocations - - - - Debug - Retail - Retail - $(ProcessorArchitecture) - Neutral - - - true - - - - - - - - - - - - + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + - + --> + GetReferenceTargetPlatformMonikers - - - - - - - - <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> - - - - - - - + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + - + --> + ResolveSDKReferences - + .winmd; .dll - - - - - - - - - - - + + + + + + + + + + + - - - - false - false - false - $(TargetFrameworkSDKToolsDirectory) - true - - - - - - - - - - - - - - - <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> - - - + --> + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5225,8 +4873,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(TargetDir) - - + + - + --> + GetFrameworkPaths; GetReferenceAssemblyPaths; ResolveReferences - - - - - <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - - - $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache - - + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5267,29 +4915,29 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(OutDir) - - - - false - false - false - false - false - true - false - - - <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> - - - <_RARResolvedReferencePath Include="@(ReferencePath)" /> - - - - - - - + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + - - false - - - - $(IntermediateOutputPath) - - + --> + + false + + + + $(IntermediateOutputPath) + + - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - false - - - - - - - - - - - - - - + --> + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + - + --> + + --> - + --> + $(PrepareResourcesDependsOn); PrepareResourceNames; ResGen; CompileLicxFiles - - - + + + - + --> + AssignTargetPaths; SplitResourcesByCulture; CreateManifestResourceNames; CreateCustomManifestResourceNames - - - + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + - + --> + - - - - - - - <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> - - - Resx - - - Non-Resx - - - - - - - - - + --> + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + - - - - - - Resx - - - Non-Resx - - - - - - - - - - - - <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> - <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> - - + i.e. either Licx, or resources that don't have culture info --> + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + - - - - + --> + + + + - - ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen - FindReferenceAssembliesForReferences - true - false - - + --> + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + - + --> + - + --> + - - - <_Temporary Remove="@(_Temporary)" /> - - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - - + --> + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - true - - - true - - - - true - - - true - - - + suddenly start failing to build.--> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + --> - - - - - - - + --> + + + + + + + + --> - + --> + ResolveReferences; ResolveKeySource; @@ -5683,96 +5331,96 @@ Copyright (C) Microsoft Corporation. All rights reserved. CoreCompile; _TimeStampAfterCompile; AfterCompile; - - - + + + - - - - - - <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> - - <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> - Resx - false - - <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - false - - - + --> + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + - - - true - $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) - - - true - - - - - + --> + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + - - - - - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + + + - - true - - - - - - - - - - + --> + + true + + + + + + + + + + - + --> + - + --> + - - - <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + - - - $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + - - - <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + - - - __NonExistentSubDir__\__NonExistentFile__ - - + --> + + + __NonExistentSubDir__\__NonExistentFile__ + + - - <_SGenDllName>$(TargetName).XmlSerializers.dll - <_SGenDllCreated>false - <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) - <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto - <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off - true - false - true - + --> + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - + --> + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + --> - + --> + _GenerateSatelliteAssemblyInputs; ComputeIntermediateSatelliteAssemblies; GenerateSatelliteAssemblies - - - + + + - - - - - - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> - - <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> - Resx - true - - <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - true - - - + --> + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + - - - <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) - - - - - - + --> + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + - + --> + CreateManifestResourceNames - - - - - - %(EmbeddedResource.Culture) - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - - - + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + - - $(Win32Manifest) - + --> + + $(Win32Manifest) + - - - + --> + + + - <_DeploymentBaseManifest>$(ApplicationManifest) - <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + property is set though, prefer that one be used to specify the manifest. --> + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) - true - - - - - $(ApplicationManifest) - $(ApplicationManifest) - - - - - - $(_FrameworkVersion40Path)\default.win32manifest - - + a manifest to their built assemblies --> + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + --> - + --> + SetWin32ManifestProperties; GenerateApplicationManifest; GenerateDeploymentManifest - - + + - - - <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> - - - - - - + --> + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + - - - - - - - - - <_DeploymentCopyApplicationManifest>true - - + --> + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + - - - <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) - <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) - - + --> + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) - <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) - - - - - - - + --> + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + - - - <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> - <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> - - + --> + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + - - - - - - - <_DeploymentManifestType>Native - - - - - - - <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') - - - + --> + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + CleanPublishFolder; _DeploymentGenerateTrustInfo $(DeploymentComputeClickOnceManifestInfoDependsOn) - - + + - - - - <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - - - <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> - <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> - - - - <_SatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> - <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> - true - - <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> - - - - <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_SatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> - - - + --> + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + + <_SatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_SatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + - <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> - - - - <_ClickOnceFiles Include="$(PublishedSingleFilePath)" /> - <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> - - <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> - - - + --> + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + - - <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> - <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> - - - + --> + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + - - - - - - - - - - - - - - - <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> - - - <_DeploymentManifestType>ClickOnce - + This is being done to avoid Windows Forms designer memory issues that can arise while operating directly on files located in Obj directory. --> + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + - - <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) - - - - - - - - - - - - - - - + --> + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - true - false - + --> + + true + false + - + --> + CopyFilesToOutputDirectory - - - + + + - - - false - false - - - - - false - false - false - - - true - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - false - false - - - - - - + --> + + + + false + false + + + + + + - - - - - + input to projects that reference this one. --> + + + + + - + --> + - - <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + --> + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence - true + --> + true <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> AssignProjectConfiguration; _SplitProjectReferencesByFileExistence - + AssignTargetPaths; $(_TargetsThatPrepareProjectReferences); _GetProjectReferenceTargetFrameworkProperties; _PopulateCommonStateForGetCopyToOutputDirectoryItems - + - <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems - - <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject - - + --> + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + - - <_GCTODIKeepDuplicates>false - <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> - - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - - <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> - - + a non-empty value and the original behavior will be restored. --> + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + - - - - %(CopyToOutputDirectory) - - - + --> + + + + %(CopyToOutputDirectory) + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - - - - - - - - - - - - + --> + + + + + + + + + + + + - - - - - - - - - <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false - - - - - - - <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false - - - - - + --> + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + - - - - <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true - - - - - + --> + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + --> - - - - <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> - - - - - - - - - - - - - + --> + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + - - <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> - - - - - - - - + the current final output and intermediate output directories. --> + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + - - - - - + --> + + + + + - - - + --> + + + - - <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - + --> + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - - - - - - + --> + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + --> - + --> + BeforeClean; UnmanagedUnregistration; @@ -6911,81 +6559,81 @@ Copyright (C) Microsoft Corporation. All rights reserved. CleanReferencedProjects; CleanPublishFolder; AfterClean - - - + + + - + --> + - + --> + - + --> + - - + --> + + - - - - + --> + + + + - - - - - - - - - - - - - - - - - - - - <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> - - - - - - - - - - + Declare items of this type if you want Clean to delete them. --> + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + - + --> + - - - - - - - - + --> + + + + + + + + - - - + --> + + + + --> - - - - - - + --> + + + + + + + --> - + --> + SetGenerateManifests; Build; PublishOnly - + _DeploymentUnpublishable - - - + + + - - - + --> + + + - - - - - true - - + --> + + + + + true + + - + --> + SetGenerateManifests; PublishBuild; @@ -7117,33 +6765,33 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; _DeploymentSignClickOnceDeployment; AfterPublish - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -7152,77 +6800,77 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; GenerateSerializationAssemblies; CreateSatelliteAssemblies; - - - + + + - + --> + - - - - - <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) - <_DeploymentApplicationDir>$(PublishDir)$(_DeploymentApplicationFolderName)\ - - - - false - false - - - - - - - - - - - - - - - - - + This is done because some servers misinterpret "." as a file extension. --> + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(PublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + - - - - + --> + + + + - - - - - - - - - - + --> + + + + + + + + + + + --> - + --> + - - - true - $(TargetPath) - $(TargetFileName) - true - - - - - - true - $(TargetPath) - $(TargetFileName) - - + --> + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + - - PrepareForBuild - true - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> - $(TargetDir)$(TargetFileName).config - $(TargetFileName).config - - $(AppConfig) - - - - <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> - <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="'@(NativeReference)'!='' or '@(_IsolatedComReference)'!=''"> - $(_DeploymentTargetApplicationManifestFileName) - - $(OutDir)$(_DeploymentTargetApplicationManifestFileName) - - - - - - - %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) - - - + --> + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="'@(NativeReference)'!='' or '@(_IsolatedComReference)'!=''"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + - - - - - - @(_DebugSymbolsOutputPath->'%(FullPath)') - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputPdbItem->'%(FullPath)') - @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + - - - - - - @(FinalDocFile->'%(FullPath)') - true - @(DocFileItem->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputDocItem->'%(FullPath)') - @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + - - PrepareForBuild;PrepareResourceNames - - - - - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - %(EmbeddedResource.Culture) - - - - - - $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) - - %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) - - - + --> + + PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - - - - - - $(MSBuildProjectFullPath) - $(ProjectFileName) - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + - - - - - - @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') - $(_SGenDllName) - - - + --> + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + - - + --> + + - - - + Needed for certain build environments that import partial sets of targets. --> + + + - - - - - - - - ResolveSDKReferences;ExpandSDKReferences - + --> + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + - - - - - - + --> + + + + + + + --> - + --> + $(CommonOutputGroupsDependsOn); BuildOnlySettings; PrepareForBuild; AssignTargetPaths; ResolveReferences - - + + - + --> + - + --> + $(BuiltProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - + + + + + + + - + --> + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(DocumentationProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SGenFilesOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(ReferenceCopyLocalPathsOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - + --> + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - + + + + --> - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets - - - - - - true - - - - - - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets - - - + retrieve them. --> + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets - - - - - - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets - $(MSBuildToolsPath)\NuGet.targets - + --> + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + +--> - - - true - - NuGet.Build.Tasks.dll - - false - - true - true - - false - - WarnAndContinue - - $(BuildInParallel) - true - - <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true - - $(MSBuildInteractive) - - true - - true - - <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true - - - - <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + --> + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + skipped. --> <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); NuGetRestoreTargets=$(MSBuildThisFileFullPath); RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); - - + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); _RestoreSolutionFileUsed=true; @@ -7786,55 +7434,55 @@ Copyright (c) .NET Foundation. All rights reserved. SolutionFileName=$(SolutionFileName); SolutionPath=$(SolutionPath); SolutionExt=$(SolutionExt); - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - + --> + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + - + --> + - + --> + - - - <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> - - + --> + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + - - - exclusionlist - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> - - - - - - - - - - - - - - - - - + --> + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + - - - - - - <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> - <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> - - - - - - - - - - + --> + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + - - - + --> + + + - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> - RestoreSpec - $(MSBuildProjectFullPath) - - - + --> + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + - - - netcoreapp1.0 - - - - - - + --> + + + netcoreapp1.0 + + + + + + - - - - - - - + --> + + + + + + + - + --> + - - <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true - - - <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true - - - - - - - <_HasPackageReferenceItems /> - - + --> + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + - - - true - - + --> + + + true + + - - - <_RestoreProjectFramework /> - - - - - - - <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> - - + --> + + + <_RestoreProjectFramework /> + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + - - - <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> - - + --> + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + - - - $(SolutionDir) - - - - - - - - - - + --> + + + $(SolutionDir) + + + + + + + + + + - + --> + - - - - - - + --> + + + + + + - - - <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> - $(RestoreAdditionalProjectSources) - $(RestoreAdditionalProjectFallbackFolders) - $(RestoreAdditionalProjectFallbackFoldersExcludes) - - - + --> + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + - - - - $(MSBuildProjectExtensionsPath) - - - - + --> + + + + $(MSBuildProjectExtensionsPath) + + + + - - <_RestoreProjectName>$(MSBuildProjectName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) - + --> + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + - - <_RestoreProjectVersion>1.0.0 - <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) - <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) - - - - <_RestoreCrossTargeting>true - - - - <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(_RestoreProjectVersion) - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(RestoreProjectStyle) - $(RestoreOutputAbsolutePath) - $(RuntimeIdentifiers);$(RuntimeIdentifier) - $(RuntimeSupports) - $(_RestoreCrossTargeting) - $(RestoreLegacyPackagesDirectory) - $(ValidateRuntimeIdentifierCompatibility) - $(_RestoreSkipContentFileWrite) - $(_OutputConfigFilePaths) - $(TreatWarningsAsErrors) - $(WarningsAsErrors) - $(NoWarn) - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) - $(CentralPackageVersionOverrideEnabled) - $(CentralPackageTransitivePinningEnabled) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(RestoreOutputAbsolutePath) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(_CurrentProjectJsonPath) - $(RestoreProjectStyle) - $(_OutputConfigFilePaths) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - $(MSBuildProjectDirectory)\packages.config - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - $(_OutputSources) - $(SolutionDir) - $(_OutputRepositoryPath) - $(_OutputConfigFilePaths) - $(_OutputPackagesPath) - @(_RestoreTargetFrameworksOutputFiltered) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - @(_RestoreTargetFrameworksOutputFiltered) - - - + --> + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + - - - + --> + + + - + --> + - - - - - - - + --> + + + + + + + - + --> + - - - - - - - - - - - - - - - - - - - - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - TargetFrameworkInformation - $(MSBuildProjectFullPath) - $(PackageTargetFallback) - $(AssetTargetFallback) - $(TargetFramework) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion) - $(TargetFrameworkMoniker) - $(TargetFrameworkProfile) - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetPlatformVersion) - $(TargetPlatformMinVersion) - $(CLRSupport) - $(RuntimeIdentifierGraphPath) - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + + + - + --> + - - - - - - - <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> - - + --> + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + - - - - - - + --> + + + + + + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - - - - - - - - <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> - - - - - - + --> + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + - - - <_RestorePackagesPathOverride>$(RestorePackagesPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + - - - <_RestorePackagesPathOverride>$(RestoreRepositoryPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + - - - <_RestoreSourcesOverride>$(RestoreSources) - - + --> + + + <_RestoreSourcesOverride>$(RestoreSources) + + - - - <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) - - + --> + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + - - - <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> - - + --> + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + - + --> + - +--> + +--> - - $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets - +--> + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + +--> - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - $(MSBuildThisFileDirectory)\tools\net6.0\Microsoft.NET.Build.Extensions.Tasks.dll - $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll - - true - - - - +--> + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net6.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + +--> +--> +--> - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + +--> - - - Microsoft.TestPlatform.Build.dll - $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) - - - +--> + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +--> - +--> + +--> - - true - - - - true - + --> + + true + + + + true + - - <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets - <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) - - + --> + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + +--> + --> - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + $(AdditionalSourcesText) namespace Microsoft.BuildSettings [<System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName="$(TargetFrameworkMonikerDisplayName)")>] do () - - + + - - - - <_FsGeneratedTfmAttributesSource Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" /> - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + <_FsGeneratedTfmAttributesSource Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" /> + + - - - <_OldRootSdkLocation>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp - $(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\FSharpSdk - <_CoreRelativeSuffix>.NETCore\$(TargetFSharpCoreVersion)\FSharp.Core.dll - <_FrameworkRelativeSuffix>.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll - <_PortableRelativeSuffix>.NETPortable\$(TargetFSharpCoreVersion)\FSharp.Core.dll - - <_OldCoreSdkPath>$(_OldRootSdkLocation)\$(_CoreRelativeSuffix) - <_NewCoreSdkPath>$(NewFSharpSdkLocation)\$(_CoreRelativeSuffix) - - <_OldFrameworkSdkPath>$(_OldRootSdkLocation)\$(_FrameworkRelativeSuffix) - <_NewFrameworkSdkPath>$(NewFSharpSdkLocation)\$(_FrameworkRelativeSuffix) - - <_OldPortableSdkPath>$(_OldRootSdkLocation)\$(_PortableRelativeSuffix) - <_NewPortableSdkPath>$(NewFSharpSdkLocation)\$(_PortableRelativeSuffix) - - - - - $(_NewCoreSdkPath) - - - - $(_NewFrameworkSdkPath) - - - - $(_NewPortableSdkPath) - - - - - - <_OldRefAssemTPLocation>Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\Type Providers\FSharp.Data.TypeProviders.dll - <_OldSdkTPLocationPrefix>$(MSBuildProgramFiles32)\Microsoft SDKs\F# - <_OldSdkTPLocationSuffix>Framework\v4.0\FSharp.Data.TypeProviders.dll - - - - - - - - - + --> + + + <_OldRootSdkLocation>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp + $(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\FSharpSdk + <_CoreRelativeSuffix>.NETCore\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_FrameworkRelativeSuffix>.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_PortableRelativeSuffix>.NETPortable\$(TargetFSharpCoreVersion)\FSharp.Core.dll + + <_OldCoreSdkPath>$(_OldRootSdkLocation)\$(_CoreRelativeSuffix) + <_NewCoreSdkPath>$(NewFSharpSdkLocation)\$(_CoreRelativeSuffix) + + <_OldFrameworkSdkPath>$(_OldRootSdkLocation)\$(_FrameworkRelativeSuffix) + <_NewFrameworkSdkPath>$(NewFSharpSdkLocation)\$(_FrameworkRelativeSuffix) + + <_OldPortableSdkPath>$(_OldRootSdkLocation)\$(_PortableRelativeSuffix) + <_NewPortableSdkPath>$(NewFSharpSdkLocation)\$(_PortableRelativeSuffix) + + + + + $(_NewCoreSdkPath) + + + + $(_NewFrameworkSdkPath) + + + + $(_NewPortableSdkPath) + + + + + + <_OldRefAssemTPLocation>Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\Type Providers\FSharp.Data.TypeProviders.dll + <_OldSdkTPLocationPrefix>$(MSBuildProgramFiles32)\Microsoft SDKs\F# + <_OldSdkTPLocationSuffix>Framework\v4.0\FSharp.Data.TypeProviders.dll + + + + + + + + + - - $(MSBuildProjectFullPath) - - - $(TargetsForTfmSpecificContentInPackage);PackageFSharpDesignTimeTools - - - $(RestoreAdditionalProjectSources);$(_FSharpCoreLibraryPacksFolder) - - - - - - - - - - - fsharp41 - tools - - - - - <_ResolvedOutputFiles Include="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/*" Exclude="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/FSharp.Core.dll;%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/System.ValueTuple.dll" Condition="'%(_ResolvedProjectReferencePaths.IsFSharpDesignTimeProvider)' == 'true'"> - %(_ResolvedProjectReferencePaths.NearestTargetFramework) - - <_ResolvedOutputFiles Include="@(BuiltProjectOutputGroupKeyOutput)" Condition=" '$(IsFSharpDesignTimeProvider)' == 'true' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'FSharp.Core.dll' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'System.ValueTuple.dll' "> - $(TargetFramework) - - - $(FSharpToolsDirectory)/$(FSharpDesignTimeProtocol)/%(_ResolvedOutputFiles.NearestTargetFramework)/%(_ResolvedOutputFiles.FileName)%(_ResolvedOutputFiles.Extension) - - - +C:\Program Files\dotnet\sdk\6.0.300\FSharp\Microsoft.FSharp.NetSdk.targets +============================================================================================================================================ +--> + + $(MSBuildProjectFullPath) + + + $(TargetsForTfmSpecificContentInPackage);PackageFSharpDesignTimeTools + + + $(RestoreAdditionalProjectSources);$(_FSharpCoreLibraryPacksFolder) + + + + + + + + + + + fsharp41 + tools + + + + + <_ResolvedOutputFiles Include="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/*" Exclude="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/FSharp.Core.dll;%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/System.ValueTuple.dll" Condition="'%(_ResolvedProjectReferencePaths.IsFSharpDesignTimeProvider)' == 'true'"> + %(_ResolvedProjectReferencePaths.NearestTargetFramework) + + <_ResolvedOutputFiles Include="@(BuiltProjectOutputGroupKeyOutput)" Condition=" '$(IsFSharpDesignTimeProvider)' == 'true' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'FSharp.Core.dll' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'System.ValueTuple.dll' "> + $(TargetFramework) + + + $(FSharpToolsDirectory)/$(FSharpDesignTimeProtocol)/%(_ResolvedOutputFiles.NearestTargetFramework)/%(_ResolvedOutputFiles.FileName)%(_ResolvedOutputFiles.Extension) + + + + --> - - true - + --> + + true + - - - <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> - - - - - - - - - + --> + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + - - true - + --> + + true + - + --> + - - - <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> - $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) - $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) - - - + --> + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + - @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) - - + --> + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + +--> +--> - - - TargetFramework - TargetFrameworks - - - true - - +--> + + + TargetFramework + TargetFrameworks + + + true + + - - + --> + + - - - <_MainReferenceTarget Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets - <_MainReferenceTarget Condition="'$(_MainReferenceTarget)' == ''">GetTargetPath - GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) - $(_MainReferenceTarget);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) - GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) - Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) - $(ProjectReferenceTargetsForCleanInOuterBuild);$(ProjectReferenceTargetsForBuildInOuterBuild);$(ProjectReferenceTargetsForRebuildInOuterBuild) - $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) - - - - - - - - - - - + --> + + + <_MainReferenceTarget Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTarget Condition="'$(_MainReferenceTarget)' == ''">GetTargetPath + GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) + $(_MainReferenceTarget);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) + GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) + Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForCleanInOuterBuild);$(ProjectReferenceTargetsForBuildInOuterBuild);$(ProjectReferenceTargetsForRebuildInOuterBuild) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + + + + + + + + + +--> - +--> + +--> +--> +--> - - - $(MSBuildThisFileDirectory)..\tools\ - net8.0 - net472 - $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ - $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll +--> + + + $(MSBuildThisFileDirectory)..\tools\ + net6.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll - Microsoft.NETCore.App;NETStandard.Library - + --> + Microsoft.NETCore.App;NETStandard.Library + - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - $(_IsExecutable) - - - - netcoreapp2.2 - - - false - DotnetTool - $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) - - - Preview - - - - - + --> + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + - - true - - +--> + +--> +--> - - - $(MSBuildProjectExtensionsPath)/project.assets.json - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + --> + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) - $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) - - false - - false - - true - $(IntermediateOutputPath)NuGet\ - true - $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) - $(TargetFrameworkMoniker) - true + be stored in a shared directory next to the assets.json file --> + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true - false + TargetDefinitions, FileDefinitions and FileDependencies items. --> + false - true - - - - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) - - - - - + its own multi-targeting logic, or if the current SDK targets will pick the assets correctly. --> + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + - + --> + $(ResolveAssemblyReferencesDependsOn); ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; - + ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; $(PrepareResourcesDependsOn) - - - - - - $(RootNamespace) - - - $(AssemblyName) - - - $(MSBuildProjectDirectory) - - - $(TargetFileName) - - - $(MSBuildProjectFile) - - - + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + - - true - + --> + + true + + --> - + --> + ResolveLockFileReferences; ResolveLockFileAnalyzers; @@ -9287,110 +8932,101 @@ Copyright (c) .NET Foundation. All rights reserved. ResolveRuntimePackAssets; RunProduceContentAssets; IncludeTransitiveProjectReferences - - - + + + + --> - - - - + --> + + + + - + run and created the assets file. --> + - - - - - - - - - - - - - - - - - <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) - roslyn$(_RoslynApiVersion) - - - - - - false - - - true - - - true - - - - true - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + compile errors. --> + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + match the expected version --> + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> - - - <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> - - + (that was spread across different tasks/targets) for backwards compatibility. --> + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + - + --> + + + + + + - - - - - - + --> + + + + + + - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + - - - - + but the names depend upon the items themselves. Split it apart. --> + + + + - - + --> + + - - true - + --> + + true + - - + project, use that, in order to preserve metadata (such as aliases). --> + + - - - - - - - - - - - - - - + a reference with a warning. See https://github.com/dotnet/sdk/issues/1499 --> + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> - - <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - - - - + --> + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + - + NETSDK1056. --> + - - +--> + + +--> - - - true - true - true - true - - +--> + + + true + true + true + true + + - - $(DefaultItemExcludes);$(BaseOutputPath)/** - - $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** - - $(DefaultItemExcludes);**/*.user - $(DefaultItemExcludes);**/*.*proj - $(DefaultItemExcludes);**/*.sln - $(DefaultItemExcludes);**/*.vssscc - $(DefaultItemExcludes);**/.DS_Store + This is in the .targets because it needs to come after the final BaseOutputPath has been evaluated. --> + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc - $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** - + that are in the project folder. --> + $(DefaultItemExcludesInProjectFolder);**/.*/** + - + in the project file. --> + - 1.6.1 - - 2.0.3 - + produced, so we will roll forward to the latest version. --> + 1.6.1 + + 2.0.3 + +--> +--> - - true - false - <_TargetLatestRuntimePatchIsDefault>true - - - true - - - - - all - true - - - all - true - - - - - - - - - - - - + --> + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + - - - - - - - - - + A FrameworkReference to Microsoft.AspNetCore.App should be used instead, and will be implicitly included by Microsoft.NET.Sdk.Web. --> + + + + + + + + + - - - - - - - - - - - - + should be replaced with a FrameworkReference. --> + + + + + + + + + + + + - - $(_TargetFrameworkVersionWithoutV) - - - - - - - - https://aka.ms/sdkimplicitrefs - - - - - - - - - - - <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> - - - - false - - - - - - https://aka.ms/sdkimplicititems - + this should prevent breaking it. --> + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + - - - - - - - - - - - - - - - - - - - - - - - - - - <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> - - - + be easy to miss the duplicate items error which is the real source of the problem. --> + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + +--> - - - + if building with an implicit restore. --> + + + - - + --> + + - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + --> + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - - - - - - - - - - - - - - - true - - - - - + --> + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + +--> +--> - +--> + $(ResolveAssemblyReferencesDependsOn); ResolveTargetingPackAssets; - - - - - - - + + + + + + + - - - - - - - - + we can't do the change atomically --> + + + + + + + + - - - - - - - - - - - true - true - - - <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - - - - - - - $(RuntimeIdentifier) - $(DefaultAppHostRuntimeIdentifier) - - - - - - - - - - - true - true - false - - - - [%(_PackageToDownload.Version)] - - - - - - - - <_ImplicitPackageReference Remove="@(PackageReference)" /> - - - + --> + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + - - - - - - + --> + + + + + + - - - - - - - %(ResolvedTargetingPack.PackageDirectory) - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> - %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) - - - - - %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) - - - - @(ResolvedAppHostPack->'%(Path)') - - - - %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) - - - - @(ResolvedSingleFileHostPack->'%(Path)') - - - - %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) - - - - @(ResolvedComHostPack->'%(Path)') - - - - %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) - - - - @(ResolvedIjwHostPack->'%(Path)') - - - - - - - - - - + --> + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + - - - - true - false - - - - - - - - - - + --> + + + + true + false + + + + + + + + + + - $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) - - - - - - - - - - - - - - - - - - - + that consume it. --> + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + - - - - - - <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> - - - + --> + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + - - - - - - - - + --> + + + + + + + + - + --> + - - - <_Parameter1>$(UserSecretsId.Trim()) - - - + --> + + + <_Parameter1>$(UserSecretsId.Trim()) + + + - - - - - - $(_IsNETCoreOrNETStandard) - - - true - false - true - $(MSBuildProjectDirectory)/runtimeconfig.template.json - true - true - <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache - <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) - <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache - <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) - <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache - <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) - - - - <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true - - - false - true - - - $(BundledRuntimeIdentifierGraphFile) - - $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json - - - - - - - - - - - true - - - false - - - $(AssemblyName).deps.json - $(TargetDir)$(ProjectDepsFileName) - $(AssemblyName).runtimeconfig.json - $(TargetDir)$(ProjectRuntimeConfigFileName) - $(TargetDir)$(AssemblyName).runtimeconfig.dev.json - true - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + + + + + $(_IsNETCoreOrNETStandard) + + + true + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + +--> - - - true - true - - - - CurrentArchitecture - CurrentRuntime - - - <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so - <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe - <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) - <_DotNetAppHostExecutableNameWithoutExtension>apphost - <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) - <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost - <_DotNetComHostLibraryNameWithoutExtension>comhost - <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) - <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost - <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) - <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) - <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) - - - - - - <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> - - +--> + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + - - - Microsoft.NETCore.App - - + --> + + + Microsoft.NETCore.App + + - - <_DefaultUserProfileRuntimeStorePath>$(HOME) - <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) - <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) - $(_DefaultUserProfileRuntimeStorePath) - - - true - - - true - - - - false - true - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + - - true - - - true - - - $(AvailablePlatforms),ARM32 - - - $(AvailablePlatforms),ARM64 - - - $(AvailablePlatforms),ARM64 - - - - false - - - - true - - - - - <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true - <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true - - <_BinaryFormatterObsoleteAsError>true - - true - false - - + --> + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + _CheckForBuildWithNoBuild; $(CoreBuildDependsOn); GenerateBuildDependencyFile; GenerateBuildRuntimeConfigurationFiles - - - + + + _SdkBeforeClean; $(CoreCleanDependsOn) - - - + + + _SdkBeforeRebuild; $(RebuildDependsOn) - - - - - - - - - + + - - - + --> + + + - - - - 1.0.0 - - - - - - - - - - - - - <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> - - <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> - - - + --> + + + + 1.0.0 + + + + + + + + + + + - - - + during incremental builds when the task is skipped --> + + + - - - - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + - - - <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true - LatestMinor - + --> + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + - - - <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true - - - + other values should still keep failing as they won't have any effect when run on 2.*. --> + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_CleaningWithoutRebuilding>true - false - - - - - <_CleaningWithoutRebuilding>false - - + during incremental builds when the task is skipped --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + --> + + + + + $(CompileDependsOn); _CreateAppHost; _CreateComHost; _GetIjwHostPaths; - - + + - - - - <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true - <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true - - - + --> + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + - - - $(SingleFileHostSourcePath) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) - - + --> + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + - - - - - @(_NativeRestoredAppHostNETCore) - - - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) - - - - - - + --> + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + - - - - - + --> + + + + + - - - - + --> + + + + - - - + --> + + + - - - $(AssemblyName).comhost$(_ComHostLibraryExtension) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) - - - + --> + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + - - - + --> + + + - - - - <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest - PreserveNewest - - - + --> + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + - - PreserveNewest - Never - - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest + --> + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest - Always - - - - - $(AssemblyName).$(_DotNetComHostLibraryName) - PreserveNewest - PreserveNewest - - - %(FileName)%(Extension) - PreserveNewest - PreserveNewest - - - - - $(_DotNetIjwHostLibraryName) - PreserveNewest - PreserveNewest - - - + places the correct unbundled apphost in the publish directory. --> + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + - - - <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + --> + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> - <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> - <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> - <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> - - + --> + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + - - - - - true - - - true - - - - - + --> + + + + + true + + + true + + + + + - - $(StartWorkingDirectory) - - - - - $(StartProgram) - $(StartArguments) - - - - - - dotnet - <_NetCoreRunArguments>exec "$(TargetPath)" - $(_NetCoreRunArguments) $(StartArguments) - $(_NetCoreRunArguments) - - - $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) - $(StartArguments) - - - - - $(TargetPath) - $(StartArguments) - - - mono - "$(TargetPath)" $(StartArguments) - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) - - - - - + --> + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + - + --> + $(CreateSatelliteAssembliesDependsOn); CoreGenerateSatelliteAssemblies - - - - - - - <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs - <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll - - - - <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) - - - - - - - true - - - - - - - - - - - - - + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + - + --> + - - - - - + --> + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - + --> + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + - - - - - - + --> + + + + + + - - - - - - - - - - false - - + --> + + + + + + + + false + + - false - - - - false - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true - - - - + to run it. --> + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + - - - + --> + + + - - - - - - - - - - - - - - <_SourceLinkSdkSubDir>build - <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting - true - - - - - - - - local - - - - - - - - - - - git - - - - - - - - - - - - - - - - - - - - - - - - - - $(RepositoryUrl) - $(ScmRepositoryUrl) - - - - %(SourceRoot.ScmRepositoryUrl) - - - - - - - - <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json - - - - - - - - - <_GenerateSourceLinkFileBeforeTargets>Link - <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches - - - <_GenerateSourceLinkFileBeforeTargets>CoreCompile - <_GenerateSourceLinkFileDependsOnTargets /> - - - - - - - - - - - - - - - - %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" - - - - - - - - - <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll - <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - - - <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll - <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - - - <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll - <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - - - <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll - <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - + --> + + + + + + + + +--> - +--> + $(CommonOutputGroupsDependsOn); - - - + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); _GenerateDesignerDepsFile; _GenerateDesignerRuntimeConfigFile; - GetCopyToOutputDirectoryItems; _GatherDesignerShadowCopyFiles; - - <_DesignerDepsFileName>$(AssemblyName).designer.deps.json - <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json - <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) - <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) - - - + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + - - - - - - - - - - <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> - - - - - - - - - - - <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + --> + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> - <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> - - - - - + --> + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + + +--> +--> +--> - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) - true - - - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - + --> + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + - - - - - <_InformationalVersionContainsPlus>false - <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true - $(InformationalVersion)+$(SourceRevisionId) - $(InformationalVersion).$(SourceRevisionId) - - - - - - <_Parameter1>$(Company) - - - <_Parameter1>$(Configuration) - - - <_Parameter1>$(Copyright) - - - <_Parameter1>$(Description) - - - <_Parameter1>$(FileVersion) - - - <_Parameter1>$(InformationalVersion) - - - <_Parameter1>$(Product) - - - <_Parameter1>$(Trademark) - - - <_Parameter1>$(AssemblyTitle) - - - <_Parameter1>$(AssemblyVersion) - - - <_Parameter1>RepositoryUrl - <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) - <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) - - - <_Parameter1>$(NeutralLanguage) - - - %(InternalsVisibleTo.PublicKey) - - - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) - - - <_Parameter1>%(AssemblyMetadata.Identity) - <_Parameter2>%(AssemblyMetadata.Value) - - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) - - - <_Parameter1>$(TargetPlatformIdentifier) - - - - - - + --> + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + - - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache - - - - - - - - - - - - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + - - - - - - $(AssemblyVersion) - $(Version) - - + --> + + + + + + $(AssemblyVersion) + $(Version) + + - +--> + +--> - - - - <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config - - - - - - - - - - - - - - - - - +--> + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + +--> +--> +--> - + --> + - - - <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> - <_AllProjects Include="$(MSBuildProjectFullPath)" /> - - - - - + --> + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + - - - - %(PackageReference.Identity) - %(PackageReference.Version) + --> + + + + %(PackageReference.Identity) + %(PackageReference.Version) StorePackageName=%(PackageReference.Identity); StorePackageVersion=%(PackageReference.Version); @@ -11888,246 +10910,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); DisableImplicitFrameworkReferences=false; - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - + --> + + + + + + + + + <_StoreArtifactContent> @(ListOfPackageReference) -]]> - - - - - - +]]> + + + + + + - - - <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> - <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> - - - - - - - - + --> + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + - - - true - true - <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) - true - - - - - - $(UserProfileRuntimeStorePath) - <_ProfilingSymbolsDirectoryName>symbols - $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) - $(DefaultProfilingSymbolsDir) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) - $(ProfilingSymbolsDir)\ - $(DefaultComposeDir) - $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) - $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) - $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) - $([System.IO.Path]::GetFullPath($(ComposeDir))) - <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) - $([System.IO.Path]::GetTempPath()) - $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) - $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) - - $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) - - $(PublishDir)\ - - - - false - true - - - - - - - - $(StorePackageVersion.Replace('*','-')) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) - <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) - $(StoreWorkerWorkingDir)\ - $(BaseIntermediateOutputPath)\project.assets.json - - - $(MicrosoftNETPlatformLibrary) - true - - + --> + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + - - - - + --> + + + + - + --> + - + --> + - - - - - + --> + + + + + - + --> + - - - <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> - - - true - - + --> + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + - - - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> - - + --> + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + - - - - true - true - - - - - - - - - + --> + + + + true + true + + + + + + + + + - - - - - - + --> + + + + + + +--> +--> +--> - - true - true - false - true - false - true - 1 - + --> + + true + false + true + false + true + 1 + - - - - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> - - - - - - - - <_CoreclrPath>@(_CoreclrResolvedPath) - @(_JitResolvedPath) - <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) - <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) - $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) - - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) - - - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) - - + --> + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + - - - + --> + + + CrossgenExe=$(Crossgen); CrossgenJit=$(JitPath); @@ -12217,252 +11238,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) - - - - - - + + + + + + - - - $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) - $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) - $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" - CreatePDB - CreatePerfMap - - - - - - - - - - - - <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> - - - - - - - - $([System.IO.Path]::PathSeparator) - $([System.IO.Path]::DirectorySeparatorChar) - - + --> + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + - - - <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) - <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) - - - - - <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) - - + --> + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + - - - <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) - - <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) - - <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) - - - <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> - - - - - - - - + --> + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll - $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - + --> + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net6.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + - - - - - - - - - - - + --> + + + + + - - - - - + --> + + + + + - - - - <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R - - - - <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> - + --> + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + - - <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> - - - - - - <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> - <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> - - - <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> - <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> - - - - - - - - - - - - - - - - - + assembly list. --> + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + - - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> - - + --> + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> - - + --> + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + +--> +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + - - +--> + + - - <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> - - <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> - - - - +--> + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + +--> +--> - - true - <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true - true - - - - - true - true - - - - Always - - - - - - <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true - <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false - - +--> + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + Always + + - - - - + --> + + + + <_BeforePublishNoBuildTargets> BuildOnlySettings; _PreventProjectReferencesFromBuilding; @@ -12578,70 +11579,59 @@ Copyright (c) .NET Foundation. All rights reserved. PrepareResourceNames; ComputeIntermediateSatelliteAssemblies; ComputeEmbeddedApphostPaths; - + <_CorePublishTargets> PrepareForPublish; ComputeAndCopyFilesToPublishDirectory; $(PublishProtocolProviderTargets); PublishItemsOutputGroup; - - <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) - - - - + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + - - - - - - - - - - - - - - false - - + the published assets were copied. --> + + + + + + + false + + - - - - - - - - - - - - - - $(PublishDir)\ - - - + --> + + + + + + + + + + + $(PublishDir)\ + + + - + --> + - + --> + - - - - <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> - - - - - - - - + --> + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + - - - <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) - - - - - - <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt - - - - - - - - - - - - - - - - - - <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> - <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> - - - - - - - - - + --> + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + - + --> + - - - - + --> + + + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - - <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> - <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> - - - <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> - <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> - - + --> + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + - - - - - true - true - false - - + --> + + + true + true + false + + - - - - - @(IntermediateAssembly->'%(Filename)%(Extension)') - PreserveNewest - - - - $(ProjectDepsFileName) - PreserveNewest - - - - $(ProjectRuntimeConfigFileName) - PreserveNewest - - - - @(AppConfigWithTargetPath->'%(TargetPath)') - PreserveNewest - - - - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - PreserveNewest - true - - - - %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) - PreserveNewest - - - - %(Filename)%(Extension) - PreserveNewest - - + --> + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> - - - - %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) - PreserveNewest - - - - @(FinalDocFile->'%(Filename)%(Extension)') - PreserveNewest - - - - shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) - PreserveNewest - - - <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> - - - + to ensure that we don't get duplicate files in the publish output. --> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + - - + --> + + - - - - - <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> - - - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> - - + PreserveStoreLayout without this task, and how to handle RuntimeStorePackages. --> + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + - - - - - - + --> + + + + + + - - - <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> - - + --> + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + - - - <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + --> + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - - - - %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) - Always - True - - - %(_SourceItemsToCopyToPublishDirectory.TargetPath) - PreserveNewest - True - - - + --> + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + - + --> + - - <_GCTPDIKeepDuplicates>false - <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath - - - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - + a non-empty value and the original behavior will be restored. --> + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + - - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - Always - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - PreserveNewest - - - - - <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies - - - + --> + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + - - - <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> - - <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> - - <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> - - - - <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> - + --> + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + - - - + --> + + + - - - - - - - - - <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> - - - + --> + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + - - <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true - <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true - - + generate a different one. --> + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + - - - <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> - - - - $(AssemblyName)$(_NativeExecutableExtension) - $(PublishDir)$(PublishedSingleFileName) - - - - - - - - $(PublishedSingleFileName) - - - - - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> - - - - - - - - - - false - false - false - $(IncludeAllContentForSelfExtract) - false - - - - - - - - - - - - - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) - - - - - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> - - - - - - - - - + --> + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + - - - - $(PublishDir)$(ProjectDepsFileName) - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) - - - - - - <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - - - - - $(ProjectDepsFileName) - - - + --> + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + - - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + --> + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + - - - - - - - - + --> + + + + + + + + - + --> + $(PublishItemsOutputGroupDependsOn); ResolveReferences; ComputeResolvedFilesToPublishList; _ComputeFilesToBundle; - - - - - - - - - - - + + + + + + + + + + + - + --> + - - - + --> + + + - +--> + +--> - - - - - +--> + + + + + - - <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml - true - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) - - - - <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> - <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> - <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> - - - - - - - tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) - - - %(_ResolvedFileToPublishWithPackagePath.PackagePath) - - - - - $(TargetName) - $(TargetFileName) - <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache - <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) - - - - <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> - - - - - - - - - - - - - - - - - - - + --> + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + $(TargetName) + $(TargetFileName) + + + + + + + + + + + + + - - <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache - <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) - <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel - <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) - $(OutDir) - - - - - + --> + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + - - + --> + + - - - - - - - - - + during incremental builds when the task is skipped --> + + + + + + + + + - - - <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> - <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> - <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> - <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + +--> +--> - - - +--> + + + +--> +--> - - refs - $(PreserveCompilationContext) - - - - - $(DefineConstants) - $(LangVersion) - $(PlatformTarget) - $(AllowUnsafeBlocks) - $(TreatWarningsAsErrors) - $(Optimize) - $(AssemblyOriginatorKeyFile) - $(DelaySign) - $(PublicSign) - $(DebugType) - $(OutputType) - $(GenerateDocumentationFile) - - - - - - - - - +--> + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(DelaySign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + - <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + --> + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> - <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> - - $(RefAssembliesFolderName)\%(Filename)%(Extension) - - - + --> + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + - - - - - + --> + + + + + +--> +--> +--> +--> - - +--> + + Microsoft.CSharp|4.4.0; Microsoft.Win32.Primitives|4.3.0; @@ -13739,9 +12652,9 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + Microsoft.Win32.Primitives|4.3.0; System.AppContext|4.3.0; @@ -13838,50 +12751,50 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + - - +--> + + - - + --> + + - <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> - - - - - - - + --> + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + - - - - - - - - - + (eg: HintPath) --> + + + + + + + + + - - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> - - + --> + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + - - - - - - - + --> + + + + + + + - - +--> + + +--> +--> - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets - + *************************************************************************************************************** --> + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + - +--> + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - - - - - - - - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + + + + + + + - - $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) - +--> + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + - - - - - - true - true - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets - - - - - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> +--> - - - true - - - - true - - - - 7.0 - - - - $(TargetPlatformMinVersion) - $(SupportedOSPlatformVersion) - - $(TargetPlatformVersion) - $(TargetPlatformVersion) - - - - <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> - - - - - - - - - - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> - - - - - - - +--> + + + $(IntermediateOutputPath)linked\ + $(IntermediateLinkDir)\ + + <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore + + + + <_Parameter1>IsTrimmable + <_Parameter2>True + + + + + false + false + false + false + false + false + false + false + <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false + true + + + + true + + true + + false + + + + + $(NoWarn);IL2026 + + $(NoWarn);IL2041;IL2042;IL2043;IL2056 + + $(NoWarn);IL2045 + + $(NoWarn);IL2046 + + $(NoWarn);IL2050 + + $(NoWarn);IL2032;IL2055;IL2057;IL2058;IL2059;IL2060;IL2061;IL2096 + + $(NoWarn);IL2062;IL2063;IL2064;IL2065;IL2066 + + $(NoWarn);IL2067;IL2068;IL2069;IL2070;IL2071;IL2072;IL2073;IL2074;IL2075;IL2076;IL2077;IL2078;IL2079;IL2080;IL2081;IL2082;IL2083;IL2084;IL2085;IL2086;IL2087;IL2088;IL2089;IL2090;IL2091 + + $(NoWarn);IL2092;IL2093;IL2094;IL2095 + + $(NoWarn);IL2097;IL2098;IL2099;IL2106 + + $(NoWarn);IL2103 + + $(NoWarn);IL2107 + + $(NoWarn);IL2109 + + $(NoWarn);IL2110;IL2111;IL2114;IL2115 + + $(NoWarn);IL2112;IL2113 + - - - - 0.0 - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - - - - $(TargetPlatformVersion) - - + ============================================================ + ILLink + + Replace the files to be published with versions that have been + passed through the linker. Also prevent removed files from being + included in the generated deps.json. + ============================================================ + --> + + + + + <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> + + + + + + + <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + + + + + + + + + + + + <_DotNetHostDirectory>$(NetCoreRoot) + <_DotNetHostFileName>dotnet + <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe + + + + + + + + + + + + + 5 + 0 + + + + copyused + + $(TrimMode) + + + link + + copy + $(TreatWarningsAsErrors) + <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) + true + + + + + $(NoWarn);IL2008 + + $(NoWarn);IL2009 + + + $(NoWarn);IL2037 + + + $(NoWarn);IL2009;IL2012 + + + + + + true + false + + + <_TrimmerUnreachableBodies>false + + + + + true + + + + + + + + + + + + + + + + + + + copy + + + + + + $(TrimMode) + + + $(TrimmerDefaultAction) + + + + + + <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly> + false + + + + + + + false + + + + <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> + + + + + + + + + + + + <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> + <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> + + + <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + +--> + + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + +--> - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll - $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll - - - - - +--> + + + true + + + + true + + + + 7.0 + + + + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + - - - - - - - $(RoslynTargetsPath) - <_packageReferenceList>@(PackageReference) - - $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) - $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) - - - - $(GenerateCompatibilitySuppressionFile) - - - - - - - <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - - $(_apiCompatDefaultProjectSuppressionFile) - - - - - - +--> + + + + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + +--> +--> + + + + - - $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore - - CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - - - $(PackageId) - $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) - - - <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> - - - - - - - - - - $(TargetPlatformMoniker) - - - - - - - - - +C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Compatibility.Common.targets +============================================================================================================================================ +--> + + + + + _GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) + + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + false + <_compatibilitySuppressionFilePath>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + $(_compatibilitySuppressionFilePath) + + + + + + <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' != 'true'">_GetReferencePathForPackageValidation + <_GetReferencePathFromInnerProjectsDependsOn Condition="'$(IsCrossTargetingBuild)' == 'true'">_ComputeTargetFrameworkItems + + + + <_ReferencePathWithTargetFramework Include="@(ReferencePath)" TargetFramework="$(TargetFramework)" /> + + + + + + + + + + - +--> - - - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets - true - +--> + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + +--> - - - ..\CoreCLR\NuGet.Build.Tasks.Pack.dll - ..\Desktop\NuGet.Build.Tasks.Pack.dll - - - - - - - - - $(AssemblyName) - $(Version) - true - _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) - $(Description) - Package Description - false - true - true - tools - lib - content;contentFiles - $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) - true - symbols.nupkg - DeterminePortableBuildCapabilities - false - false - .dll; .exe; .winmd; .json; .pri; .xml - $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) - .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) - .pdb - false - - - $(GenerateNuspecDependsOn) - - - Build;$(GenerateNuspecDependsOn) - - - - - - - $(TargetFramework) - - - - $(MSBuildProjectExtensionsPath) - $(BaseOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - +--> + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - + --> + + + + + + - - - <_ProjectFrameworks /> - - - - - - <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> - - + --> + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + - - - - <_PackageFilesToDelete Include="@(_OutputPackItems)" /> - - - - - - false - - - - - - - - - - - - - + --> + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + - - - - - - true - - - - - - - - - + --> + + + + + + true + + + + + + + + + - - - - $(PrivateRepositoryUrl) - $(SourceRevisionId) - - + --> + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + - - - - $(MSBuildProjectFullPath) - - - - - - - - - - - - - - - - - <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> - $(PackageVersion) - 1.0.0 - - - - - - - - - - - - - - - - - - - - - - - - - - <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> - - - - - - $(TargetFramework) - - - - - - - - - - - - - %(TfmSpecificPackageFile.RecursiveDir) - %(TfmSpecificPackageFile.BuildAction) - - - - - - <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> - $(TargetFramework) - - - - <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> - - + --> + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + - - - <_PathToPriFile Include="$(ProjectPriFullPath)"> - $(ProjectPriFullPath) - $(ProjectPriFileName) - - - + has to be added manually here.--> + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + - - - <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> - - - - <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> - Content - - <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> - Compile - - <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> - None - - <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> - EmbeddedResource - - <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> - ApplicationDefinition - - <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> - Page - - <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> - Resource - - <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> - SplashScreen - - <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> - DesignData - - <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> - DesignDataWithDesignTimeCreatableTypes - - <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> - CodeAnalysisDictionary - - <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> - AndroidAsset - - <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> - AndroidResource - - <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> - BundleResource - - - + --> + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + +--> +--> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.CSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.CSharp.xml index 7db4d8a..c1a1217 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.CSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.CSharp.xml @@ -1,17 +1,17 @@ - +--> + +--> - +--> + - true + --> + true - true - - - - true - - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - - - false - - - - - true - $(MSBuildProjectName) - - - $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ - $(ArtifactsPath)\obj\ - - - - <_ArtifactsPathSetEarly>true - - - $(ProjectExtensionsPathForSpecifiedProject) - - + --> + true + + + $(ProjectExtensionsPathForSpecifiedProject) + + +--> - - true - true - true - true - true - +--> + + true + true + true + true + true + - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - + --> + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + - + --> + - obj\ - $(BaseIntermediateOutputPath)\ - <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) - $(BaseIntermediateOutputPath) + --> + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) - $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) - $(MSBuildProjectExtensionsPath)\ - true - <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) - - + --> + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) - - + --> + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + - - true - - - $(DefaultProjectConfiguration) - $(DefaultProjectPlatform) - - - WJProject - JavaScript - - - - - + e.g. by the project itself. --> + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props - $(MSBuildToolsPath)\NuGet.props - + --> + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + +--> +--> - - true - + --> + + true + - - <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props - <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) - $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) - - - - true - + --> + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + - - true - true - true - true - true - true - true - true - true - true - true - true - true - +C:\Program Files\dotnet\sdk\7.0.202\Current\Microsoft.Common.props +============================================================================================================================================ +--> + + true + true + true + true + true + true + true + true + true + true + true + true + true + +--> +--> - - - true - - - - Debug;Release - AnyCPU - Debug - AnyCPU - - - - - true - - - - Library - 512 - prompt - $(MSBuildProjectName) - $(MSBuildProjectName.Replace(" ", "_")) - true - - - - true - false - - - true - - +--> + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + - - <_PlatformWithoutConfigurationInference>$(Platform) - - - x64 - - - x86 - - - ARM - - - arm64 - - - - - {CandidateAssemblyFiles} - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);{RawFileName} - - - portable - - false - - true - true + --> + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + arm64 + + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + + + portable + + false + + true + true - PackageReference - $(AssemblySearchPaths) - false - false - false - false - false - false - false - false - false - true - 1.0.3 - false - true - true - - - - - - $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj - - + a project targets .NET Framework and doesn't have any direct package dependencies. --> + PackageReference + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.3 + false + true + true + false + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + - - - $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)../../')) - $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs - <_NetFrameworkHostedCompilersVersion>4.8.0-3.23471.11 - 8.0 - 8.0 - 8.0.0-rc.2.23479.6 - 2.1 - 2.1.0 - 8.0.0-rc.2.23479.6 - $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json - 8.0.100-rc.2.23502.2 - linux-x64 - linux-x64 - <_NETCoreSdkIsPreview>true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> - <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> - +--> + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + 7.0 + 7.0 + 7.0.4 + 2.1 + 2.1.0 + 7.0.1 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 7.0.202 + win-x64 + win-x64 + <_NETCoreSdkIsPreview>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - false - - - <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif - - - - - - - - - - - - - - - - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.props +============================================================================================================================================ +--> + + + $(BundledRuntimeIdentifierGraphFile) + + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + - - - - - - - - - + evaluated in the second pass of evaluation, after all properties have been evaluated. --> + + + + + + + + + - + an implicit FrameworkReference --> + - - - - - - - + Packing an DotnetCliTool should include the Microsoft.NETCore.App package dependency. --> + + + + + +--> - - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel - true - - + putting an EnableWorkloadResolver.sentinel file beside the MSBuild SDK resolver DLL --> + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + +--> - - +--> + + - +--> + +--> +--> - - - - - - - - - - - - - - - - 9.0 - 17.8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + This is used by VS to show the list of frameworks to which projects can be retargeted. --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +--> + +--> - - - - - - +--> + + + + + + - +--> + +--> - - - - - - - - - - - - +--> + + + + + + + + + + + + +--> +--> - - - true - <_SourceLinkPropsImported>true - - - - - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll - $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll - +--> + + 1701;1702 + + $(WarningsAsErrors);NU1605 + + + $(DefineConstants); + $(DefineConstants)TRACE + + + + + + + + + + + +--> + + - - - <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll - <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll - - - - true - - true - +--> - - - - - +Copyright (c) .NET Foundation. All rights reserved. +*********************************************************************************************** +--> + + + true + + +--> - - - - - +Copyright (c) .NET Foundation. All rights reserved. +*********************************************************************************************** +--> + + + $(MSBuildThisFileDirectory)Microsoft.DotNet.ILCompiler.SingleEntry.targets + - - - - - - +--> +--> - - - - +--> - - +Copyright (c) .NET Foundation. All rights reserved. +*********************************************************************************************** +--> + +--> - - 1701;1702 - - $(WarningsAsErrors);NU1605 - - - $(DefineConstants); - $(DefineConstants)TRACE - - - - - - - - - - - +--> + + + $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.targets + + true + $(MSBuildThisFileDirectory)..\tools\net7.0\ILLink.Tasks.dll + $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll + + - - +--> +--> - - $(TargetsForTfmSpecificContentInPackage);PackTool - +--> + + $(TargetsForTfmSpecificContentInPackage);PackTool + +--> +--> - - $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation - +--> + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + +--> - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - - - - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props +============================================================================================================================================ +--> + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + + + + - - - - - - - + --> + + + + + + + - + --> + - <_WpfCommonNetFxReference Include="WindowsBase" /> - <_WpfCommonNetFxReference Include="PresentationCore" /> - <_WpfCommonNetFxReference Include="PresentationFramework" /> - <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> - 4.0 - - <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> - - - <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> - <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> - <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> - + --> + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + --> - + --> + - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + --> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> - <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + --> + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> - <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> - - - - - + --> + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + --> +--> + --> - + --> + - - - - + --> + + + + +--> - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + +--> +--> +--> - - - - + --> + + + + +--> +--> +--> - - - - - true - - <_TargetFrameworkVersionValue>0.0 - <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 - +--> + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + +--> +--> +--> +--> - - - true - - +--> + + + true + + +--> +--> - - - - - - - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - - - $(_IsExecutable) - <_UsingDefaultForHasRuntimeOutput>true - + So import them here. --> + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + +--> - - 1.0.0 - $(VersionPrefix)-$(VersionSuffix) - $(VersionPrefix) - - - $(AssemblyName) - $(Authors) - $(AssemblyName) - $(AssemblyName) - +--> + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + + + +--> + - - Debug - AnyCPU - $(Platform) - + + Also note that common targets only set a default OutputPath if neither configuration nor + platform were set by the user. This was used to validate that a valid configuration is passed, + assuming the convention maintained by VS that every Configuration|Platform combination had + an explicit OutputPath. Since we now want to support leaner project files with less + duplication and more automatic defaults, we always set a default OutputPath and can no + longer depend on that convention for validation. Getting validation re-enabled with a + different mechanism is tracked by https://github.com/dotnet/sdk/issues/350 + --> + + Debug + AnyCPU + $(Platform) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + respected by the SDK. --> +--> - - - true - <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) - <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties - <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ - $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) - $(_PublishProfileRootFolder)$(PublishProfileName).pubxml - $(PublishProfileFullPath) +--> + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) - false - - - + to limit the import to the project being published. --> + false + + + +--> + --> +--> +--> - - + --> + + - - $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) - v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - + --> + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + - - $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) - - - Windows - + --> + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + - - <_UnsupportedTargetFrameworkError>true - + --> + + <_UnsupportedTargetFrameworkError>true + - - - - + --> + + + + - - - true - true - - - - - - - - - - - - - - - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + true + + + + + + + - - v0.0 - - - _ - + --> + + v0.0 + + + _ + - - - true - - - - + --> + + + - - - - - - <_EnableDefaultWindowsPlatform>false - false - - - 2.1 - - - - - - - - - - - - - - <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> - - - @(_ValidTargetPlatformVersion->Distinct()) - - - - - true - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None - - - - - - - true - true - - - - - - - - - true - false - true - <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ - - + + + + + + <_EnableDefaultWindowsPlatform>false + false - --> - - - - - - <_DefaultArtifactsPathPropsImported>true - - - - true - true - <_ArtifactsPathLocationType>ExplicitlySpecified - - - - - $(_DirectoryBuildPropsBasePath)\artifacts - true - <_ArtifactsPathLocationType>DirectoryBuildPropsFolder - - - - $(MSBuildProjectDirectory)\artifacts - <_ArtifactsPathLocationType>ProjectFolder - - - - $(MSBuildProjectName) - bin - publish - package - - - $(Configuration.ToLowerInvariant()) - - $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) - - $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) - - - - $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ - $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ - $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ - - - - $(ArtifactsPath)\$(ArtifactsBinOutputName)\ - $(ArtifactsPath)\obj\ - $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ - - - $(BaseOutputPath)$(ArtifactsPivots)\ - $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ - - $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ - - - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ - $(OutputPath)\ - - - - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion->Distinct()) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - - - $(DefaultItemExcludes);$(ArtifactsPath)/** - - $(DefaultItemExcludes);bin/**;obj/** - + in the project file, the specified value will be used for the exclude. --> + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + + true + + + true + true + - - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ - - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - - - - - - + --> + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + - - - - true - - false - +--> + + + + true + + false + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + - - + --> + + +--> - - +--> + + - - - - - - - - - - +--> + + + + + + + + + + +--> - - - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +C:\Program Files\dotnet\sdk-manifests\7.0.100\microsoft.net.sdk.ios\WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\15.4.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +C:\Program Files\dotnet\sdk-manifests\7.0.100\microsoft.net.sdk.maccatalyst\WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\15.4.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\12.3.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +C:\Program Files\dotnet\sdk-manifests\7.0.100\microsoft.net.sdk.macos\WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\12.3.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - +--> + + + + + + + - - - - - + --> + + + + + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +C:\Program Files\dotnet\sdk-manifests\7.0.100\microsoft.net.sdk.tvos\WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - <_RuntimePackInWorkloadVersion6>6.0.15 - true - true - +--> + + <_RuntimePackInWorkloadVersion6>6.0.15 + true + true + - - false - - - - true - $(WasmNativeWorkload) - - - false - false - - - false - true - - - - - - - - - - - - - - - - + --> + + false + + + + true + $(WasmNativeWorkload) + + + false + false + + + false + true + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) - - - - $(_MonoWorkloadRuntimePackPackageVersion) - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + - - - - - - - - + and emit a warning --> + + + + + + + + +--> - - <_RuntimePackInWorkloadVersion7>7.0.4 - <_BrowserWorkloadDisabled7>$(BrowserWorkloadDisabled) - <_BrowserWorkloadDisabled7 Condition="'$(_BrowserWorkloadDisabled7)' == '' and '$(RuntimeIdentifier)' == 'browser-wasm' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and !$([MSBuild]::VersionEquals('$(TargetFrameworkVersion)', '7.0'))">true - true - +--> + + <_RuntimePackInWorkloadVersion7>7.0.4 + <_BrowserWorkloadDisabled7>$(BrowserWorkloadDisabled) + <_BrowserWorkloadDisabled7 Condition="'$(_BrowserWorkloadDisabled7)' == '' and '$(RuntimeIdentifier)' == 'browser-wasm' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and !$([MSBuild]::VersionEquals('$(TargetFrameworkVersion)', '7.0'))">true + true + - - true - false - - - - true - $(WasmNativeWorkload7) - - - false - false - false - - - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) - - - - $(_MonoWorkloadRuntimePackPackageVersion) - - Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** - Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** - - + --> + + true + false + + + + true + $(WasmNativeWorkload7) + + + false + false + false + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** + + - - - - - - - - - - - + and emit a warning --> + + + + + + + + + + + +--> - - - - - +--> + + + + + +--> - - true - - - <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true - WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ - - - true - $(WasmNativeWorkload) - - - false - false - - - - - - - - +C:\Program Files\dotnet\sdk-manifests\7.0.100\microsoft.net.workload.emscripten.net7\WorkloadManifest.targets +============================================================================================================================================ +--> + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + - - - - - - +--> + + + + + + - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + - - - - - - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> - - + need to be set to "true" to avoid requiring restore (which would likely fail if the required workloads aren't already installed).--> + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + +--> + --> +--> +--> - - <_UsingDefaultRuntimeIdentifier>true - win7-x64 - win7-x86 - - - - true - + --> + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + - - $(PublishSelfContained) - + This Won't affect t:/Publish (because of _IsPublishing), and also won't override a global SelfContained property.--> + + $(PublishSelfContained) + - - true - - - $(NETCoreSdkPortableRuntimeIdentifier) - - - $(PublishRuntimeIdentifier) - - - <_UsingDefaultPlatformTarget>true - - - - - - - x86 - - - - - x64 - - - - - arm - - - - - arm64 - - - - - AnyCPU - - - + Finally, library projects and non-executable projects have awkward interactions here so they are excluded.--> + + true + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + $(PublishRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + - - - <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - - - - true - false - <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false - <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true - true - false - - - - $(NETCoreSdkRuntimeIdentifier) - win-x64 - win-x86 - win-arm - win-arm64 - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - - - - - - - - - - - + --> + + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + + + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + + + + + + + - - - - - - - - - - - - - - false - - - - - - - - - - - - - + because we do not want the behavior to be a breaking change compared to version 3.0 --> + + + + + + + + + + + + + false + + + + + + + + + + + + + - - - true - + Configuration-specific PropertyGroup), so in that case we won't append to it by default. --> + + + true + - - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ - - + --> + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + - - - - - + --> + + + + + - +--> + +--> - - - true - true - +--> + + + true + - - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> - - - - - - - + --> + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;5.0" /> + + + + - - - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true - - - - true - true - true - - - true - - - - true +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.BeforeCommon.targets +============================================================================================================================================ +--> + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true - true - - .dll + runtime minor version roll-forward: https://github.com/dotnet/core-setup/issues/3546 --> + true + + .dll - false - - - - $(PreserveCompilationContext) - - - - publish - - $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ - $(OutputPath)$(PublishDirName)\ - + is not needed for NETStandard or NETCore since references come from NuGet packages--> + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + --> +--> - - <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder - <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true - <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs - - - $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) - - - $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) - +--> + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + - - <_SDKImplicitReference Include="System" /> - <_SDKImplicitReference Include="System.Data" /> - <_SDKImplicitReference Include="System.Drawing" /> - <_SDKImplicitReference Include="System.Xml" /> +--> + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> - - <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - - <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> - - <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + such if the parse succeeds. --> + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> - <_SDKImplicitReference Remove="@(Reference)" /> - - - - - - false - - - $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 - - - - <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET - $(_FrameworkIdentifierForImplicitDefine) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET - <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) - <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) - <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) - $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) - $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - - - - - <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) - <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) - - - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> - - - - - - <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - - - - - - <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> - - - - - - <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> - <_DefineConstantsWithoutTrace Remove="TRACE" /> - - - @(_DefineConstantsWithoutTrace) - - - - - - $(DefineConstants);@(_ImplicitDefineConstant) - $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') - - - - - false - true - - - $(AssemblyName).xml - $(IntermediateOutputPath)$(AssemblyName).xml - - - - - - true - true - true - - - - - - - true - + NuGet package, you can just add the Reference to your project file. --> + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + - - $(MSBuildToolsPath)\Microsoft.CSharp.targets - $(MSBuildToolsPath)\Microsoft.VisualBasic.targets - $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets +--> + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets - $(MSBuildToolsPath)\Microsoft.Common.targets - + languages could either be supplied via an SDK or via a NuGet package. --> + $(MSBuildToolsPath)\Microsoft.Common.targets + + using Sdk attribute (from .NET Core Sdk 1.0.0-preview4) --> +--> - - - - $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets - - - - - $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets - - - +--> + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets + + + +--> +--> - - true - + --> + + true + +--> +--> - - true - true - true - true - - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets - - - - .cs - C# - Managed - true - true - true - true - true - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Properties - - - - - File - - - BrowseObject - - - - - - +--> + + true + true + true + true + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets + + + + .cs + C# + Managed + true + true + true + true + true + {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Properties + + + + + File + + + BrowseObject + + + + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - true - - - - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet - true - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + true + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet + true + - +--> + - - $(NoWarn);1701;1702 - - - - $(NoWarn);2008 - - - - - - - + so the compiler warning would be redundant. --> + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + + + + - $(AppConfig) - - $(IntermediateOutputPath)$(TargetName).compile.pdb - - - - false - - - - - - - true - - - - + then we'll use AppConfig --> + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + false + + + + + + + true + + + + - - - - - $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets - +--> + + + + + $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets + - +--> + - +--> + - + --> + - - roslyn4.5 - +--> + + roslyn4.5 + - +--> + - - - - - - - - - - - - - false - + --> + + + + + + + + + + + + + false + - - - - - - true - - + https://github.com/dotnet/roslyn/issues/12223 --> + + + + + + true + + - - - - - <_SkipAnalyzers /> - <_ImplicitlySkipAnalyzers /> - + --> + + + + + <_SkipAnalyzers /> + <_ImplicitlySkipAnalyzers /> + - - <_SkipAnalyzers>true - + --> + + <_SkipAnalyzers>true + - - <_ImplicitlySkipAnalyzers>true - <_SkipAnalyzers>true - run-nullable-analysis=never;$(Features) - - - - - - <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers - + --> + + <_ImplicitlySkipAnalyzers>true + <_SkipAnalyzers>true + run-nullable-analysis=never;$(Features) + + + + + + <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers + - - - - - - - - - + --> + + + + + + + + + - - <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> + --> + + <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> - - - - - + compilation includes linked files with relative paths - https://github.com/microsoft/msbuild/issues/4392 --> + + + + + - - - - - $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig - true - <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true - <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true - - - - - - <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> - $(%(CompilerVisibleProperty.Identity)) - - - <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> - %(Identity) - %(CompilerVisibleItemMetadata.MetadataName) - - - - - - - - + --> + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig + true + <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true + <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true + + + + + + <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> + $(%(CompilerVisibleProperty.Identity)) + + + <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> + %(Identity) + %(CompilerVisibleItemMetadata.MetadataName) + + + + + + + + - - true - + --> + + true + - - - <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> - - - - - - - - - + --> + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + - - true - + --> + + true + - + --> + - - - <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> - $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) - $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) - - - + --> + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + - @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) - - + --> + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + - - - - - + --> + + + + + - - false - - $(IntermediateOutputPath)/generated - - - - - + --> + + false + + $(IntermediateOutputPath)/generated + + + + + - - - + --> + + + - - - <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 - - <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 - - <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '5.0' AND '$(_MaxSupportedLangVersion)' == ''">9.0 - - <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '6.0' AND '$(_MaxSupportedLangVersion)' == ''">10.0 - - <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '7.0' AND '$(_MaxSupportedLangVersion)' == ''">11.0 - $(_MaxSupportedLangVersion) - $(_MaxSupportedLangVersion) - - +C:\Program Files\dotnet\sdk\7.0.202\Roslyn\Microsoft.CSharp.Core.targets +============================================================================================================================================ +--> + + + <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 + + <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '5.0' AND '$(_MaxSupportedLangVersion)' == ''">9.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '6.0' AND '$(_MaxSupportedLangVersion)' == ''">10.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '7.0' AND '$(_MaxSupportedLangVersion)' == ''">11.0 + $(_MaxSupportedLangVersion) + $(_MaxSupportedLangVersion) + + - - $(NoWarn);1701;1702 - - - - $(NoWarn);2008 - - + so the compiler warning would be redundant. --> + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + - $(AppConfig) - - $(IntermediateOutputPath)$(TargetName).compile.pdb - - - - - - - <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> - - - + then we'll use AppConfig --> + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + - - -langversion:$(LangVersion) - $(CommandLineArgsForDesignTimeEvaluation) -checksumalgorithm:$(ChecksumAlgorithm) - $(CommandLineArgsForDesignTimeEvaluation) -define:$(DefineConstants) - + probably won't be any worse than having no options at all. --> + + -langversion:$(LangVersion) + $(CommandLineArgsForDesignTimeEvaluation) -checksumalgorithm:$(ChecksumAlgorithm) + $(CommandLineArgsForDesignTimeEvaluation) -define:$(DefineConstants) + - - - - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets - - +--> + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets + + +--> - - $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets - +--> + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + +--> - - - true - true - true - true - - - - - - - 10.0 - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets - - - - - Managed - +--> + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + - - .NETFramework - v4.0 - - - - Any CPU,x86,x64,Itanium - Any CPU,x86,x64 - - - - - - - true - - true - - - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) - - $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + Native apps) because they do not target a .NET Framework. --> + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) - $(MSBuildFrameworkToolsPath) - - - Windows - 7.0 - $(TargetPlatformSdkRootOverride)\ - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - $(TargetPlatformSdkPath)Windows Metadata - $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral - $(TargetPlatformSdkMetadataLocation) - true - $(WinDir)\System32\WinMetadata - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - + we need to find a directory which does contain mscorlib to allow the inproc compiler to initialize and give us the chance to show certain dialogs in the IDE (which only happen after initialization).--> + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + - - - <_OriginalPlatform>$(Platform) - - <_OriginalConfiguration>$(Configuration) - - <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true - - true - - - AnyCPU - $(Platform) - Debug - $(Configuration) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(TargetType) - library - exe - true - - <_DebugSymbolsProduced>false - <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false - <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false - <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false - - <_DocumentationFileProduced>true - <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false - - false - + --> + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + - + --> + - <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true - <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true - + --> + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + - - .exe - .exe - .exe - .dll - .netmodule - .winmdobj - - - - true - $(OutputPath) - - - $(OutDir)\ - $(MSBuildProjectName) - - - $(OutDir)$(ProjectName)\ - $(MSBuildProjectName) - $(RootNamespace) - $(AssemblyName) - - $(MSBuildProjectFile) - - $(MSBuildProjectExtension) - - $(TargetName).winmd - $(WinMDExpOutputWindowsMetadataFilename) - $(TargetName)$(TargetExt) - - - + --> + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + - <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true - $(_DeploymentPublishableProjectDefault) - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest - - $(AssemblyName).application - - $(AssemblyName).xbap - - $(GenerateManifests) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days - <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) - <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - 100 - - + --> + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + - * - $(UICulture) - - - - <_OutputPathItem Include="$(OutDir)" /> - <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> - <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> - - - + --> + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + - $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) - - $(TargetDir)$(TargetFileName) - $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) - - $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) - - $(ProjectDir)$(ProjectFileName) - - - - - + --> + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + - - *Undefined* - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - - - true - - true - - - true - false - - - $(MSBuildProjectFile).FileListAbsolute.txt - - false - - true - true - <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false - <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true - false - false - - - <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config - - - - - - - - - - - - - - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> - - - $(IntermediateOutputPath)$(TargetName).pdb - <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) - - - $(IntermediateOutputPath)$(TargetName).xml - <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) - - - <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) - <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) - - - - <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> - $(TargetFileName) - - - - <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> - $(ApplicationIcon) - - - - $(_DeploymentTargetApplicationManifestFileName) - + --> + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + - <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> - $(_DeploymentTargetApplicationManifestFileName) - - - - $(TargetDeployManifestFileName) - - - <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> - + references and for copying to the publish output location. --> + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + - - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) - <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> - <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + --> + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) - <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> - <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> - - - - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) - <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) - - - - $(PublishDir)\ - $(OutputPath)app.publish\ - + --> + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + - - $(PublishDir) - $(ClickOncePublishDir)\ - + --> + + $(PublishDir) + $(ClickOncePublishDir)\ + - + --> + - $(PlatformTarget) + --> + $(PlatformTarget) - msil - amd64 - ia64 - x86 - arm - - - true - - - - $(Platform) - msil - amd64 - ia64 - x86 - arm - - None - $(PROCESSOR_ARCHITECTURE) - + --> + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + - - CLR2 - CLR4 - CurrentRuntime - true - false - $(PlatformTarget) - x86 - x64 - CurrentArchitecture - - - - Client - + If support for out-of-proc task execution is added on other runtimes, make sure each task's logic is checked against the current state of support. --> + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + - - false - - - - - true - true - false - + --> + + false + + + + + true + true + false + - - AssemblyFoldersEx - Software\Microsoft\$(TargetFrameworkIdentifier) - Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) - $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config - {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> .winmd; .dll; .exe - + + --> .pdb; .xml; .pri; .dll.config; .exe.config - + - Full - - + --> + Full + + - {CandidateAssemblyFiles} - $(AssemblySearchPaths);$(ReferencePath) - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) - $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} - $(AssemblySearchPaths);{AssemblyFolders} - $(AssemblySearchPaths);{GAC} - $(AssemblySearchPaths);{RawFileName} - $(AssemblySearchPaths);$(OutDir) - + --> + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + - - false - - - - $(NoWarn) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - - - - $(MSBuildThisFileDirectory)$(LangName)\ - - - - $(MSBuildThisFileDirectory)en-US\ - - - - - Project - - - BrowseObject - - - File - - - Invisible - - - File;BrowseObject - - - File;ProjectSubscriptionService - - - - $(DefineCommonItemSchemas) - - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - - - - - - Never - - - Never - - - Never - - - Never - - + typically expect --> + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + - - - true - + --> + + + true + - - - <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath - - + --> + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + - - - <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. - - - - - - - - - + --> + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + - - x86 - + correct value when we're trying to figure out PlatformTargetAsMSBuildArchitecture --> + + x86 + - + --> + - - + --> + + - + --> + BeforeBuild; CoreBuild; AfterBuild - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -4304,52 +4036,52 @@ Copyright (C) Microsoft Corporation. All rights reserved. UnmanagedRegistration; IncrementalClean; PostBuildEvent - - - - - - + + + + + + - - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + --> + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build BeforeRebuild; Clean; $(_ProjectDefaultTargets); AfterRebuild; - + BeforeRebuild; Clean; Build; AfterRebuild; - - - + + + - + --> + - + --> + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - + --> + - - - - - - - - + --> + + + + + + + + + --> - - false - - - - true - - + --> + + false + + + + true + + + --> - - $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata - - - - - $(TargetFileName).config - - - - - - - - - - + --> + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + - - @(_TargetFramework40DirectoryItem) - @(_TargetFramework35DirectoryItem) - @(_TargetFramework30DirectoryItem) - @(_TargetFramework20DirectoryItem) - - @(_TargetFramework20DirectoryItem) - @(_TargetFramework40DirectoryItem) - @(_TargetedFrameworkDirectoryItem) - @(_TargetFrameworkSDKDirectoryItem) - - - - + --> + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + - - - - - - - - - - - - - $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) - $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) - + --> + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + - - true - - - $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) - - - - - - - $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) - - - - - - - - - + resolving from the assemblyfolders global location if we are not acutally targeting a framework--> + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + - + E.g "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0.1\;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\" --> + - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - + --> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + --> - - - - - - + --> + + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + --> - + --> + - + --> + BeforeResolveReferences; AssignProjectConfiguration; @@ -4692,25 +4424,25 @@ Copyright (C) Microsoft Corporation. All rights reserved. GenerateBindingRedirects; ResolveComReferences; AfterResolveReferences - - - + + + - + --> + - + --> + - - - true - true - false + --> + + + true + true + false - false - - true - - - - - - - - - - - <_ProjectReferenceWithConfiguration> - true - true - - - true - true - - - + want this to happen, so just turn off synthetic project reference generation for Silverlight projects. --> + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + - + --> + - - - - + --> + + + + - - <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> - - - - <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> - <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> - - + --> + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + - - true - + --> + + true + - - - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> - true - - - - <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - - - - - <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> - - x86=Win32 - - - <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> - Win32=x86 - - - - - + Configuration information. --> + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + - - - - Platform=%(ProjectsWithNearestPlatform.NearestPlatform) - - - - %(ProjectsWithNearestPlatform.UndefineProperties);Platform - - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> - - + that can't multiplatform. --> + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + - + --> + - - $(NuGetTargetMoniker) - $(TargetFrameworkMoniker) - + --> + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> - true - %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework - - + --> + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> - true - - + --> + true + + - - - + --> + + + - - - - + --> + + + + - <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> - <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> - <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> - - + --> + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + - - - - - - - + that we are using a version of NuGet which supports that parameter on this task. --> + + + + + + + - - + --> + + - - - - - - - - - - TargetFramework=%(AnnotatedProjects.NearestTargetFramework) - + the IsRidAgnostic value for the NearestTargetFramework for the project. --> + + + + + + + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + - - %(AnnotatedProjects.UndefineProperties);TargetFramework - + --> + + %(AnnotatedProjects.UndefineProperties);TargetFramework + - - %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained - + unless the project is expecting those properties to flow. --> + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained + - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> - - - - - - - - - <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> - @(_TargetFrameworkInfo) - @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') - @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') - $(_AdditionalPropertiesFromProject) - true - @(_TargetFrameworkInfo->'%(IsRidAgnostic)') - - true - $(Platform) - $(Platforms) + --> + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + @(_TargetFrameworkInfo->'%(IsRidAgnostic)') + + true + $(Platform) + $(Platforms) - @(ProjectConfiguration->'%(Platform)'->Distinct()) - - - - - - <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> - $(%(AdditionalTargetFrameworkInfoProperty.Identity)) - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false - - - - - - <_TargetFrameworkInfo Include="$(TargetFramework)"> - $(TargetFramework) - $(TargetFrameworkMoniker) - $(TargetPlatformMoniker) - None - $(_AdditionalTargetFrameworkInfoProperties) + Build the `Platforms` property from that. --> + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) - $(IsRidAgnostic) - true - false - - - + fallback logic here will be that the project is RID agnostic if it doesn't have RuntimeIdentifier or RuntimeIdentifiers properties set. --> + $(IsRidAgnostic) + true + false + + + - + --> + - + --> + AssignProjectConfiguration; _SplitProjectReferencesByFileExistence; _GetProjectReferenceTargetFrameworkProperties; _GetProjectReferencePlatformProperties - - - + + + - - - - - $(ProjectReferenceBuildTargets) - - - ProjectReference - - - + --> + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + - - - - + --> + + + + - - - - + --> + + + + - - - - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + --> + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> - <_ResolvedProjectReferencePaths> - %(_ResolvedProjectReferencePaths.OriginalItemSpec) - - - - - - + --> + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + - - <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> - %(ReferencePath.ProjectReferenceOriginalItemSpec) - - - - + --> + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + - - $(GetTargetPathDependsOn) - - + --> + + $(GetTargetPathDependsOn) + + - - $(GetTargetPathDependsOn) - + --> + + $(GetTargetPathDependsOn) + - - - - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion.TrimStart('vV')) - $(TargetRefPath) - @(CopyUpToDateMarker) - - - + BeforeTargets. --> + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + - - - - %(_ApplicationManifestFinal.FullPath) - - - + --> + + + + %(_ApplicationManifestFinal.FullPath) + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + ResolveProjectReferences; FindInvalidProjectReferences; @@ -5302,69 +5034,69 @@ Copyright (C) Microsoft Corporation. All rights reserved. PrepareForBuild; ResolveSDKReferences; ExpandSDKReferences; - - - - - <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> - + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + - - $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache - - - - <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> - - - - <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false - true - false - Warning - $(BuildingProject) - $(BuildingProject) - $(BuildingProject) - false - - + --> + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + - - - true - - + ide will show one of the references as not resolved, this will not break the build but is a display issue --> + + + true + + - - false - true - - - - - - - - - - - - - - - - - + --> + + false + true + + + + + + + + + + + + + + + + + - - + --> + + - - %(FullPath) - - - %(ReferencePath.Identity) - - - - + assembly unless already specified. --> + + %(FullPath) + + + %(ReferencePath.Identity) + + + + - - - - - + --> + + + + + - - - $(_GenerateBindingRedirectsIntermediateAppConfig) - - - - - $(TargetFileName).config - - - + --> + + + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + - - Software\Microsoft\Microsoft SDKs - $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs - - $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 - - true - Windows - 8.1 - - false - WindowsPhoneApp - 8.1 - - - - - - - - - - - - - + --> + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + - + --> + GetInstalledSDKLocations - - - - Debug - Retail - Retail - $(ProcessorArchitecture) - Neutral - - - true - - - - - - - - - - - - + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + - + --> + GetReferenceTargetPlatformMonikers - - - - - - - - <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> - - - - - - - + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + - + --> + ResolveSDKReferences - + .winmd; .dll - - - - - - - - - - - + + + + + + + + + + + - - - - false - false - false - $(TargetFrameworkSDKToolsDirectory) - true - - - - - - - - - - - - - - - <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> - - - + --> + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5622,8 +5354,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(TargetDir) - - + + - + --> + GetFrameworkPaths; GetReferenceAssemblyPaths; ResolveReferences - - - - - <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - - - $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache - - + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5664,29 +5396,29 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(OutDir) - - - - false - false - false - false - false - true - false - - - <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> - - - <_RARResolvedReferencePath Include="@(ReferencePath)" /> - - - - - - - + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + - - false - - - - $(IntermediateOutputPath) - - + --> + + false + + + + $(IntermediateOutputPath) + + - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - false - - - - - - - - - - - - - - + --> + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + - + --> + + --> - + --> + $(PrepareResourcesDependsOn); PrepareResourceNames; ResGen; CompileLicxFiles - - - + + + - + --> + AssignTargetPaths; SplitResourcesByCulture; CreateManifestResourceNames; CreateCustomManifestResourceNames - - - + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + - + --> + - - - - - - - <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> - - - Resx - - - Non-Resx - - - - - - - - - + --> + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + - - - - - - Resx - - - Non-Resx - - - - - - - - - - - - <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> - <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> - - + i.e. either Licx, or resources that don't have culture info --> + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + - - - - + --> + + + + - - ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen - FindReferenceAssembliesForReferences - true - false - - + --> + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + - + --> + - + --> + - - - <_Temporary Remove="@(_Temporary)" /> - - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - - + --> + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - true - - - true - - - - true - - - true - - - + suddenly start failing to build.--> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + --> - - - - - - - + --> + + + + + + + + --> - + --> + ResolveReferences; ResolveKeySource; @@ -6080,96 +5812,96 @@ Copyright (C) Microsoft Corporation. All rights reserved. CoreCompile; _TimeStampAfterCompile; AfterCompile; - - - + + + - - - - - - <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> - - <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> - Resx - false - - <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - false - - - + --> + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + - - - true - $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) - - - true - - - - - + --> + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + - - - - - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + + + - - true - - - - - - - - - - + --> + + true + + + + + + + + + + - + --> + - + --> + - - - <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + - - - $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + - - - <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + - - - __NonExistentSubDir__\__NonExistentFile__ - - + --> + + + __NonExistentSubDir__\__NonExistentFile__ + + - - <_SGenDllName>$(TargetName).XmlSerializers.dll - <_SGenDllCreated>false - <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) - <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto - <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off - true - false - true - + --> + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - + --> + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + --> - + --> + _GenerateSatelliteAssemblyInputs; ComputeIntermediateSatelliteAssemblies; GenerateSatelliteAssemblies - - - + + + - - - - - - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> - - <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> - Resx - true - - <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - true - - - + --> + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + - - - <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) - - - - - - + --> + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + - + --> + CreateManifestResourceNames - - - - - - %(EmbeddedResource.Culture) - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - - - + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + - - $(Win32Manifest) - + --> + + $(Win32Manifest) + - - - + --> + + + - <_DeploymentBaseManifest>$(ApplicationManifest) - <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + property is set though, prefer that one be used to specify the manifest. --> + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) - true - - - - - $(ApplicationManifest) - $(ApplicationManifest) - - - - - - $(_FrameworkVersion40Path)\default.win32manifest - - + a manifest to their built assemblies --> + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + --> - + --> + SetWin32ManifestProperties; GenerateApplicationManifest; GenerateDeploymentManifest - - + + - - - <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> - - - - - - + --> + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + - - - - - - - - - <_DeploymentCopyApplicationManifest>true - - + --> + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + - - - <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) - <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) - - + --> + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) - <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) - - - - - - - + --> + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + - - - <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> - <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> - - + --> + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + - - - - - - - <_DeploymentManifestType>Native - - - - - - - <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') - - - + --> + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + CleanPublishFolder; _DeploymentGenerateTrustInfo $(DeploymentComputeClickOnceManifestInfoDependsOn) - - + + - - - - <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - - - <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> - <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> - - - <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> - - - - <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> - true - - <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> - - - - <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> - - - + --> + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + + + + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + - <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> - - - - <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> - <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> - - <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> - - - + --> + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + - - <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> - <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> - - - + --> + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + - - - - - - - - - - - - - - - <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> - - - <_DeploymentManifestType>ClickOnce - + This is being done to avoid Windows Forms designer memory issues that can arise while operating directly on files located in Obj directory. --> + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + - - <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) - - - - - - - - - - - - - - - + --> + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - true - false - + --> + + true + false + - + --> + CopyFilesToOutputDirectory - - - + + + - - - false - false - - - - - false - false - false - - - true - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - false - false - - - - - - + --> + + + + false + false + + + + + + - - - - - + input to projects that reference this one. --> + + + + + - + --> + - - <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + --> + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence - true + --> + true <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> AssignProjectConfiguration; _SplitProjectReferencesByFileExistence - + AssignTargetPaths; $(_TargetsThatPrepareProjectReferences); _GetProjectReferenceTargetFrameworkProperties; _PopulateCommonStateForGetCopyToOutputDirectoryItems - + - <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems - - <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject - - + --> + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + - - <_GCTODIKeepDuplicates>false - <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> - - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - - <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> - - + a non-empty value and the original behavior will be restored. --> + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + - - - - %(CopyToOutputDirectory) - - - + --> + + + + %(CopyToOutputDirectory) + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - - - - - - - - - - - - + --> + + + + + + + + + + + + - - - - - - - - - <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false - - - - - - - <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false - - - - - + --> + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + - - - - <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true - - - - - + --> + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + --> - - - - <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> - - - - - - - - - - - - - + --> + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + - - <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> - - - - - - - - + the current final output and intermediate output directories. --> + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + - - - - - + --> + + + + + - - - + --> + + + - - <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - + --> + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - - - - - - + --> + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + --> - + --> + BeforeClean; UnmanagedUnregistration; @@ -7310,81 +7042,81 @@ Copyright (C) Microsoft Corporation. All rights reserved. CleanReferencedProjects; CleanPublishFolder; AfterClean - - - + + + - + --> + - + --> + - + --> + - - + --> + + - - - - + --> + + + + - - - - - - - - - - - - - - - - - - - - <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> - - - - - - - - - - + Declare items of this type if you want Clean to delete them. --> + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + - + --> + - - - - - - - - + --> + + + + + + + + - - - + --> + + + + --> - - - - - - + --> + + + + + + + --> - + --> + SetGenerateManifests; Build; PublishOnly - + _DeploymentUnpublishable - - - + + + - - - + --> + + + - - - - - true - - + --> + + + + + true + + - + --> + SetGenerateManifests; PublishBuild; @@ -7516,33 +7248,33 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; _DeploymentSignClickOnceDeployment; AfterPublish - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -7551,77 +7283,77 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; GenerateSerializationAssemblies; CreateSatelliteAssemblies; - - - + + + - + --> + - - - - - <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) - <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ - - - - false - false - - - - - - - - - - - - - - - - - + This is done because some servers misinterpret "." as a file extension. --> + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + - - - - + --> + + + + - - - - - - - - - - + --> + + + + + + + + + + + --> - + --> + - - - true - $(TargetPath) - $(TargetFileName) - true - - - - - - true - $(TargetPath) - $(TargetFileName) - - + --> + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + - - PrepareForBuild - true - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> - $(TargetDir)$(TargetFileName).config - $(TargetFileName).config - - $(AppConfig) - - - - <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> - <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> - $(_DeploymentTargetApplicationManifestFileName) - - $(OutDir)$(_DeploymentTargetApplicationManifestFileName) - - - - - - - %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) - - - + --> + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + - - - - - - @(_DebugSymbolsOutputPath->'%(FullPath)') - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputPdbItem->'%(FullPath)') - @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + - - - - - - @(FinalDocFile->'%(FullPath)') - true - @(DocFileItem->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputDocItem->'%(FullPath)') - @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + - - $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames - - - - - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - %(EmbeddedResource.Culture) - - - - - - $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) - - %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) - - - + --> + + $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - - - - - - $(MSBuildProjectFullPath) - $(ProjectFileName) - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + - - - - - - @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') - $(_SGenDllName) - - - + --> + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + - - + --> + + - - - + Needed for certain build environments that import partial sets of targets. --> + + + - - - - - - - - ResolveSDKReferences;ExpandSDKReferences - + --> + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + - - - - - - + --> + + + + + + + --> - + --> + $(CommonOutputGroupsDependsOn); BuildOnlySettings; PrepareForBuild; AssignTargetPaths; ResolveReferences - - + + - + --> + - + --> + $(BuiltProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - + + + + + + + - + --> + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(DocumentationProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SGenFilesOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(ReferenceCopyLocalPathsOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - + --> + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - + + + + --> - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets - - - - - - true - - - - - - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets - - - + retrieve them. --> + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets - - - - - - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets - $(MSBuildToolsPath)\NuGet.targets - + --> + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + +--> - - - true - - NuGet.Build.Tasks.dll - - false - - true - true - - false - - WarnAndContinue - - $(BuildInParallel) - true - - <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true - - $(MSBuildInteractive) - - true - - true - - <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true - - - - <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + --> + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + skipped. --> <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); NuGetRestoreTargets=$(MSBuildThisFileFullPath); RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); - - + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); _RestoreSolutionFileUsed=true; @@ -8185,57 +7917,57 @@ Copyright (c) .NET Foundation. All rights reserved. SolutionFileName=$(SolutionFileName); SolutionPath=$(SolutionPath); SolutionExt=$(SolutionExt); - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + --> + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - + --> + + + + $(ContinueOnError) + false + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - + --> + + + + $(ContinueOnError) + false + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - - - - - - - - + --> + + + + $(ContinueOnError) + false + + + + + + + + + - - - <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> - - + --> + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + - - - exclusionlist - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> - - - - - - - - - - - - - - - - - + --> + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + - - - - - - <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> - <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> - - - - - - - - - - + --> + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + - - - + --> + + + - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> - RestoreSpec - $(MSBuildProjectFullPath) - - - + --> + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + - - - netcoreapp1.0 - - - - - - + --> + + + netcoreapp1.0 + + + + + + - - - - - - - + --> + + + + + + + - + --> + - - <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true - - - <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true - - - - - - - <_HasPackageReferenceItems /> - - + --> + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + - - - true - - + --> + + + true + + - - - <_RestoreProjectFramework /> - <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) - - - - - - - <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> - - + --> + + + <_RestoreProjectFramework /> + <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + - - - <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> - - - <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> - - + --> + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + + <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> + + - - - $(SolutionDir) - - - - - - - - - - + --> + + + $(SolutionDir) + + + + + + + + + + - + --> + - - - - - - + --> + + + + + + - - - <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> - $(RestoreAdditionalProjectSources) - $(RestoreAdditionalProjectFallbackFolders) - $(RestoreAdditionalProjectFallbackFoldersExcludes) - - - + --> + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + - - - - $(MSBuildProjectExtensionsPath) - - - - + --> + + + + $(MSBuildProjectExtensionsPath) + + + + - - <_RestoreProjectName>$(MSBuildProjectName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) - + --> + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + - - <_RestoreProjectVersion>1.0.0 - <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) - <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) - - - - <_RestoreCrossTargeting>true - - - - <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(_RestoreProjectVersion) - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(RestoreProjectStyle) - $(RestoreOutputAbsolutePath) - $(RuntimeIdentifiers);$(RuntimeIdentifier) - $(RuntimeSupports) - $(_RestoreCrossTargeting) - $(RestoreLegacyPackagesDirectory) - $(ValidateRuntimeIdentifierCompatibility) - $(_RestoreSkipContentFileWrite) - $(_OutputConfigFilePaths) - $(TreatWarningsAsErrors) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - $(NoWarn) - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) - $(CentralPackageVersionOverrideEnabled) - $(CentralPackageTransitivePinningEnabled) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(RestoreOutputAbsolutePath) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(_CurrentProjectJsonPath) - $(RestoreProjectStyle) - $(_OutputConfigFilePaths) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - $(MSBuildProjectDirectory)\packages.config - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - $(_OutputSources) - $(SolutionDir) - $(_OutputRepositoryPath) - $(_OutputConfigFilePaths) - $(_OutputPackagesPath) - @(_RestoreTargetFrameworksOutputFiltered) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - @(_RestoreTargetFrameworksOutputFiltered) - - - + --> + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + - - - + --> + + + - + --> + - - - - - - - + --> + + + + + + + - + --> + - - - - - - - - - - - - - - - - - - - - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - TargetFrameworkInformation - $(MSBuildProjectFullPath) - $(PackageTargetFallback) - $(AssetTargetFallback) - $(TargetFramework) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion) - $(TargetFrameworkMoniker) - $(TargetFrameworkProfile) - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetPlatformVersion) - $(TargetPlatformMinVersion) - $(CLRSupport) - $(RuntimeIdentifierGraphPath) - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + + + - + --> + - - - - - - - <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> - - + --> + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + - - - - - - + --> + + + + + + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - - - - - - - - <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> - - - - - - + --> + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + - - - <_RestorePackagesPathOverride>$(RestorePackagesPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + - - - <_RestorePackagesPathOverride>$(RestoreRepositoryPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + - - - <_RestoreSourcesOverride>$(RestoreSources) - - + --> + + + <_RestoreSourcesOverride>$(RestoreSources) + + - - - <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) - - + --> + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + - - - - - - + --> + + + + + + - - - <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) - - + --> + + + <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) + + - - - <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> - - + --> + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + - + --> + - +--> + +--> - - $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets - +--> + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + +--> - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - $(MSBuildThisFileDirectory)\tools\net7.0\Microsoft.NET.Build.Extensions.Tasks.dll - $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll - - true - - - - +--> + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net7.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + +--> +--> +--> - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + +--> - - - Microsoft.TestPlatform.Build.dll - $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) - - - +--> + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +--> - +--> + +--> - - true - - - - true - + --> + + true + + + + true + - - <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets - <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) - - + --> + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + - - - +--> + + + // <autogenerated /> using System%3b using System.Reflection%3b [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName = "$(TargetFrameworkMonikerDisplayName)")] - - - - - true + + + + + true - true - true - - $([System.Globalization.CultureInfo]::CurrentUICulture.Name) - + --> + true + true + + $([System.Globalization.CultureInfo]::CurrentUICulture.Name) + - + but the user hasn't told us to not include standard references --> + - <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> - - - - + --> + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> + + + + +--> +--> - - - TargetFramework - TargetFrameworks - - - true - - +--> + + + TargetFramework + TargetFrameworks + + + true + + - - + --> + + - - - <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets - <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath - GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) - $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) - GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) - Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) - $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) - - <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath - <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) - GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) - - - - - - - - - - + --> + + + <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath + GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) + $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) + GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) + Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) + GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + + + + + + + + +--> - +--> + +--> +--> +--> - - - $(MSBuildThisFileDirectory)..\tools\ - net8.0 - net472 - $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ - $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll +--> + + + $(MSBuildThisFileDirectory)..\tools\ + net7.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll - Microsoft.NETCore.App;NETStandard.Library - + --> + Microsoft.NETCore.App;NETStandard.Library + - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - $(_IsExecutable) - - - - netcoreapp2.2 - - - false - DotnetTool - $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) - - - Preview - - - - - + --> + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + - - true - - +--> + + true + + +--> +--> - - - $(MSBuildProjectExtensionsPath)/project.assets.json - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + --> + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) - $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) - - false - - false - - true - $(IntermediateOutputPath)NuGet\ - true - $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) - $(TargetFrameworkMoniker) - true + be stored in a shared directory next to the assets.json file --> + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true - false + TargetDefinitions, FileDefinitions and FileDependencies items. --> + false - true - - - - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) - - - - - + its own multi-targeting logic, or if the current SDK targets will pick the assets correctly. --> + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + - + --> + $(ResolveAssemblyReferencesDependsOn); ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; - + ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; $(PrepareResourcesDependsOn) - - - - - - $(RootNamespace) - - - $(AssemblyName) - - - $(MSBuildProjectDirectory) - - - $(TargetFileName) - - - $(MSBuildProjectFile) - - - + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + - - true - + --> + + true + + --> - + --> + ResolveLockFileReferences; ResolveLockFileAnalyzers; @@ -9573,110 +9305,110 @@ Copyright (c) .NET Foundation. All rights reserved. ResolveRuntimePackAssets; RunProduceContentAssets; IncludeTransitiveProjectReferences - - - + + + + --> - - - - + --> + + + + - + run and created the assets file. --> + - - - - - - - - - - - - - - - - - <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) - roslyn$(_RoslynApiVersion) - - - - - - false - - - true - - - true - - - - true - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + compile errors. --> + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + match the expected version --> + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> - - - <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> - - + (that was spread across different tasks/targets) for backwards compatibility. --> + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + - + --> + - - - - - - + --> + + + + + + - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + - - - - + but the names depend upon the items themselves. Split it apart. --> + + + + - - + --> + + - - true - + --> + + true + - - + project, use that, in order to preserve metadata (such as aliases). --> + + - - - - - - - - - - - - - - + a reference with a warning. See https://github.com/dotnet/sdk/issues/1499 --> + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> - - <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - - - - + --> + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + - + NETSDK1056. --> + - - +--> + + +--> - - - true - true - true - true - - +--> + + + true + true + true + true + + - - $(DefaultItemExcludes);$(BaseOutputPath)/** - - $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** - - $(DefaultItemExcludes);**/*.user - $(DefaultItemExcludes);**/*.*proj - $(DefaultItemExcludes);**/*.sln - $(DefaultItemExcludes);**/*.vssscc - $(DefaultItemExcludes);**/.DS_Store + This is in the .targets because it needs to come after the final BaseOutputPath has been evaluated. --> + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc - $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** - + properties because of a naming mistake. --> + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + - + in the project file. --> + - 1.6.1 - - 2.0.3 - + produced, so we will roll forward to the latest version. --> + 1.6.1 + + 2.0.3 + +--> +--> - - true - false - <_TargetLatestRuntimePatchIsDefault>true - - - true - - - - - all - true - - - all - true - - - - - - - - - - - - + --> + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + - - - - - - - - - + A FrameworkReference to Microsoft.AspNetCore.App should be used instead, and will be implicitly included by Microsoft.NET.Sdk.Web. --> + + + + + + + + + - - - - - - - - - - - - + should be replaced with a FrameworkReference. --> + + + + + + + + + + + + - - $(_TargetFrameworkVersionWithoutV) - - - - - - - - https://aka.ms/sdkimplicitrefs - - - - - - - - - - - <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> - - - - false - - - - - - https://aka.ms/sdkimplicititems - + this should prevent breaking it. --> + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + - - - - - - - - - - - - - - - - - - - - - - - - - - <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> - - - + be easy to miss the duplicate items error which is the real source of the problem. --> + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + +--> - - - + if building with an implicit restore. --> + + + - - + --> + + - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + --> + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - - - - - - - - - - - - - - - true - - - - - + --> + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + + + + +--> +--> - +--> + $(ResolveAssemblyReferencesDependsOn); ResolveTargetingPackAssets; - - - - - - - + + + + + + + - - - - - - - - + we can't do the change atomically --> + + + + + + + + - - - - - - - - - - - true - true - - - <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - - - - - - - $(RuntimeIdentifier) - $(DefaultAppHostRuntimeIdentifier) - - - - - - - - - - - true - true - false - - - - [%(_PackageToDownload.Version)] - - - - - - - - <_ImplicitPackageReference Remove="@(PackageReference)" /> - - - + --> + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + - - - - - - + --> + + + + + + - - - - - - - %(ResolvedTargetingPack.PackageDirectory) - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> - %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) - - - - - %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) - - - - @(ResolvedAppHostPack->'%(Path)') - - - - %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) - - - - @(ResolvedSingleFileHostPack->'%(Path)') - - - - %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) - - - - @(ResolvedComHostPack->'%(Path)') - - - - %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) - - - - @(ResolvedIjwHostPack->'%(Path)') - - - - - - - - - - + --> + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + - - - - true - false - - - - - - - - - - + --> + + + + true + false + + + + + + + + + + - $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) - - - - - - - - - - - - - - - - - - - + that consume it. --> + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + - - - - - - <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> - - - + --> + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + - - - - - - - - + --> + + + + + + + + - + --> + - - - <_Parameter1>$(UserSecretsId.Trim()) - - - + --> + + + <_Parameter1>$(UserSecretsId.Trim()) + + + - - - - - - $(_IsNETCoreOrNETStandard) - - - true - false - true - $(MSBuildProjectDirectory)/runtimeconfig.template.json - true - true - <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache - <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) - <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache - <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) - <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache - <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) - - - - <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true - - - false - true - - - $(BundledRuntimeIdentifierGraphFile) - - $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json - - - - - - - - - - - true - - - false - - - $(AssemblyName).deps.json - $(TargetDir)$(ProjectDepsFileName) - $(AssemblyName).runtimeconfig.json - $(TargetDir)$(ProjectRuntimeConfigFileName) - $(TargetDir)$(AssemblyName).runtimeconfig.dev.json - true - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + + + + + $(_IsNETCoreOrNETStandard) + + + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + + + + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + +--> - - - true - true - - - - CurrentArchitecture - CurrentRuntime - - - <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so - <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe - <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) - <_DotNetAppHostExecutableNameWithoutExtension>apphost - <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) - <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost - <_DotNetComHostLibraryNameWithoutExtension>comhost - <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) - <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost - <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) - <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) - <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) - - - - - - <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> - - +--> + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + - - - Microsoft.NETCore.App - - + --> + + + Microsoft.NETCore.App + + - - <_DefaultUserProfileRuntimeStorePath>$(HOME) - <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) - <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) - $(_DefaultUserProfileRuntimeStorePath) - - - true - - - true - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + - - false - true - + property values from referencing projects. --> + + false + true + - - true - - - true - - - $(AvailablePlatforms),ARM32 - - - $(AvailablePlatforms),ARM64 - - - $(AvailablePlatforms),ARM64 - - - - false - - - - true - - - - - <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true - <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true - - <_BinaryFormatterObsoleteAsError>true - - true - false - - + --> + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + + + true + + _CheckForBuildWithNoBuild; $(CoreBuildDependsOn); GenerateBuildDependencyFile; GenerateBuildRuntimeConfigurationFiles - - - + + + _SdkBeforeClean; $(CoreCleanDependsOn) - - - + + + _SdkBeforeRebuild; $(RebuildDependsOn) - - - - - - - - - + + - - - + --> + + + - - - - 1.0.0 - - - - - - - - - - - - - <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> - - <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> - - - + --> + + + + 1.0.0 + + + + + + + + + + + - - - + during incremental builds when the task is skipped --> + + + - - - - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + - - - <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true - LatestMinor - + --> + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + - - - <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true - - - + other values should still keep failing as they won't have any effect when run on 2.*. --> + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_CleaningWithoutRebuilding>true - false - - - - - <_CleaningWithoutRebuilding>false - - + during incremental builds when the task is skipped --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + --> + + + + + $(CompileDependsOn); _CreateAppHost; _CreateComHost; _GetIjwHostPaths; - - + + - - - - <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true - <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true - - - + --> + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + - - - $(SingleFileHostSourcePath) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) - - + --> + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + - - - - - @(_NativeRestoredAppHostNETCore) - - - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) - - - - - - + --> + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + - - - - - + --> + + + + + - - - - + --> + + + + - - - + --> + + + - - - $(AssemblyName).comhost$(_ComHostLibraryExtension) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) - - - + --> + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + - - - + --> + + + - - - - <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest - PreserveNewest - - - + --> + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + - - PreserveNewest - Never - - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest + --> + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest - Always - - - - - $(AssemblyName).$(_DotNetComHostLibraryName) - PreserveNewest - PreserveNewest - - - %(FileName)%(Extension) - PreserveNewest - PreserveNewest - - - - - $(_DotNetIjwHostLibraryName) - PreserveNewest - PreserveNewest - - - + places the correct unbundled apphost in the publish directory. --> + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + - - - <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + --> + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> - <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> - <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> - <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> - - + --> + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + - - - - - true - - - true - - - - - + --> + + + + + true + + + true + + + + + - - $(StartWorkingDirectory) - - - - - $(StartProgram) - $(StartArguments) - - - - - - dotnet - <_NetCoreRunArguments>exec "$(TargetPath)" - $(_NetCoreRunArguments) $(StartArguments) - $(_NetCoreRunArguments) - - - $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) - $(StartArguments) - - - - - $(TargetPath) - $(StartArguments) - - - mono - "$(TargetPath)" $(StartArguments) - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) - - - - - + --> + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + - + --> + $(CreateSatelliteAssembliesDependsOn); CoreGenerateSatelliteAssemblies - - - - - - - <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs - <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll - - - - <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) - - - - - - - true - - - - - - - - - - - - - + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + - + --> + - - - - - + --> + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - + --> + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + - - - - - - + --> + + + + + + - - - - - - - - - - false - - + --> + + + + + + + + + + false + + - false - - - - false - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true - - - - + to run it. --> + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + - - - + --> + + + - - - - - - - - - - - - - - <_SourceLinkSdkSubDir>build - <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting - true - - - - - - - - local - - - - - - - - - - - git - - - - - - - - - - - - - - - - - - - - - - - - - - $(RepositoryUrl) - $(ScmRepositoryUrl) - - - - %(SourceRoot.ScmRepositoryUrl) - - - - - - - - <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json - - - - - - - - - <_GenerateSourceLinkFileBeforeTargets>Link - <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches - - - <_GenerateSourceLinkFileBeforeTargets>CoreCompile - <_GenerateSourceLinkFileDependsOnTargets /> - - - - - - - - - - - - - - - - %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" - - - - - - - - - <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll - <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - - - <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll - <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - - - <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll - <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - - - <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll - <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - + --> + + + + + + + + +--> - +--> + $(CommonOutputGroupsDependsOn); - - - + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); _GenerateDesignerDepsFile; _GenerateDesignerRuntimeConfigFile; GetCopyToOutputDirectoryItems; _GatherDesignerShadowCopyFiles; - - <_DesignerDepsFileName>$(AssemblyName).designer.deps.json - <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json - <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) - <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) - - - + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + - - - - - - - - - - <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> - - - - - - - - - - - <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + --> + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> - <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> - - - - - + --> + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + + + + +--> +--> +--> - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) - true - - - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - + --> + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + - - - - - <_InformationalVersionContainsPlus>false - <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true - $(InformationalVersion)+$(SourceRevisionId) - $(InformationalVersion).$(SourceRevisionId) - - - - - - <_Parameter1>$(Company) - - - <_Parameter1>$(Configuration) - - - <_Parameter1>$(Copyright) - - - <_Parameter1>$(Description) - - - <_Parameter1>$(FileVersion) - - - <_Parameter1>$(InformationalVersion) - - - <_Parameter1>$(Product) - - - <_Parameter1>$(Trademark) - - - <_Parameter1>$(AssemblyTitle) - - - <_Parameter1>$(AssemblyVersion) - - - <_Parameter1>RepositoryUrl - <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) - <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) - - - <_Parameter1>$(NeutralLanguage) - - - %(InternalsVisibleTo.PublicKey) - - - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) - - - <_Parameter1>%(AssemblyMetadata.Identity) - <_Parameter2>%(AssemblyMetadata.Value) - - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) - - - <_Parameter1>$(TargetPlatformIdentifier) - - - - - - + --> + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + %(InternalsVisibleTo.PublicKey) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + - - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache - - - - - - - - - - - - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + - - - - - - $(AssemblyVersion) - $(Version) - - + --> + + + + + + $(AssemblyVersion) + $(Version) + + +--> +--> +--> - - - $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) + - - - - - - - - - - + --> + + + + + + + + + + +--> +--> - - - - <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config - - - - - - - - - - - - - - - - - +--> + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + +--> +--> +--> - + --> + - - - <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> - <_AllProjects Include="$(MSBuildProjectFullPath)" /> - - - - - + --> + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + - - - - %(PackageReference.Identity) - %(PackageReference.Version) + --> + + + + %(PackageReference.Identity) + %(PackageReference.Version) StorePackageName=%(PackageReference.Identity); StorePackageVersion=%(PackageReference.Version); @@ -12229,246 +11375,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); DisableImplicitFrameworkReferences=false; - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - + --> + + + + + + + + + <_StoreArtifactContent> @(ListOfPackageReference) -]]> - - - - - - +]]> + + + + + + - - - <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> - <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> - - - - - - - - + --> + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + - - - true - true - <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) - true - - - - - - $(UserProfileRuntimeStorePath) - <_ProfilingSymbolsDirectoryName>symbols - $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) - $(DefaultProfilingSymbolsDir) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) - $(ProfilingSymbolsDir)\ - $(DefaultComposeDir) - $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) - $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) - $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) - $([System.IO.Path]::GetFullPath($(ComposeDir))) - <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) - $([System.IO.Path]::GetTempPath()) - $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) - $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) - - $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) - - $(PublishDir)\ - - - - false - true - - - - - - - - $(StorePackageVersion.Replace('*','-')) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) - <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) - $(StoreWorkerWorkingDir)\ - $(BaseIntermediateOutputPath)\project.assets.json - - - $(MicrosoftNETPlatformLibrary) - true - - + --> + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + - - - - + --> + + + + - + --> + - + --> + - - - - - + --> + + + + + - + --> + - - - <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> - - - true - - + --> + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + - - - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> - - + --> + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + - - - - true - true - - - - - - - - - + --> + + + + true + true + + + + + + + + + - - - - - - + --> + + + + + + +--> +--> +--> - - true - true - false - true - false - true - 1 - + --> + + true + true + false + true + false + true + 1 + - - - - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> - - - - - - - - <_CoreclrPath>@(_CoreclrResolvedPath) - @(_JitResolvedPath) - <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) - <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) - $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) - - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) - - - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) - - + --> + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + - - - + --> + + + CrossgenExe=$(Crossgen); CrossgenJit=$(JitPath); @@ -12558,252 +11704,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) - - - - - - + + + + + + - - - $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) - $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) - $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" - CreatePDB - CreatePerfMap - - - - - - - - - - - - <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> - - - - - - - - $([System.IO.Path]::PathSeparator) - $([System.IO.Path]::DirectorySeparatorChar) - - + --> + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + - - - <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) - <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) - - - - - <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) - - + --> + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + - - - <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) - - <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) - - <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) - - - <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> - - - - - - - - + --> + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll - $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - + --> + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + - - - - - - - - - - - + --> + + + + + - - - - - + --> + + + + + - - - - <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R - - - - <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> - + --> + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + - - <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> - - - - - - <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> - <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> - - - <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> - <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> - - - - - - - - - - - - - - - - - + assembly list. --> + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + - - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> - - + --> + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> - - + --> + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + +--> +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + - - +--> + + - - <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> - - <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> - - - - +--> + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + +--> +--> - - true - <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true - true - - - - - true - true - - - - Always - - - - - - <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true - <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false - - +--> + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + Always + + - - - - + --> + + + + <_BeforePublishNoBuildTargets> BuildOnlySettings; _PreventProjectReferencesFromBuilding; @@ -12919,70 +12045,62 @@ Copyright (c) .NET Foundation. All rights reserved. PrepareResourceNames; ComputeIntermediateSatelliteAssemblies; ComputeEmbeddedApphostPaths; - + <_CorePublishTargets> PrepareForPublish; ComputeAndCopyFilesToPublishDirectory; $(PublishProtocolProviderTargets); PublishItemsOutputGroup; - - <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) - - - - + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + - - - - - - - - - - - - - - false - - + the published assets were copied. --> + + + + + + + false + + - - - - - - - - - - - - - - $(PublishDir)\ - - - + --> + + + + + + + + + + + + + + $(PublishDir)\ + + + - + --> + - + --> + - - - - <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> - - - - - - - - + --> + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + - - - <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) - - - - - - <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt - - - - - - - - - - - - - - - - - - <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> - <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> - - - - - - - - - + --> + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + - + --> + - - - - + --> + + + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - - <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> - <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> - - - <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> - <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> - - + --> + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + - - - - - true - true - false - - + --> + + + true + true + false + + - - - - - @(IntermediateAssembly->'%(Filename)%(Extension)') - PreserveNewest - - - - $(ProjectDepsFileName) - PreserveNewest - - - - $(ProjectRuntimeConfigFileName) - PreserveNewest - - - - @(AppConfigWithTargetPath->'%(TargetPath)') - PreserveNewest - - - - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - PreserveNewest - true - - - - %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) - PreserveNewest - - - - %(Filename)%(Extension) - PreserveNewest - - + --> + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> - - - - %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) - PreserveNewest - - - - @(FinalDocFile->'%(Filename)%(Extension)') - PreserveNewest - - - - shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) - PreserveNewest - - - <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> - - - + to ensure that we don't get duplicate files in the publish output. --> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + - - + --> + + - - - - - <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> - - - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> - - + PreserveStoreLayout without this task, and how to handle RuntimeStorePackages. --> + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + - - - - - - + --> + + + + + + - - - <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> - - + --> + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + - - - <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + --> + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - - - - %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) - Always - True - - - %(_SourceItemsToCopyToPublishDirectory.TargetPath) - PreserveNewest - True - - - + --> + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + - + --> + - - <_GCTPDIKeepDuplicates>false - <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath - - - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - + a non-empty value and the original behavior will be restored. --> + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + - - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - Always - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - PreserveNewest - - - - - <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies - - - + --> + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + - - - <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> - - <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> - - <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> - - - - <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> - + --> + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + - - - + --> + + + - - - - - - - - - <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> - - - + --> + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + - - <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true - <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true - - + generate a different one. --> + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + - - - <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> - - - - $(AssemblyName)$(_NativeExecutableExtension) - $(PublishDir)$(PublishedSingleFileName) - - - - - - - - $(PublishedSingleFileName) - - - - - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> - - - - - - - - - - false - false - false - $(IncludeAllContentForSelfExtract) - false - - - - - - - - - - - - - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) - - - - - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> - - - - - - - - - + --> + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + - - - - $(PublishDir)$(ProjectDepsFileName) - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) - - - - - - <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - - - - - $(ProjectDepsFileName) - - - + --> + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + - - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + --> + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + - - - - - - - - + --> + + + + + + + + - + --> + $(PublishItemsOutputGroupDependsOn); ResolveReferences; ComputeResolvedFilesToPublishList; _ComputeFilesToBundle; - - - - - - - - - - - + + + + + + + + + + + - + --> + - - - + --> + + + - +--> + +--> - - - - - +--> + + + + + - - <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml - true - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) - - - - <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> - <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> - <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> - - - - - - - tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) - - - %(_ResolvedFileToPublishWithPackagePath.PackagePath) - - - - - $(TargetName) - $(TargetFileName) - <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache - <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) - - - - <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> - - - - - - - - - - - - - - - - - - - + --> + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + + + $(TargetName) + $(TargetFileName) + + + + + + + + + + + + + - - <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache - <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) - <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel - <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) - $(OutDir) - - - - - + --> + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + - - + --> + + - - - - - - - - - + during incremental builds when the task is skipped --> + + + + + + + + + - - - <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> - <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> - <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> - <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + +--> +--> - - - +--> + + + +--> +--> - - refs - $(PreserveCompilationContext) - - - - - $(DefineConstants) - $(LangVersion) - $(PlatformTarget) - $(AllowUnsafeBlocks) - $(TreatWarningsAsErrors) - $(Optimize) - $(AssemblyOriginatorKeyFile) - $(DelaySign) - $(PublicSign) - $(DebugType) - $(OutputType) - $(GenerateDocumentationFile) - - - - - - - - - +--> + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(PublicSign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + - <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + --> + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> - <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> - - $(RefAssembliesFolderName)\%(Filename)%(Extension) - - - + --> + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + - - - - - + --> + + + + + +--> +--> +--> +--> - - +--> + + Microsoft.CSharp|4.4.0; Microsoft.Win32.Primitives|4.3.0; @@ -14080,9 +13123,9 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + Microsoft.Win32.Primitives|4.3.0; System.AppContext|4.3.0; @@ -14179,50 +13222,50 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + - - +--> + + - - + --> + + - <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> - - - - - - - + --> + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + - - - - - - - - - + (eg: HintPath) --> + + + + + + + + + - - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> - - + --> + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + - - - - - - - + --> + + + + + + + +--> +--> - - Properties - - - $(Configuration.ToUpperInvariant()) +--> + + Properties + + + $(Configuration.ToUpperInvariant()) - $(ImplicitConfigurationDefine.Replace('-', '_')) - $(ImplicitConfigurationDefine.Replace('.', '_')) - $(ImplicitConfigurationDefine.Replace(' ', '_')) - $(DefineConstants);$(ImplicitConfigurationDefine) - - - $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) - - - - - + --> + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(ImplicitConfigurationDefine.Replace(' ', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + + + + + - - $(WarningsAsErrors);SYSLIB0011 - + --> + + $(WarningsAsErrors);SYSLIB0011 + + + + + + + + + + $(IntermediateOutputPath)linked\ + $(IntermediateLinkDir)\ + + <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore + + + + <_Parameter1>IsTrimmable + <_Parameter2>True + + + + + false + false + false + false + false + false + false + false + + <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true + <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false + true + + + + true + + true + + false + + + + <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --notrimwarn + false + + + + $(NoWarn);IL2121 + + + + + + <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> + + + + + + + <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + + + + + + + + + + + + + <_DotNetHostDirectory>$(NetCoreRoot) + <_DotNetHostFileName>dotnet + <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe + + + + + + + + + + + + + + + 5 + 0 + + + + + + <_ILLinkSuppressions Include="$(MSBuildThisFileDirectory)6.0_suppressions.xml" /> + + + <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --link-attributes "@(_ILLinkSuppressions->'%(Identity)', '" --link-attributes "')" + + + + copyused + partial + full + + <_TrimmerDefaultAction Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '7.0'))">$(TrimmerDefaultAction) + <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">$(TrimMode) + <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '6.0'))">copy + + + $(TreatWarningsAsErrors) + <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) + true + + + + + $(NoWarn);IL2008 + + $(NoWarn);IL2009 + + + $(NoWarn);IL2037 + + + $(NoWarn);IL2009;IL2012 + + + + + <_ExtraTrimmerArgs>--enable-serialization-discovery $(_ExtraTrimmerArgs) + + + + + true + false + + + <_TrimmerUnreachableBodies>false + + + + + true + + + + + + + + + + + + + + + + + + + copy + + + + + + <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly> + false + + + + + + + false + + + + <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> + + + + + + + + + + + + <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> + <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> + + + <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + - - - - +--> +--> - +--> + + and enable .NET analyzers. Valid values are 'none', 'latest', 'preview', or a version number --> - <_NoneAnalysisLevel>4.0 - - <_LatestAnalysisLevel>8.0 - <_PreviewAnalysisLevel>9.0 - latest - $(_TargetFrameworkVersionWithoutV) + we choose to only do the 'latest' => actual value translation one time. --> + <_NoneAnalysisLevel>4.0 + + <_LatestAnalysisLevel>7.0 + <_PreviewAnalysisLevel>8.0 + latest + $(_TargetFrameworkVersionWithoutV) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) - $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) + --> + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) - $(_NoneAnalysisLevel) - $(_LatestAnalysisLevel) - $(_PreviewAnalysisLevel) - - $(AnalysisLevelPrefix) - $(AnalysisLevel) - - - - 9999 - - 4 - - $(_TargetFrameworkVersionWithoutV.Substring(0, 1)) - - - - - true - - true - - true - - true - - false - - - - false - false - false - false - false - - + and an implied numerical option (such as '4')--> + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefix) + $(AnalysisLevel) + + + + 9999 + + 4 + + $(_TargetFrameworkVersionWithoutV.Substring(0, 1)) + + + + + true + + true + + true + + true + + false + + + + false + false + false + false + false + + +--> - + --> + - - <_NETAnalyzersSDKAssemblyVersion>8.0.0 - + --> + + <_NETAnalyzersSDKAssemblyVersion>7.0.1 + - - CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1510;CA1511;CA1512;CA1513;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA1856;CA1857;CA1858;CA1859;CA1860;CA1861;CA1862;CA1863;CA1864;CA1865;CA1866;CA1867;CA1868;CA1869;CA1870;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2021;CA2100;CA2101;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2261;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 - $(CodeAnalysisTreatWarningsAsErrors) - $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) - + This property group handles 'CodeAnalysisTreatWarningsAsErrors' for the CA rule ids implemented in this package. + --> + + CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2100;CA2101;CA2109;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2229;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) + $(WarningsAsErrors);$(CodeAnalysisRuleIds) + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.Analyzers.targets +============================================================================================================================================ +--> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - true - true - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets - - - - - +--> + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + +--> - - - true - - - - true - - - - 7.0 - - +--> + + + true + + + + true + + + + 7.0 + + - $(TargetPlatformMinVersion) - $(SupportedOSPlatformVersion) - - $(TargetPlatformVersion) - $(TargetPlatformVersion) - - - - <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> - - - - - - - - + other value. --> + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> - - - - - - - + The WinMD in this case can be identified because the Implementation metadata value is WinRT.Host.dll. So here we remove any such WinMD references. --> + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + +--> - + TargetPlatformVersion may have been set later than that in evaluation by platform-specific targets or Directory.Build.targets. So fix up those properties here --> + - 0.0 - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - - - - $(TargetPlatformVersion) - - + workloads. --> + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + +--> +--> - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll - $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll - - - - - +--> + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net7.0\Microsoft.DotNet.ApiCompat.Task.dll + + + + + +--> - - - - - - $(RoslynTargetsPath) - <_packageReferenceList>@(PackageReference) +--> + + + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) - $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) - $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) - - - - $(GenerateCompatibilitySuppressionFile) - - - - - - - <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - - $(_apiCompatDefaultProjectSuppressionFile) - - - - - - + are on the same directory as Microsoft.CodeAnalysis. So there is no need to distinguish between csproj or vbproj. --> + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + +--> +--> - - $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore - - CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - - - $(PackageId) - $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) - - - <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> - - - - - - - - - - $(TargetPlatformMoniker) - - - - - - - - - +--> + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + + + + + + + + + + + + + + + + - +--> + - - - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets - true - +--> + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + +--> - - - ..\CoreCLR\NuGet.Build.Tasks.Pack.dll - ..\Desktop\NuGet.Build.Tasks.Pack.dll - - - - - - - - - $(AssemblyName) - $(Version) - true - _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) - $(Description) - Package Description - false - true - true - tools - lib - content;contentFiles - $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) - true - symbols.nupkg - DeterminePortableBuildCapabilities - false - false - .dll; .exe; .winmd; .json; .pri; .xml - $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) - .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) - .pdb - false - - - $(GenerateNuspecDependsOn) - - - Build;$(GenerateNuspecDependsOn) - - - - - - - $(TargetFramework) - - - - $(MSBuildProjectExtensionsPath) - $(BaseOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - +--> + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - + --> + + + + + + - - - <_ProjectFrameworks /> - - - - - - <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> - - + --> + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + - - - - <_PackageFilesToDelete Include="@(_OutputPackItems)" /> - - - - - - false - - - - - - - - - - - - - + --> + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + - - - - - - true - - - - - - - - - + --> + + + + + + true + + + + + + + + + - - - - $(PrivateRepositoryUrl) - $(SourceRevisionId) - - + --> + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + - - - - $(MSBuildProjectFullPath) - - - - - - - - - - - - - - - - - <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> - $(PackageVersion) - 1.0.0 - - - - - - - - - - - - - - - - - - - - - - - - - - <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> - - - - - - $(TargetFramework) - - - - - - - - - - - - - %(TfmSpecificPackageFile.RecursiveDir) - %(TfmSpecificPackageFile.BuildAction) - - - - - - <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> - $(TargetFramework) - - - - <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> - - + --> + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + - - - <_PathToPriFile Include="$(ProjectPriFullPath)"> - $(ProjectPriFullPath) - $(ProjectPriFileName) - - - + has to be added manually here.--> + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + - - - <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> - - - - <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> - Content - - <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> - Compile - - <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> - None - - <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> - EmbeddedResource - - <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> - ApplicationDefinition - - <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> - Page - - <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> - Resource - - <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> - SplashScreen - - <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> - DesignData - - <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> - DesignDataWithDesignTimeCreatableTypes - - <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> - CodeAnalysisDictionary - - <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> - AndroidAsset - - <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> - AndroidResource - - <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> - BundleResource - - - + --> + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + +--> +--> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.FSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.FSharp.xml index 1ef8691..11e05d2 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.FSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.FSharp.xml @@ -1,17 +1,17 @@ - +--> + +--> - +--> + - true + --> + true - true - - - - true - - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - - - false - - - - - true - $(MSBuildProjectName) - - - $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ - $(ArtifactsPath)\obj\ - - - - <_ArtifactsPathSetEarly>true - - - $(ProjectExtensionsPathForSpecifiedProject) - - + --> + true + + + $(ProjectExtensionsPathForSpecifiedProject) + + +--> - - true - true - true - true - true - +--> + + true + true + true + true + true + - - <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props - <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) - - + --> + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + - + --> + - obj\ - $(BaseIntermediateOutputPath)\ - <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) - $(BaseIntermediateOutputPath) + --> + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) - $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) - $(MSBuildProjectExtensionsPath)\ - true - <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) - - + --> + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + - - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) - - + --> + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + - - true - - - $(DefaultProjectConfiguration) - $(DefaultProjectPlatform) - - - WJProject - JavaScript - - - - - + e.g. by the project itself. --> + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props - $(MSBuildToolsPath)\NuGet.props - + --> + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + +--> +--> - - true - + --> + + true + - - <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props - <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) - $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) - - - - true - + --> + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + - - true - true - true - true - true - true - true - true - true - true - true - true - true - +C:\Program Files\dotnet\sdk\7.0.202\Current\Microsoft.Common.props +============================================================================================================================================ +--> + + true + true + true + true + true + true + true + true + true + true + true + true + true + +--> +--> - - - true - - - - Debug;Release - AnyCPU - Debug - AnyCPU - - - - - true - - - - Library - 512 - prompt - $(MSBuildProjectName) - $(MSBuildProjectName.Replace(" ", "_")) - true - - - - true - false - - - true - - +--> + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + - - <_PlatformWithoutConfigurationInference>$(Platform) - - - x64 - - - x86 - - - ARM - - - arm64 - - - - - {CandidateAssemblyFiles} - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);{RawFileName} - - - portable - - false - - true - true + --> + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + arm64 + + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + + + portable + + false + + true + true - PackageReference - $(AssemblySearchPaths) - false - false - false - false - false - false - false - false - false - true - 1.0.3 - false - true - true - - - - - - $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj - - + a project targets .NET Framework and doesn't have any direct package dependencies. --> + PackageReference + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.3 + false + true + true + false + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + - - - $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)../../')) - $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs - <_NetFrameworkHostedCompilersVersion>4.8.0-3.23471.11 - 8.0 - 8.0 - 8.0.0-rc.2.23479.6 - 2.1 - 2.1.0 - 8.0.0-rc.2.23479.6 - $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json - 8.0.100-rc.2.23502.2 - linux-x64 - linux-x64 - <_NETCoreSdkIsPreview>true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> - <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> - +--> + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + 7.0 + 7.0 + 7.0.4 + 2.1 + 2.1.0 + 7.0.1 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 7.0.202 + win-x64 + win-x64 + <_NETCoreSdkIsPreview>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - false - - - <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif - - - - - - - - - - - - - - - - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.props +============================================================================================================================================ +--> + + + $(BundledRuntimeIdentifierGraphFile) + + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + - - - - - - - - - + evaluated in the second pass of evaluation, after all properties have been evaluated. --> + + + + + + + + + - + an implicit FrameworkReference --> + - - - - - - - + Packing an DotnetCliTool should include the Microsoft.NETCore.App package dependency. --> + + + + + +--> - - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel - <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel - true - - + putting an EnableWorkloadResolver.sentinel file beside the MSBuild SDK resolver DLL --> + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + +--> - - +--> + + - +--> + +--> +--> - - - - - - - - - - - - - - - - 9.0 - 17.8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + This is used by VS to show the list of frameworks to which projects can be retargeted. --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +--> + +--> - - - - - - +--> + + + + + + - +--> + +--> - - - - - - - - - - - - +--> + + + + + + + + + + + + +--> + + +--> - - - true - <_SourceLinkPropsImported>true - - +--> + + + + false + true + + + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.props + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.props + - - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll - $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll - +--> + - - - - <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll - <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll - - - - true - - true - +*********************************************************************************************** +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + TRACE + + + + + $(DefineConstants);TRACE + + + + + false + + false + + + {F2A71F9B-5D33-465A-A702-920D77279786} + + false + false + 3 + 3239;$(WarningsAsErrors) + true + true + false + + + true + false + false + + + false + true + true + + + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsc.dll" + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsi.dll" + + + true + true + + + + +--> + - - - - - +*********************************************************************************************** +--> - - - - + This is a visual studio support version. It adds a property that the build can use to determine the version of FSharp.Core selected for the build/ +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + <_FSCorePackageVersionSet>true + 7.0.200 + <_FSharpCoreLibraryPacksFolder Condition="'$(_FSharpCoreLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(MSBuildThisFileDirectory)'))library-packs + +--> + + + 4.4.0 + + + + contentFiles + + + contentFiles + + + + + + + + true + + - - - - - - +--> +--> - - - - +--> - - - - +Copyright (c) .NET Foundation. All rights reserved. +*********************************************************************************************** +--> + + + true + + +--> - - - - false - true - - - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.props - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.props - +--> + + + $(MSBuildThisFileDirectory)Microsoft.DotNet.ILCompiler.SingleEntry.targets + - +--> + + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - TRACE - - - - - $(DefineConstants);TRACE - - - - - false - - false - - - {F2A71F9B-5D33-465A-A702-920D77279786} - - false - false - 3 - 3239;$(WarningsAsErrors) - true - true - false - - - true - false - false - - - false - true - true - - - $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) - $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) - "$(MSBuildThisFileDirectory)fsc.dll" - $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) - $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) - "$(MSBuildThisFileDirectory)fsi.dll" - - - true - true - - - - +--> + - +--> - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - <_FSCorePackageVersionSet>true - 7.0.200 - <_FSharpCoreLibraryPacksFolder Condition="'$(_FSharpCoreLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(MSBuildThisFileDirectory)'))library-packs - - - - - 4.4.0 - - - - contentFiles - - - contentFiles - - - - - - - - true - - +--> + + + $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.targets + + true + $(MSBuildThisFileDirectory)..\tools\net7.0\ILLink.Tasks.dll + $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll + +--> +--> +--> - - $(TargetsForTfmSpecificContentInPackage);PackTool - +--> + + $(TargetsForTfmSpecificContentInPackage);PackTool + +--> +--> - - $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation - +--> + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + +--> - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - MSBuild:Compile - $(DefaultXamlRuntime) - Designer - - - - - - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props +============================================================================================================================================ +--> + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + + + + - - - - - - - + --> + + + + + + + - + --> + - <_WpfCommonNetFxReference Include="WindowsBase" /> - <_WpfCommonNetFxReference Include="PresentationCore" /> - <_WpfCommonNetFxReference Include="PresentationFramework" /> - <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> - 4.0 - - <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> - <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> - - - <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> - <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> - <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> - + --> + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + --> - + --> + - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> - <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + --> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> - <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + --> + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> - <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> - - - - - + --> + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + --> +--> + --> - + --> + - - - - + --> + + + + +--> - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + +--> +--> +--> - - - - + --> + + + + +--> +--> +--> - - - - - true - - <_TargetFrameworkVersionValue>0.0 - <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 - +--> + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + +--> +--> +--> +--> - - - true - - +--> + + + true + + +--> +--> - - - - - - - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - - - $(_IsExecutable) - <_UsingDefaultForHasRuntimeOutput>true - + So import them here. --> + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + +--> - - 1.0.0 - $(VersionPrefix)-$(VersionSuffix) - $(VersionPrefix) - - - $(AssemblyName) - $(Authors) - $(AssemblyName) - $(AssemblyName) - +--> + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + + + +--> + - - Debug - AnyCPU - $(Platform) - + + Also note that common targets only set a default OutputPath if neither configuration nor + platform were set by the user. This was used to validate that a valid configuration is passed, + assuming the convention maintained by VS that every Configuration|Platform combination had + an explicit OutputPath. Since we now want to support leaner project files with less + duplication and more automatic defaults, we always set a default OutputPath and can no + longer depend on that convention for validation. Getting validation re-enabled with a + different mechanism is tracked by https://github.com/dotnet/sdk/issues/350 + --> + + Debug + AnyCPU + $(Platform) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + respected by the SDK. --> +--> - - - true - <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) - <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties - <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ - $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) - $(_PublishProfileRootFolder)$(PublishProfileName).pubxml - $(PublishProfileFullPath) +--> + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) - false - - - + to limit the import to the project being published. --> + false + + + +--> + --> +--> +--> - - + --> + + - - $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) - v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) - - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - + --> + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + - - $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) - $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) - - - Windows - + --> + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + - - <_UnsupportedTargetFrameworkError>true - + --> + + <_UnsupportedTargetFrameworkError>true + - - - - + --> + + + + - - - true - true - - - - - - - - - - - - - - - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + true + + + + + + + - - v0.0 - - - _ - + --> + + v0.0 + + + _ + - - - true - - - - + --> + + + - - - - - - <_EnableDefaultWindowsPlatform>false - false - - - 2.1 - - - - - - - - - - - - - - <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> - - - @(_ValidTargetPlatformVersion->Distinct()) - - - - - true - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') - <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None - - - - - - - true - true - - - - - - - - - true - false - true - <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ - - + + + + + + <_EnableDefaultWindowsPlatform>false + false - --> - - - - - - <_DefaultArtifactsPathPropsImported>true - - - - true - true - <_ArtifactsPathLocationType>ExplicitlySpecified - - - - - $(_DirectoryBuildPropsBasePath)\artifacts - true - <_ArtifactsPathLocationType>DirectoryBuildPropsFolder - - - - $(MSBuildProjectDirectory)\artifacts - <_ArtifactsPathLocationType>ProjectFolder - - - - $(MSBuildProjectName) - bin - publish - package - - - $(Configuration.ToLowerInvariant()) - - $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) - - $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) - - - - $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ - $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ - $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ - - - - $(ArtifactsPath)\$(ArtifactsBinOutputName)\ - $(ArtifactsPath)\obj\ - $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ - - - $(BaseOutputPath)$(ArtifactsPivots)\ - $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ - - $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ - - - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ - $(OutputPath)\ - - - - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(OutputPath) - + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion->Distinct()) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + - - $(DefaultItemExcludes);$(OutputPath)/** - $(DefaultItemExcludes);$(IntermediateOutputPath)/** - - - $(DefaultItemExcludes);$(ArtifactsPath)/** - - $(DefaultItemExcludes);bin/**;obj/** - + in the project file, the specified value will be used for the exclude. --> + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + + true + + + true + true + - - $(OutputPath)$(TargetFramework.ToLowerInvariant())\ - - - $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ - - - - - - + --> + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + - - - - true - - false - +--> + + + + true + + false + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + - - + --> + + +--> - - +--> + + - - - - - - - - - - +--> + + + + + + + + + + +--> - - - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +C:\Program Files\dotnet\sdk-manifests\7.0.100\microsoft.net.sdk.ios\WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\15.4.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +C:\Program Files\dotnet\sdk-manifests\7.0.100\microsoft.net.sdk.maccatalyst\WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\15.4.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\12.3.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +C:\Program Files\dotnet\sdk-manifests\7.0.100\microsoft.net.sdk.macos\WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\12.3.2372\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - - - - - - +--> + + + + + + + - - - - - + --> + + + + + +--> - - - - - - - - - $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets - +C:\Program Files\dotnet\sdk-manifests\7.0.100\microsoft.net.sdk.tvos\WorkloadManifest.targets +============================================================================================================================================ +--> + + + + + + + + + $(AfterMicrosoftNETSdkTargets);$(_XamarinSdkRootDirectory)..\16.0.1478\targets\Xamarin.Shared.Sdk.MultiTarget.targets + +--> - - <_RuntimePackInWorkloadVersion6>6.0.15 - true - true - +--> + + <_RuntimePackInWorkloadVersion6>6.0.15 + true + true + - - false - - - - true - $(WasmNativeWorkload) - - - false - false - - - false - true - - - - - - - - - - - - - - - - + --> + + false + + + + true + $(WasmNativeWorkload) + + + false + false + + + false + true + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) - - - - $(_MonoWorkloadRuntimePackPackageVersion) - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + - - - - - - - - + and emit a warning --> + + + + + + + + +--> - - <_RuntimePackInWorkloadVersion7>7.0.4 - <_BrowserWorkloadDisabled7>$(BrowserWorkloadDisabled) - <_BrowserWorkloadDisabled7 Condition="'$(_BrowserWorkloadDisabled7)' == '' and '$(RuntimeIdentifier)' == 'browser-wasm' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and !$([MSBuild]::VersionEquals('$(TargetFrameworkVersion)', '7.0'))">true - true - +--> + + <_RuntimePackInWorkloadVersion7>7.0.4 + <_BrowserWorkloadDisabled7>$(BrowserWorkloadDisabled) + <_BrowserWorkloadDisabled7 Condition="'$(_BrowserWorkloadDisabled7)' == '' and '$(RuntimeIdentifier)' == 'browser-wasm' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and !$([MSBuild]::VersionEquals('$(TargetFrameworkVersion)', '7.0'))">true + true + - - true - false - - - - true - $(WasmNativeWorkload7) - - - false - false - false - - - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_MonoWorkloadTargetsMobile>true - <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) - - - - $(_MonoWorkloadRuntimePackPackageVersion) - - Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** - Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** - - + --> + + true + false + + + + true + $(WasmNativeWorkload7) + + + false + false + false + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** + + - - - - - - - - - - - + and emit a warning --> + + + + + + + + + + + +--> - - - - - +--> + + + + + +--> - - true - - - <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true - WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ - - - true - $(WasmNativeWorkload) - - - false - false - - - - - - - - +C:\Program Files\dotnet\sdk-manifests\7.0.100\microsoft.net.workload.emscripten.net7\WorkloadManifest.targets +============================================================================================================================================ +--> + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + - - - - - - +--> + + + + + + - - - + Visual Studio to collect the workloads from the GetSuggestedWorkloads target --> + + + - - - - - - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> - <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> - - + need to be set to "true" to avoid requiring restore (which would likely fail if the required workloads aren't already installed).--> + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + +--> + --> +--> +--> - - <_UsingDefaultRuntimeIdentifier>true - win7-x64 - win7-x86 - - - - true - + --> + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + - - $(PublishSelfContained) - + This Won't affect t:/Publish (because of _IsPublishing), and also won't override a global SelfContained property.--> + + $(PublishSelfContained) + - - true - - - $(NETCoreSdkPortableRuntimeIdentifier) - - - $(PublishRuntimeIdentifier) - - - <_UsingDefaultPlatformTarget>true - - - - - - - x86 - - - - - x64 - - - - - arm - - - - - arm64 - - - - - AnyCPU - - - + Finally, library projects and non-executable projects have awkward interactions here so they are excluded.--> + + true + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + $(PublishRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + - - - <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true - - - - true - false - <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false - <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true - true - false - - - - $(NETCoreSdkRuntimeIdentifier) - win-x64 - win-x86 - win-arm - win-arm64 - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) - - - - - - - - - - - - + --> + + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + + + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + + + + + + + - - - - - - - - - - - - - - false - - - - - - - - - - - - - + because we do not want the behavior to be a breaking change compared to version 3.0 --> + + + + + + + + + + + + + false + + + + + + + + + + + + + - - - true - + Configuration-specific PropertyGroup), so in that case we won't append to it by default. --> + + + true + - - $(IntermediateOutputPath)$(RuntimeIdentifier)\ - $(OutputPath)$(RuntimeIdentifier)\ - - + --> + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + - - - - - + --> + + + + + - +--> + +--> - - - true - true - +--> + + + true + - - <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> - - - - - - - + --> + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;5.0" /> + + + + - - - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true - - - - true - true - true - - - true - - - - true +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.BeforeCommon.targets +============================================================================================================================================ +--> + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true - true - - .dll + runtime minor version roll-forward: https://github.com/dotnet/core-setup/issues/3546 --> + true + + .dll - false - - - - $(PreserveCompilationContext) - - - - publish - - $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ - $(OutputPath)$(PublishDirName)\ - + is not needed for NETStandard or NETCore since references come from NuGet packages--> + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + --> +--> - - <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder - <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true - <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs - - - $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) - $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) - - - $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) - +--> + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + - - <_SDKImplicitReference Include="System" /> - <_SDKImplicitReference Include="System.Data" /> - <_SDKImplicitReference Include="System.Drawing" /> - <_SDKImplicitReference Include="System.Xml" /> +--> + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> - - <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> - - <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> - - <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> - <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + such if the parse succeeds. --> + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> - <_SDKImplicitReference Remove="@(Reference)" /> - - - - - - false - - - $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 - - - - <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET - $(_FrameworkIdentifierForImplicitDefine) - <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET - <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) - <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) - <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) - $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) - $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) - - - - - <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) - <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) - - - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> - <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> - - - - - - <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> - <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> - - - - - - <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> - <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> - - - - - - <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> - <_DefineConstantsWithoutTrace Remove="TRACE" /> - - - @(_DefineConstantsWithoutTrace) - - - - - - $(DefineConstants);@(_ImplicitDefineConstant) - $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') - - - - - false - true - - - $(AssemblyName).xml - $(IntermediateOutputPath)$(AssemblyName).xml - - - - - - true - true - true - - - - - - - true - + NuGet package, you can just add the Reference to your project file. --> + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + - - $(MSBuildToolsPath)\Microsoft.CSharp.targets - $(MSBuildToolsPath)\Microsoft.VisualBasic.targets - $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets +--> + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets - $(MSBuildToolsPath)\Microsoft.Common.targets - + languages could either be supplied via an SDK or via a NuGet package. --> + $(MSBuildToolsPath)\Microsoft.Common.targets + + using Sdk attribute (from .NET Core Sdk 1.0.0-preview4) --> +--> +--> +--> +--> - - true - + --> + + true + - - Properties - - - $(Configuration.ToUpperInvariant()) +--> + + Properties + + + $(Configuration.ToUpperInvariant()) - $(ImplicitConfigurationDefine.Replace('-', '_')) - $(ImplicitConfigurationDefine.Replace('.', '_')) - $(DefineConstants);$(ImplicitConfigurationDefine) - + --> + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + - - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.FSharp.DesignTime.targets - - - + *************************************************************************************************************** --> + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.FSharp.DesignTime.targets + + + - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.targets - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.targets - + *************************************************************************************************************** --> + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.targets + - +--> + - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - true - true - true - true - true - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - - <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" Condition=" '$(NoStdLib)' != 'true' " /> - - - mscorlib - netcore - netstandard - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + true + true + true + true + true + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" Condition=" '$(NoStdLib)' != 'true' " /> + + + mscorlib + netcore + netstandard + - +--> + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildThisFileDirectory)FSharp.Build.dll - - - - - - - - - - - true - true - - - - .fs - F# - Managed - $(Optimize) - Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier) - - RootNamespace - false - $(Prefer32Bit) - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildThisFileDirectory)FSharp.Build.dll + + + + + + + + + + + true + true + + + + .fs + F# + Managed + $(Optimize) + Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier) + + RootNamespace + false + $(Prefer32Bit) + - - true - - - false - $(FSharpPrefer64BitTools) - $(Fsc_NetFramework_ToolPath) - $(Fsc_NetFramework_AnyCpu_ToolExe) - $(Fsc_NetFramework_PlatformSpecific_ToolExe) - - - - $(Fsc_Dotnet_ToolPath) - $(Fsc_Dotnet_ToolExe) - "$(Fsc_Dotnet_DotnetFscCompilerPath)" - - - - false - true - + --> + + true + + + false + $(FSharpPrefer64BitTools) + $(Fsc_NetFramework_ToolPath) + $(Fsc_NetFramework_AnyCpu_ToolExe) + $(Fsc_NetFramework_PlatformSpecific_ToolExe) + + + + $(Fsc_Dotnet_ToolPath) + $(Fsc_Dotnet_ToolExe) + "$(Fsc_Dotnet_DotnetFscCompilerPath)" + + + + false + true + - - - - - false - true - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> - - <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> - - - _ComputeNonExistentFileProperty - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + false + true + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + _ComputeNonExistentFileProperty + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - --simpleresolution $(OtherFlags) - $(OtherFlags) - - - - - - - - <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> - - - + --> + + + + + + + + + + + --simpleresolution $(OtherFlags) + $(OtherFlags) + + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + +--> - - $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets - +--> + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + +--> - - - true - true - true - true - - - - - - - 10.0 - - - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets - $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets - - - - - Managed - +--> + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + - - .NETFramework - v4.0 - - - - Any CPU,x86,x64,Itanium - Any CPU,x86,x64 - - - - - - - true - - true - - - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) - $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) - - $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + Native apps) because they do not target a .NET Framework. --> + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) - $(MSBuildFrameworkToolsPath) - - - Windows - 7.0 - $(TargetPlatformSdkRootOverride)\ - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - $(TargetPlatformSdkPath)Windows Metadata - $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral - $(TargetPlatformSdkMetadataLocation) - true - $(WinDir)\System32\WinMetadata - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - + we need to find a directory which does contain mscorlib to allow the inproc compiler to initialize and give us the chance to show certain dialogs in the IDE (which only happen after initialization).--> + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + - - - <_OriginalPlatform>$(Platform) - - <_OriginalConfiguration>$(Configuration) - - <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true - - true - - - AnyCPU - $(Platform) - Debug - $(Configuration) - bin\ - $(BaseOutputPath)\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ - $(OutputPath)\ - obj\ - $(BaseIntermediateOutputPath)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ - $(IntermediateOutputPath)\ - - - - $(TargetType) - library - exe - true - - <_DebugSymbolsProduced>false - <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false - <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true - <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false - <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false - - <_DocumentationFileProduced>true - <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false - - false - + --> + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + - + --> + - <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true - <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true - + --> + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + - - .exe - .exe - .exe - .dll - .netmodule - .winmdobj - - - - true - $(OutputPath) - - - $(OutDir)\ - $(MSBuildProjectName) - - - $(OutDir)$(ProjectName)\ - $(MSBuildProjectName) - $(RootNamespace) - $(AssemblyName) - - $(MSBuildProjectFile) - - $(MSBuildProjectExtension) - - $(TargetName).winmd - $(WinMDExpOutputWindowsMetadataFilename) - $(TargetName)$(TargetExt) - - - + --> + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + - <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true - $(_DeploymentPublishableProjectDefault) - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest - - <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest - - $(AssemblyName).application - - $(AssemblyName).xbap - - $(GenerateManifests) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe - <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application - <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy - <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) - <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 - <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days - <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) - <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true - 100 - - + --> + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + - * - $(UICulture) - - - - <_OutputPathItem Include="$(OutDir)" /> - <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> - <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> - - - + --> + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + - $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) - - $(TargetDir)$(TargetFileName) - $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) - - $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) - - $(ProjectDir)$(ProjectFileName) - - - - - + --> + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + - - *Undefined* - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - *Undefined* - - - - true - - true - - - true - false - - - $(MSBuildProjectFile).FileListAbsolute.txt - - false - - true - true - <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false - <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true - false - false - - - <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config - - - - - - - - - - - - - - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> - <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> - - - $(IntermediateOutputPath)$(TargetName).pdb - <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) - - - $(IntermediateOutputPath)$(TargetName).xml - <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) - - - <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) - <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) - - - - <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> - $(TargetFileName) - - - - <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> - $(ApplicationIcon) - - - - $(_DeploymentTargetApplicationManifestFileName) - + --> + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + - <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> - $(_DeploymentTargetApplicationManifestFileName) - - - - $(TargetDeployManifestFileName) - - - <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> - + references and for copying to the publish output location. --> + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + - - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) - <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) - <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> - <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + --> + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) - <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> - <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> - - - - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) - <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) - <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) - - - - $(PublishDir)\ - $(OutputPath)app.publish\ - + --> + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + - - $(PublishDir) - $(ClickOncePublishDir)\ - + --> + + $(PublishDir) + $(ClickOncePublishDir)\ + - + --> + - $(PlatformTarget) + --> + $(PlatformTarget) - msil - amd64 - ia64 - x86 - arm - - - true - - - - $(Platform) - msil - amd64 - ia64 - x86 - arm - - None - $(PROCESSOR_ARCHITECTURE) - + --> + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + - - CLR2 - CLR4 - CurrentRuntime - true - false - $(PlatformTarget) - x86 - x64 - CurrentArchitecture - - - - Client - + If support for out-of-proc task execution is added on other runtimes, make sure each task's logic is checked against the current state of support. --> + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + - - false - - - - - true - true - false - + --> + + false + + + + + true + true + false + - - AssemblyFoldersEx - Software\Microsoft\$(TargetFrameworkIdentifier) - Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) - $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config - {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + --> .winmd; .dll; .exe - + + --> .pdb; .xml; .pri; .dll.config; .exe.config - + - Full - - + --> + Full + + - {CandidateAssemblyFiles} - $(AssemblySearchPaths);$(ReferencePath) - $(AssemblySearchPaths);{HintPathFromItem} - $(AssemblySearchPaths);{TargetFrameworkDirectory} - $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) - $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} - $(AssemblySearchPaths);{AssemblyFolders} - $(AssemblySearchPaths);{GAC} - $(AssemblySearchPaths);{RawFileName} - $(AssemblySearchPaths);$(OutDir) - + --> + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + - - false - - - - $(NoWarn) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - - - - $(MSBuildThisFileDirectory)$(LangName)\ - - - - $(MSBuildThisFileDirectory)en-US\ - - - - - Project - - - BrowseObject - - - File - - - Invisible - - - File;BrowseObject - - - File;ProjectSubscriptionService - - - - $(DefineCommonItemSchemas) - - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - ;BrowseObject - - - ProjectSubscriptionService;BrowseObject - - - - - - - - - Never - - - Never - - - Never - - - Never - - + typically expect --> + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + - - - true - + --> + + + true + - - - <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath - - + --> + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + - - - <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. - <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. - - - - - - - - - + --> + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + - - x86 - + correct value when we're trying to figure out PlatformTargetAsMSBuildArchitecture --> + + x86 + - + --> + - - + --> + + - + --> + BeforeBuild; CoreBuild; AfterBuild - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -4146,52 +3878,52 @@ Copyright (C) Microsoft Corporation. All rights reserved. UnmanagedRegistration; IncrementalClean; PostBuildEvent - - - - - - + + + + + + - - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) - <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + --> + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build BeforeRebuild; Clean; $(_ProjectDefaultTargets); AfterRebuild; - + BeforeRebuild; Clean; Build; AfterRebuild; - - - + + + - + --> + - + --> + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - - Build - - - - - + --> + + Build + + + + + - + --> + - - - - - - - - + --> + + + + + + + + + --> - - false - - - - true - - + --> + + false + + + + true + + + --> - - $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata - - - - - $(TargetFileName).config - - - - - - - - - - + --> + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + - - @(_TargetFramework40DirectoryItem) - @(_TargetFramework35DirectoryItem) - @(_TargetFramework30DirectoryItem) - @(_TargetFramework20DirectoryItem) - - @(_TargetFramework20DirectoryItem) - @(_TargetFramework40DirectoryItem) - @(_TargetedFrameworkDirectoryItem) - @(_TargetFrameworkSDKDirectoryItem) - - - - + --> + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + - - - - - - - - - - - - - $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) - $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) - + --> + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + - - true - - - $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) - - - - - - - $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) - - - - - - - - - + resolving from the assemblyfolders global location if we are not acutally targeting a framework--> + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + - + E.g "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0.1\;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\" --> + - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - - - - - - - - <_Temp Remove="@(_Temp)" /> - - + --> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + --> - - - - - - + --> + + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + --> - + --> + - + --> + BeforeResolveReferences; AssignProjectConfiguration; @@ -4534,25 +4266,25 @@ Copyright (C) Microsoft Corporation. All rights reserved. GenerateBindingRedirects; ResolveComReferences; AfterResolveReferences - - - + + + - + --> + - + --> + - - - true - true - false + --> + + + true + true + false - false - - true - - - - - - - - - - - <_ProjectReferenceWithConfiguration> - true - true - - - true - true - - - + want this to happen, so just turn off synthetic project reference generation for Silverlight projects. --> + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + - + --> + - - - - + --> + + + + - - <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> - - - - <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> - <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> - - + --> + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + - - true - + --> + + true + - - - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> - true - - - - <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - - - - - <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> - - x86=Win32 - - - <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> - Win32=x86 - - - - - + Configuration information. --> + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + - - - - Platform=%(ProjectsWithNearestPlatform.NearestPlatform) - - - - %(ProjectsWithNearestPlatform.UndefineProperties);Platform - - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> - - + that can't multiplatform. --> + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + - + --> + - - $(NuGetTargetMoniker) - $(TargetFrameworkMoniker) - + --> + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> - true - %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework - - + --> + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + - - <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + --> + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> - true - - + --> + true + + - - - + --> + + + - - - - + --> + + + + - <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> - <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> - <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> - - + --> + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + - - - - - - - + that we are using a version of NuGet which supports that parameter on this task. --> + + + + + + + - - + --> + + - - - - - - - - - - TargetFramework=%(AnnotatedProjects.NearestTargetFramework) - + the IsRidAgnostic value for the NearestTargetFramework for the project. --> + + + + + + + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + - - %(AnnotatedProjects.UndefineProperties);TargetFramework - + --> + + %(AnnotatedProjects.UndefineProperties);TargetFramework + - - %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained - + unless the project is expecting those properties to flow. --> + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained + - <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> - <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> - - - - - - - - - <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> - @(_TargetFrameworkInfo) - @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') - @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') - $(_AdditionalPropertiesFromProject) - true - @(_TargetFrameworkInfo->'%(IsRidAgnostic)') - - true - $(Platform) - $(Platforms) + --> + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + @(_TargetFrameworkInfo->'%(IsRidAgnostic)') + + true + $(Platform) + $(Platforms) - @(ProjectConfiguration->'%(Platform)'->Distinct()) - - - - - - <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> - $(%(AdditionalTargetFrameworkInfoProperty.Identity)) - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false - - - - - - <_TargetFrameworkInfo Include="$(TargetFramework)"> - $(TargetFramework) - $(TargetFrameworkMoniker) - $(TargetPlatformMoniker) - None - $(_AdditionalTargetFrameworkInfoProperties) + Build the `Platforms` property from that. --> + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) - $(IsRidAgnostic) - true - false - - - + fallback logic here will be that the project is RID agnostic if it doesn't have RuntimeIdentifier or RuntimeIdentifiers properties set. --> + $(IsRidAgnostic) + true + false + + + - + --> + - + --> + AssignProjectConfiguration; _SplitProjectReferencesByFileExistence; _GetProjectReferenceTargetFrameworkProperties; _GetProjectReferencePlatformProperties - - - + + + - - - - - $(ProjectReferenceBuildTargets) - - - ProjectReference - - - + --> + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + - - - - + --> + + + + - - - - + --> + + + + - - - - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + --> + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> - <_ResolvedProjectReferencePaths> - %(_ResolvedProjectReferencePaths.OriginalItemSpec) - - - - - - + --> + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + - - <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> - %(ReferencePath.ProjectReferenceOriginalItemSpec) - - - - + --> + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + - - $(GetTargetPathDependsOn) - - + --> + + $(GetTargetPathDependsOn) + + - - $(GetTargetPathDependsOn) - + --> + + $(GetTargetPathDependsOn) + - - - - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion.TrimStart('vV')) - $(TargetRefPath) - @(CopyUpToDateMarker) - - - + BeforeTargets. --> + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + - - - - %(_ApplicationManifestFinal.FullPath) - - - + --> + + + + %(_ApplicationManifestFinal.FullPath) + + + - - - - - - - - - - + --> + + + + + + + + + + - + --> + ResolveProjectReferences; FindInvalidProjectReferences; @@ -5144,69 +4876,69 @@ Copyright (C) Microsoft Corporation. All rights reserved. PrepareForBuild; ResolveSDKReferences; ExpandSDKReferences; - - - - - <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> - + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + - - $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache - - - - <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> - - - - <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false - true - false - Warning - $(BuildingProject) - $(BuildingProject) - $(BuildingProject) - false - - + --> + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + - - - true - - + ide will show one of the references as not resolved, this will not break the build but is a display issue --> + + + true + + - - false - true - - - - - - - - - - - - - - - - - + --> + + false + true + + + + + + + + + + + + + + + + + - - + --> + + - - %(FullPath) - - - %(ReferencePath.Identity) - - - - + assembly unless already specified. --> + + %(FullPath) + + + %(ReferencePath.Identity) + + + + - - - - - + --> + + + + + - - - $(_GenerateBindingRedirectsIntermediateAppConfig) - - - - - $(TargetFileName).config - - - + --> + + + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + - - Software\Microsoft\Microsoft SDKs - $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs - - $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 - - true - Windows - 8.1 - - false - WindowsPhoneApp - 8.1 - - - - - - - - - - - - - + --> + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + - + --> + GetInstalledSDKLocations - - - - Debug - Retail - Retail - $(ProcessorArchitecture) - Neutral - - - true - - - - - - - - - - - - + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + - + --> + GetReferenceTargetPlatformMonikers - - - - - - - - <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> - - - - - - - + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + - + --> + ResolveSDKReferences - + .winmd; .dll - - - - - - - - - - - + + + + + + + + + + + - - - - false - false - false - $(TargetFrameworkSDKToolsDirectory) - true - - - - - - - - - - - - - - - <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> - - - + --> + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5464,8 +5196,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(TargetDir) - - + + - + --> + GetFrameworkPaths; GetReferenceAssemblyPaths; ResolveReferences - - - - - <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> - - - $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache - - + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + {CandidateAssemblyFiles}; $(ReferencePath); @@ -5506,29 +5238,29 @@ Copyright (C) Microsoft Corporation. All rights reserved. {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {RawFileName}; $(OutDir) - - - - false - false - false - false - false - true - false - - - <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> - - - <_RARResolvedReferencePath Include="@(ReferencePath)" /> - - - - - - - + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + - - false - - - - $(IntermediateOutputPath) - - + --> + + false + + + + $(IntermediateOutputPath) + + - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - false - - - - - - - - - - - - - - + --> + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + - + --> + + --> - + --> + $(PrepareResourcesDependsOn); PrepareResourceNames; ResGen; CompileLicxFiles - - - + + + - + --> + AssignTargetPaths; SplitResourcesByCulture; CreateManifestResourceNames; CreateCustomManifestResourceNames - - - + + + - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - - - - - - - - - - - - + --> + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + - + --> + - - - - - - - <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> - - - Resx - - - Non-Resx - - - - - - - - - + --> + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + - - - - - - Resx - - - Non-Resx - - - - - - - - - - - - <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> - <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> - - + i.e. either Licx, or resources that don't have culture info --> + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + - - - - + --> + + + + - - ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen - FindReferenceAssembliesForReferences - true - false - - + --> + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + - + --> + - + --> + - - - <_Temporary Remove="@(_Temporary)" /> - - - $(PlatformTargetAsMSBuildArchitecture) - $(TargetFrameworkSDKToolsDirectory) - - + --> + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - - - - - - - - - - - - - - - <_Temporary Remove="@(_Temporary)" /> - - - true - - - true - - - - true - - - true - - - + suddenly start failing to build.--> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + --> - - - - - - - + --> + + + + + + + + --> - + --> + ResolveReferences; ResolveKeySource; @@ -5922,96 +5654,96 @@ Copyright (C) Microsoft Corporation. All rights reserved. CoreCompile; _TimeStampAfterCompile; AfterCompile; - - - + + + - - - - - - <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> - - <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> - Resx - false - - <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - false - - - + --> + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + - - - true - $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) - - - true - - - - - + --> + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + - - - - - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + + + - - true - - - - - - - - - - + --> + + true + + + + + + + + + + - + --> + - + --> + - - - <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + - - - $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + - - - <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) - - + --> + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + - - - __NonExistentSubDir__\__NonExistentFile__ - - + --> + + + __NonExistentSubDir__\__NonExistentFile__ + + - - <_SGenDllName>$(TargetName).XmlSerializers.dll - <_SGenDllCreated>false - <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) - <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto - <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off - true - false - true - + --> + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + - - - $(PlatformTargetAsMSBuildArchitecture) - - - - - + --> + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + --> - + --> + _GenerateSatelliteAssemblyInputs; ComputeIntermediateSatelliteAssemblies; GenerateSatelliteAssemblies - - - + + + - - - - - - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> - <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> - - <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> - Resx - true - - <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> - Non-Resx - true - - - + --> + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + - - - <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) - - - - - - + --> + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + - + --> + CreateManifestResourceNames - - - - - - %(EmbeddedResource.Culture) - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - - - + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + - - $(Win32Manifest) - + --> + + $(Win32Manifest) + - - - + --> + + + - <_DeploymentBaseManifest>$(ApplicationManifest) - <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + property is set though, prefer that one be used to specify the manifest. --> + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) - true - - - - - $(ApplicationManifest) - $(ApplicationManifest) - - - - - - $(_FrameworkVersion40Path)\default.win32manifest - - + a manifest to their built assemblies --> + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + --> - + --> + SetWin32ManifestProperties; GenerateApplicationManifest; GenerateDeploymentManifest - - + + - - - <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> - - - - - - + --> + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + - - - - - - - - - <_DeploymentCopyApplicationManifest>true - - + --> + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + - - - <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) - <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) - - + --> + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 - <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) - <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) - - - - - - - + --> + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + - - - <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> - <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> - - + --> + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + - - - - - - - <_DeploymentManifestType>Native - - - - - - - <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') - - - + --> + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + CleanPublishFolder; _DeploymentGenerateTrustInfo $(DeploymentComputeClickOnceManifestInfoDependsOn) - - + + - - - - <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> - - - <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> - <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> - - - <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> - - - - <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> - true - - <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> - - - - <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> - - - + --> + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + + + + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + - <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> - - - - <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> - <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> - - <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> - <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> - - - + --> + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + - - <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> - <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> - <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> - - - + --> + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + - - - - - - - - - - - - - - - <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> - - - <_DeploymentManifestType>ClickOnce - + This is being done to avoid Windows Forms designer memory issues that can arise while operating directly on files located in Obj directory. --> + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + - - <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) - - - - - - - - - - - - - - - + --> + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - true - false - + --> + + true + false + - + --> + CopyFilesToOutputDirectory - - - + + + - - - false - false - - - - - false - false - false - - - true - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - false - false - - - - - - + --> + + + + false + false + + + + + + - - - - - + input to projects that reference this one. --> + + + + + - + --> + - - <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + --> + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence - true + --> + true <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> AssignProjectConfiguration; _SplitProjectReferencesByFileExistence - + AssignTargetPaths; $(_TargetsThatPrepareProjectReferences); _GetProjectReferenceTargetFrameworkProperties; _PopulateCommonStateForGetCopyToOutputDirectoryItems - + - <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems - - <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject - - + --> + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + - - <_GCTODIKeepDuplicates>false - <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> - - - - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> - - - <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> - - - - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> - - - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> - - - - - - - - - - - - - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> - - <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - - - <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> - <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> - <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> - <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> - <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> - - + a non-empty value and the original behavior will be restored. --> + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_TransitiveItemsToCopyToOutputDirectory)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + - - - - %(CopyToOutputDirectory) - - - + --> + + + + %(CopyToOutputDirectory) + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - + --> + - - - - + --> + + + + - - - - - - - - - - - - + --> + + + + + + + + + + + + - - - - - - - - - <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false - - - - - - - <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false - - - - - + --> + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + - - - - <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true - - - - - + --> + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + --> - - - - - - $(PlatformTargetAsMSBuildArchitecture) - - + --> + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + - $(TargetFrameworkAsMSBuildRuntime) - - CurrentRuntime - - - - - - + corresponding comment in GenerateResource. --> + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + --> - - - - <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> - - - - - - - - - - - - - + --> + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + - - <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> - - - - - - - - + the current final output and intermediate output directories. --> + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + - - - - - + --> + + + + + - - - + --> + + + - - <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - + --> + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + - - - - - - - - - - - + --> + + + + + + + + + + + - - <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> - - - - - - + --> + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + --> - + --> + BeforeClean; UnmanagedUnregistration; @@ -7152,81 +6884,81 @@ Copyright (C) Microsoft Corporation. All rights reserved. CleanReferencedProjects; CleanPublishFolder; AfterClean - - - + + + - + --> + - + --> + - + --> + - - + --> + + - - - - + --> + + + + - - - - - - - - - - - - - - - - - - - - <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> - - - - - - - - - - + Declare items of this type if you want Clean to delete them. --> + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + - + --> + - - - - - - - - + --> + + + + + + + + - - - + --> + + + + --> - - - - - - + --> + + + + + + + --> - + --> + SetGenerateManifests; Build; PublishOnly - + _DeploymentUnpublishable - - - + + + - - - + --> + + + - - - - - true - - + --> + + + + + true + + - + --> + SetGenerateManifests; PublishBuild; @@ -7358,33 +7090,33 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; _DeploymentSignClickOnceDeployment; AfterPublish - - - + + + - + --> + - + --> + - + --> + BuildOnlySettings; PrepareForBuild; @@ -7393,77 +7125,77 @@ Copyright (C) Microsoft Corporation. All rights reserved. ResolveKeySource; GenerateSerializationAssemblies; CreateSatelliteAssemblies; - - - + + + - + --> + - - - - - <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) - <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ - - - - false - false - - - - - - - - - - - - - - - - - + This is done because some servers misinterpret "." as a file extension. --> + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + - - - - + --> + + + + - - - - - - - - - - + --> + + + + + + + + + + + --> - + --> + - - - true - $(TargetPath) - $(TargetFileName) - true - - - - - - true - $(TargetPath) - $(TargetFileName) - - + --> + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + - - PrepareForBuild - true - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> - $(TargetDir)$(TargetFileName).config - $(TargetFileName).config - - $(AppConfig) - - - - <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> - <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> - - - - <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> - $(_DeploymentTargetApplicationManifestFileName) - - $(OutDir)$(_DeploymentTargetApplicationManifestFileName) - - - - - - - %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) - - - + --> + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + - - - - - - @(_DebugSymbolsOutputPath->'%(FullPath)') - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputPdbItem->'%(FullPath)') - @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + - - - - - - @(FinalDocFile->'%(FullPath)') - true - @(DocFileItem->'%(Filename)%(Extension)') - - - - - - - @(WinMDExpFinalOutputDocItem->'%(FullPath)') - @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') - - - + --> + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + - - $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames - - - - - %(EmbeddedResource.Culture)\$(TargetName).resources.dll - %(EmbeddedResource.Culture) - - - - - - $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) - - %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) - - - + --> + + $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - - - - - - $(MSBuildProjectFullPath) - $(ProjectFileName) - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + - - PrepareForBuild;AssignTargetPaths - - - - - - - + --> + + PrepareForBuild;AssignTargetPaths + + + + + + + - - - - - - @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') - $(_SGenDllName) - - - + --> + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + - - + --> + + - - - + Needed for certain build environments that import partial sets of targets. --> + + + - - - - - - - - ResolveSDKReferences;ExpandSDKReferences - + --> + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + - - - - - - + --> + + + + + + + --> - + --> + $(CommonOutputGroupsDependsOn); BuildOnlySettings; PrepareForBuild; AssignTargetPaths; ResolveReferences - - + + - + --> + - + --> + $(BuiltProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - + + + + + + + - + --> + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(DocumentationProjectOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(SGenFilesOutputGroupDependenciesDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - - - + + + + + + + + - + --> + $(ReferenceCopyLocalPathsOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - - - - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - + --> + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); $(CommonOutputGroupsDependsOn) - - - + + + + --> - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets - - - - - - true - - - - - - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets - - - + retrieve them. --> + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + - - - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets - - - - - - - $([MSBuild]::IsRunningFromVisualStudio()) - $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets - $(MSBuildToolsPath)\NuGet.targets - + --> + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + +--> - - - true - - NuGet.Build.Tasks.dll - - false - - true - true - - false - - WarnAndContinue - - $(BuildInParallel) - true - - <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true - - $(MSBuildInteractive) - - true - - true - - <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true - - - - <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + --> + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + skipped. --> <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); NuGetRestoreTargets=$(MSBuildThisFileFullPath); RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); - - + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> $(_GenerateRestoreGraphProjectEntryInputProperties); _RestoreSolutionFileUsed=true; @@ -8027,57 +7759,57 @@ Copyright (c) .NET Foundation. All rights reserved. SolutionFileName=$(SolutionFileName); SolutionPath=$(SolutionPath); SolutionExt=$(SolutionExt); - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + --> + + + + + + + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - + --> + + + + $(ContinueOnError) + false + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - + --> + + + + $(ContinueOnError) + false + + - - - - - - - - - - + --> + + + + + + + + + + - - - - $(ContinueOnError) - false - - - - - - - - - + --> + + + + $(ContinueOnError) + false + + + + + + + + + - - - <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> - - + --> + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + - - - exclusionlist - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> - - - - <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> - - - - - - - - - - - - - - - - - + --> + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + - - - - - - <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> - <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> - - - - - - - - - - + --> + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + - - - + --> + + + - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> - RestoreSpec - $(MSBuildProjectFullPath) - - - + --> + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + - - - netcoreapp1.0 - - - - - - + --> + + + netcoreapp1.0 + + + + + + - - - - - - - + --> + + + + + + + - + --> + - - <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true - - - <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true - - - - - - - <_HasPackageReferenceItems /> - - + --> + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + - - - true - - + --> + + + true + + - - - <_RestoreProjectFramework /> - <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) - - - - - - - <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> - - + --> + + + <_RestoreProjectFramework /> + <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + - - - <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> - - - <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> - - + --> + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + + <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> + + - - - $(SolutionDir) - - - - - - - - - - + --> + + + $(SolutionDir) + + + + + + + + + + - + --> + - - - - - - + --> + + + + + + - - - <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> - $(RestoreAdditionalProjectSources) - $(RestoreAdditionalProjectFallbackFolders) - $(RestoreAdditionalProjectFallbackFoldersExcludes) - - - + --> + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + - - - - $(MSBuildProjectExtensionsPath) - - - - + --> + + + + $(MSBuildProjectExtensionsPath) + + + + - - <_RestoreProjectName>$(MSBuildProjectName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) - <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) - + --> + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + - - <_RestoreProjectVersion>1.0.0 - <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) - <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) - - - - <_RestoreCrossTargeting>true - - - - <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(_RestoreProjectVersion) - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(RestoreProjectStyle) - $(RestoreOutputAbsolutePath) - $(RuntimeIdentifiers);$(RuntimeIdentifier) - $(RuntimeSupports) - $(_RestoreCrossTargeting) - $(RestoreLegacyPackagesDirectory) - $(ValidateRuntimeIdentifierCompatibility) - $(_RestoreSkipContentFileWrite) - $(_OutputConfigFilePaths) - $(TreatWarningsAsErrors) - $(WarningsAsErrors) - $(WarningsNotAsErrors) - $(NoWarn) - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) - $(CentralPackageVersionOverrideEnabled) - $(CentralPackageTransitivePinningEnabled) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(_OutputSources) - $(RestoreOutputAbsolutePath) - $(_OutputFallbackFolders) - $(_OutputPackagesPath) - $(_CurrentProjectJsonPath) - $(RestoreProjectStyle) - $(_OutputConfigFilePaths) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - $(MSBuildProjectDirectory)\packages.config - $(RestorePackagesWithLockFile) - $(NuGetLockFilePath) - $(RestoreLockedMode) - $(_OutputSources) - $(SolutionDir) - $(_OutputRepositoryPath) - $(_OutputConfigFilePaths) - $(_OutputPackagesPath) - @(_RestoreTargetFrameworksOutputFiltered) - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - ProjectSpec - $(MSBuildProjectFullPath) - $(MSBuildProjectFullPath) - $(_RestoreProjectName) - $(RestoreProjectStyle) - @(_RestoreTargetFrameworksOutputFiltered) - - - + --> + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + - - - + --> + + + - + --> + - - - - - - - + --> + + + + + + + - + --> + - - - - - - - - - - - - - - - - - - - - - - - - <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> - TargetFrameworkInformation - $(MSBuildProjectFullPath) - $(PackageTargetFallback) - $(AssetTargetFallback) - $(TargetFramework) - $(TargetFrameworkIdentifier) - $(TargetFrameworkVersion) - $(TargetFrameworkMoniker) - $(TargetFrameworkProfile) - $(TargetPlatformMoniker) - $(TargetPlatformIdentifier) - $(TargetPlatformVersion) - $(TargetPlatformMinVersion) - $(CLRSupport) - $(RuntimeIdentifierGraphPath) - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + + + - + --> + - - - - - - - <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> - - + --> + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + - - - - - - + --> + + + + + + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - - - - - - - - <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> - - - - - - + --> + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + - - - <_RestorePackagesPathOverride>$(RestorePackagesPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + - - - <_RestorePackagesPathOverride>$(RestoreRepositoryPath) - - + --> + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + - - - <_RestoreSourcesOverride>$(RestoreSources) - - + --> + + + <_RestoreSourcesOverride>$(RestoreSources) + + - - - <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) - - + --> + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + - - - - - - + --> + + + + + + - - - <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) - - + --> + + + <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) + + - - - <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> - - + --> + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + - + --> + - +--> + +--> - - $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets - +--> + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + +--> - - <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) - $(MSBuildThisFileDirectory)\tools\net7.0\Microsoft.NET.Build.Extensions.Tasks.dll - $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll - - true - - - - +--> + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net7.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + +--> +--> +--> - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets - +--> + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + +--> - - - Microsoft.TestPlatform.Build.dll - $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) - - - +--> + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +--> - +--> + +--> - - true - - - - true - + --> + + true + + + + true + - - <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets - <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) - $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) - - + --> + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + +--> - - - + --> + + + $(AdditionalSourcesText) namespace Microsoft.BuildSettings [<System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName="$(TargetFrameworkMonikerDisplayName)")>] do () - - + + - - - - <_FsGeneratedTfmAttributesSource Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" /> - - + and a race between clean from one project and build from another (by not adding to FilesWritten so it doesn't clean) --> + + + + <_FsGeneratedTfmAttributesSource Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" /> + + - - - <_OldRootSdkLocation>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp - $(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\FSharpSdk - <_CoreRelativeSuffix>.NETCore\$(TargetFSharpCoreVersion)\FSharp.Core.dll - <_FrameworkRelativeSuffix>.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll - <_PortableRelativeSuffix>.NETPortable\$(TargetFSharpCoreVersion)\FSharp.Core.dll - - <_OldCoreSdkPath>$(_OldRootSdkLocation)\$(_CoreRelativeSuffix) - <_NewCoreSdkPath>$(NewFSharpSdkLocation)\$(_CoreRelativeSuffix) - - <_OldFrameworkSdkPath>$(_OldRootSdkLocation)\$(_FrameworkRelativeSuffix) - <_NewFrameworkSdkPath>$(NewFSharpSdkLocation)\$(_FrameworkRelativeSuffix) - - <_OldPortableSdkPath>$(_OldRootSdkLocation)\$(_PortableRelativeSuffix) - <_NewPortableSdkPath>$(NewFSharpSdkLocation)\$(_PortableRelativeSuffix) - - - - - $(_NewCoreSdkPath) - - - - $(_NewFrameworkSdkPath) - - - - $(_NewPortableSdkPath) - - - - - - <_OldRefAssemTPLocation>Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\Type Providers\FSharp.Data.TypeProviders.dll - <_OldSdkTPLocationPrefix>$(MSBuildProgramFiles32)\Microsoft SDKs\F# - <_OldSdkTPLocationSuffix>Framework\v4.0\FSharp.Data.TypeProviders.dll - - - - - - - - - + --> + + + <_OldRootSdkLocation>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp + $(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\FSharpSdk + <_CoreRelativeSuffix>.NETCore\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_FrameworkRelativeSuffix>.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_PortableRelativeSuffix>.NETPortable\$(TargetFSharpCoreVersion)\FSharp.Core.dll + + <_OldCoreSdkPath>$(_OldRootSdkLocation)\$(_CoreRelativeSuffix) + <_NewCoreSdkPath>$(NewFSharpSdkLocation)\$(_CoreRelativeSuffix) + + <_OldFrameworkSdkPath>$(_OldRootSdkLocation)\$(_FrameworkRelativeSuffix) + <_NewFrameworkSdkPath>$(NewFSharpSdkLocation)\$(_FrameworkRelativeSuffix) + + <_OldPortableSdkPath>$(_OldRootSdkLocation)\$(_PortableRelativeSuffix) + <_NewPortableSdkPath>$(NewFSharpSdkLocation)\$(_PortableRelativeSuffix) + + + + + $(_NewCoreSdkPath) + + + + $(_NewFrameworkSdkPath) + + + + $(_NewPortableSdkPath) + + + + + + <_OldRefAssemTPLocation>Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\Type Providers\FSharp.Data.TypeProviders.dll + <_OldSdkTPLocationPrefix>$(MSBuildProgramFiles32)\Microsoft SDKs\F# + <_OldSdkTPLocationSuffix>Framework\v4.0\FSharp.Data.TypeProviders.dll + + + + + + + + + - - $(MSBuildProjectFullPath) - - - $(TargetsForTfmSpecificContentInPackage);PackageFSharpDesignTimeTools - - - $(RestoreAdditionalProjectSources);$(_FSharpCoreLibraryPacksFolder) - - - - - - - - - - - fsharp41 - tools - - - - - <_ResolvedOutputFiles Include="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/*" Exclude="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/FSharp.Core.dll;%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/System.ValueTuple.dll" Condition="'%(_ResolvedProjectReferencePaths.IsFSharpDesignTimeProvider)' == 'true'"> - %(_ResolvedProjectReferencePaths.NearestTargetFramework) - - <_ResolvedOutputFiles Include="@(BuiltProjectOutputGroupKeyOutput)" Condition=" '$(IsFSharpDesignTimeProvider)' == 'true' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'FSharp.Core.dll' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'System.ValueTuple.dll' "> - $(TargetFramework) - - - $(FSharpToolsDirectory)/$(FSharpDesignTimeProtocol)/%(_ResolvedOutputFiles.NearestTargetFramework)/%(_ResolvedOutputFiles.FileName)%(_ResolvedOutputFiles.Extension) - - - +C:\Program Files\dotnet\sdk\7.0.202\FSharp\Microsoft.FSharp.NetSdk.targets +============================================================================================================================================ +--> + + $(MSBuildProjectFullPath) + + + $(TargetsForTfmSpecificContentInPackage);PackageFSharpDesignTimeTools + + + $(RestoreAdditionalProjectSources);$(_FSharpCoreLibraryPacksFolder) + + + + + + + + + + + fsharp41 + tools + + + + + <_ResolvedOutputFiles Include="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/*" Exclude="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/FSharp.Core.dll;%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/System.ValueTuple.dll" Condition="'%(_ResolvedProjectReferencePaths.IsFSharpDesignTimeProvider)' == 'true'"> + %(_ResolvedProjectReferencePaths.NearestTargetFramework) + + <_ResolvedOutputFiles Include="@(BuiltProjectOutputGroupKeyOutput)" Condition=" '$(IsFSharpDesignTimeProvider)' == 'true' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'FSharp.Core.dll' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'System.ValueTuple.dll' "> + $(TargetFramework) + + + $(FSharpToolsDirectory)/$(FSharpDesignTimeProtocol)/%(_ResolvedOutputFiles.NearestTargetFramework)/%(_ResolvedOutputFiles.FileName)%(_ResolvedOutputFiles.Extension) + + + + --> - - true - + --> + + true + - - - <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> - - - - - - - - - + --> + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + - - true - + --> + + true + - + --> + - - - <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> - $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) - $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) - - - + --> + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + - @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) - - + --> + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + +--> +--> - - - TargetFramework - TargetFrameworks - - - true - - +--> + + + TargetFramework + TargetFrameworks + + + true + + - - + --> + + - - - <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets - <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath - GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) - $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) - GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) - Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) - $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) - - <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath - <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) - GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) - GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) - - - - - - - - - - + --> + + + <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath + GetTargetFrameworks;$(ProjectReferenceTargetsForBuildInOuterBuild) + $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForBuild) + GetTargetFrameworks;$(ProjectReferenceTargetsForCleanInOuterBuild) + Clean;GetTargetFrameworksWithPlatformForSingleTargetFramework;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) + GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + + + + + + + + +--> - +--> + +--> +--> +--> - - - $(MSBuildThisFileDirectory)..\tools\ - net8.0 - net472 - $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ - $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll +--> + + + $(MSBuildThisFileDirectory)..\tools\ + net7.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll - Microsoft.NETCore.App;NETStandard.Library - + --> + Microsoft.NETCore.App;NETStandard.Library + - - <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true - $(_IsExecutable) - - - - netcoreapp2.2 - - - false - DotnetTool - $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) - - - Preview - - - - - + --> + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + - - true - - +--> + + true + + +--> +--> - - - $(MSBuildProjectExtensionsPath)/project.assets.json - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + --> + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) - $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache - $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) - - false - - false - - true - $(IntermediateOutputPath)NuGet\ - true - $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) - $(TargetFrameworkMoniker) - true + be stored in a shared directory next to the assets.json file --> + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true - false + TargetDefinitions, FileDefinitions and FileDependencies items. --> + false - true - - - - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) - <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) - - - - - + its own multi-targeting logic, or if the current SDK targets will pick the assets correctly. --> + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + - + --> + $(ResolveAssemblyReferencesDependsOn); ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; - + ResolvePackageDependenciesForBuild; _HandlePackageFileConflicts; $(PrepareResourcesDependsOn) - - - - - - $(RootNamespace) - - - $(AssemblyName) - - - $(MSBuildProjectDirectory) - - - $(TargetFileName) - - - $(MSBuildProjectFile) - - - + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + - - true - + --> + + true + + --> - + --> + ResolveLockFileReferences; ResolveLockFileAnalyzers; @@ -9581,110 +9313,110 @@ Copyright (c) .NET Foundation. All rights reserved. ResolveRuntimePackAssets; RunProduceContentAssets; IncludeTransitiveProjectReferences - - - + + + + --> - - - - + --> + + + + - + run and created the assets file. --> + - - - - - - - - - - - - - - - - - <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) - roslyn$(_RoslynApiVersion) - - - - - - false - - - true - - - true - - - - true - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + compile errors. --> + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + match the expected version --> + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> - - - <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> - - + (that was spread across different tasks/targets) for backwards compatibility. --> + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + - + --> + - - - - - - + --> + + + + + + - - - - - + --> + + + + + - - - - - - - + --> + + + + + + + - - - - + but the names depend upon the items themselves. Split it apart. --> + + + + - - + --> + + - - true - + --> + + true + - - + project, use that, in order to preserve metadata (such as aliases). --> + + - - - - - - - - - - - - - - + a reference with a warning. See https://github.com/dotnet/sdk/issues/1499 --> + + + + + + + + + + + + + + - - - - - + --> + + + + + - - - - - + --> + + + + + - - - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> - - <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> - <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> - - - - + --> + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + - + NETSDK1056. --> + - - +--> + + +--> - - - true - true - true - true - - +--> + + + true + true + true + true + + - - $(DefaultItemExcludes);$(BaseOutputPath)/** - - $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** - - $(DefaultItemExcludes);**/*.user - $(DefaultItemExcludes);**/*.*proj - $(DefaultItemExcludes);**/*.sln - $(DefaultItemExcludes);**/*.vssscc - $(DefaultItemExcludes);**/.DS_Store + This is in the .targets because it needs to come after the final BaseOutputPath has been evaluated. --> + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc - $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** - + properties because of a naming mistake. --> + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + - + in the project file. --> + - 1.6.1 - - 2.0.3 - + produced, so we will roll forward to the latest version. --> + 1.6.1 + + 2.0.3 + +--> +--> - - true - false - <_TargetLatestRuntimePatchIsDefault>true - - - true - - - - - all - true - - - all - true - - - - - - - - - - - - + --> + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + - - - - - - - - - + A FrameworkReference to Microsoft.AspNetCore.App should be used instead, and will be implicitly included by Microsoft.NET.Sdk.Web. --> + + + + + + + + + - - - - - - - - - - - - + should be replaced with a FrameworkReference. --> + + + + + + + + + + + + - - $(_TargetFrameworkVersionWithoutV) - - - - - - - - https://aka.ms/sdkimplicitrefs - - - - - - - - - - - <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> - - - - false - - - - - - https://aka.ms/sdkimplicititems - + this should prevent breaking it. --> + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + - - - - - - - - - - - - - - - - - - - - - - - - - - <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> - - - + be easy to miss the duplicate items error which is the real source of the problem. --> + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + +--> - - - + if building with an implicit restore. --> + + + - - + --> + + - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + --> + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) - %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) - - - - - - - - - - - - - - - - - true - - - - - + --> + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + + + + +--> +--> - +--> + $(ResolveAssemblyReferencesDependsOn); ResolveTargetingPackAssets; - - - - - - - + + + + + + + - - - - - - - - + we can't do the change atomically --> + + + + + + + + - - - - - - - - - - - true - true - - - <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - - - - - - - $(RuntimeIdentifier) - $(DefaultAppHostRuntimeIdentifier) - - - - - - - - - - - true - true - false - - - - [%(_PackageToDownload.Version)] - - - - - - - - <_ImplicitPackageReference Remove="@(PackageReference)" /> - - - + --> + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + - - - - - - + --> + + + + + + - - - - - - - %(ResolvedTargetingPack.PackageDirectory) - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> - %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) - - - - - %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) - - - - @(ResolvedAppHostPack->'%(Path)') - - - - %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) - - - - @(ResolvedSingleFileHostPack->'%(Path)') - - - - %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) - - - - @(ResolvedComHostPack->'%(Path)') - - - - %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) - - - - @(ResolvedIjwHostPack->'%(Path)') - - - - - - - - - - + --> + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + - - - - true - false - - - - - - - - - - + --> + + + + true + false + + + + + + + + + + - $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) - - - - - - - - - - - - - - - - - - - + that consume it. --> + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + - - - - - - <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> - - - + --> + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + - - - - - - - - + --> + + + + + + + + - + --> + - - - <_Parameter1>$(UserSecretsId.Trim()) - - - + --> + + + <_Parameter1>$(UserSecretsId.Trim()) + + + - - - - - - $(_IsNETCoreOrNETStandard) - - - true - false - true - $(MSBuildProjectDirectory)/runtimeconfig.template.json - true - true - <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache - <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) - <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache - <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) - <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache - <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) - - - - <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true - - - false - true - - - $(BundledRuntimeIdentifierGraphFile) - - $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json - - - - - - - - - - - true - - - false - - - $(AssemblyName).deps.json - $(TargetDir)$(ProjectDepsFileName) - $(AssemblyName).runtimeconfig.json - $(TargetDir)$(ProjectRuntimeConfigFileName) - $(TargetDir)$(AssemblyName).runtimeconfig.dev.json - true - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + + + + + $(_IsNETCoreOrNETStandard) + + + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + + + + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + +--> - - - true - true - - - - CurrentArchitecture - CurrentRuntime - - - <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib - <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so - <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe - <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll - <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) - <_DotNetAppHostExecutableNameWithoutExtension>apphost - <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) - <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost - <_DotNetComHostLibraryNameWithoutExtension>comhost - <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) - <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost - <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) - <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) - <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) - - - - - - <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> - - +--> + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + - - - Microsoft.NETCore.App - - + --> + + + Microsoft.NETCore.App + + - - <_DefaultUserProfileRuntimeStorePath>$(HOME) - <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) - <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) - $(_DefaultUserProfileRuntimeStorePath) - - - true - - - true - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + - - false - true - + property values from referencing projects. --> + + false + true + - - true - - - true - - - $(AvailablePlatforms),ARM32 - - - $(AvailablePlatforms),ARM64 - - - $(AvailablePlatforms),ARM64 - - - - false - - - - true - - - - - <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true - <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true - - <_BinaryFormatterObsoleteAsError>true - - true - false - - + --> + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + + + true + + _CheckForBuildWithNoBuild; $(CoreBuildDependsOn); GenerateBuildDependencyFile; GenerateBuildRuntimeConfigurationFiles - - - + + + _SdkBeforeClean; $(CoreCleanDependsOn) - - - + + + _SdkBeforeRebuild; $(RebuildDependsOn) - - - - - - - - - + + - - - + --> + + + - - - - 1.0.0 - - - - - - - - - - - - - <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> - - <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> - - - + --> + + + + 1.0.0 + + + + + + + + + + + - - - + during incremental builds when the task is skipped --> + + + - - - - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> - <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + - - - <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true - LatestMinor - + --> + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + - - - <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true - - - + other values should still keep failing as they won't have any effect when run on 2.*. --> + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_CleaningWithoutRebuilding>true - false - - - - - <_CleaningWithoutRebuilding>false - - + during incremental builds when the task is skipped --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + --> + + + + + $(CompileDependsOn); _CreateAppHost; _CreateComHost; _GetIjwHostPaths; - - + + - - - - <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true - <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true - - - + --> + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + - - - $(SingleFileHostSourcePath) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) - - + --> + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + - - - - - @(_NativeRestoredAppHostNETCore) - - - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) - - - - - - + --> + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + - - - - - + --> + + + + + - - - - + --> + + + + - - - + --> + + + - - - $(AssemblyName).comhost$(_ComHostLibraryExtension) - $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) - - - + --> + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + - - - + --> + + + - - - - <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest - PreserveNewest - - - + --> + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + - - PreserveNewest - Never - - - - - $(AssemblyName)$(_NativeExecutableExtension) - PreserveNewest + --> + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest - Always - - - - - $(AssemblyName).$(_DotNetComHostLibraryName) - PreserveNewest - PreserveNewest - - - %(FileName)%(Extension) - PreserveNewest - PreserveNewest - - - - - $(_DotNetIjwHostLibraryName) - PreserveNewest - PreserveNewest - - - + places the correct unbundled apphost in the publish directory. --> + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + - - - <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + --> + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> - <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> - <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> - <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> - - + --> + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + - - - - - true - - - true - - - - - + --> + + + + + true + + + true + + + + + - - $(StartWorkingDirectory) - - - - - $(StartProgram) - $(StartArguments) - - - - - - dotnet - <_NetCoreRunArguments>exec "$(TargetPath)" - $(_NetCoreRunArguments) $(StartArguments) - $(_NetCoreRunArguments) - - - $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) - $(StartArguments) - - - - - $(TargetPath) - $(StartArguments) - - - mono - "$(TargetPath)" $(StartArguments) - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) - - - - - + --> + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + - + --> + $(CreateSatelliteAssembliesDependsOn); CoreGenerateSatelliteAssemblies - - - - - - - <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs - <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll - - - - <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) - - - - - - - true - - - - - - - - - - - - - + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + - + --> + - - - - - + --> + + + + + - - - $(TargetFrameworkIdentifier) - $(_TargetFrameworkVersionWithoutV) - - + --> + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + - - - - - - + --> + + + + + + - - - - - - - - - - false - - + --> + + + + + + + + + + false + + - false - - - - false - - - - <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true - - - - + to run it. --> + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + - - - + --> + + + - - - - - - - - - - - - - - <_SourceLinkSdkSubDir>build - <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting - true - - - - - - - - local - - - - - - - - - - - git - - - - - - - - - - - - - - - - - - - - - - - - - - $(RepositoryUrl) - $(ScmRepositoryUrl) - - - - %(SourceRoot.ScmRepositoryUrl) - - - - - - - - <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json - - - - - - - - - <_GenerateSourceLinkFileBeforeTargets>Link - <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches - - - <_GenerateSourceLinkFileBeforeTargets>CoreCompile - <_GenerateSourceLinkFileDependsOnTargets /> - - - - - - - - - - - - - - - - %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" - - - - - - - - - <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll - <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - - - <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll - <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - - - <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll - <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - - - <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll - <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll - - - - - $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl - $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation - - - - - - - - - - - - - - - <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> - - - - - - - - - - - - - + --> + + + + + + + + +--> - +--> + $(CommonOutputGroupsDependsOn); - - - + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); _GenerateDesignerDepsFile; _GenerateDesignerRuntimeConfigFile; GetCopyToOutputDirectoryItems; _GatherDesignerShadowCopyFiles; - - <_DesignerDepsFileName>$(AssemblyName).designer.deps.json - <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json - <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) - <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) - - - + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + - - - - - - - - - - <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> - - - - - - - - - - - <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + --> + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> - <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> - - - - - + --> + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + + + + +--> +--> +--> - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) - true - - - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - + --> + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + - - - - - <_InformationalVersionContainsPlus>false - <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true - $(InformationalVersion)+$(SourceRevisionId) - $(InformationalVersion).$(SourceRevisionId) - - - - - - <_Parameter1>$(Company) - - - <_Parameter1>$(Configuration) - - - <_Parameter1>$(Copyright) - - - <_Parameter1>$(Description) - - - <_Parameter1>$(FileVersion) - - - <_Parameter1>$(InformationalVersion) - - - <_Parameter1>$(Product) - - - <_Parameter1>$(Trademark) - - - <_Parameter1>$(AssemblyTitle) - - - <_Parameter1>$(AssemblyVersion) - - - <_Parameter1>RepositoryUrl - <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) - <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) - - - <_Parameter1>$(NeutralLanguage) - - - %(InternalsVisibleTo.PublicKey) - - - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) - <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) - - - <_Parameter1>%(AssemblyMetadata.Identity) - <_Parameter2>%(AssemblyMetadata.Value) - - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) - - - - - <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) - - - <_Parameter1>$(TargetPlatformIdentifier) - - - - - - + --> + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + %(InternalsVisibleTo.PublicKey) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + - - - $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache - - - - - - - - - - - - - - - - - - - - + --> + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + - - - - - - $(AssemblyVersion) - $(Version) - - + --> + + + + + + $(AssemblyVersion) + $(Version) + + - +--> + +--> - - - - <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config - - - - - - - - - - - - - - - - - +--> + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + +--> +--> +--> - + --> + - - - <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> - <_AllProjects Include="$(MSBuildProjectFullPath)" /> - - - - - + --> + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + - - - - %(PackageReference.Identity) - %(PackageReference.Version) + --> + + + + %(PackageReference.Identity) + %(PackageReference.Version) StorePackageName=%(PackageReference.Identity); StorePackageVersion=%(PackageReference.Version); @@ -12182,246 +11328,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); DisableImplicitFrameworkReferences=false; - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - + --> + + + + + + + + + <_StoreArtifactContent> @(ListOfPackageReference) -]]> - - - - - - +]]> + + + + + + - - - <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> - <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> - - - - - - - - + --> + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + - - - true - true - <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) - true - - - - - - $(UserProfileRuntimeStorePath) - <_ProfilingSymbolsDirectoryName>symbols - $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) - $(DefaultProfilingSymbolsDir) - $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) - $(ProfilingSymbolsDir)\ - $(DefaultComposeDir) - $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) - $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) - $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) - $([System.IO.Path]::GetFullPath($(ComposeDir))) - <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) - $([System.IO.Path]::GetTempPath()) - $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) - $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) - - $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) - - $(PublishDir)\ - - - - false - true - - - - - - - - $(StorePackageVersion.Replace('*','-')) - $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) - <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) - $(StoreWorkerWorkingDir)\ - $(BaseIntermediateOutputPath)\project.assets.json - - - $(MicrosoftNETPlatformLibrary) - true - - + --> + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + - - - - + --> + + + + - + --> + - + --> + - - - - - + --> + + + + + - + --> + - - - <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> - - - true - - + --> + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + - - - <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> - - + --> + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + - - - - true - true - - - - - - - - - + --> + + + + true + true + + + + + + + + + - - - - - - + --> + + + + + + +--> +--> +--> - - true - true - false - true - false - true - 1 - + --> + + true + true + false + true + false + true + 1 + - - - - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> - <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> - <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> - - - - - - - - <_CoreclrPath>@(_CoreclrResolvedPath) - @(_JitResolvedPath) - <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) - <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) - $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) - - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) - $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) - - - - - - - - $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) - - + --> + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + - - - + --> + + + CrossgenExe=$(Crossgen); CrossgenJit=$(JitPath); @@ -12511,252 +11657,246 @@ Copyright (c) .NET Foundation. All rights reserved. CreateProfilingSymbols=$(CreateProfilingSymbols); StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) - - - - - - + + + + + + - - - $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) - $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) - $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" - CreatePDB - CreatePerfMap - - - - - - - - - - - - <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> - - - - - - - - $([System.IO.Path]::PathSeparator) - $([System.IO.Path]::DirectorySeparatorChar) - - + --> + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + - - - <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) - <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) - - - - - <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) - - + --> + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + - - - <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) - - <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) - - <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) - - - <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> - - - - - - - - + --> + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll - $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll - + --> + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + - - - - - - - - - - - + --> + + + + + - - - - - + --> + + + + + - - - - <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R - - - - <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> - + --> + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + - - <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> - - - - - - <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> - <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> - - - <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> - <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> - - - - - - - - - - - - - - - - - + assembly list. --> + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + - - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> - - + --> + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + - - - - - - - - <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true - - - <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> - - + --> + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + +--> +--> - - $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props - +--> + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + - - +--> + + - - <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> - - <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> - - - - +--> + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + +--> +--> - - true - <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true - true - - - - - true - true - - - - Always - - - - - - <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true - <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false - - +--> + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + Always + + - - - - + --> + + + + <_BeforePublishNoBuildTargets> BuildOnlySettings; _PreventProjectReferencesFromBuilding; @@ -12872,70 +11998,62 @@ Copyright (c) .NET Foundation. All rights reserved. PrepareResourceNames; ComputeIntermediateSatelliteAssemblies; ComputeEmbeddedApphostPaths; - + <_CorePublishTargets> PrepareForPublish; ComputeAndCopyFilesToPublishDirectory; $(PublishProtocolProviderTargets); PublishItemsOutputGroup; - - <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) - - - - + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + - - - - - - - - - - - - - - false - - + the published assets were copied. --> + + + + + + + false + + - - - - - - - - - - - - - - $(PublishDir)\ - - - + --> + + + + + + + + + + + + + + $(PublishDir)\ + + + - + --> + - + --> + - - - - <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> - - - - - - - - + --> + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + - - - <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) - - - - - - <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt - - - - - - - - - - - - - - - - - - <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> - <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> - - - - - - - - - + --> + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + - + --> + - - - - + --> + + + + - + --> + - - - - - - - - - - - + --> + + + + + + + + + + + - - - <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> - <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> - - - <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> - <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> - - + --> + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + - - - - - true - true - false - - + --> + + + true + true + false + + - - - - - @(IntermediateAssembly->'%(Filename)%(Extension)') - PreserveNewest - - - - $(ProjectDepsFileName) - PreserveNewest - - - - $(ProjectRuntimeConfigFileName) - PreserveNewest - - - - @(AppConfigWithTargetPath->'%(TargetPath)') - PreserveNewest - - - - @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') - PreserveNewest - true - - - - %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) - PreserveNewest - - - - %(Filename)%(Extension) - PreserveNewest - - + --> + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> - - - - %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) - PreserveNewest - - - - @(FinalDocFile->'%(Filename)%(Extension)') - PreserveNewest - - - - shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) - PreserveNewest - - - <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> - - - + to ensure that we don't get duplicate files in the publish output. --> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + - - + --> + + - - - - - <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> - - - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> - - + PreserveStoreLayout without this task, and how to handle RuntimeStorePackages. --> + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + - - - - - - + --> + + + + + + - - - <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> - - + --> + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + - - - <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> - %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) - - - + --> + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + - - - - %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) - Always - True - - - %(_SourceItemsToCopyToPublishDirectory.TargetPath) - PreserveNewest - True - - - + --> + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + - + --> + - - <_GCTPDIKeepDuplicates>false - <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath - - - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> - <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> - - - - - + a non-empty value and the original behavior will be restored. --> + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + - - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - - Always - - - PreserveNewest - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - Always - - <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> - PreserveNewest - - - - - <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies - - - + --> + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + - - - <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> - - <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> - - <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> - - - - <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> - + --> + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + - - - + --> + + + - - - - - - - - - <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> - - - + --> + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + - - <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true - <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true - - + generate a different one. --> + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + - - - <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> - - - - $(AssemblyName)$(_NativeExecutableExtension) - $(PublishDir)$(PublishedSingleFileName) - - - - - - - - $(PublishedSingleFileName) - - - - - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> - <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> - - - - - - - - - - false - false - false - $(IncludeAllContentForSelfExtract) - false - - - - - - - - - - - - - - $(PublishDepsFilePath) - $(IntermediateOutputPath)$(ProjectDepsFileName) - - - - - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> - <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> - - - - - - - - - + --> + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + - - - - $(PublishDir)$(ProjectDepsFileName) - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false - <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) - - - - - - <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> - <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> - - - - - $(ProjectDepsFileName) - - - + --> + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + - - - - <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - + --> + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + - - - - - - - - + --> + + + + + + + + - + --> + $(PublishItemsOutputGroupDependsOn); ResolveReferences; ComputeResolvedFilesToPublishList; _ComputeFilesToBundle; - - - - - - - - - - - + + + + + + + + + + + - + --> + - - - + --> + + + - +--> + +--> - - - - - +--> + + + + + - - <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml - true - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative - <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) - - - - <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> - <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> - <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> - - - - - - - tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) - - - %(_ResolvedFileToPublishWithPackagePath.PackagePath) - - - - - $(TargetName) - $(TargetFileName) - <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache - <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) - - - - <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> - - - - - - - - - - - - - - - - - - - + --> + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + + + $(TargetName) + $(TargetFileName) + + + + + + + + + + + + + - - <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache - <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) - <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel - <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) - $(OutDir) - - - - - + --> + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + - - + --> + + - - - - - - - - - + during incremental builds when the task is skipped --> + + + + + + + + + - - - <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> - <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> - <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> - <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> - <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> - - - - - - - - - + And the cache file's timestamp will be later, and it then triggers the incremental build.--> + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + +--> +--> - - - +--> + + + +--> +--> - - refs - $(PreserveCompilationContext) - - - - - $(DefineConstants) - $(LangVersion) - $(PlatformTarget) - $(AllowUnsafeBlocks) - $(TreatWarningsAsErrors) - $(Optimize) - $(AssemblyOriginatorKeyFile) - $(DelaySign) - $(PublicSign) - $(DebugType) - $(OutputType) - $(GenerateDocumentationFile) - - - - - - - - - +--> + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(PublicSign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + - <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + --> + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> - <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> - - $(RefAssembliesFolderName)\%(Filename)%(Extension) - - - + --> + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + - - - - - + --> + + + + + +--> +--> +--> +--> - - +--> + + Microsoft.CSharp|4.4.0; Microsoft.Win32.Primitives|4.3.0; @@ -14033,9 +13076,9 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + Microsoft.Win32.Primitives|4.3.0; System.AppContext|4.3.0; @@ -14132,50 +13175,50 @@ Copyright (c) .NET Foundation. All rights reserved. System.Xml.XmlSerializer|4.3.0; System.Xml.XPath|4.3.0; System.Xml.XPath.XDocument|4.3.0; - - - + + + - - +--> + + - - + --> + + - <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> - - - - - - - + --> + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + - - - - - - - - - + (eg: HintPath) --> + + + + + + + + + - - - - - - - <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> - <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> - - + --> + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + - - - - - - - + --> + + + + + + + - - +--> + + +--> +--> - - $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets - + *************************************************************************************************************** --> + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + - +--> + - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - - - - - - - - +--> + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + + + + + + + + + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + + + - - $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) - +--> + + + + $(IntermediateOutputPath)linked\ + $(IntermediateLinkDir)\ + + <_LinkSemaphore>$(IntermediateLinkDir)Link.semaphore + + + + <_Parameter1>IsTrimmable + <_Parameter2>True + + + + + false + false + false + false + false + false + false + false + + <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true + <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false + true + + + + true + + true + + false + + + + <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --notrimwarn + false + + + + $(NoWarn);IL2121 + + + + + + <_LinkedResolvedFileToPublish Include="@(_LinkedResolvedFileToPublishCandidate)" Condition="Exists('%(Identity)')" /> + + + + + + + <_RemovedManagedAssembly Include="@(ManagedAssemblyToLink)" Condition="!Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + + + + + + + + + + + + + <_DotNetHostDirectory>$(NetCoreRoot) + <_DotNetHostFileName>dotnet + <_DotNetHostFileName Condition="$([MSBuild]::IsOSPlatform(`Windows`))">dotnet.exe + + + + + + + + + + + + + + + 5 + 0 + + + + + + <_ILLinkSuppressions Include="$(MSBuildThisFileDirectory)6.0_suppressions.xml" /> + + + <_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --link-attributes "@(_ILLinkSuppressions->'%(Identity)', '" --link-attributes "')" + + + + copyused + partial + full + + <_TrimmerDefaultAction Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '7.0'))">$(TrimmerDefaultAction) + <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">$(TrimMode) + <_TrimmerDefaultAction Condition="'$(_TrimmerDefaultAction)' == '' And $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '6.0'))">copy + + + $(TreatWarningsAsErrors) + <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs) + true + + + + + $(NoWarn);IL2008 + + $(NoWarn);IL2009 + + + $(NoWarn);IL2037 + + + $(NoWarn);IL2009;IL2012 + + + + + <_ExtraTrimmerArgs>--enable-serialization-discovery $(_ExtraTrimmerArgs) + + + + + true + false + + + <_TrimmerUnreachableBodies>false + + + + + true + + + + + + + + + + + + + + + + + + + copy + + + + + + <__SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly Include="@(ManagedAssemblyToLink)" /> + <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> + + <_SingleWarnIntermediateAssembly> + false + + + + + + + false + + + + <_TrimmerFeatureSettings Include="@(RuntimeHostConfigurationOption)" Condition="'%(RuntimeHostConfigurationOption.Trim)' == 'true'" /> + + + + + + + + + + + + <__PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(ManagedAssemblyToLink->'%(RelativeDir)%(Filename).pdb')" /> + <_PDBToLink Include="@(ResolvedFileToPublish)" Exclude="@(__PDBToLink)" /> + + + <_LinkedResolvedFileToPublishCandidate Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + <_LinkedResolvedFileToPublishCandidate Include="@(_PDBToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" /> + + - - - - - - true - true - - - $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets - - - - - +C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets +============================================================================================================================================ +--> + + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + +--> - - - true - - - - true - - - - 7.0 - - +--> + + + true + + + + true + + + + 7.0 + + - $(TargetPlatformMinVersion) - $(SupportedOSPlatformVersion) - - $(TargetPlatformVersion) - $(TargetPlatformVersion) - - - - <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> - - - - - - - - + other value. --> + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + - - <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> - - - - - - - + The WinMD in this case can be identified because the Implementation metadata value is WinRT.Host.dll. So here we remove any such WinMD references. --> + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + +--> - + TargetPlatformVersion may have been set later than that in evaluation by platform-specific targets or Directory.Build.targets. So fix up those properties here --> + - 0.0 - $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) - - - - $(TargetPlatformVersion) - - + workloads. --> + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + +--> +--> - - $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll - $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll - - - - - +--> + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net7.0\Microsoft.DotNet.ApiCompat.Task.dll + + + + + +--> - - - - - - $(RoslynTargetsPath) - <_packageReferenceList>@(PackageReference) +--> + + + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) - $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) - $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) - - - - $(GenerateCompatibilitySuppressionFile) - - - - - - - <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) - - $(_apiCompatDefaultProjectSuppressionFile) - - - - - - + are on the same directory as Microsoft.CodeAnalysis. So there is no need to distinguish between csproj or vbproj. --> + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + +--> +--> - - $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore - - CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) - - - - $(PackageId) - $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) - <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) - - - <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> - - - - - - - - - - $(TargetPlatformMoniker) - - - - - - - - - +--> + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + + + + + + + + + + + + + + + + - +--> + - - - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets - $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets - true - +--> + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + +--> - - - ..\CoreCLR\NuGet.Build.Tasks.Pack.dll - ..\Desktop\NuGet.Build.Tasks.Pack.dll - - - - - - - - - $(AssemblyName) - $(Version) - true - _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) - $(Description) - Package Description - false - true - true - tools - lib - content;contentFiles - $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) - true - symbols.nupkg - DeterminePortableBuildCapabilities - false - false - .dll; .exe; .winmd; .json; .pri; .xml - $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) - .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) - .pdb - false - - - $(GenerateNuspecDependsOn) - - - Build;$(GenerateNuspecDependsOn) - - - - - - - $(TargetFramework) - - - - $(MSBuildProjectExtensionsPath) - $(BaseOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(Configuration)\ - +--> + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + - - - - - - - - - - - + --> + + + + + + + + + + + - - - - - - + --> + + + + + + - - - <_ProjectFrameworks /> - - - - - - <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> - - + --> + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + - - - - <_PackageFilesToDelete Include="@(_OutputPackItems)" /> - - - - - - false - - - - - - - - - - - - - + --> + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + - - - - - - true - - - - - - - - - + --> + + + + + + true + + + + + + + + + - - - - $(PrivateRepositoryUrl) - $(SourceRevisionId) - - + --> + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + - - - - $(MSBuildProjectFullPath) - - - - - - - - - - - - - - - - - <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> - $(PackageVersion) - 1.0.0 - - - - - - - - - - - - - - - - - - - - - - - - - - <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> - - - - - - $(TargetFramework) - - - - - - - - - - - - - %(TfmSpecificPackageFile.RecursiveDir) - %(TfmSpecificPackageFile.BuildAction) - - - - - - <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> - $(TargetFramework) - - - - <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> - - + --> + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + - - - <_PathToPriFile Include="$(ProjectPriFullPath)"> - $(ProjectPriFullPath) - $(ProjectPriFileName) - - - + has to be added manually here.--> + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + - - - <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> - - - - <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> - Content - - <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> - Compile - - <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> - None - - <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> - EmbeddedResource - - <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> - ApplicationDefinition - - <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> - Page - - <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> - Resource - - <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> - SplashScreen - - <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> - DesignData - - <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> - DesignDataWithDesignTimeCreatableTypes - - <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> - CodeAnalysisDictionary - - <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> - AndroidAsset - - <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> - AndroidResource - - <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> - BundleResource - - - + --> + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + +--> +--> \ No newline at end of file From 507dd021cc09774dd2721cd11e5c9034c263ea87 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Thu, 9 Nov 2023 22:11:44 +0000 Subject: [PATCH 21/29] WIP --- ...ed.CoreCompile.8.0.100.rc-2.FSharp.targets | 247 ++++++++++++++++++ 1 file changed, 247 insertions(+) create mode 100644 MSBuild.CompilerCache/Targets/Cached.CoreCompile.8.0.100.rc-2.FSharp.targets diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.8.0.100.rc-2.FSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.8.0.100.rc-2.FSharp.targets new file mode 100644 index 0000000..7bef151 --- /dev/null +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.8.0.100.rc-2.FSharp.targets @@ -0,0 +1,247 @@ + + + + + + + + + + + + + + + + + --simpleresolution $(OtherFlags) + $(OtherFlags) + + + + + + + + + false + true + + + + + + + + true + + + + + + + + + + <_CoreCompileResourceInputs + Remove="@(_CoreCompileResourceInputs)" /> + + + + \ No newline at end of file From e3dad2d34010537d7b5f467c3bea7d5ae8c82b21 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sun, 12 Nov 2023 20:22:42 +0000 Subject: [PATCH 22/29] WIP --- MSBuild.CompilerCache/Tracing.cs | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 MSBuild.CompilerCache/Tracing.cs diff --git a/MSBuild.CompilerCache/Tracing.cs b/MSBuild.CompilerCache/Tracing.cs new file mode 100644 index 0000000..e69de29 From ba748b7ebe6d7f107e7490018f9aac0fca07e700 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sun, 12 Nov 2023 20:23:03 +0000 Subject: [PATCH 23/29] WIP --- MSBuild.CompilerCache.Tests/EndToEndTests.cs | 2 +- .../InMemoryTaskBasedTests.cs | 5 +- MSBuild.CompilerCache.Tests/PerfTests.cs | 2 +- .../TargetsExtraction.cs | 2 +- MSBuild.CompilerCache.Tests/TrimmingTests.cs | 2 +- .../CompilationResultsCache.cs | 12 +- MSBuild.CompilerCache/CompilerCacheLocate.cs | 68 +- .../CompilerCachePopulateCache.cs | 3 + MSBuild.CompilerCache/FileHashCache.cs | 10 +- MSBuild.CompilerCache/LocatorAndPopulator.cs | 49 +- .../MSBuild.CompilerCache.csproj | 3 + ...ompile.8.0.100-rc.2.23502.2.FSharp.targets | 247 + ...ompile.8.0.100-rc.2.23502.2.CSharp.targets | 148 + ...ompile.8.0.100-rc.2.23502.2.FSharp.targets | 149 + .../CoreCompile.8.0.100.rc-2.CSharp.targets | 148 + .../CoreCompile.8.0.100.rc-2.FSharp.targets | 149 + .../Targets.6.0.300.CSharp.xml | 6 +- .../Targets.6.0.300.FSharp.xml | 6 +- .../Targets.7.0.202.CSharp.xml | 6 +- .../Targets.7.0.202.FSharp.xml | 6 +- .../Targets.8.0.100-rc.2.23502.2.CSharp.xml | 15296 ++++++++++++++++ .../Targets.8.0.100-rc.2.23502.2.FSharp.xml | 15120 +++++++++++++++ .../Targets.8.0.100.rc-2.CSharp.xml | 15296 ++++++++++++++++ .../Targets.8.0.100.rc-2.FSharp.xml | 15120 +++++++++++++++ .../TargetsExtractionUtils.cs | 1 + MSBuild.CompilerCache/Tracing.cs | 55 + 26 files changed, 61855 insertions(+), 56 deletions(-) create mode 100644 MSBuild.CompilerCache/Targets/Cached.CoreCompile.8.0.100-rc.2.23502.2.FSharp.targets create mode 100644 MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100-rc.2.23502.2.CSharp.targets create mode 100644 MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100-rc.2.23502.2.FSharp.targets create mode 100644 MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100.rc-2.CSharp.targets create mode 100644 MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100.rc-2.FSharp.targets create mode 100644 MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100-rc.2.23502.2.CSharp.xml create mode 100644 MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100-rc.2.23502.2.FSharp.xml create mode 100644 MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100.rc-2.CSharp.xml create mode 100644 MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100.rc-2.FSharp.xml diff --git a/MSBuild.CompilerCache.Tests/EndToEndTests.cs b/MSBuild.CompilerCache.Tests/EndToEndTests.cs index dc62452..fceafc6 100644 --- a/MSBuild.CompilerCache.Tests/EndToEndTests.cs +++ b/MSBuild.CompilerCache.Tests/EndToEndTests.cs @@ -204,7 +204,7 @@ public static (SDKVersion, SupportedLanguage)[] SDKs() private static readonly string NugetSourcePath = Path.Combine( Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)!, - Path.Combine("..", "..", "..", "..", "MSBuild.CompilerCache", "bin", Configuration) + Path.Combine("..", "..", "..", "..", "MSBuild.CompilerCache", "bin", Configuration, "net7.0", "win-x64", "publish") ); [TestCaseSource(nameof(SDKs))] diff --git a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs index 913f858..3595e95 100644 --- a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs +++ b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs @@ -67,8 +67,9 @@ public static All AllFromInputs(LocateInputs inputs, IRefCache refCache) var decomposed = TargetsExtractionUtils.DecomposeCompilerProps(inputs.AllProps); var localInputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, refCache, compilingAssemblyName: "", trimmingConfig: new RefTrimmingConfig(), fileHashCache: new DictionaryBasedCache(), hasher: TestUtils.DefaultHasher); - var extract = localInputs.ToFullExtract(); - var hashString = Utils.ObjectToHash(extract, TestUtils.DefaultHasher); + var extract = localInputs.ToSlim().ToFullExtract(); + var jsonBytes = JsonSerializer.SerializeToUtf8Bytes(extract, FullExtractJsonContext.Default.FullExtract); + var hashString = Utils.BytesToHash(jsonBytes, TestUtils.DefaultHasher); var cacheKey = LocatorAndPopulator.GenerateKey(inputs, hashString); return new All(LocalInputs: localInputs, diff --git a/MSBuild.CompilerCache.Tests/PerfTests.cs b/MSBuild.CompilerCache.Tests/PerfTests.cs index 2612954..601f465 100644 --- a/MSBuild.CompilerCache.Tests/PerfTests.cs +++ b/MSBuild.CompilerCache.Tests/PerfTests.cs @@ -42,7 +42,7 @@ public void HashCalculationPerfTest() var localInputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, combinedRefCache, "assembly", refTrimmingConfig, combinedFileHashCache, hasher); - var extract = localInputs.ToFullExtract(); + var extract = localInputs.ToSlim().ToFullExtract(); var hashString = Utils.ObjectToHash(extract, hasher); var cacheKey = LocatorAndPopulator.GenerateKey(inputs, hashString); var localInputsHash = Utils.ObjectToHash(localInputs, hasher); diff --git a/MSBuild.CompilerCache.Tests/TargetsExtraction.cs b/MSBuild.CompilerCache.Tests/TargetsExtraction.cs index d42c18a..47f169c 100644 --- a/MSBuild.CompilerCache.Tests/TargetsExtraction.cs +++ b/MSBuild.CompilerCache.Tests/TargetsExtraction.cs @@ -63,7 +63,7 @@ public void GenerateAllTargets(SDKVersion sdk, SupportedLanguage language, strin internal static readonly ImmutableArray SupportedSdks = new[] { - "8.0.100.rc-2", + "8.0.100-rc.2.23502.2", "7.0.302", "7.0.203", "7.0.202", diff --git a/MSBuild.CompilerCache.Tests/TrimmingTests.cs b/MSBuild.CompilerCache.Tests/TrimmingTests.cs index 52fae62..d695f5e 100644 --- a/MSBuild.CompilerCache.Tests/TrimmingTests.cs +++ b/MSBuild.CompilerCache.Tests/TrimmingTests.cs @@ -12,7 +12,7 @@ public class TrimmingTests public async Task InternalsVisibleToAreResolvedCorrectly() { var path = Assembly.GetExecutingAssembly().Location.Replace(".Tests.dll", ".dll"); - var bytes = await File.ReadAllBytesAsync(path); + var bytes = await LocatorAndPopulator.ReadFileAsync(path); var t = new RefTrimmer(TestUtils.DefaultHasher); var res = await t.GenerateRefData(bytes.ToImmutableArray()); diff --git a/MSBuild.CompilerCache/CompilationResultsCache.cs b/MSBuild.CompilerCache/CompilationResultsCache.cs index c2884e8..fc7fa55 100644 --- a/MSBuild.CompilerCache/CompilationResultsCache.cs +++ b/MSBuild.CompilerCache/CompilationResultsCache.cs @@ -122,12 +122,6 @@ public record LocalInputs(InputResult[] Files, KeyValuePair[] Pro public LocalInputs(InputResult[] Files, (string, string)[] Props, OutputItem[] OutputFiles) : this(Files, Props.Select(x => new KeyValuePair(x.Item1, x.Item2)).ToArray(), OutputFiles) {} - - public FullExtract ToFullExtract() - { - return new FullExtract(Files: Files.Select(f => f.fileHashCacheKey.ToFileExtract()).ToArray(), Props: Props, - OutputFiles: OutputFiles.Select(o => o.Name).ToArray()); - } public LocalInputsSlim ToSlim() => new LocalInputsSlim(Files: Files.Select(f => f.fileHashCacheKey).ToArray(), Props, OutputFiles); @@ -207,6 +201,10 @@ public bool Exists(CacheKey key) public static bool AtomicCopyOrMove(FileInfo source, FileInfo destination, bool throwIfDestinationExists = true, bool moveInsteadOfCopy = false) { + using var activity = Tracing.Source.StartActivity("AtomicCopyOrMove"); + activity?.SetTag("source", source.FullName); + activity?.SetTag("destination", destination.FullName); + activity?.SetTag("moveInsteadOfCopy", moveInsteadOfCopy); var dir = destination.DirectoryName!; var tmpDestination = Path.Combine(dir, $".__tmp_{Guid.NewGuid()}"); FileInfo tmp; @@ -252,6 +250,7 @@ public CacheKey[] GetAllExistingKeys() public async Task SetAsync(CacheKey key, FullExtract fullExtract, FileInfo resultZipToBeMoved) { var dir = new DirectoryInfo(CacheDir(key)); + Console.WriteLine($"Cache Set {key}. Dir {dir}"); dir.Create(); var outputFile = new FileInfo(Path.Combine(dir.FullName, resultZipToBeMoved.Name)); @@ -276,6 +275,7 @@ public async Task SetAsync(CacheKey key, FullExtract fullExtract, FileInfo resul public Task GetAsync(CacheKey key) { var dir = new DirectoryInfo(CacheDir(key)); + Console.WriteLine($"Cache Get {key}. Dir {dir}"); if (dir.Exists) { var extractPath = ExtractPath(key); diff --git a/MSBuild.CompilerCache/CompilerCacheLocate.cs b/MSBuild.CompilerCache/CompilerCacheLocate.cs index 263620b..9ca3bd9 100644 --- a/MSBuild.CompilerCache/CompilerCacheLocate.cs +++ b/MSBuild.CompilerCache/CompilerCacheLocate.cs @@ -1,14 +1,41 @@ using System.Collections; using System.Diagnostics; +using System.Runtime; using JetBrains.Annotations; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; +using OpenTelemetry; +using OpenTelemetry.Trace; using Task = Microsoft.Build.Utilities.Task; namespace MSBuild.CompilerCache; using IFileHashCache = ICacheBase; +public record JitMetrics(double CompilationTimeMs, long MethodCount, long CompiledILBytes) +{ + public static JitMetrics CreateFromCurrentState() => new JitMetrics(JitInfo.GetCompilationTime().TotalMilliseconds, JitInfo.GetCompiledMethodCount(), JitInfo.GetCompiledILBytes()); + + public JitMetrics Subtract(JitMetrics other) => new JitMetrics(CompilationTimeMs - other.CompilationTimeMs, MethodCount - other.MethodCount, CompiledILBytes - other.CompiledILBytes); +} + +public record GCStats(long AllocatedBytes) +{ + public static GCStats CreateFromCurrentState() => new(GC.GetTotalAllocatedBytes()); + public GCStats Subtract(GCStats other) => new GCStats(AllocatedBytes - other.AllocatedBytes); +} + +/// +/// Per-project metrics used for cache efficiency & efficiency analysis. +/// +public class CompilationMetrics +{ + public string ProjectFullPath { get; } + public double DurationMs { get; } + public JitMetrics JitMetrics { get; } + public GCStats GcStats { get; } +} + // ReSharper disable once UnusedType.Global /// /// Task that calculates compilation inputs and uses cached outputs if they exist. @@ -33,31 +60,45 @@ public class CompilerCacheLocate : Task private record InMemoryCaches(InMemoryRefCache InMemoryRefCache, IFileHashCache FileHashCache); - private readonly object _refCacheLock = new object(); - private InMemoryCaches GetInMemoryCaches() { + using var activity = Tracing.StartWithMetrics("GetInMemoryCaches"); var key = "CompilerCache_InMemoryRefCache"; - lock (_refCacheLock) + if (BuildEngine9.GetRegisteredTaskObject(key, RegisteredTaskObjectLifetime.Build) is InMemoryCaches cached) { - if (BuildEngine9.GetRegisteredTaskObject(key, RegisteredTaskObjectLifetime.Build) is InMemoryCaches cached) - { - return cached; - } - - var fresh = new InMemoryCaches(new InMemoryRefCache(), new DictionaryBasedCache()); - BuildEngine9.RegisterTaskObject(key, fresh, RegisteredTaskObjectLifetime.Build, false); - return fresh; + return cached; } + using var activity2 = Tracing.Source.StartActivity("GetInMemoryCachesInner"); + var fresh = new InMemoryCaches(new InMemoryRefCache(), new DictionaryBasedCache()); + BuildEngine9.RegisterTaskObject(key, fresh, RegisteredTaskObjectLifetime.Build, false); + return fresh; + } + + internal static IDisposable? SetupOtelIfEnabled() + { + #if DEBUG || RELEASE + return Sdk.CreateTracerProviderBuilder() + .AddSource(Tracing.ServiceName) + .AddOtlpExporter(o => o.Endpoint = new Uri("http://localhost:4317")) + .AddConsoleExporter() + .Build(); + #else + return null; + #endif } public override bool Execute() { - Log.LogWarning($"GCMode = {System.Runtime.GCSettings.LatencyMode} Server = {System.Runtime.GCSettings.IsServerGC} lohcm={System.Runtime.GCSettings.LargeObjectHeapCompactionMode}"); - var sw = Stopwatch.StartNew(); + using var otel = SetupOtelIfEnabled(); + using var activity = Tracing.StartWithMetrics("CompilerCacheLocate"); var guid = System.Guid.NewGuid(); + activity?.SetTag("guid", guid); + activity?.SetTag("assemblyName", AssemblyName); + Log.LogWarning($"GCMode = {GCSettings.LatencyMode} Server = {GCSettings.IsServerGC} lohcm={GCSettings.LargeObjectHeapCompactionMode}"); + var sw = Stopwatch.StartNew(); var (inMemoryRefCache, fileHashCache) = GetInMemoryCaches(); var locator = new LocatorAndPopulator(inMemoryRefCache, fileHashCache); + var inputs = GatherInputs(); void LogTime(string name) => Log.LogMessage($"[{sw.ElapsedMilliseconds}ms] {name}"); var results = locator.Locate(inputs, Log, LogTime); @@ -76,6 +117,7 @@ public override bool Execute() protected LocateInputs GatherInputs() { + using var activity = Tracing.Source.StartActivity("GatherInputs"); var typedAllCompilerProps = GetTypedAllCompilerProps(AllCompilerProperties); return new( ProjectFullPath: ProjectFullPath ?? diff --git a/MSBuild.CompilerCache/CompilerCachePopulateCache.cs b/MSBuild.CompilerCache/CompilerCachePopulateCache.cs index 3788fe4..c593d76 100644 --- a/MSBuild.CompilerCache/CompilerCachePopulateCache.cs +++ b/MSBuild.CompilerCache/CompilerCachePopulateCache.cs @@ -19,6 +19,9 @@ public class CompilerCachePopulateCache : Task public override bool Execute() { + using var otel = CompilerCacheLocate.SetupOtelIfEnabled(); + using var activity = Tracing.Source.StartActivity("CompilerCacheLocate"); + activity?.SetTag("guid", Guid); object _locator = BuildEngine4.UnregisterTaskObject(Guid, RegisteredTaskObjectLifetime.Build) ?? throw new Exception($"Could not find registered task object for {nameof(LocatorAndPopulator)} from the Locate task, using key {Guid}"); diff --git a/MSBuild.CompilerCache/FileHashCache.cs b/MSBuild.CompilerCache/FileHashCache.cs index bc0eb7b..48066b2 100644 --- a/MSBuild.CompilerCache/FileHashCache.cs +++ b/MSBuild.CompilerCache/FileHashCache.cs @@ -37,15 +37,18 @@ public bool Exists(FileHashCacheKey originalKey) public async Task GetAsync(FileHashCacheKey originalKey) { + using var activity = Tracing.Source.StartActivity("FileHashCache.GetAsync"); var key = ExtractKey(originalKey); var entryPath = EntryPath(key); var fi = new FileInfo(entryPath); if (fi.Exists) { + activity?.SetTag("cache.hit", true); Task Read() => File.ReadAllTextAsync(entryPath); return await IOActionWithRetriesAsync(Read); } + activity?.SetTag("cache.hit", false); return null; } @@ -105,15 +108,20 @@ internal static T IOActionWithRetries(Func action) public async Task SetAsync(FileHashCacheKey originalKey, string value) { + using var activity = Tracing.Source.StartActivity("FileHashCache.SetAsync"); var key = ExtractKey(originalKey); + activity?.SetTag("key", key.Key); var entryFile = new FileInfo(EntryPath(key)); - if (entryFile.Exists) + bool exists = entryFile.Exists; + activity?.SetTag("cache.exists", exists); + if (exists) { return false; } using var tmpFile = new TempFile(); { + using var activity2 = Tracing.Source.StartActivity("WriteTempFile"); await using var fs = tmpFile.File.OpenWrite(); await using var sw = new StreamWriter(fs, Encoding.UTF8); await sw.WriteAsync(value); diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index bc7b53e..852d213 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -94,6 +94,7 @@ public LocatorAndPopulator(IRefCache? inMemoryRefCache = null, IFileHashCache? i public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, Action logTime = null) { + using var activity = Tracing.Source.StartActivity("Locate"); var preCompilationTimeUtc = DateTime.UtcNow; _decomposed = TargetsExtractionUtils.DecomposeCompilerProps(inputs.AllProps, log); @@ -111,8 +112,9 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A (_config, _cache, _refCache, _fileHashCache, _hasher) = CreateCaches(inputs.ConfigPath, logTime); _assemblyName = inputs.AssemblyName; _localInputs = CalculateLocalInputs(logTime); - _extract = _localInputs.ToFullExtract(); + _extract = _localInputs.ToSlim().ToFullExtract(); var extractBytes = JsonSerializer.SerializeToUtf8Bytes(_extract, FullExtractJsonContext.Default.FullExtract); + File.WriteAllBytes("c:/projekty/dwa.json", extractBytes); var hashString = Utils.BytesToHash(extractBytes, _hasher); _cacheKey = GenerateKey(inputs, hashString); @@ -170,14 +172,16 @@ private LocalInputs CalculateLocalInputs(Action? logTime = null) => public static async Task ProcessSourceFile(string relativePath, IFileHashCache fileHashCache, IHash hasher) { + using var activity = Tracing.Source.StartActivity("ProcessSourceFile"); + activity?.SetTag("relativePath", relativePath); // Open the file for reading, and don't allow anyone to modify it. - var f = File.Open(relativePath, FileMode.Open, FileAccess.Read, FileShare.Read); var info = new FileInfo(relativePath); + var f = info.Open(FileMode.Open, FileAccess.Read, FileShare.Read); var fileHashCacheKey = FileHashCacheKey.FromFileInfo(info); var hash = await fileHashCache.GetAsync(fileHashCacheKey); if (hash == null) { - var bytes = await File.ReadAllBytesAsync(fileHashCacheKey.FullName); + var bytes = await ReadFileAsync(fileHashCacheKey.FullName); hash = Utils.BytesToHash(bytes, hasher); await fileHashCache.SetAsync(fileHashCacheKey, hash); } @@ -187,23 +191,31 @@ public static async Task ProcessSourceFile(string relativePath, IFi return new InputResult(f, localFileExtract); } + public static Task ReadFileAsync(string path) + { + using var activity = Tracing.Source.StartActivity("ReadFileAsync"); + activity?.SetTag("path", path); + return File.ReadAllBytesAsync(path); + } public static async Task ProcessReference(string relativePath, string compilingAssemblyName, IFileHashCache fileHashCache, IRefCache refCache, RefTrimmingConfig refTrimmingConfig, IHash hasher) { + using var activity = Tracing.Source.StartActivity("ProcessReference"); + activity?.SetTag("relativePath", relativePath); // Open the file for reading, and don't allow anyone to modify it. - var f = File.Open(relativePath, FileMode.Open, FileAccess.Read, FileShare.Read); var info = new FileInfo(relativePath); + var f = info.Open(FileMode.Open, FileAccess.Read, FileShare.Read); var fileHashCacheKey = FileHashCacheKey.FromFileInfo(info); - string hash = null;// await fileHashCache.GetAsync(fileHashCacheKey); - //var hash = await fileHashCache.GetAsync(fileHashCacheKey); + string? hash = await fileHashCache.GetAsync(fileHashCacheKey); byte[]? bytes = null; - - if (hash == null) + bool hashFound = hash != null; + activity?.SetTag("hashFound", hashFound); + if (!hashFound) { - bytes ??= await File.ReadAllBytesAsync(fileHashCacheKey.FullName); + bytes ??= await ReadFileAsync(fileHashCacheKey.FullName); hash = Utils.BytesToHash(bytes, hasher); - //await fileHashCache.SetAsync(fileHashCacheKey, hash); + await fileHashCache.SetAsync(fileHashCacheKey, hash); } var referenceDllName = Path.GetFileNameWithoutExtension(fileHashCacheKey.FullName); @@ -213,7 +225,7 @@ public static async Task ProcessReference(string relativePath, stri var cached = await refCache.GetAsync(refCacheKey); if (cached == null) { - bytes ??= await File.ReadAllBytesAsync(fileHashCacheKey.FullName); + bytes ??= await ReadFileAsync(fileHashCacheKey.FullName); var toBeCached = await new RefTrimmer(hasher).GenerateRefData(ImmutableArray.Create(bytes)); cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: originalExtract); @@ -290,7 +302,7 @@ internal static async Task GetAllRefData(string filepath, IRefCache byte[]? bytes = null; if (hashString == null) { - bytes ??= await File.ReadAllBytesAsync(filepath); + bytes ??= await ReadFileAsync(filepath); hashString = Utils.BytesToHash(bytes, hasher); await fileHashCache.SetAsync(fileCacheKey, hashString); } @@ -302,7 +314,7 @@ internal static async Task GetAllRefData(string filepath, IRefCache var cached = refCache.GetAsync(cacheKey).GetAwaiter().GetResult(); if (cached == null) { - bytes ??= await File.ReadAllBytesAsync(filepath); + bytes ??= await ReadFileAsync(filepath); var trimmer = new RefTrimmer(hasher); var toBeCached = await trimmer.GenerateRefData(ImmutableArray.Create(bytes)); cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: extract); @@ -355,6 +367,7 @@ internal static void UseCachedOutputs(string localTmpOutputsZipPath, OutputItem[ internal static CacheKey GenerateKey(LocateInputs inputs, string hash) { var name = Path.GetFileName(inputs.ProjectFullPath); + Console.WriteLine($"GeneratedKey. Name={name}_Hash={hash}"); return new CacheKey($"{name}_{hash}"); } @@ -412,7 +425,7 @@ await Parallel.ForEachAsync(outputsToRefasm, internal static async Task GatherSingleOutputData(OutputItem outputItem, IHash hasher) { await using var f = File.Open(outputItem.LocalPath, FileMode.Open, FileAccess.Read, FileShare.Read); - byte[] bytes = await File.ReadAllBytesAsync(outputItem.LocalPath); + byte[] bytes = await ReadFileAsync(outputItem.LocalPath); var bytesHash = hasher.ComputeHash(bytes); var bytesHashString = Utils.BytesToHash(bytesHash, hasher); return new OutputData(outputItem, bytes, bytesHash, bytesHashString); @@ -439,8 +452,6 @@ private async ValueTask RefasmAndPopulateCacheWithOutputDll(OutputData dll) record ArchiveEntry(string Name, byte[] Bytes); - public record struct OutputPair(string Name, string BytesHash); - public static async Task BuildOutputsZip(DirectoryInfo baseTmpDir, OutputData[] items, AllCompilationMetadata metadata, IHash hasher, TaskLoggingHelper? log = null) @@ -449,8 +460,10 @@ public static async Task BuildOutputsZip(DirectoryInfo baseTmpDir, Out var saveInputsTask = Task.Run( () => JsonSerializer.SerializeToUtf8Bytes(metadata, AllCompilationMetadataJsonContext.Default.AllCompilationMetadata)); - var objectToHash = items.Select(i => new OutputPair(i.Item.Name, i.BytesHashString)).ToArray(); - var extractBytes = JsonSerializer.SerializeToUtf8Bytes(objectToHash); + var objectToHash = metadata.LocalInputs.ToFullExtract(); + var extractBytes = + JsonSerializer.SerializeToUtf8Bytes(objectToHash, FullExtractJsonContext.Default.FullExtract); + File.WriteAllBytes("c:/projekty/raz.json", extractBytes); var hashForFileName = Utils.BytesToHash(extractBytes, hasher); var outputExtracts = items.Select(i => new FileExtract(i.Item.Name, i.BytesHashString, i.Length)).ToArray(); diff --git a/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj b/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj index 01aa323..d1e7fc8 100644 --- a/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj +++ b/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj @@ -25,6 +25,9 @@ + + + diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.8.0.100-rc.2.23502.2.FSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.8.0.100-rc.2.23502.2.FSharp.targets new file mode 100644 index 0000000..7bef151 --- /dev/null +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.8.0.100-rc.2.23502.2.FSharp.targets @@ -0,0 +1,247 @@ + + + + + + + + + + + + + + + + + --simpleresolution $(OtherFlags) + $(OtherFlags) + + + + + + + + + false + true + + + + + + + + true + + + + + + + + + + <_CoreCompileResourceInputs + Remove="@(_CoreCompileResourceInputs)" /> + + + + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100-rc.2.23502.2.CSharp.targets b/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100-rc.2.23502.2.CSharp.targets new file mode 100644 index 0000000..ec27be9 --- /dev/null +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100-rc.2.23502.2.CSharp.targets @@ -0,0 +1,148 @@ + + + + + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + + + + <_CoreCompileResourceInputs + Remove="@(_CoreCompileResourceInputs)" /> + + + + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100-rc.2.23502.2.FSharp.targets b/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100-rc.2.23502.2.FSharp.targets new file mode 100644 index 0000000..67ad944 --- /dev/null +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100-rc.2.23502.2.FSharp.targets @@ -0,0 +1,149 @@ + + + + + + + + + + + + + + + + + --simpleresolution $(OtherFlags) + $(OtherFlags) + + + + + + + + <_CoreCompileResourceInputs + Remove="@(_CoreCompileResourceInputs)" /> + + + + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100.rc-2.CSharp.targets b/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100.rc-2.CSharp.targets new file mode 100644 index 0000000..ec27be9 --- /dev/null +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100.rc-2.CSharp.targets @@ -0,0 +1,148 @@ + + + + + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + + + + <_CoreCompileResourceInputs + Remove="@(_CoreCompileResourceInputs)" /> + + + + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100.rc-2.FSharp.targets b/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100.rc-2.FSharp.targets new file mode 100644 index 0000000..67ad944 --- /dev/null +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100.rc-2.FSharp.targets @@ -0,0 +1,149 @@ + + + + + + + + + + + + + + + + + --simpleresolution $(OtherFlags) + $(OtherFlags) + + + + + + + + <_CoreCompileResourceInputs + Remove="@(_CoreCompileResourceInputs)" /> + + + + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.CSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.CSharp.xml index 863b8ba..79fdafb 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.CSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.CSharp.xml @@ -1,6 +1,6 @@ @@ -1164,7 +1164,7 @@ C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\Sdk\Sdk.props ============================================================================================================================================ -%TempPath%\a33597e3-bc34-4954-83d1-d881c88e9455\project.csproj +%TempPath%\455bca1d-fa17-4995-ae28-71b6993a8b8b\project.csproj ============================================================================================================================================ --> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.FSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.FSharp.xml index 1bf646d..3fb4e5c 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.FSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.6.0.300.FSharp.xml @@ -1,6 +1,6 @@ @@ -1292,7 +1292,7 @@ C:\Program Files\dotnet\sdk\6.0.300\Sdks\Microsoft.NET.Sdk\Sdk\Sdk.props ============================================================================================================================================ -%TempPath%\1e415359-4871-4c5a-9653-17933e52e4e3\project.fsproj +%TempPath%\7fe525b0-c8d1-47e5-a6d7-e175c3e86107\project.fsproj ============================================================================================================================================ --> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.CSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.CSharp.xml index c1a1217..035596a 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.CSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.CSharp.xml @@ -1,6 +1,6 @@ @@ -1219,7 +1219,7 @@ C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\Sdk\Sdk.props ============================================================================================================================================ -%TempPath%\1d3beb17-1b6f-431b-ad38-ac7674bfcf0b\project.csproj +%TempPath%\3cf8efe8-d3af-469e-9e60-c7b54b03b3ec\project.csproj ============================================================================================================================================ --> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.FSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.FSharp.xml index 11e05d2..300d800 100644 --- a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.FSharp.xml +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.7.0.202.FSharp.xml @@ -1,6 +1,6 @@ @@ -1350,7 +1350,7 @@ C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.NET.Sdk\Sdk\Sdk.props ============================================================================================================================================ -%TempPath%\c9fca440-9877-4052-843c-e8ca74fe4a52\project.fsproj +%TempPath%\b45a8588-fa58-48a2-b16f-e75ac456b560\project.fsproj ============================================================================================================================================ --> \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100-rc.2.23502.2.CSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100-rc.2.23502.2.CSharp.xml new file mode 100644 index 0000000..4c85297 --- /dev/null +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100-rc.2.23502.2.CSharp.xml @@ -0,0 +1,15296 @@ + + + + + + + true + + true + + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + + + $(ProjectExtensionsPathForSpecifiedProject) + + + + + + true + true + true + true + true + + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + + + + + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) + + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + + + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + + + + + + true + + + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + + + + true + true + true + true + true + true + true + true + true + true + true + true + true + + + + + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + + true + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + + + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + arm64 + + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + + + portable + + false + + true + true + + PackageReference + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.3 + false + true + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + + + + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + + + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + <_NetFrameworkHostedCompilersVersion>4.8.0-3.23471.11 + 8.0 + 8.0 + 8.0.0-rc.2.23479.6 + 2.1 + 2.1.0 + 8.0.0-rc.2.23479.6 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 8.0.100-rc.2.23502.2 + win-x64 + win-x64 + <_NETCoreSdkIsPreview>true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> + + + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + + + + + + + + + + + + + + + + + + + + + + + + + + 9.0 + 17.8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + <_SourceLinkPropsImported>true + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + + + + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1701;1702 + + $(WarningsAsErrors);NU1605 + + + $(DefineConstants); + $(DefineConstants)TRACE + + + + + + + + + + + + + + + + + + $(TargetsForTfmSpecificContentInPackage);PackTool + + + + + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + + + + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + + + + + + + + + + + + + + + + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + + + + + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + + + + + + + + + true + + + + + + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + + + + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + + + + + Debug + AnyCPU + $(Platform) + + + + + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) + + false + + + + + + + + + + + + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + + + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + + + + <_UnsupportedTargetFrameworkError>true + + + + + + + + + + true + true + + + + + + + + + + + + + + + + + + + + v0.0 + + + _ + + + + + true + + + + + + + + + + + <_EnableDefaultWindowsPlatform>false + false + + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion->Distinct()) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + + + + + true + true + + + + + + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ + + + + + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** + + + + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + + + + + + true + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RuntimePackInWorkloadVersionCurrent>8.0.0-rc.2.23479.6 + <_RuntimePackInWorkloadVersion7>7.0.12 + <_RuntimePackInWorkloadVersion6>6.0.23 + true + true + true + true + + $(WasmNativeWorkload8) + + + + + true + + + $(WasiNativeWorkloadAvailable) + + + + <_BrowserWorkloadNotSupportedForTFM Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">true + <_BrowserWorkloadDisabled>$(_BrowserWorkloadNotSupportedForTFM) + <_UsingBlazorOrWasmSdk Condition="'$(UsingMicrosoftNETSdkBlazorWebAssembly)' == 'true' or '$(UsingMicrosoftNETSdkWebAssembly)' == 'true'">true + + + + + + + + true + $(WasmNativeWorkload7) + $(WasmNativeWorkload8) + $(WasmNativeWorkload) + false + $(WasmNativeWorkloadAvailable) + + + + <_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded Condition=" '$(WasmEnableLegacyJsInterop)' == 'false' or '$(WasmEnableSIMD)' == 'false' or '$(WasmEnableExceptionHandling)' == 'false' or '$(InvariantTimezone)' == 'true' or ('$(_UsingBlazorOrWasmSdk)' != 'true' and '$(InvariantGlobalization)' == 'true') or '$(WasmNativeStrip)' == 'false'">true + + + <_WasmNativeWorkloadNeeded Condition=" '$(_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded)' == 'true' or '$(RunAOTCompilation)' == 'true' or '$(WasmBuildNative)' == 'true' or '$(WasmGenerateAppBundle)' == 'true' or '$(_UsingBlazorOrWasmSdk)' != 'true'">true + false + true + $(WasmNativeWorkloadAvailable) + + + <_IsAndroidLibraryMode Condition="'$(RuntimeIdentifier)' == 'android-arm64' or '$(RuntimeIdentifier)' == 'android-arm' or '$(RuntimeIdentifier)' == 'android-x64' or '$(RuntimeIdentifier)' == 'android-x86'">true + <_IsAppleMobileLibraryMode Condition="'$(RuntimeIdentifier)' == 'ios-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-x64' or '$(RuntimeIdentifier)' == 'maccatalyst-arm64' or '$(RuntimeIdentifier)' == 'maccatalyst-x64' or '$(RuntimeIdentifier)' == 'tvos-arm64'">true + <_IsiOSLibraryMode Condition="'$(RuntimeIdentifier)' == 'ios-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-x64'">true + <_IsMacCatalystLibraryMode Condition="'$(RuntimeIdentifier)' == 'maccatalyst-arm64' or '$(RuntimeIdentifier)' == 'maccatalyst-x64'">true + <_IstvOSLibraryMode Condition="'$(RuntimeIdentifier)' == 'tvos-arm64'">true + + + true + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersionCurrent) + <_KnownWebAssemblySdkPackVersion>$(_RuntimePackInWorkloadVersionCurrent) + + + + true + 1.0 + + + + + + + + %(RuntimePackRuntimeIdentifiers);wasi-wasm + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + + + $(_KnownWebAssemblySdkPackVersion) + + + + + + + + + + + + + + + + + + + + + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + + + + + + + + + + + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** + + + + + + + + + + + + + + + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + + + + + + + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + + + + true + + + + $(PublishSelfContained) + + + + true + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + $(PublishRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + + + + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + + + + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + true + + + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + + + + + + + + + + + + + + true + true + + + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + + + + + + + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true + + true + + .dll + + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + + + + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + + + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> + + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + + + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets + + $(MSBuildToolsPath)\Microsoft.Common.targets + + + + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets + + + + + + + + true + + + + + + true + true + true + true + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets + + + + .cs + C# + Managed + true + true + true + true + true + {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Properties + + + + + File + + + BrowseObject + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + true + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet + true + + + + + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + + + + + + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + false + + + + + + + true + + + + + + + + + + $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets + + + + + + + + + + roslyn4.8 + + + + + + + + + + + + + + + + + false + + + + + + + + true + + + + + + + + <_SkipAnalyzers /> + <_ImplicitlySkipAnalyzers /> + + + + <_SkipAnalyzers>true + + + + <_ImplicitlySkipAnalyzers>true + <_SkipAnalyzers>true + run-nullable-analysis=never;$(Features) + + + + + + <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers + + + + + + + + + + + + + + <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> + + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig + true + <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true + <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true + + + + + + <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> + $(%(CompilerVisibleProperty.Identity)) + + + <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> + %(Identity) + %(CompilerVisibleItemMetadata.MetadataName) + + + + + + + + + + + true + + + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + + + + true + + + + + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + + + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + + + + + + + + + + false + + $(IntermediateOutputPath)/generated + + + + + + + + + + + + + <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 + + <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '5.0' AND '$(_MaxSupportedLangVersion)' == ''">9.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '6.0' AND '$(_MaxSupportedLangVersion)' == ''">10.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '7.0' AND '$(_MaxSupportedLangVersion)' == ''">11.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '8.0' AND '$(_MaxSupportedLangVersion)' == ''">12.0 + $(_MaxSupportedLangVersion) + $(_MaxSupportedLangVersion) + + + + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + + + + -langversion:$(LangVersion) + $(CommandLineArgsForDesignTimeEvaluation) -checksumalgorithm:$(ChecksumAlgorithm) + $(CommandLineArgsForDesignTimeEvaluation) -define:$(DefineConstants) + + + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets + + + + + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + + + + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + + + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + + + + + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + + + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + + + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + + + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + + + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + + + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + + + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + + + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + + + + $(PublishDir) + $(ClickOncePublishDir)\ + + + + + $(PlatformTarget) + + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + + + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + + + + false + + + + + true + true + false + + + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + + + .winmd; + .dll; + .exe + + + + .pdb; + .xml; + .pri; + .dll.config; + .exe.config + + + Full + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + + + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + + + + + true + + + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + + + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + + + + x86 + + + + + + + + + + BeforeBuild; + CoreBuild; + AfterBuild + + + + + + + + + + + BuildOnlySettings; + PrepareForBuild; + PreBuildEvent; + ResolveReferences; + PrepareResources; + ResolveKeySource; + Compile; + ExportWindowsMDFile; + UnmanagedUnregistration; + GenerateSerializationAssemblies; + CreateSatelliteAssemblies; + GenerateManifests; + GetTargetPath; + PrepareForRun; + UnmanagedRegistration; + IncrementalClean; + PostBuildEvent + + + + + + + + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + + BeforeRebuild; + Clean; + $(_ProjectDefaultTargets); + AfterRebuild; + + + BeforeRebuild; + Clean; + Build; + AfterRebuild; + + + + + + + + + + Build + + + + + + + + + + + Build + + + + + + + + + + + Build + + + + + + + + + + + + + + + + + + + + + + + false + + + + true + + + + + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + + + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + + + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + + + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + + + + + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + BeforeResolveReferences; + AssignProjectConfiguration; + ResolveProjectReferences; + FindInvalidProjectReferences; + ResolveNativeReferences; + ResolveAssemblyReferences; + GenerateBindingRedirects; + GenerateBindingRedirectsUpdateAppConfig; + ResolveComReferences; + AfterResolveReferences + + + + + + + + + + + + false + + + + + + + true + true + false + + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + + + + + + + + + + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + + + + true + + + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + + + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + + + + + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + + true + + + + + + + + + + + + + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + + + + + + + + + + + + + + + + + + + + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + + + + %(AnnotatedProjects.UndefineProperties);TargetFramework + + + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained + + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + @(_TargetFrameworkInfo->'%(IsRidAgnostic)') + + true + $(Platform) + $(Platforms) + + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) + + $(IsRidAgnostic) + true + false + + + + + + + + + AssignProjectConfiguration; + _SplitProjectReferencesByFileExistence; + _GetProjectReferenceTargetFrameworkProperties; + _GetProjectReferencePlatformProperties + + + + + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + + + + + + + + + + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + + + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + + + + $(GetTargetPathDependsOn) + + + + + $(GetTargetPathDependsOn) + + + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + + + + + + %(_ApplicationManifestFinal.FullPath) + + + + + + + + + + + + + + + + + + ResolveProjectReferences; + FindInvalidProjectReferences; + GetFrameworkPaths; + GetReferenceAssemblyPaths; + PrepareForBuild; + ResolveSDKReferences; + ExpandSDKReferences; + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + + + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + + + + + true + + + + + false + true + + + + + + + + + + + + + + + + + + + + + + + %(FullPath) + + + %(ReferencePath.Identity) + + + + + + + + + + + + + + + <_NewGenerateBindingRedirectsIntermediateAppConfig Condition="Exists('$(_GenerateBindingRedirectsIntermediateAppConfig)')">true + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + + + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + + + + + GetInstalledSDKLocations + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + + + + + GetReferenceTargetPlatformMonikers + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + + + + + + + + ResolveSDKReferences + + + .winmd; + .dll + + + + + + + + + + + + + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + + + {CandidateAssemblyFiles}; + $(ReferencePath); + {HintPathFromItem}; + {TargetFrameworkDirectory}; + {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; + {RawFileName}; + $(TargetDir) + + + + + + GetFrameworkPaths; + GetReferenceAssemblyPaths; + ResolveReferences + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + + + {CandidateAssemblyFiles}; + $(ReferencePath); + {HintPathFromItem}; + {TargetFrameworkDirectory}; + {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; + {RawFileName}; + $(OutDir) + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + + + + false + + + + $(IntermediateOutputPath) + + + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + + + + + + + + $(PrepareResourcesDependsOn); + PrepareResourceNames; + ResGen; + CompileLicxFiles + + + + + + + AssignTargetPaths; + SplitResourcesByCulture; + CreateManifestResourceNames; + CreateCustomManifestResourceNames + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + + + + + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + + + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + + + + + + + + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + + + + + + + + + + + + + + ResolveReferences; + ResolveKeySource; + SetWin32ManifestProperties; + FindReferenceAssembliesForReferences; + _GenerateCompileInputs; + BeforeCompile; + _TimeStampBeforeCompile; + _GenerateCompileDependencyCache; + CoreCompile; + _TimeStampAfterCompile; + AfterCompile; + + + + + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + + + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + + + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + + + + + __NonExistentSubDir__\__NonExistentFile__ + + + + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + + + + _GenerateSatelliteAssemblyInputs; + ComputeIntermediateSatelliteAssemblies; + GenerateSatelliteAssemblies + + + + + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + + + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + + + + + CreateManifestResourceNames + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + + + + $(Win32Manifest) + + + + + + + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + + + + + SetWin32ManifestProperties; + GenerateApplicationManifest; + GenerateDeploymentManifest + + + + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + + + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + + + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + + + + + + + + + + + + + + + + + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + + + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + + + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + + + CleanPublishFolder; + GetCopyToOutputDirectoryItems; + _DeploymentGenerateTrustInfo + $(DeploymentComputeClickOnceManifestInfoDependsOn) + + + + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + + + + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + + + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + + <_ClickOnceNoneItems Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' or '%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems);@(_ClickOnceNoneItems);@(_TransitiveItemsToCopyToOutputDirectory)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + + + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + + + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + + + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + false + + + + + CopyFilesToOutputDirectory + + + + + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + false + + + + + + + + + + + + + + + + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + + true + <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> + AssignProjectConfiguration; + _SplitProjectReferencesByFileExistence + + + AssignTargetPaths; + $(_TargetsThatPrepareProjectReferences); + _GetProjectReferenceTargetFrameworkProperties; + _PopulateCommonStateForGetCopyToOutputDirectoryItems + + + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + + + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + + + + + + %(CopyToOutputDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + + + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + + + + + + + + + + + + + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + + + + + + + + + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + + + + + BeforeClean; + UnmanagedUnregistration; + CoreClean; + CleanReferencedProjects; + CleanPublishFolder; + AfterClean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SetGenerateManifests; + Build; + PublishOnly + + + _DeploymentUnpublishable + + + + + + + + + + + + + true + + + + + + SetGenerateManifests; + PublishBuild; + BeforePublish; + GenerateManifests; + CopyFilesToOutputDirectory; + _CopyFilesToPublishFolder; + _DeploymentGenerateBootstrapper; + ResolveKeySource; + _DeploymentSignClickOnceDeployment; + AfterPublish + + + + + + + + + + + BuildOnlySettings; + PrepareForBuild; + ResolveReferences; + PrepareResources; + ResolveKeySource; + GenerateSerializationAssemblies; + CreateSatelliteAssemblies; + + + + + + + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + + + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + + + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + + + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + + + + $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + + + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + + + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + + + + + + + + + + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + + + + + + + + + + + + + $(CommonOutputGroupsDependsOn); + BuildOnlySettings; + PrepareForBuild; + AssignTargetPaths; + ResolveReferences + + + + + + + + $(BuiltProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(DocumentationProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(SGenFilesOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(ReferenceCopyLocalPathsOutputGroupDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + + + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + + + + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> + $(_GenerateRestoreGraphProjectEntryInputProperties); + NuGetRestoreTargets=$(MSBuildThisFileFullPath); + RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); + CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); + CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); + + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> + $(_GenerateRestoreGraphProjectEntryInputProperties); + _RestoreSolutionFileUsed=true; + SolutionDir=$(SolutionDir); + SolutionName=$(SolutionName); + SolutionFileName=$(SolutionFileName); + SolutionPath=$(SolutionPath); + SolutionExt=$(SolutionExt); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + + + + + + + + + + + + + + + + + + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vdproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + + + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + + + + + netcoreapp1.0 + + + + + + + + + + + + + + + + + + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + + + + + true + + + + + + <_RestoreProjectFramework /> + <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + + + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + + <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> + + + + + + $(SolutionDir) + + + + + + + + + + + + + + + + + + + + + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + + + + + + $(MSBuildProjectExtensionsPath) + + + + + + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + + + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + $(NuGetAudit) + $(NuGetAuditLevel) + $(NuGetAuditMode) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + $(WindowsTargetPlatformMinVersion) + + + + + + + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + + + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + + + + + <_RestoreSourcesOverride>$(RestoreSources) + + + + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + + + + + + + + + + + + <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) + + + + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + + + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net8.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + + + + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + true + + + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + + + + + + + + +// <autogenerated /> +using System%3b +using System.Reflection%3b +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName = "$(TargetFrameworkMonikerDisplayName)")] + + + + + true + + true + true + + $([System.Globalization.CultureInfo]::CurrentUICulture.Name) + + + + + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> + + + + + + + + + + TargetFramework + TargetFrameworks + + + true + + + + + + + + + <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath + $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);$(ProjectReferenceTargetsForBuild) + + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) + GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + + $(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForPublish) + $(ProjectReferenceTargetsForRebuild);$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + .default;$(ProjectReferenceTargetsForBuild) + + + Clean;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + + + + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tools\ + net8.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll + + Microsoft.NETCore.App;NETStandard.Library + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + + + + true + + + + + + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true + + false + + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + + + + + $(ResolveAssemblyReferencesDependsOn); + ResolvePackageDependenciesForBuild; + _HandlePackageFileConflicts; + + + ResolvePackageDependenciesForBuild; + _HandlePackageFileConflicts; + $(PrepareResourcesDependsOn) + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + + + + true + + + + + + ResolveLockFileReferences; + ResolveLockFileAnalyzers; + ResolveLockFileCopyLocalFiles; + ResolveRuntimePackAssets; + RunProduceContentAssets; + IncludeTransitiveProjectReferences + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + + + + + + + + + + + true + true + true + true + + + + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc + $(DefaultItemExcludes);**/.DS_Store + + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + + + + + 1.6.1 + + 2.0.3 + + + + + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + + + + + + + + + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + + + + true + + + + + + + + + + + $(ResolveAssemblyReferencesDependsOn); + ResolveTargetingPackAssets; + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + + + + + + + + + + + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + + + + + + true + false + + + + + + + + + + + + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + + + + + + + + + + + + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + + + + + + + + + + + + + + + + <_Parameter1>$(UserSecretsId.Trim()) + + + + + + + + + + $(_IsNETCoreOrNETStandard) + + + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json + + + + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + + + + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + + + + + Microsoft.NETCore.App + + + + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + + + true + + + + false + true + + + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + + + + _CheckForBuildWithNoBuild; + $(CoreBuildDependsOn); + GenerateBuildDependencyFile; + GenerateBuildRuntimeConfigurationFiles + + + + + _SdkBeforeClean; + $(CoreCleanDependsOn) + + + + + _SdkBeforeRebuild; + $(RebuildDependsOn) + + + + + + + + + + + + + + + + + + 1.0.0 + + + + + + + + + + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + + + + + + + + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + + + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + + + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(CompileDependsOn); + _CreateAppHost; + _CreateComHost; + _GetIjwHostPaths; + + + + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + + + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + + + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + + + + + + + + + + + + + + + + + + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + + + + + + + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + + + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + + + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + + + + + + + true + + + true + + + + + + + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + + + + + $(CreateSatelliteAssembliesDependsOn); + CoreGenerateSatelliteAssemblies + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + + + + + + + + + + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + + + + $(CommonOutputGroupsDependsOn); + + + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); + _GenerateDesignerDepsFile; + _GenerateDesignerRuntimeConfigFile; + GetCopyToOutputDirectoryItems; + _GatherDesignerShadowCopyFiles; + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + + + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + + + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(Trademark) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + %(InternalsVisibleTo.PublicKey) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + + + + + + + + $(AssemblyVersion) + $(Version) + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) + + + + + + + + + + + + + + + + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + + + + + + + + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + %(PackageReference.Identity) + %(PackageReference.Version) + + StorePackageName=%(PackageReference.Identity); + StorePackageVersion=%(PackageReference.Version); + ComposeWorkingDir=$(ComposeWorkingDir); + PublishDir=$(PublishDir); + StoreStagingDir=$(StoreStagingDir); + TargetFramework=$(TargetFramework); + RuntimeIdentifier=$(RuntimeIdentifier); + JitPath=$(JitPath); + Crossgen=$(Crossgen); + SkipUnchangedFiles=$(SkipUnchangedFiles); + PreserveStoreLayout=$(PreserveStoreLayout); + CreateProfilingSymbols=$(CreateProfilingSymbols); + StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); + DisableImplicitFrameworkReferences=false; + + + + + + + + + + + + + + + + + + + + + + + <_StoreArtifactContent> +@(ListOfPackageReference) + +]]> + + + + + + + + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + + + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + + + + + + + + + + + + + + + + + + + + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + + + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + + + + + + true + true + + + + + + + + + + + + + + + + + + + + + + true + true + false + true + false + true + 1 + + + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + + + + + + + CrossgenExe=$(Crossgen); + CrossgenJit=$(JitPath); + CrossgenInputAssembly=%(_ManagedResolvedFilesToOptimize.Fullpath); + CrossgenOutputAssembly=$(_RuntimeOptimizedDir)$(DirectorySeparatorChar)%(_ManagedResolvedFilesToOptimize.FileName)%(_ManagedResolvedFilesToOptimize.Extension); + CrossgenSubOutputPath=%(_ManagedResolvedFilesToOptimize.DestinationSubPath); + _RuntimeOptimizedDir=$(_RuntimeOptimizedDir); + PublishDir=$(StoreStagingDir); + CrossgenPlatformAssembliesPath=$(_RuntimeRefDir)$(PathSeparator)$(_NetCoreRefDir); + CreateProfilingSymbols=$(CreateProfilingSymbols); + StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); + _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) + + + + + + + + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + + + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + + + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + + + + + + + + + + + + + + + + + + + + + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + + + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + + + + + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + + + + + + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + + + + + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + + true + true + + + + Always + + + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + + + + + + + <_BeforePublishNoBuildTargets> + BuildOnlySettings; + _PreventProjectReferencesFromBuilding; + ResolveReferences; + PrepareResourceNames; + ComputeIntermediateSatelliteAssemblies; + ComputeEmbeddedApphostPaths; + + <_CorePublishTargets> + PrepareForPublish; + ComputeAndCopyFilesToPublishDirectory; + $(PublishProtocolProviderTargets); + PublishItemsOutputGroup; + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + $(PublishDir)\ + + + + + + + + + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + + + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + + + + + + + true + true + false + + + + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + + + + + + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + + + + + + + + + + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + + + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + + + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + + + + + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + + + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + + + + + + + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + + + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + + + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + + + + + + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + + + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + $(PublishItemsOutputGroupDependsOn); + ResolveReferences; + ComputeResolvedFilesToPublishList; + _ComputeFilesToBundle; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + $(TargetName) + $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) + + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + + + + + + + + + + + + + + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + + + + + + + + + + + + + + + + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(PublicSign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + + + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + + + + + + + + + + + + + + + + Microsoft.CSharp|4.4.0; + Microsoft.Win32.Primitives|4.3.0; + Microsoft.Win32.Registry|4.4.0; + runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple|4.3.0; + runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + System.AppContext|4.3.0; + System.Buffers|4.4.0; + System.Collections|4.3.0; + System.Collections.Concurrent|4.3.0; + System.Collections.Immutable|1.4.0; + System.Collections.NonGeneric|4.3.0; + System.Collections.Specialized|4.3.0; + System.ComponentModel|4.3.0; + System.ComponentModel.EventBasedAsync|4.3.0; + System.ComponentModel.Primitives|4.3.0; + System.ComponentModel.TypeConverter|4.3.0; + System.Console|4.3.0; + System.Data.Common|4.3.0; + System.Diagnostics.Contracts|4.3.0; + System.Diagnostics.Debug|4.3.0; + System.Diagnostics.DiagnosticSource|4.4.0; + System.Diagnostics.FileVersionInfo|4.3.0; + System.Diagnostics.Process|4.3.0; + System.Diagnostics.StackTrace|4.3.0; + System.Diagnostics.TextWriterTraceListener|4.3.0; + System.Diagnostics.Tools|4.3.0; + System.Diagnostics.TraceSource|4.3.0; + System.Diagnostics.Tracing|4.3.0; + System.Dynamic.Runtime|4.3.0; + System.Globalization|4.3.0; + System.Globalization.Calendars|4.3.0; + System.Globalization.Extensions|4.3.0; + System.IO|4.3.0; + System.IO.Compression|4.3.0; + System.IO.Compression.ZipFile|4.3.0; + System.IO.FileSystem|4.3.0; + System.IO.FileSystem.AccessControl|4.4.0; + System.IO.FileSystem.DriveInfo|4.3.0; + System.IO.FileSystem.Primitives|4.3.0; + System.IO.FileSystem.Watcher|4.3.0; + System.IO.IsolatedStorage|4.3.0; + System.IO.MemoryMappedFiles|4.3.0; + System.IO.Pipes|4.3.0; + System.IO.UnmanagedMemoryStream|4.3.0; + System.Linq|4.3.0; + System.Linq.Expressions|4.3.0; + System.Linq.Queryable|4.3.0; + System.Net.Http|4.3.0; + System.Net.NameResolution|4.3.0; + System.Net.Primitives|4.3.0; + System.Net.Requests|4.3.0; + System.Net.Security|4.3.0; + System.Net.Sockets|4.3.0; + System.Net.WebHeaderCollection|4.3.0; + System.ObjectModel|4.3.0; + System.Private.DataContractSerialization|4.3.0; + System.Reflection|4.3.0; + System.Reflection.Emit|4.3.0; + System.Reflection.Emit.ILGeneration|4.3.0; + System.Reflection.Emit.Lightweight|4.3.0; + System.Reflection.Extensions|4.3.0; + System.Reflection.Metadata|1.5.0; + System.Reflection.Primitives|4.3.0; + System.Reflection.TypeExtensions|4.3.0; + System.Resources.ResourceManager|4.3.0; + System.Runtime|4.3.0; + System.Runtime.Extensions|4.3.0; + System.Runtime.Handles|4.3.0; + System.Runtime.InteropServices|4.3.0; + System.Runtime.InteropServices.RuntimeInformation|4.3.0; + System.Runtime.Loader|4.3.0; + System.Runtime.Numerics|4.3.0; + System.Runtime.Serialization.Formatters|4.3.0; + System.Runtime.Serialization.Json|4.3.0; + System.Runtime.Serialization.Primitives|4.3.0; + System.Security.AccessControl|4.4.0; + System.Security.Claims|4.3.0; + System.Security.Cryptography.Algorithms|4.3.0; + System.Security.Cryptography.Cng|4.4.0; + System.Security.Cryptography.Csp|4.3.0; + System.Security.Cryptography.Encoding|4.3.0; + System.Security.Cryptography.OpenSsl|4.4.0; + System.Security.Cryptography.Primitives|4.3.0; + System.Security.Cryptography.X509Certificates|4.3.0; + System.Security.Cryptography.Xml|4.4.0; + System.Security.Principal|4.3.0; + System.Security.Principal.Windows|4.4.0; + System.Text.Encoding|4.3.0; + System.Text.Encoding.Extensions|4.3.0; + System.Text.RegularExpressions|4.3.0; + System.Threading|4.3.0; + System.Threading.Overlapped|4.3.0; + System.Threading.Tasks|4.3.0; + System.Threading.Tasks.Extensions|4.3.0; + System.Threading.Tasks.Parallel|4.3.0; + System.Threading.Thread|4.3.0; + System.Threading.ThreadPool|4.3.0; + System.Threading.Timer|4.3.0; + System.ValueTuple|4.3.0; + System.Xml.ReaderWriter|4.3.0; + System.Xml.XDocument|4.3.0; + System.Xml.XmlDocument|4.3.0; + System.Xml.XmlSerializer|4.3.0; + System.Xml.XPath|4.3.0; + System.Xml.XPath.XDocument|4.3.0; + + + + + Microsoft.Win32.Primitives|4.3.0; + System.AppContext|4.3.0; + System.Collections|4.3.0; + System.Collections.Concurrent|4.3.0; + System.Collections.Immutable|1.4.0; + System.Collections.NonGeneric|4.3.0; + System.Collections.Specialized|4.3.0; + System.ComponentModel|4.3.0; + System.ComponentModel.EventBasedAsync|4.3.0; + System.ComponentModel.Primitives|4.3.0; + System.ComponentModel.TypeConverter|4.3.0; + System.Console|4.3.0; + System.Data.Common|4.3.0; + System.Diagnostics.Contracts|4.3.0; + System.Diagnostics.Debug|4.3.0; + System.Diagnostics.FileVersionInfo|4.3.0; + System.Diagnostics.Process|4.3.0; + System.Diagnostics.StackTrace|4.3.0; + System.Diagnostics.TextWriterTraceListener|4.3.0; + System.Diagnostics.Tools|4.3.0; + System.Diagnostics.TraceSource|4.3.0; + System.Diagnostics.Tracing|4.3.0; + System.Dynamic.Runtime|4.3.0; + System.Globalization|4.3.0; + System.Globalization.Calendars|4.3.0; + System.Globalization.Extensions|4.3.0; + System.IO|4.3.0; + System.IO.Compression|4.3.0; + System.IO.Compression.ZipFile|4.3.0; + System.IO.FileSystem|4.3.0; + System.IO.FileSystem.DriveInfo|4.3.0; + System.IO.FileSystem.Primitives|4.3.0; + System.IO.FileSystem.Watcher|4.3.0; + System.IO.IsolatedStorage|4.3.0; + System.IO.MemoryMappedFiles|4.3.0; + System.IO.Pipes|4.3.0; + System.IO.UnmanagedMemoryStream|4.3.0; + System.Linq|4.3.0; + System.Linq.Expressions|4.3.0; + System.Linq.Queryable|4.3.0; + System.Net.Http|4.3.0; + System.Net.NameResolution|4.3.0; + System.Net.Primitives|4.3.0; + System.Net.Requests|4.3.0; + System.Net.Security|4.3.0; + System.Net.Sockets|4.3.0; + System.Net.WebHeaderCollection|4.3.0; + System.ObjectModel|4.3.0; + System.Private.DataContractSerialization|4.3.0; + System.Reflection|4.3.0; + System.Reflection.Emit|4.3.0; + System.Reflection.Emit.ILGeneration|4.3.0; + System.Reflection.Emit.Lightweight|4.3.0; + System.Reflection.Extensions|4.3.0; + System.Reflection.Primitives|4.3.0; + System.Reflection.TypeExtensions|4.3.0; + System.Resources.ResourceManager|4.3.0; + System.Runtime|4.3.0; + System.Runtime.Extensions|4.3.0; + System.Runtime.Handles|4.3.0; + System.Runtime.InteropServices|4.3.0; + System.Runtime.InteropServices.RuntimeInformation|4.3.0; + System.Runtime.Loader|4.3.0; + System.Runtime.Numerics|4.3.0; + System.Runtime.Serialization.Formatters|4.3.0; + System.Runtime.Serialization.Json|4.3.0; + System.Runtime.Serialization.Primitives|4.3.0; + System.Security.AccessControl|4.4.0; + System.Security.Claims|4.3.0; + System.Security.Cryptography.Algorithms|4.3.0; + System.Security.Cryptography.Csp|4.3.0; + System.Security.Cryptography.Encoding|4.3.0; + System.Security.Cryptography.Primitives|4.3.0; + System.Security.Cryptography.X509Certificates|4.3.0; + System.Security.Cryptography.Xml|4.4.0; + System.Security.Principal|4.3.0; + System.Security.Principal.Windows|4.4.0; + System.Text.Encoding|4.3.0; + System.Text.Encoding.Extensions|4.3.0; + System.Text.RegularExpressions|4.3.0; + System.Threading|4.3.0; + System.Threading.Overlapped|4.3.0; + System.Threading.Tasks|4.3.0; + System.Threading.Tasks.Extensions|4.3.0; + System.Threading.Tasks.Parallel|4.3.0; + System.Threading.Thread|4.3.0; + System.Threading.ThreadPool|4.3.0; + System.Threading.Timer|4.3.0; + System.ValueTuple|4.3.0; + System.Xml.ReaderWriter|4.3.0; + System.Xml.XDocument|4.3.0; + System.Xml.XmlDocument|4.3.0; + System.Xml.XmlSerializer|4.3.0; + System.Xml.XPath|4.3.0; + System.Xml.XPath.XDocument|4.3.0; + + + + + + + + + + + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + + + + + + + + + + + + + + Properties + + + $(Configuration.ToUpperInvariant()) + + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(ImplicitConfigurationDefine.Replace(' ', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + + + + + + + + $(WarningsAsErrors);SYSLIB0011 + + + + + + + + + + + + <_NoneAnalysisLevel>4.0 + + <_LatestAnalysisLevel>8.0 + <_PreviewAnalysisLevel>9.0 + latest + $(_TargetFrameworkVersionWithoutV) + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefix) + $(AnalysisLevel) + + + + 9999 + + 4 + + $(_TargetFrameworkVersionWithoutV.Substring(0, 1)) + + + + + true + + true + + true + + true + + false + + + + false + false + false + false + false + + + + + + + + <_NETAnalyzersSDKAssemblyVersion>8.0.0 + + + + CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1510;CA1511;CA1512;CA1513;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA1856;CA1857;CA1858;CA1859;CA1860;CA1861;CA1862;CA1863;CA1864;CA1865;CA1866;CA1867;CA1868;CA1869;CA1870;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2021;CA2100;CA2101;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2261;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 + $(CodeAnalysisTreatWarningsAsErrors) + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + + + + + + true + + + + true + + + + 7.0 + + + + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + + + + + + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll + + + + + + + + + + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) + + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + + + + + + + + + + $(TargetPlatformMoniker) + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + + + + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + + + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + + + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + + + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + + + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + + + + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100-rc.2.23502.2.FSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100-rc.2.23502.2.FSharp.xml new file mode 100644 index 0000000..7828995 --- /dev/null +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100-rc.2.23502.2.FSharp.xml @@ -0,0 +1,15120 @@ + + + + + + + true + + true + + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + + + $(ProjectExtensionsPathForSpecifiedProject) + + + + + + true + true + true + true + true + + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + + + + + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) + + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + + + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + + + + + + true + + + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + + + + true + true + true + true + true + true + true + true + true + true + true + true + true + + + + + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + + true + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + + + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + arm64 + + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + + + portable + + false + + true + true + + PackageReference + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.3 + false + true + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + + + + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + + + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + <_NetFrameworkHostedCompilersVersion>4.8.0-3.23471.11 + 8.0 + 8.0 + 8.0.0-rc.2.23479.6 + 2.1 + 2.1.0 + 8.0.0-rc.2.23479.6 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 8.0.100-rc.2.23502.2 + win-x64 + win-x64 + <_NETCoreSdkIsPreview>true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> + + + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + + + + + + + + + + + + + + + + + + + + + + + + + + 9.0 + 17.8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + <_SourceLinkPropsImported>true + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + + + + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + true + + + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.props + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.props + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + TRACE + + + + + $(DefineConstants);TRACE + + + + + false + + false + + + F# + + {F2A71F9B-5D33-465A-A702-920D77279786} + + false + false + 3 + 3239;$(WarningsAsErrors) + true + true + false + + + + $(WarningsAsErrors);SYSLIB0011 + + + true + false + false + + + false + true + true + + + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsc.dll" + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsi.dll" + + + true + true + + + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + <_FSCorePackageVersionSet>true + 8.0.100-beta.23475.2 + <_FSharpCoreLibraryPacksFolder Condition="'$(_FSharpCoreLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(MSBuildThisFileDirectory)'))library-packs + + + + + 4.4.0 + + + + contentFiles + + + contentFiles + + + + + + + + true + + + + + + + + $(TargetsForTfmSpecificContentInPackage);PackTool + + + + + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + + + + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + + + + + + + + + + + + + + + + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + + + + + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + + + + + + + + + true + + + + + + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + + + + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + + + + + Debug + AnyCPU + $(Platform) + + + + + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) + + false + + + + + + + + + + + + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + + + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + + + + <_UnsupportedTargetFrameworkError>true + + + + + + + + + + true + true + + + + + + + + + + + + + + + + + + + + v0.0 + + + _ + + + + + true + + + + + + + + + + + <_EnableDefaultWindowsPlatform>false + false + + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion->Distinct()) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + + + + + true + true + + + + + + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ + + + + + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** + + + + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + + + + + + true + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RuntimePackInWorkloadVersionCurrent>8.0.0-rc.2.23479.6 + <_RuntimePackInWorkloadVersion7>7.0.12 + <_RuntimePackInWorkloadVersion6>6.0.23 + true + true + true + true + + $(WasmNativeWorkload8) + + + + + true + + + $(WasiNativeWorkloadAvailable) + + + + <_BrowserWorkloadNotSupportedForTFM Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">true + <_BrowserWorkloadDisabled>$(_BrowserWorkloadNotSupportedForTFM) + <_UsingBlazorOrWasmSdk Condition="'$(UsingMicrosoftNETSdkBlazorWebAssembly)' == 'true' or '$(UsingMicrosoftNETSdkWebAssembly)' == 'true'">true + + + + + + + + true + $(WasmNativeWorkload7) + $(WasmNativeWorkload8) + $(WasmNativeWorkload) + false + $(WasmNativeWorkloadAvailable) + + + + <_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded Condition=" '$(WasmEnableLegacyJsInterop)' == 'false' or '$(WasmEnableSIMD)' == 'false' or '$(WasmEnableExceptionHandling)' == 'false' or '$(InvariantTimezone)' == 'true' or ('$(_UsingBlazorOrWasmSdk)' != 'true' and '$(InvariantGlobalization)' == 'true') or '$(WasmNativeStrip)' == 'false'">true + + + <_WasmNativeWorkloadNeeded Condition=" '$(_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded)' == 'true' or '$(RunAOTCompilation)' == 'true' or '$(WasmBuildNative)' == 'true' or '$(WasmGenerateAppBundle)' == 'true' or '$(_UsingBlazorOrWasmSdk)' != 'true'">true + false + true + $(WasmNativeWorkloadAvailable) + + + <_IsAndroidLibraryMode Condition="'$(RuntimeIdentifier)' == 'android-arm64' or '$(RuntimeIdentifier)' == 'android-arm' or '$(RuntimeIdentifier)' == 'android-x64' or '$(RuntimeIdentifier)' == 'android-x86'">true + <_IsAppleMobileLibraryMode Condition="'$(RuntimeIdentifier)' == 'ios-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-x64' or '$(RuntimeIdentifier)' == 'maccatalyst-arm64' or '$(RuntimeIdentifier)' == 'maccatalyst-x64' or '$(RuntimeIdentifier)' == 'tvos-arm64'">true + <_IsiOSLibraryMode Condition="'$(RuntimeIdentifier)' == 'ios-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-x64'">true + <_IsMacCatalystLibraryMode Condition="'$(RuntimeIdentifier)' == 'maccatalyst-arm64' or '$(RuntimeIdentifier)' == 'maccatalyst-x64'">true + <_IstvOSLibraryMode Condition="'$(RuntimeIdentifier)' == 'tvos-arm64'">true + + + true + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersionCurrent) + <_KnownWebAssemblySdkPackVersion>$(_RuntimePackInWorkloadVersionCurrent) + + + + true + 1.0 + + + + + + + + %(RuntimePackRuntimeIdentifiers);wasi-wasm + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + + + $(_KnownWebAssemblySdkPackVersion) + + + + + + + + + + + + + + + + + + + + + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + + + + + + + + + + + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** + + + + + + + + + + + + + + + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + + + + + + + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + + + + true + + + + $(PublishSelfContained) + + + + true + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + $(PublishRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + + + + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + + + + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + true + + + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + + + + + + + + + + + + + + true + true + + + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + + + + + + + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true + + true + + .dll + + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + + + + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + + + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> + + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + + + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets + + $(MSBuildToolsPath)\Microsoft.Common.targets + + + + + + + + + true + + + + Properties + + + $(Configuration.ToUpperInvariant()) + + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.FSharp.DesignTime.targets + + + + + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.targets + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + true + true + true + true + true + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" Condition=" '$(NoStdLib)' != 'true' " /> + + + mscorlib + netcore + netstandard + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildThisFileDirectory)FSharp.Build.dll + + + + + + + + + + + true + true + + + + .fs + F# + Managed + $(Optimize) + Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier) + + RootNamespace + false + $(Prefer32Bit) + + + + true + + + + false + true + + $(FSharpPrefer64BitTools) + $(Fsc_NetFramework_ToolPath) + $(Fsc_NetFramework_AnyCpu_ToolExe) + $(Fsc_NetFramework_PlatformSpecific_ToolExe) + + + + $(Fsc_Dotnet_ToolPath) + $(Fsc_Dotnet_ToolExe) + "$(Fsc_Dotnet_DotnetFscCompilerPath)" + + + + false + true + + + + + + + false + true + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + _ComputeNonExistentFileProperty + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --simpleresolution $(OtherFlags) + $(OtherFlags) + + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + + + + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + + + + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + + + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + + + + + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + + + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + + + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + + + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + + + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + + + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + + + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + + + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + + + + $(PublishDir) + $(ClickOncePublishDir)\ + + + + + $(PlatformTarget) + + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + + + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + + + + false + + + + + true + true + false + + + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + + + .winmd; + .dll; + .exe + + + + .pdb; + .xml; + .pri; + .dll.config; + .exe.config + + + Full + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + + + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + + + + + true + + + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + + + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + + + + x86 + + + + + + + + + + BeforeBuild; + CoreBuild; + AfterBuild + + + + + + + + + + + BuildOnlySettings; + PrepareForBuild; + PreBuildEvent; + ResolveReferences; + PrepareResources; + ResolveKeySource; + Compile; + ExportWindowsMDFile; + UnmanagedUnregistration; + GenerateSerializationAssemblies; + CreateSatelliteAssemblies; + GenerateManifests; + GetTargetPath; + PrepareForRun; + UnmanagedRegistration; + IncrementalClean; + PostBuildEvent + + + + + + + + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + + BeforeRebuild; + Clean; + $(_ProjectDefaultTargets); + AfterRebuild; + + + BeforeRebuild; + Clean; + Build; + AfterRebuild; + + + + + + + + + + Build + + + + + + + + + + + Build + + + + + + + + + + + Build + + + + + + + + + + + + + + + + + + + + + + + false + + + + true + + + + + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + + + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + + + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + + + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + + + + + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + BeforeResolveReferences; + AssignProjectConfiguration; + ResolveProjectReferences; + FindInvalidProjectReferences; + ResolveNativeReferences; + ResolveAssemblyReferences; + GenerateBindingRedirects; + GenerateBindingRedirectsUpdateAppConfig; + ResolveComReferences; + AfterResolveReferences + + + + + + + + + + + + false + + + + + + + true + true + false + + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + + + + + + + + + + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + + + + true + + + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + + + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + + + + + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + + true + + + + + + + + + + + + + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + + + + + + + + + + + + + + + + + + + + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + + + + %(AnnotatedProjects.UndefineProperties);TargetFramework + + + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained + + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + @(_TargetFrameworkInfo->'%(IsRidAgnostic)') + + true + $(Platform) + $(Platforms) + + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) + + $(IsRidAgnostic) + true + false + + + + + + + + + AssignProjectConfiguration; + _SplitProjectReferencesByFileExistence; + _GetProjectReferenceTargetFrameworkProperties; + _GetProjectReferencePlatformProperties + + + + + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + + + + + + + + + + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + + + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + + + + $(GetTargetPathDependsOn) + + + + + $(GetTargetPathDependsOn) + + + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + + + + + + %(_ApplicationManifestFinal.FullPath) + + + + + + + + + + + + + + + + + + ResolveProjectReferences; + FindInvalidProjectReferences; + GetFrameworkPaths; + GetReferenceAssemblyPaths; + PrepareForBuild; + ResolveSDKReferences; + ExpandSDKReferences; + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + + + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + + + + + true + + + + + false + true + + + + + + + + + + + + + + + + + + + + + + + %(FullPath) + + + %(ReferencePath.Identity) + + + + + + + + + + + + + + + <_NewGenerateBindingRedirectsIntermediateAppConfig Condition="Exists('$(_GenerateBindingRedirectsIntermediateAppConfig)')">true + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + + + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + + + + + GetInstalledSDKLocations + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + + + + + GetReferenceTargetPlatformMonikers + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + + + + + + + + ResolveSDKReferences + + + .winmd; + .dll + + + + + + + + + + + + + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + + + {CandidateAssemblyFiles}; + $(ReferencePath); + {HintPathFromItem}; + {TargetFrameworkDirectory}; + {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; + {RawFileName}; + $(TargetDir) + + + + + + GetFrameworkPaths; + GetReferenceAssemblyPaths; + ResolveReferences + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + + + {CandidateAssemblyFiles}; + $(ReferencePath); + {HintPathFromItem}; + {TargetFrameworkDirectory}; + {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; + {RawFileName}; + $(OutDir) + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + + + + false + + + + $(IntermediateOutputPath) + + + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + + + + + + + + $(PrepareResourcesDependsOn); + PrepareResourceNames; + ResGen; + CompileLicxFiles + + + + + + + AssignTargetPaths; + SplitResourcesByCulture; + CreateManifestResourceNames; + CreateCustomManifestResourceNames + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + + + + + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + + + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + + + + + + + + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + + + + + + + + + + + + + + ResolveReferences; + ResolveKeySource; + SetWin32ManifestProperties; + FindReferenceAssembliesForReferences; + _GenerateCompileInputs; + BeforeCompile; + _TimeStampBeforeCompile; + _GenerateCompileDependencyCache; + CoreCompile; + _TimeStampAfterCompile; + AfterCompile; + + + + + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + + + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + + + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + + + + + __NonExistentSubDir__\__NonExistentFile__ + + + + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + + + + _GenerateSatelliteAssemblyInputs; + ComputeIntermediateSatelliteAssemblies; + GenerateSatelliteAssemblies + + + + + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + + + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + + + + + CreateManifestResourceNames + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + + + + $(Win32Manifest) + + + + + + + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + + + + + SetWin32ManifestProperties; + GenerateApplicationManifest; + GenerateDeploymentManifest + + + + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + + + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + + + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + + + + + + + + + + + + + + + + + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + + + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + + + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + + + CleanPublishFolder; + GetCopyToOutputDirectoryItems; + _DeploymentGenerateTrustInfo + $(DeploymentComputeClickOnceManifestInfoDependsOn) + + + + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + + + + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + + + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + + <_ClickOnceNoneItems Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' or '%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems);@(_ClickOnceNoneItems);@(_TransitiveItemsToCopyToOutputDirectory)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + + + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + + + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + + + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + false + + + + + CopyFilesToOutputDirectory + + + + + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + false + + + + + + + + + + + + + + + + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + + true + <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> + AssignProjectConfiguration; + _SplitProjectReferencesByFileExistence + + + AssignTargetPaths; + $(_TargetsThatPrepareProjectReferences); + _GetProjectReferenceTargetFrameworkProperties; + _PopulateCommonStateForGetCopyToOutputDirectoryItems + + + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + + + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + + + + + + %(CopyToOutputDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + + + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + + + + + + + + + + + + + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + + + + + + + + + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + + + + + BeforeClean; + UnmanagedUnregistration; + CoreClean; + CleanReferencedProjects; + CleanPublishFolder; + AfterClean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SetGenerateManifests; + Build; + PublishOnly + + + _DeploymentUnpublishable + + + + + + + + + + + + + true + + + + + + SetGenerateManifests; + PublishBuild; + BeforePublish; + GenerateManifests; + CopyFilesToOutputDirectory; + _CopyFilesToPublishFolder; + _DeploymentGenerateBootstrapper; + ResolveKeySource; + _DeploymentSignClickOnceDeployment; + AfterPublish + + + + + + + + + + + BuildOnlySettings; + PrepareForBuild; + ResolveReferences; + PrepareResources; + ResolveKeySource; + GenerateSerializationAssemblies; + CreateSatelliteAssemblies; + + + + + + + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + + + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + + + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + + + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + + + + $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + + + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + + + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + + + + + + + + + + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + + + + + + + + + + + + + $(CommonOutputGroupsDependsOn); + BuildOnlySettings; + PrepareForBuild; + AssignTargetPaths; + ResolveReferences + + + + + + + + $(BuiltProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(DocumentationProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(SGenFilesOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(ReferenceCopyLocalPathsOutputGroupDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + + + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + + + + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> + $(_GenerateRestoreGraphProjectEntryInputProperties); + NuGetRestoreTargets=$(MSBuildThisFileFullPath); + RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); + CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); + CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); + + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> + $(_GenerateRestoreGraphProjectEntryInputProperties); + _RestoreSolutionFileUsed=true; + SolutionDir=$(SolutionDir); + SolutionName=$(SolutionName); + SolutionFileName=$(SolutionFileName); + SolutionPath=$(SolutionPath); + SolutionExt=$(SolutionExt); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + + + + + + + + + + + + + + + + + + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vdproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + + + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + + + + + netcoreapp1.0 + + + + + + + + + + + + + + + + + + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + + + + + true + + + + + + <_RestoreProjectFramework /> + <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + + + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + + <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> + + + + + + $(SolutionDir) + + + + + + + + + + + + + + + + + + + + + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + + + + + + $(MSBuildProjectExtensionsPath) + + + + + + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + + + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + $(NuGetAudit) + $(NuGetAuditLevel) + $(NuGetAuditMode) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + $(WindowsTargetPlatformMinVersion) + + + + + + + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + + + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + + + + + <_RestoreSourcesOverride>$(RestoreSources) + + + + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + + + + + + + + + + + + <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) + + + + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + + + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net8.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + + + + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + true + + + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + + + + + + + + + + $(AdditionalSourcesText) + namespace Microsoft.BuildSettings + [<System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName="$(TargetFrameworkMonikerDisplayName)")>] + do () + + + + + + + <_FsGeneratedTfmAttributesSource Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" /> + + + + + + <_OldRootSdkLocation>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp + $(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\FSharpSdk + <_CoreRelativeSuffix>.NETCore\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_FrameworkRelativeSuffix>.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_PortableRelativeSuffix>.NETPortable\$(TargetFSharpCoreVersion)\FSharp.Core.dll + + <_OldCoreSdkPath>$(_OldRootSdkLocation)\$(_CoreRelativeSuffix) + <_NewCoreSdkPath>$(NewFSharpSdkLocation)\$(_CoreRelativeSuffix) + + <_OldFrameworkSdkPath>$(_OldRootSdkLocation)\$(_FrameworkRelativeSuffix) + <_NewFrameworkSdkPath>$(NewFSharpSdkLocation)\$(_FrameworkRelativeSuffix) + + <_OldPortableSdkPath>$(_OldRootSdkLocation)\$(_PortableRelativeSuffix) + <_NewPortableSdkPath>$(NewFSharpSdkLocation)\$(_PortableRelativeSuffix) + + + + + $(_NewCoreSdkPath) + + + + $(_NewFrameworkSdkPath) + + + + $(_NewPortableSdkPath) + + + + + + <_OldRefAssemTPLocation>Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\Type Providers\FSharp.Data.TypeProviders.dll + <_OldSdkTPLocationPrefix>$(MSBuildProgramFiles32)\Microsoft SDKs\F# + <_OldSdkTPLocationSuffix>Framework\v4.0\FSharp.Data.TypeProviders.dll + + + + + + + + + + + + $(MSBuildProjectFullPath) + + + $(TargetsForTfmSpecificContentInPackage);PackageFSharpDesignTimeTools + + + $(RestoreAdditionalProjectSources);$(_FSharpCoreLibraryPacksFolder) + + + + + + + + + + + fsharp41 + tools + + + + + <_ResolvedOutputFiles Include="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/*" Exclude="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/FSharp.Core.dll;%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/System.ValueTuple.dll" Condition="'%(_ResolvedProjectReferencePaths.IsFSharpDesignTimeProvider)' == 'true'"> + %(_ResolvedProjectReferencePaths.NearestTargetFramework) + + <_ResolvedOutputFiles Include="@(BuiltProjectOutputGroupKeyOutput)" Condition=" '$(IsFSharpDesignTimeProvider)' == 'true' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'FSharp.Core.dll' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'System.ValueTuple.dll' "> + $(TargetFramework) + + + $(FSharpToolsDirectory)/$(FSharpDesignTimeProtocol)/%(_ResolvedOutputFiles.NearestTargetFramework)/%(_ResolvedOutputFiles.FileName)%(_ResolvedOutputFiles.Extension) + + + + + + + true + + + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + + + + true + + + + + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + + + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + + + + + + + TargetFramework + TargetFrameworks + + + true + + + + + + + + + <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath + $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);$(ProjectReferenceTargetsForBuild) + + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) + GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + + $(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForPublish) + $(ProjectReferenceTargetsForRebuild);$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + .default;$(ProjectReferenceTargetsForBuild) + + + Clean;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + + + + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tools\ + net8.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll + + Microsoft.NETCore.App;NETStandard.Library + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + + + + true + + + + + + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true + + false + + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + + + + + $(ResolveAssemblyReferencesDependsOn); + ResolvePackageDependenciesForBuild; + _HandlePackageFileConflicts; + + + ResolvePackageDependenciesForBuild; + _HandlePackageFileConflicts; + $(PrepareResourcesDependsOn) + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + + + + true + + + + + + ResolveLockFileReferences; + ResolveLockFileAnalyzers; + ResolveLockFileCopyLocalFiles; + ResolveRuntimePackAssets; + RunProduceContentAssets; + IncludeTransitiveProjectReferences + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + + + + + + + + + + + true + true + true + true + + + + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc + $(DefaultItemExcludes);**/.DS_Store + + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + + + + + 1.6.1 + + 2.0.3 + + + + + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + + + + + + + + + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + + + + true + + + + + + + + + + + $(ResolveAssemblyReferencesDependsOn); + ResolveTargetingPackAssets; + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + + + + + + + + + + + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + + + + + + true + false + + + + + + + + + + + + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + + + + + + + + + + + + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + + + + + + + + + + + + + + + + <_Parameter1>$(UserSecretsId.Trim()) + + + + + + + + + + $(_IsNETCoreOrNETStandard) + + + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json + + + + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + + + + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + + + + + Microsoft.NETCore.App + + + + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + + + true + + + + false + true + + + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + + + + _CheckForBuildWithNoBuild; + $(CoreBuildDependsOn); + GenerateBuildDependencyFile; + GenerateBuildRuntimeConfigurationFiles + + + + + _SdkBeforeClean; + $(CoreCleanDependsOn) + + + + + _SdkBeforeRebuild; + $(RebuildDependsOn) + + + + + + + + + + + + + + + + + + 1.0.0 + + + + + + + + + + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + + + + + + + + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + + + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + + + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(CompileDependsOn); + _CreateAppHost; + _CreateComHost; + _GetIjwHostPaths; + + + + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + + + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + + + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + + + + + + + + + + + + + + + + + + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + + + + + + + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + + + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + + + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + + + + + + + true + + + true + + + + + + + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + + + + + $(CreateSatelliteAssembliesDependsOn); + CoreGenerateSatelliteAssemblies + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + + + + + + + + + + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + + + + $(CommonOutputGroupsDependsOn); + + + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); + _GenerateDesignerDepsFile; + _GenerateDesignerRuntimeConfigFile; + GetCopyToOutputDirectoryItems; + _GatherDesignerShadowCopyFiles; + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + + + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + + + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(Trademark) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + %(InternalsVisibleTo.PublicKey) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + + + + + + + + $(AssemblyVersion) + $(Version) + + + + + + + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + + + + + + + + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + %(PackageReference.Identity) + %(PackageReference.Version) + + StorePackageName=%(PackageReference.Identity); + StorePackageVersion=%(PackageReference.Version); + ComposeWorkingDir=$(ComposeWorkingDir); + PublishDir=$(PublishDir); + StoreStagingDir=$(StoreStagingDir); + TargetFramework=$(TargetFramework); + RuntimeIdentifier=$(RuntimeIdentifier); + JitPath=$(JitPath); + Crossgen=$(Crossgen); + SkipUnchangedFiles=$(SkipUnchangedFiles); + PreserveStoreLayout=$(PreserveStoreLayout); + CreateProfilingSymbols=$(CreateProfilingSymbols); + StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); + DisableImplicitFrameworkReferences=false; + + + + + + + + + + + + + + + + + + + + + + + <_StoreArtifactContent> +@(ListOfPackageReference) + +]]> + + + + + + + + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + + + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + + + + + + + + + + + + + + + + + + + + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + + + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + + + + + + true + true + + + + + + + + + + + + + + + + + + + + + + true + true + false + true + false + true + 1 + + + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + + + + + + + CrossgenExe=$(Crossgen); + CrossgenJit=$(JitPath); + CrossgenInputAssembly=%(_ManagedResolvedFilesToOptimize.Fullpath); + CrossgenOutputAssembly=$(_RuntimeOptimizedDir)$(DirectorySeparatorChar)%(_ManagedResolvedFilesToOptimize.FileName)%(_ManagedResolvedFilesToOptimize.Extension); + CrossgenSubOutputPath=%(_ManagedResolvedFilesToOptimize.DestinationSubPath); + _RuntimeOptimizedDir=$(_RuntimeOptimizedDir); + PublishDir=$(StoreStagingDir); + CrossgenPlatformAssembliesPath=$(_RuntimeRefDir)$(PathSeparator)$(_NetCoreRefDir); + CreateProfilingSymbols=$(CreateProfilingSymbols); + StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); + _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) + + + + + + + + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + + + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + + + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + + + + + + + + + + + + + + + + + + + + + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + + + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + + + + + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + + + + + + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + + + + + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + + true + true + + + + Always + + + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + + + + + + + <_BeforePublishNoBuildTargets> + BuildOnlySettings; + _PreventProjectReferencesFromBuilding; + ResolveReferences; + PrepareResourceNames; + ComputeIntermediateSatelliteAssemblies; + ComputeEmbeddedApphostPaths; + + <_CorePublishTargets> + PrepareForPublish; + ComputeAndCopyFilesToPublishDirectory; + $(PublishProtocolProviderTargets); + PublishItemsOutputGroup; + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + $(PublishDir)\ + + + + + + + + + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + + + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + + + + + + + true + true + false + + + + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + + + + + + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + + + + + + + + + + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + + + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + + + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + + + + + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + + + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + + + + + + + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + + + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + + + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + + + + + + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + + + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + $(PublishItemsOutputGroupDependsOn); + ResolveReferences; + ComputeResolvedFilesToPublishList; + _ComputeFilesToBundle; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + $(TargetName) + $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) + + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + + + + + + + + + + + + + + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + + + + + + + + + + + + + + + + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(PublicSign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + + + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + + + + + + + + + + + + + + + + Microsoft.CSharp|4.4.0; + Microsoft.Win32.Primitives|4.3.0; + Microsoft.Win32.Registry|4.4.0; + runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple|4.3.0; + runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + System.AppContext|4.3.0; + System.Buffers|4.4.0; + System.Collections|4.3.0; + System.Collections.Concurrent|4.3.0; + System.Collections.Immutable|1.4.0; + System.Collections.NonGeneric|4.3.0; + System.Collections.Specialized|4.3.0; + System.ComponentModel|4.3.0; + System.ComponentModel.EventBasedAsync|4.3.0; + System.ComponentModel.Primitives|4.3.0; + System.ComponentModel.TypeConverter|4.3.0; + System.Console|4.3.0; + System.Data.Common|4.3.0; + System.Diagnostics.Contracts|4.3.0; + System.Diagnostics.Debug|4.3.0; + System.Diagnostics.DiagnosticSource|4.4.0; + System.Diagnostics.FileVersionInfo|4.3.0; + System.Diagnostics.Process|4.3.0; + System.Diagnostics.StackTrace|4.3.0; + System.Diagnostics.TextWriterTraceListener|4.3.0; + System.Diagnostics.Tools|4.3.0; + System.Diagnostics.TraceSource|4.3.0; + System.Diagnostics.Tracing|4.3.0; + System.Dynamic.Runtime|4.3.0; + System.Globalization|4.3.0; + System.Globalization.Calendars|4.3.0; + System.Globalization.Extensions|4.3.0; + System.IO|4.3.0; + System.IO.Compression|4.3.0; + System.IO.Compression.ZipFile|4.3.0; + System.IO.FileSystem|4.3.0; + System.IO.FileSystem.AccessControl|4.4.0; + System.IO.FileSystem.DriveInfo|4.3.0; + System.IO.FileSystem.Primitives|4.3.0; + System.IO.FileSystem.Watcher|4.3.0; + System.IO.IsolatedStorage|4.3.0; + System.IO.MemoryMappedFiles|4.3.0; + System.IO.Pipes|4.3.0; + System.IO.UnmanagedMemoryStream|4.3.0; + System.Linq|4.3.0; + System.Linq.Expressions|4.3.0; + System.Linq.Queryable|4.3.0; + System.Net.Http|4.3.0; + System.Net.NameResolution|4.3.0; + System.Net.Primitives|4.3.0; + System.Net.Requests|4.3.0; + System.Net.Security|4.3.0; + System.Net.Sockets|4.3.0; + System.Net.WebHeaderCollection|4.3.0; + System.ObjectModel|4.3.0; + System.Private.DataContractSerialization|4.3.0; + System.Reflection|4.3.0; + System.Reflection.Emit|4.3.0; + System.Reflection.Emit.ILGeneration|4.3.0; + System.Reflection.Emit.Lightweight|4.3.0; + System.Reflection.Extensions|4.3.0; + System.Reflection.Metadata|1.5.0; + System.Reflection.Primitives|4.3.0; + System.Reflection.TypeExtensions|4.3.0; + System.Resources.ResourceManager|4.3.0; + System.Runtime|4.3.0; + System.Runtime.Extensions|4.3.0; + System.Runtime.Handles|4.3.0; + System.Runtime.InteropServices|4.3.0; + System.Runtime.InteropServices.RuntimeInformation|4.3.0; + System.Runtime.Loader|4.3.0; + System.Runtime.Numerics|4.3.0; + System.Runtime.Serialization.Formatters|4.3.0; + System.Runtime.Serialization.Json|4.3.0; + System.Runtime.Serialization.Primitives|4.3.0; + System.Security.AccessControl|4.4.0; + System.Security.Claims|4.3.0; + System.Security.Cryptography.Algorithms|4.3.0; + System.Security.Cryptography.Cng|4.4.0; + System.Security.Cryptography.Csp|4.3.0; + System.Security.Cryptography.Encoding|4.3.0; + System.Security.Cryptography.OpenSsl|4.4.0; + System.Security.Cryptography.Primitives|4.3.0; + System.Security.Cryptography.X509Certificates|4.3.0; + System.Security.Cryptography.Xml|4.4.0; + System.Security.Principal|4.3.0; + System.Security.Principal.Windows|4.4.0; + System.Text.Encoding|4.3.0; + System.Text.Encoding.Extensions|4.3.0; + System.Text.RegularExpressions|4.3.0; + System.Threading|4.3.0; + System.Threading.Overlapped|4.3.0; + System.Threading.Tasks|4.3.0; + System.Threading.Tasks.Extensions|4.3.0; + System.Threading.Tasks.Parallel|4.3.0; + System.Threading.Thread|4.3.0; + System.Threading.ThreadPool|4.3.0; + System.Threading.Timer|4.3.0; + System.ValueTuple|4.3.0; + System.Xml.ReaderWriter|4.3.0; + System.Xml.XDocument|4.3.0; + System.Xml.XmlDocument|4.3.0; + System.Xml.XmlSerializer|4.3.0; + System.Xml.XPath|4.3.0; + System.Xml.XPath.XDocument|4.3.0; + + + + + Microsoft.Win32.Primitives|4.3.0; + System.AppContext|4.3.0; + System.Collections|4.3.0; + System.Collections.Concurrent|4.3.0; + System.Collections.Immutable|1.4.0; + System.Collections.NonGeneric|4.3.0; + System.Collections.Specialized|4.3.0; + System.ComponentModel|4.3.0; + System.ComponentModel.EventBasedAsync|4.3.0; + System.ComponentModel.Primitives|4.3.0; + System.ComponentModel.TypeConverter|4.3.0; + System.Console|4.3.0; + System.Data.Common|4.3.0; + System.Diagnostics.Contracts|4.3.0; + System.Diagnostics.Debug|4.3.0; + System.Diagnostics.FileVersionInfo|4.3.0; + System.Diagnostics.Process|4.3.0; + System.Diagnostics.StackTrace|4.3.0; + System.Diagnostics.TextWriterTraceListener|4.3.0; + System.Diagnostics.Tools|4.3.0; + System.Diagnostics.TraceSource|4.3.0; + System.Diagnostics.Tracing|4.3.0; + System.Dynamic.Runtime|4.3.0; + System.Globalization|4.3.0; + System.Globalization.Calendars|4.3.0; + System.Globalization.Extensions|4.3.0; + System.IO|4.3.0; + System.IO.Compression|4.3.0; + System.IO.Compression.ZipFile|4.3.0; + System.IO.FileSystem|4.3.0; + System.IO.FileSystem.DriveInfo|4.3.0; + System.IO.FileSystem.Primitives|4.3.0; + System.IO.FileSystem.Watcher|4.3.0; + System.IO.IsolatedStorage|4.3.0; + System.IO.MemoryMappedFiles|4.3.0; + System.IO.Pipes|4.3.0; + System.IO.UnmanagedMemoryStream|4.3.0; + System.Linq|4.3.0; + System.Linq.Expressions|4.3.0; + System.Linq.Queryable|4.3.0; + System.Net.Http|4.3.0; + System.Net.NameResolution|4.3.0; + System.Net.Primitives|4.3.0; + System.Net.Requests|4.3.0; + System.Net.Security|4.3.0; + System.Net.Sockets|4.3.0; + System.Net.WebHeaderCollection|4.3.0; + System.ObjectModel|4.3.0; + System.Private.DataContractSerialization|4.3.0; + System.Reflection|4.3.0; + System.Reflection.Emit|4.3.0; + System.Reflection.Emit.ILGeneration|4.3.0; + System.Reflection.Emit.Lightweight|4.3.0; + System.Reflection.Extensions|4.3.0; + System.Reflection.Primitives|4.3.0; + System.Reflection.TypeExtensions|4.3.0; + System.Resources.ResourceManager|4.3.0; + System.Runtime|4.3.0; + System.Runtime.Extensions|4.3.0; + System.Runtime.Handles|4.3.0; + System.Runtime.InteropServices|4.3.0; + System.Runtime.InteropServices.RuntimeInformation|4.3.0; + System.Runtime.Loader|4.3.0; + System.Runtime.Numerics|4.3.0; + System.Runtime.Serialization.Formatters|4.3.0; + System.Runtime.Serialization.Json|4.3.0; + System.Runtime.Serialization.Primitives|4.3.0; + System.Security.AccessControl|4.4.0; + System.Security.Claims|4.3.0; + System.Security.Cryptography.Algorithms|4.3.0; + System.Security.Cryptography.Csp|4.3.0; + System.Security.Cryptography.Encoding|4.3.0; + System.Security.Cryptography.Primitives|4.3.0; + System.Security.Cryptography.X509Certificates|4.3.0; + System.Security.Cryptography.Xml|4.4.0; + System.Security.Principal|4.3.0; + System.Security.Principal.Windows|4.4.0; + System.Text.Encoding|4.3.0; + System.Text.Encoding.Extensions|4.3.0; + System.Text.RegularExpressions|4.3.0; + System.Threading|4.3.0; + System.Threading.Overlapped|4.3.0; + System.Threading.Tasks|4.3.0; + System.Threading.Tasks.Extensions|4.3.0; + System.Threading.Tasks.Parallel|4.3.0; + System.Threading.Thread|4.3.0; + System.Threading.ThreadPool|4.3.0; + System.Threading.Timer|4.3.0; + System.ValueTuple|4.3.0; + System.Xml.ReaderWriter|4.3.0; + System.Xml.XDocument|4.3.0; + System.Xml.XmlDocument|4.3.0; + System.Xml.XmlSerializer|4.3.0; + System.Xml.XPath|4.3.0; + System.Xml.XPath.XDocument|4.3.0; + + + + + + + + + + + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + + + + + + + + + + + + + + + + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + + + + + + + + + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + + + + + + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + + + + + + true + + + + true + + + + 7.0 + + + + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + + + + + + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll + + + + + + + + + + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) + + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + + + + + + + + + + $(TargetPlatformMoniker) + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + + + + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + + + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + + + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + + + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + + + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + + + + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100.rc-2.CSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100.rc-2.CSharp.xml new file mode 100644 index 0000000..5748bbe --- /dev/null +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100.rc-2.CSharp.xml @@ -0,0 +1,15296 @@ + + + + + + + true + + true + + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + + + $(ProjectExtensionsPathForSpecifiedProject) + + + + + + true + true + true + true + true + + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + + + + + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) + + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + + + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + + + + + + true + + + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + + + + true + true + true + true + true + true + true + true + true + true + true + true + true + + + + + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + + true + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + + + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + arm64 + + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + + + portable + + false + + true + true + + PackageReference + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.3 + false + true + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + + + + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + + + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + <_NetFrameworkHostedCompilersVersion>4.8.0-3.23471.11 + 8.0 + 8.0 + 8.0.0-rc.2.23479.6 + 2.1 + 2.1.0 + 8.0.0-rc.2.23479.6 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 8.0.100-rc.2.23502.2 + win-x64 + win-x64 + <_NETCoreSdkIsPreview>true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> + + + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + + + + + + + + + + + + + + + + + + + + + + + + + + 9.0 + 17.8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + <_SourceLinkPropsImported>true + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + + + + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1701;1702 + + $(WarningsAsErrors);NU1605 + + + $(DefineConstants); + $(DefineConstants)TRACE + + + + + + + + + + + + + + + + + + $(TargetsForTfmSpecificContentInPackage);PackTool + + + + + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + + + + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + + + + + + + + + + + + + + + + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + + + + + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + + + + + + + + + true + + + + + + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + + + + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + + + + + Debug + AnyCPU + $(Platform) + + + + + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) + + false + + + + + + + + + + + + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + + + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + + + + <_UnsupportedTargetFrameworkError>true + + + + + + + + + + true + true + + + + + + + + + + + + + + + + + + + + v0.0 + + + _ + + + + + true + + + + + + + + + + + <_EnableDefaultWindowsPlatform>false + false + + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion->Distinct()) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + + + + + true + true + + + + + + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ + + + + + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** + + + + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + + + + + + true + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RuntimePackInWorkloadVersionCurrent>8.0.0-rc.2.23479.6 + <_RuntimePackInWorkloadVersion7>7.0.12 + <_RuntimePackInWorkloadVersion6>6.0.23 + true + true + true + true + + $(WasmNativeWorkload8) + + + + + true + + + $(WasiNativeWorkloadAvailable) + + + + <_BrowserWorkloadNotSupportedForTFM Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">true + <_BrowserWorkloadDisabled>$(_BrowserWorkloadNotSupportedForTFM) + <_UsingBlazorOrWasmSdk Condition="'$(UsingMicrosoftNETSdkBlazorWebAssembly)' == 'true' or '$(UsingMicrosoftNETSdkWebAssembly)' == 'true'">true + + + + + + + + true + $(WasmNativeWorkload7) + $(WasmNativeWorkload8) + $(WasmNativeWorkload) + false + $(WasmNativeWorkloadAvailable) + + + + <_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded Condition=" '$(WasmEnableLegacyJsInterop)' == 'false' or '$(WasmEnableSIMD)' == 'false' or '$(WasmEnableExceptionHandling)' == 'false' or '$(InvariantTimezone)' == 'true' or ('$(_UsingBlazorOrWasmSdk)' != 'true' and '$(InvariantGlobalization)' == 'true') or '$(WasmNativeStrip)' == 'false'">true + + + <_WasmNativeWorkloadNeeded Condition=" '$(_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded)' == 'true' or '$(RunAOTCompilation)' == 'true' or '$(WasmBuildNative)' == 'true' or '$(WasmGenerateAppBundle)' == 'true' or '$(_UsingBlazorOrWasmSdk)' != 'true'">true + false + true + $(WasmNativeWorkloadAvailable) + + + <_IsAndroidLibraryMode Condition="'$(RuntimeIdentifier)' == 'android-arm64' or '$(RuntimeIdentifier)' == 'android-arm' or '$(RuntimeIdentifier)' == 'android-x64' or '$(RuntimeIdentifier)' == 'android-x86'">true + <_IsAppleMobileLibraryMode Condition="'$(RuntimeIdentifier)' == 'ios-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-x64' or '$(RuntimeIdentifier)' == 'maccatalyst-arm64' or '$(RuntimeIdentifier)' == 'maccatalyst-x64' or '$(RuntimeIdentifier)' == 'tvos-arm64'">true + <_IsiOSLibraryMode Condition="'$(RuntimeIdentifier)' == 'ios-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-x64'">true + <_IsMacCatalystLibraryMode Condition="'$(RuntimeIdentifier)' == 'maccatalyst-arm64' or '$(RuntimeIdentifier)' == 'maccatalyst-x64'">true + <_IstvOSLibraryMode Condition="'$(RuntimeIdentifier)' == 'tvos-arm64'">true + + + true + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersionCurrent) + <_KnownWebAssemblySdkPackVersion>$(_RuntimePackInWorkloadVersionCurrent) + + + + true + 1.0 + + + + + + + + %(RuntimePackRuntimeIdentifiers);wasi-wasm + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + + + $(_KnownWebAssemblySdkPackVersion) + + + + + + + + + + + + + + + + + + + + + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + + + + + + + + + + + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** + + + + + + + + + + + + + + + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + + + + + + + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + + + + true + + + + $(PublishSelfContained) + + + + true + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + $(PublishRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + + + + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + + + + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + true + + + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + + + + + + + + + + + + + + true + true + + + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + + + + + + + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true + + true + + .dll + + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + + + + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + + + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> + + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + + + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets + + $(MSBuildToolsPath)\Microsoft.Common.targets + + + + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets + + + + + + + + true + + + + + + true + true + true + true + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets + + + + .cs + C# + Managed + true + true + true + true + true + {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Properties + + + + + File + + + BrowseObject + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + true + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet + true + + + + + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + + + + + + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + false + + + + + + + true + + + + + + + + + + $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets + + + + + + + + + + roslyn4.8 + + + + + + + + + + + + + + + + + false + + + + + + + + true + + + + + + + + <_SkipAnalyzers /> + <_ImplicitlySkipAnalyzers /> + + + + <_SkipAnalyzers>true + + + + <_ImplicitlySkipAnalyzers>true + <_SkipAnalyzers>true + run-nullable-analysis=never;$(Features) + + + + + + <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers + + + + + + + + + + + + + + <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> + + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig + true + <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true + <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true + + + + + + <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> + $(%(CompilerVisibleProperty.Identity)) + + + <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> + %(Identity) + %(CompilerVisibleItemMetadata.MetadataName) + + + + + + + + + + + true + + + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + + + + true + + + + + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + + + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + + + + + + + + + + false + + $(IntermediateOutputPath)/generated + + + + + + + + + + + + + <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 + + <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '5.0' AND '$(_MaxSupportedLangVersion)' == ''">9.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '6.0' AND '$(_MaxSupportedLangVersion)' == ''">10.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '7.0' AND '$(_MaxSupportedLangVersion)' == ''">11.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '8.0' AND '$(_MaxSupportedLangVersion)' == ''">12.0 + $(_MaxSupportedLangVersion) + $(_MaxSupportedLangVersion) + + + + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + + + + -langversion:$(LangVersion) + $(CommandLineArgsForDesignTimeEvaluation) -checksumalgorithm:$(ChecksumAlgorithm) + $(CommandLineArgsForDesignTimeEvaluation) -define:$(DefineConstants) + + + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets + + + + + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + + + + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + + + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + + + + + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + + + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + + + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + + + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + + + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + + + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + + + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + + + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + + + + $(PublishDir) + $(ClickOncePublishDir)\ + + + + + $(PlatformTarget) + + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + + + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + + + + false + + + + + true + true + false + + + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + + + .winmd; + .dll; + .exe + + + + .pdb; + .xml; + .pri; + .dll.config; + .exe.config + + + Full + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + + + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + + + + + true + + + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + + + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + + + + x86 + + + + + + + + + + BeforeBuild; + CoreBuild; + AfterBuild + + + + + + + + + + + BuildOnlySettings; + PrepareForBuild; + PreBuildEvent; + ResolveReferences; + PrepareResources; + ResolveKeySource; + Compile; + ExportWindowsMDFile; + UnmanagedUnregistration; + GenerateSerializationAssemblies; + CreateSatelliteAssemblies; + GenerateManifests; + GetTargetPath; + PrepareForRun; + UnmanagedRegistration; + IncrementalClean; + PostBuildEvent + + + + + + + + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + + BeforeRebuild; + Clean; + $(_ProjectDefaultTargets); + AfterRebuild; + + + BeforeRebuild; + Clean; + Build; + AfterRebuild; + + + + + + + + + + Build + + + + + + + + + + + Build + + + + + + + + + + + Build + + + + + + + + + + + + + + + + + + + + + + + false + + + + true + + + + + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + + + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + + + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + + + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + + + + + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + BeforeResolveReferences; + AssignProjectConfiguration; + ResolveProjectReferences; + FindInvalidProjectReferences; + ResolveNativeReferences; + ResolveAssemblyReferences; + GenerateBindingRedirects; + GenerateBindingRedirectsUpdateAppConfig; + ResolveComReferences; + AfterResolveReferences + + + + + + + + + + + + false + + + + + + + true + true + false + + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + + + + + + + + + + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + + + + true + + + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + + + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + + + + + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + + true + + + + + + + + + + + + + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + + + + + + + + + + + + + + + + + + + + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + + + + %(AnnotatedProjects.UndefineProperties);TargetFramework + + + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained + + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + @(_TargetFrameworkInfo->'%(IsRidAgnostic)') + + true + $(Platform) + $(Platforms) + + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) + + $(IsRidAgnostic) + true + false + + + + + + + + + AssignProjectConfiguration; + _SplitProjectReferencesByFileExistence; + _GetProjectReferenceTargetFrameworkProperties; + _GetProjectReferencePlatformProperties + + + + + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + + + + + + + + + + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + + + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + + + + $(GetTargetPathDependsOn) + + + + + $(GetTargetPathDependsOn) + + + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + + + + + + %(_ApplicationManifestFinal.FullPath) + + + + + + + + + + + + + + + + + + ResolveProjectReferences; + FindInvalidProjectReferences; + GetFrameworkPaths; + GetReferenceAssemblyPaths; + PrepareForBuild; + ResolveSDKReferences; + ExpandSDKReferences; + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + + + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + + + + + true + + + + + false + true + + + + + + + + + + + + + + + + + + + + + + + %(FullPath) + + + %(ReferencePath.Identity) + + + + + + + + + + + + + + + <_NewGenerateBindingRedirectsIntermediateAppConfig Condition="Exists('$(_GenerateBindingRedirectsIntermediateAppConfig)')">true + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + + + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + + + + + GetInstalledSDKLocations + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + + + + + GetReferenceTargetPlatformMonikers + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + + + + + + + + ResolveSDKReferences + + + .winmd; + .dll + + + + + + + + + + + + + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + + + {CandidateAssemblyFiles}; + $(ReferencePath); + {HintPathFromItem}; + {TargetFrameworkDirectory}; + {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; + {RawFileName}; + $(TargetDir) + + + + + + GetFrameworkPaths; + GetReferenceAssemblyPaths; + ResolveReferences + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + + + {CandidateAssemblyFiles}; + $(ReferencePath); + {HintPathFromItem}; + {TargetFrameworkDirectory}; + {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; + {RawFileName}; + $(OutDir) + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + + + + false + + + + $(IntermediateOutputPath) + + + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + + + + + + + + $(PrepareResourcesDependsOn); + PrepareResourceNames; + ResGen; + CompileLicxFiles + + + + + + + AssignTargetPaths; + SplitResourcesByCulture; + CreateManifestResourceNames; + CreateCustomManifestResourceNames + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + + + + + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + + + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + + + + + + + + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + + + + + + + + + + + + + + ResolveReferences; + ResolveKeySource; + SetWin32ManifestProperties; + FindReferenceAssembliesForReferences; + _GenerateCompileInputs; + BeforeCompile; + _TimeStampBeforeCompile; + _GenerateCompileDependencyCache; + CoreCompile; + _TimeStampAfterCompile; + AfterCompile; + + + + + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + + + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + + + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + + + + + __NonExistentSubDir__\__NonExistentFile__ + + + + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + + + + _GenerateSatelliteAssemblyInputs; + ComputeIntermediateSatelliteAssemblies; + GenerateSatelliteAssemblies + + + + + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + + + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + + + + + CreateManifestResourceNames + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + + + + $(Win32Manifest) + + + + + + + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + + + + + SetWin32ManifestProperties; + GenerateApplicationManifest; + GenerateDeploymentManifest + + + + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + + + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + + + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + + + + + + + + + + + + + + + + + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + + + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + + + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + + + CleanPublishFolder; + GetCopyToOutputDirectoryItems; + _DeploymentGenerateTrustInfo + $(DeploymentComputeClickOnceManifestInfoDependsOn) + + + + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + + + + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + + + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + + <_ClickOnceNoneItems Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' or '%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems);@(_ClickOnceNoneItems);@(_TransitiveItemsToCopyToOutputDirectory)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + + + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + + + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + + + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + false + + + + + CopyFilesToOutputDirectory + + + + + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + false + + + + + + + + + + + + + + + + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + + true + <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> + AssignProjectConfiguration; + _SplitProjectReferencesByFileExistence + + + AssignTargetPaths; + $(_TargetsThatPrepareProjectReferences); + _GetProjectReferenceTargetFrameworkProperties; + _PopulateCommonStateForGetCopyToOutputDirectoryItems + + + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + + + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + + + + + + %(CopyToOutputDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + + + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + + + + + + + + + + + + + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + + + + + + + + + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + + + + + BeforeClean; + UnmanagedUnregistration; + CoreClean; + CleanReferencedProjects; + CleanPublishFolder; + AfterClean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SetGenerateManifests; + Build; + PublishOnly + + + _DeploymentUnpublishable + + + + + + + + + + + + + true + + + + + + SetGenerateManifests; + PublishBuild; + BeforePublish; + GenerateManifests; + CopyFilesToOutputDirectory; + _CopyFilesToPublishFolder; + _DeploymentGenerateBootstrapper; + ResolveKeySource; + _DeploymentSignClickOnceDeployment; + AfterPublish + + + + + + + + + + + BuildOnlySettings; + PrepareForBuild; + ResolveReferences; + PrepareResources; + ResolveKeySource; + GenerateSerializationAssemblies; + CreateSatelliteAssemblies; + + + + + + + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + + + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + + + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + + + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + + + + $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + + + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + + + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + + + + + + + + + + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + + + + + + + + + + + + + $(CommonOutputGroupsDependsOn); + BuildOnlySettings; + PrepareForBuild; + AssignTargetPaths; + ResolveReferences + + + + + + + + $(BuiltProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(DocumentationProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(SGenFilesOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(ReferenceCopyLocalPathsOutputGroupDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + + + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + + + + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> + $(_GenerateRestoreGraphProjectEntryInputProperties); + NuGetRestoreTargets=$(MSBuildThisFileFullPath); + RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); + CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); + CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); + + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> + $(_GenerateRestoreGraphProjectEntryInputProperties); + _RestoreSolutionFileUsed=true; + SolutionDir=$(SolutionDir); + SolutionName=$(SolutionName); + SolutionFileName=$(SolutionFileName); + SolutionPath=$(SolutionPath); + SolutionExt=$(SolutionExt); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + + + + + + + + + + + + + + + + + + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vdproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + + + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + + + + + netcoreapp1.0 + + + + + + + + + + + + + + + + + + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + + + + + true + + + + + + <_RestoreProjectFramework /> + <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + + + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + + <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> + + + + + + $(SolutionDir) + + + + + + + + + + + + + + + + + + + + + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + + + + + + $(MSBuildProjectExtensionsPath) + + + + + + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + + + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + $(NuGetAudit) + $(NuGetAuditLevel) + $(NuGetAuditMode) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + $(WindowsTargetPlatformMinVersion) + + + + + + + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + + + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + + + + + <_RestoreSourcesOverride>$(RestoreSources) + + + + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + + + + + + + + + + + + <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) + + + + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + + + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net8.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + + + + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + true + + + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + + + + + + + + +// <autogenerated /> +using System%3b +using System.Reflection%3b +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName = "$(TargetFrameworkMonikerDisplayName)")] + + + + + true + + true + true + + $([System.Globalization.CultureInfo]::CurrentUICulture.Name) + + + + + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> + + + + + + + + + + TargetFramework + TargetFrameworks + + + true + + + + + + + + + <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath + $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);$(ProjectReferenceTargetsForBuild) + + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) + GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + + $(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForPublish) + $(ProjectReferenceTargetsForRebuild);$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + .default;$(ProjectReferenceTargetsForBuild) + + + Clean;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + + + + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tools\ + net8.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll + + Microsoft.NETCore.App;NETStandard.Library + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + + + + true + + + + + + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true + + false + + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + + + + + $(ResolveAssemblyReferencesDependsOn); + ResolvePackageDependenciesForBuild; + _HandlePackageFileConflicts; + + + ResolvePackageDependenciesForBuild; + _HandlePackageFileConflicts; + $(PrepareResourcesDependsOn) + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + + + + true + + + + + + ResolveLockFileReferences; + ResolveLockFileAnalyzers; + ResolveLockFileCopyLocalFiles; + ResolveRuntimePackAssets; + RunProduceContentAssets; + IncludeTransitiveProjectReferences + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + + + + + + + + + + + true + true + true + true + + + + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc + $(DefaultItemExcludes);**/.DS_Store + + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + + + + + 1.6.1 + + 2.0.3 + + + + + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + + + + + + + + + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + + + + true + + + + + + + + + + + $(ResolveAssemblyReferencesDependsOn); + ResolveTargetingPackAssets; + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + + + + + + + + + + + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + + + + + + true + false + + + + + + + + + + + + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + + + + + + + + + + + + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + + + + + + + + + + + + + + + + <_Parameter1>$(UserSecretsId.Trim()) + + + + + + + + + + $(_IsNETCoreOrNETStandard) + + + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json + + + + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + + + + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + + + + + Microsoft.NETCore.App + + + + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + + + true + + + + false + true + + + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + + + + _CheckForBuildWithNoBuild; + $(CoreBuildDependsOn); + GenerateBuildDependencyFile; + GenerateBuildRuntimeConfigurationFiles + + + + + _SdkBeforeClean; + $(CoreCleanDependsOn) + + + + + _SdkBeforeRebuild; + $(RebuildDependsOn) + + + + + + + + + + + + + + + + + + 1.0.0 + + + + + + + + + + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + + + + + + + + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + + + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + + + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(CompileDependsOn); + _CreateAppHost; + _CreateComHost; + _GetIjwHostPaths; + + + + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + + + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + + + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + + + + + + + + + + + + + + + + + + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + + + + + + + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + + + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + + + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + + + + + + + true + + + true + + + + + + + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + + + + + $(CreateSatelliteAssembliesDependsOn); + CoreGenerateSatelliteAssemblies + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + + + + + + + + + + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + + + + $(CommonOutputGroupsDependsOn); + + + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); + _GenerateDesignerDepsFile; + _GenerateDesignerRuntimeConfigFile; + GetCopyToOutputDirectoryItems; + _GatherDesignerShadowCopyFiles; + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + + + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + + + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(Trademark) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + %(InternalsVisibleTo.PublicKey) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + + + + + + + + $(AssemblyVersion) + $(Version) + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) + + + + + + + + + + + + + + + + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + + + + + + + + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + %(PackageReference.Identity) + %(PackageReference.Version) + + StorePackageName=%(PackageReference.Identity); + StorePackageVersion=%(PackageReference.Version); + ComposeWorkingDir=$(ComposeWorkingDir); + PublishDir=$(PublishDir); + StoreStagingDir=$(StoreStagingDir); + TargetFramework=$(TargetFramework); + RuntimeIdentifier=$(RuntimeIdentifier); + JitPath=$(JitPath); + Crossgen=$(Crossgen); + SkipUnchangedFiles=$(SkipUnchangedFiles); + PreserveStoreLayout=$(PreserveStoreLayout); + CreateProfilingSymbols=$(CreateProfilingSymbols); + StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); + DisableImplicitFrameworkReferences=false; + + + + + + + + + + + + + + + + + + + + + + + <_StoreArtifactContent> +@(ListOfPackageReference) + +]]> + + + + + + + + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + + + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + + + + + + + + + + + + + + + + + + + + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + + + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + + + + + + true + true + + + + + + + + + + + + + + + + + + + + + + true + true + false + true + false + true + 1 + + + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + + + + + + + CrossgenExe=$(Crossgen); + CrossgenJit=$(JitPath); + CrossgenInputAssembly=%(_ManagedResolvedFilesToOptimize.Fullpath); + CrossgenOutputAssembly=$(_RuntimeOptimizedDir)$(DirectorySeparatorChar)%(_ManagedResolvedFilesToOptimize.FileName)%(_ManagedResolvedFilesToOptimize.Extension); + CrossgenSubOutputPath=%(_ManagedResolvedFilesToOptimize.DestinationSubPath); + _RuntimeOptimizedDir=$(_RuntimeOptimizedDir); + PublishDir=$(StoreStagingDir); + CrossgenPlatformAssembliesPath=$(_RuntimeRefDir)$(PathSeparator)$(_NetCoreRefDir); + CreateProfilingSymbols=$(CreateProfilingSymbols); + StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); + _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) + + + + + + + + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + + + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + + + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + + + + + + + + + + + + + + + + + + + + + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + + + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + + + + + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + + + + + + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + + + + + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + + true + true + + + + Always + + + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + + + + + + + <_BeforePublishNoBuildTargets> + BuildOnlySettings; + _PreventProjectReferencesFromBuilding; + ResolveReferences; + PrepareResourceNames; + ComputeIntermediateSatelliteAssemblies; + ComputeEmbeddedApphostPaths; + + <_CorePublishTargets> + PrepareForPublish; + ComputeAndCopyFilesToPublishDirectory; + $(PublishProtocolProviderTargets); + PublishItemsOutputGroup; + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + $(PublishDir)\ + + + + + + + + + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + + + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + + + + + + + true + true + false + + + + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + + + + + + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + + + + + + + + + + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + + + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + + + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + + + + + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + + + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + + + + + + + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + + + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + + + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + + + + + + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + + + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + $(PublishItemsOutputGroupDependsOn); + ResolveReferences; + ComputeResolvedFilesToPublishList; + _ComputeFilesToBundle; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + $(TargetName) + $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) + + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + + + + + + + + + + + + + + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + + + + + + + + + + + + + + + + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(PublicSign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + + + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + + + + + + + + + + + + + + + + Microsoft.CSharp|4.4.0; + Microsoft.Win32.Primitives|4.3.0; + Microsoft.Win32.Registry|4.4.0; + runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple|4.3.0; + runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + System.AppContext|4.3.0; + System.Buffers|4.4.0; + System.Collections|4.3.0; + System.Collections.Concurrent|4.3.0; + System.Collections.Immutable|1.4.0; + System.Collections.NonGeneric|4.3.0; + System.Collections.Specialized|4.3.0; + System.ComponentModel|4.3.0; + System.ComponentModel.EventBasedAsync|4.3.0; + System.ComponentModel.Primitives|4.3.0; + System.ComponentModel.TypeConverter|4.3.0; + System.Console|4.3.0; + System.Data.Common|4.3.0; + System.Diagnostics.Contracts|4.3.0; + System.Diagnostics.Debug|4.3.0; + System.Diagnostics.DiagnosticSource|4.4.0; + System.Diagnostics.FileVersionInfo|4.3.0; + System.Diagnostics.Process|4.3.0; + System.Diagnostics.StackTrace|4.3.0; + System.Diagnostics.TextWriterTraceListener|4.3.0; + System.Diagnostics.Tools|4.3.0; + System.Diagnostics.TraceSource|4.3.0; + System.Diagnostics.Tracing|4.3.0; + System.Dynamic.Runtime|4.3.0; + System.Globalization|4.3.0; + System.Globalization.Calendars|4.3.0; + System.Globalization.Extensions|4.3.0; + System.IO|4.3.0; + System.IO.Compression|4.3.0; + System.IO.Compression.ZipFile|4.3.0; + System.IO.FileSystem|4.3.0; + System.IO.FileSystem.AccessControl|4.4.0; + System.IO.FileSystem.DriveInfo|4.3.0; + System.IO.FileSystem.Primitives|4.3.0; + System.IO.FileSystem.Watcher|4.3.0; + System.IO.IsolatedStorage|4.3.0; + System.IO.MemoryMappedFiles|4.3.0; + System.IO.Pipes|4.3.0; + System.IO.UnmanagedMemoryStream|4.3.0; + System.Linq|4.3.0; + System.Linq.Expressions|4.3.0; + System.Linq.Queryable|4.3.0; + System.Net.Http|4.3.0; + System.Net.NameResolution|4.3.0; + System.Net.Primitives|4.3.0; + System.Net.Requests|4.3.0; + System.Net.Security|4.3.0; + System.Net.Sockets|4.3.0; + System.Net.WebHeaderCollection|4.3.0; + System.ObjectModel|4.3.0; + System.Private.DataContractSerialization|4.3.0; + System.Reflection|4.3.0; + System.Reflection.Emit|4.3.0; + System.Reflection.Emit.ILGeneration|4.3.0; + System.Reflection.Emit.Lightweight|4.3.0; + System.Reflection.Extensions|4.3.0; + System.Reflection.Metadata|1.5.0; + System.Reflection.Primitives|4.3.0; + System.Reflection.TypeExtensions|4.3.0; + System.Resources.ResourceManager|4.3.0; + System.Runtime|4.3.0; + System.Runtime.Extensions|4.3.0; + System.Runtime.Handles|4.3.0; + System.Runtime.InteropServices|4.3.0; + System.Runtime.InteropServices.RuntimeInformation|4.3.0; + System.Runtime.Loader|4.3.0; + System.Runtime.Numerics|4.3.0; + System.Runtime.Serialization.Formatters|4.3.0; + System.Runtime.Serialization.Json|4.3.0; + System.Runtime.Serialization.Primitives|4.3.0; + System.Security.AccessControl|4.4.0; + System.Security.Claims|4.3.0; + System.Security.Cryptography.Algorithms|4.3.0; + System.Security.Cryptography.Cng|4.4.0; + System.Security.Cryptography.Csp|4.3.0; + System.Security.Cryptography.Encoding|4.3.0; + System.Security.Cryptography.OpenSsl|4.4.0; + System.Security.Cryptography.Primitives|4.3.0; + System.Security.Cryptography.X509Certificates|4.3.0; + System.Security.Cryptography.Xml|4.4.0; + System.Security.Principal|4.3.0; + System.Security.Principal.Windows|4.4.0; + System.Text.Encoding|4.3.0; + System.Text.Encoding.Extensions|4.3.0; + System.Text.RegularExpressions|4.3.0; + System.Threading|4.3.0; + System.Threading.Overlapped|4.3.0; + System.Threading.Tasks|4.3.0; + System.Threading.Tasks.Extensions|4.3.0; + System.Threading.Tasks.Parallel|4.3.0; + System.Threading.Thread|4.3.0; + System.Threading.ThreadPool|4.3.0; + System.Threading.Timer|4.3.0; + System.ValueTuple|4.3.0; + System.Xml.ReaderWriter|4.3.0; + System.Xml.XDocument|4.3.0; + System.Xml.XmlDocument|4.3.0; + System.Xml.XmlSerializer|4.3.0; + System.Xml.XPath|4.3.0; + System.Xml.XPath.XDocument|4.3.0; + + + + + Microsoft.Win32.Primitives|4.3.0; + System.AppContext|4.3.0; + System.Collections|4.3.0; + System.Collections.Concurrent|4.3.0; + System.Collections.Immutable|1.4.0; + System.Collections.NonGeneric|4.3.0; + System.Collections.Specialized|4.3.0; + System.ComponentModel|4.3.0; + System.ComponentModel.EventBasedAsync|4.3.0; + System.ComponentModel.Primitives|4.3.0; + System.ComponentModel.TypeConverter|4.3.0; + System.Console|4.3.0; + System.Data.Common|4.3.0; + System.Diagnostics.Contracts|4.3.0; + System.Diagnostics.Debug|4.3.0; + System.Diagnostics.FileVersionInfo|4.3.0; + System.Diagnostics.Process|4.3.0; + System.Diagnostics.StackTrace|4.3.0; + System.Diagnostics.TextWriterTraceListener|4.3.0; + System.Diagnostics.Tools|4.3.0; + System.Diagnostics.TraceSource|4.3.0; + System.Diagnostics.Tracing|4.3.0; + System.Dynamic.Runtime|4.3.0; + System.Globalization|4.3.0; + System.Globalization.Calendars|4.3.0; + System.Globalization.Extensions|4.3.0; + System.IO|4.3.0; + System.IO.Compression|4.3.0; + System.IO.Compression.ZipFile|4.3.0; + System.IO.FileSystem|4.3.0; + System.IO.FileSystem.DriveInfo|4.3.0; + System.IO.FileSystem.Primitives|4.3.0; + System.IO.FileSystem.Watcher|4.3.0; + System.IO.IsolatedStorage|4.3.0; + System.IO.MemoryMappedFiles|4.3.0; + System.IO.Pipes|4.3.0; + System.IO.UnmanagedMemoryStream|4.3.0; + System.Linq|4.3.0; + System.Linq.Expressions|4.3.0; + System.Linq.Queryable|4.3.0; + System.Net.Http|4.3.0; + System.Net.NameResolution|4.3.0; + System.Net.Primitives|4.3.0; + System.Net.Requests|4.3.0; + System.Net.Security|4.3.0; + System.Net.Sockets|4.3.0; + System.Net.WebHeaderCollection|4.3.0; + System.ObjectModel|4.3.0; + System.Private.DataContractSerialization|4.3.0; + System.Reflection|4.3.0; + System.Reflection.Emit|4.3.0; + System.Reflection.Emit.ILGeneration|4.3.0; + System.Reflection.Emit.Lightweight|4.3.0; + System.Reflection.Extensions|4.3.0; + System.Reflection.Primitives|4.3.0; + System.Reflection.TypeExtensions|4.3.0; + System.Resources.ResourceManager|4.3.0; + System.Runtime|4.3.0; + System.Runtime.Extensions|4.3.0; + System.Runtime.Handles|4.3.0; + System.Runtime.InteropServices|4.3.0; + System.Runtime.InteropServices.RuntimeInformation|4.3.0; + System.Runtime.Loader|4.3.0; + System.Runtime.Numerics|4.3.0; + System.Runtime.Serialization.Formatters|4.3.0; + System.Runtime.Serialization.Json|4.3.0; + System.Runtime.Serialization.Primitives|4.3.0; + System.Security.AccessControl|4.4.0; + System.Security.Claims|4.3.0; + System.Security.Cryptography.Algorithms|4.3.0; + System.Security.Cryptography.Csp|4.3.0; + System.Security.Cryptography.Encoding|4.3.0; + System.Security.Cryptography.Primitives|4.3.0; + System.Security.Cryptography.X509Certificates|4.3.0; + System.Security.Cryptography.Xml|4.4.0; + System.Security.Principal|4.3.0; + System.Security.Principal.Windows|4.4.0; + System.Text.Encoding|4.3.0; + System.Text.Encoding.Extensions|4.3.0; + System.Text.RegularExpressions|4.3.0; + System.Threading|4.3.0; + System.Threading.Overlapped|4.3.0; + System.Threading.Tasks|4.3.0; + System.Threading.Tasks.Extensions|4.3.0; + System.Threading.Tasks.Parallel|4.3.0; + System.Threading.Thread|4.3.0; + System.Threading.ThreadPool|4.3.0; + System.Threading.Timer|4.3.0; + System.ValueTuple|4.3.0; + System.Xml.ReaderWriter|4.3.0; + System.Xml.XDocument|4.3.0; + System.Xml.XmlDocument|4.3.0; + System.Xml.XmlSerializer|4.3.0; + System.Xml.XPath|4.3.0; + System.Xml.XPath.XDocument|4.3.0; + + + + + + + + + + + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + + + + + + + + + + + + + + Properties + + + $(Configuration.ToUpperInvariant()) + + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(ImplicitConfigurationDefine.Replace(' ', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + + + + + + + + $(WarningsAsErrors);SYSLIB0011 + + + + + + + + + + + + <_NoneAnalysisLevel>4.0 + + <_LatestAnalysisLevel>8.0 + <_PreviewAnalysisLevel>9.0 + latest + $(_TargetFrameworkVersionWithoutV) + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefix) + $(AnalysisLevel) + + + + 9999 + + 4 + + $(_TargetFrameworkVersionWithoutV.Substring(0, 1)) + + + + + true + + true + + true + + true + + false + + + + false + false + false + false + false + + + + + + + + <_NETAnalyzersSDKAssemblyVersion>8.0.0 + + + + CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1510;CA1511;CA1512;CA1513;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA1856;CA1857;CA1858;CA1859;CA1860;CA1861;CA1862;CA1863;CA1864;CA1865;CA1866;CA1867;CA1868;CA1869;CA1870;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2021;CA2100;CA2101;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2261;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 + $(CodeAnalysisTreatWarningsAsErrors) + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + + + + + + true + + + + true + + + + 7.0 + + + + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + + + + + + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll + + + + + + + + + + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) + + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + + + + + + + + + + $(TargetPlatformMoniker) + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + + + + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + + + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + + + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + + + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + + + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + + + + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100.rc-2.FSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100.rc-2.FSharp.xml new file mode 100644 index 0000000..1390e11 --- /dev/null +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100.rc-2.FSharp.xml @@ -0,0 +1,15120 @@ + + + + + + + true + + true + + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + + + $(ProjectExtensionsPathForSpecifiedProject) + + + + + + true + true + true + true + true + + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + + + + + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) + + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + + + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + + + + + + true + + + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + + + + true + true + true + true + true + true + true + true + true + true + true + true + true + + + + + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + + true + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + + + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + arm64 + + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + + + portable + + false + + true + true + + PackageReference + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.3 + false + true + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + + + + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + + + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + <_NetFrameworkHostedCompilersVersion>4.8.0-3.23471.11 + 8.0 + 8.0 + 8.0.0-rc.2.23479.6 + 2.1 + 2.1.0 + 8.0.0-rc.2.23479.6 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 8.0.100-rc.2.23502.2 + win-x64 + win-x64 + <_NETCoreSdkIsPreview>true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> + + + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + + + + + + + + + + + + + + + + + + + + + + + + + + 9.0 + 17.8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + <_SourceLinkPropsImported>true + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + + + + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + true + + + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.props + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.props + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + TRACE + + + + + $(DefineConstants);TRACE + + + + + false + + false + + + F# + + {F2A71F9B-5D33-465A-A702-920D77279786} + + false + false + 3 + 3239;$(WarningsAsErrors) + true + true + false + + + + $(WarningsAsErrors);SYSLIB0011 + + + true + false + false + + + false + true + true + + + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsc.dll" + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsi.dll" + + + true + true + + + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + <_FSCorePackageVersionSet>true + 8.0.100-beta.23475.2 + <_FSharpCoreLibraryPacksFolder Condition="'$(_FSharpCoreLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(MSBuildThisFileDirectory)'))library-packs + + + + + 4.4.0 + + + + contentFiles + + + contentFiles + + + + + + + + true + + + + + + + + $(TargetsForTfmSpecificContentInPackage);PackTool + + + + + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + + + + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + + + + + + + + + + + + + + + + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + + + + + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + + + + + + + + + true + + + + + + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + + + + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + + + + + Debug + AnyCPU + $(Platform) + + + + + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) + + false + + + + + + + + + + + + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + + + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + + + + <_UnsupportedTargetFrameworkError>true + + + + + + + + + + true + true + + + + + + + + + + + + + + + + + + + + v0.0 + + + _ + + + + + true + + + + + + + + + + + <_EnableDefaultWindowsPlatform>false + false + + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion->Distinct()) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + + + + + true + true + + + + + + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ + + + + + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** + + + + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + + + + + + true + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RuntimePackInWorkloadVersionCurrent>8.0.0-rc.2.23479.6 + <_RuntimePackInWorkloadVersion7>7.0.12 + <_RuntimePackInWorkloadVersion6>6.0.23 + true + true + true + true + + $(WasmNativeWorkload8) + + + + + true + + + $(WasiNativeWorkloadAvailable) + + + + <_BrowserWorkloadNotSupportedForTFM Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">true + <_BrowserWorkloadDisabled>$(_BrowserWorkloadNotSupportedForTFM) + <_UsingBlazorOrWasmSdk Condition="'$(UsingMicrosoftNETSdkBlazorWebAssembly)' == 'true' or '$(UsingMicrosoftNETSdkWebAssembly)' == 'true'">true + + + + + + + + true + $(WasmNativeWorkload7) + $(WasmNativeWorkload8) + $(WasmNativeWorkload) + false + $(WasmNativeWorkloadAvailable) + + + + <_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded Condition=" '$(WasmEnableLegacyJsInterop)' == 'false' or '$(WasmEnableSIMD)' == 'false' or '$(WasmEnableExceptionHandling)' == 'false' or '$(InvariantTimezone)' == 'true' or ('$(_UsingBlazorOrWasmSdk)' != 'true' and '$(InvariantGlobalization)' == 'true') or '$(WasmNativeStrip)' == 'false'">true + + + <_WasmNativeWorkloadNeeded Condition=" '$(_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded)' == 'true' or '$(RunAOTCompilation)' == 'true' or '$(WasmBuildNative)' == 'true' or '$(WasmGenerateAppBundle)' == 'true' or '$(_UsingBlazorOrWasmSdk)' != 'true'">true + false + true + $(WasmNativeWorkloadAvailable) + + + <_IsAndroidLibraryMode Condition="'$(RuntimeIdentifier)' == 'android-arm64' or '$(RuntimeIdentifier)' == 'android-arm' or '$(RuntimeIdentifier)' == 'android-x64' or '$(RuntimeIdentifier)' == 'android-x86'">true + <_IsAppleMobileLibraryMode Condition="'$(RuntimeIdentifier)' == 'ios-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-x64' or '$(RuntimeIdentifier)' == 'maccatalyst-arm64' or '$(RuntimeIdentifier)' == 'maccatalyst-x64' or '$(RuntimeIdentifier)' == 'tvos-arm64'">true + <_IsiOSLibraryMode Condition="'$(RuntimeIdentifier)' == 'ios-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-x64'">true + <_IsMacCatalystLibraryMode Condition="'$(RuntimeIdentifier)' == 'maccatalyst-arm64' or '$(RuntimeIdentifier)' == 'maccatalyst-x64'">true + <_IstvOSLibraryMode Condition="'$(RuntimeIdentifier)' == 'tvos-arm64'">true + + + true + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersionCurrent) + <_KnownWebAssemblySdkPackVersion>$(_RuntimePackInWorkloadVersionCurrent) + + + + true + 1.0 + + + + + + + + %(RuntimePackRuntimeIdentifiers);wasi-wasm + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + + + $(_KnownWebAssemblySdkPackVersion) + + + + + + + + + + + + + + + + + + + + + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + + + + + + + + + + + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** + + + + + + + + + + + + + + + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + + + + + + + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + + + + true + + + + $(PublishSelfContained) + + + + true + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + $(PublishRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + + + + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + + + + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + true + + + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + + + + + + + + + + + + + + true + true + + + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + + + + + + + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true + + true + + .dll + + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + + + + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + + + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> + + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + + + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets + + $(MSBuildToolsPath)\Microsoft.Common.targets + + + + + + + + + true + + + + Properties + + + $(Configuration.ToUpperInvariant()) + + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.FSharp.DesignTime.targets + + + + + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.targets + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + true + true + true + true + true + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" Condition=" '$(NoStdLib)' != 'true' " /> + + + mscorlib + netcore + netstandard + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildThisFileDirectory)FSharp.Build.dll + + + + + + + + + + + true + true + + + + .fs + F# + Managed + $(Optimize) + Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier) + + RootNamespace + false + $(Prefer32Bit) + + + + true + + + + false + true + + $(FSharpPrefer64BitTools) + $(Fsc_NetFramework_ToolPath) + $(Fsc_NetFramework_AnyCpu_ToolExe) + $(Fsc_NetFramework_PlatformSpecific_ToolExe) + + + + $(Fsc_Dotnet_ToolPath) + $(Fsc_Dotnet_ToolExe) + "$(Fsc_Dotnet_DotnetFscCompilerPath)" + + + + false + true + + + + + + + false + true + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + _ComputeNonExistentFileProperty + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --simpleresolution $(OtherFlags) + $(OtherFlags) + + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + + + + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + + + + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + + + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + + + + + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + + + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + + + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + + + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + + + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + + + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + + + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + + + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + + + + $(PublishDir) + $(ClickOncePublishDir)\ + + + + + $(PlatformTarget) + + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + + + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + + + + false + + + + + true + true + false + + + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + + + .winmd; + .dll; + .exe + + + + .pdb; + .xml; + .pri; + .dll.config; + .exe.config + + + Full + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + + + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + + + + + true + + + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + + + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + + + + x86 + + + + + + + + + + BeforeBuild; + CoreBuild; + AfterBuild + + + + + + + + + + + BuildOnlySettings; + PrepareForBuild; + PreBuildEvent; + ResolveReferences; + PrepareResources; + ResolveKeySource; + Compile; + ExportWindowsMDFile; + UnmanagedUnregistration; + GenerateSerializationAssemblies; + CreateSatelliteAssemblies; + GenerateManifests; + GetTargetPath; + PrepareForRun; + UnmanagedRegistration; + IncrementalClean; + PostBuildEvent + + + + + + + + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + + BeforeRebuild; + Clean; + $(_ProjectDefaultTargets); + AfterRebuild; + + + BeforeRebuild; + Clean; + Build; + AfterRebuild; + + + + + + + + + + Build + + + + + + + + + + + Build + + + + + + + + + + + Build + + + + + + + + + + + + + + + + + + + + + + + false + + + + true + + + + + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + + + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + + + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + + + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + + + + + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + BeforeResolveReferences; + AssignProjectConfiguration; + ResolveProjectReferences; + FindInvalidProjectReferences; + ResolveNativeReferences; + ResolveAssemblyReferences; + GenerateBindingRedirects; + GenerateBindingRedirectsUpdateAppConfig; + ResolveComReferences; + AfterResolveReferences + + + + + + + + + + + + false + + + + + + + true + true + false + + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + + + + + + + + + + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + + + + true + + + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + + + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + + + + + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + + true + + + + + + + + + + + + + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + + + + + + + + + + + + + + + + + + + + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + + + + %(AnnotatedProjects.UndefineProperties);TargetFramework + + + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained + + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + @(_TargetFrameworkInfo->'%(IsRidAgnostic)') + + true + $(Platform) + $(Platforms) + + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) + + $(IsRidAgnostic) + true + false + + + + + + + + + AssignProjectConfiguration; + _SplitProjectReferencesByFileExistence; + _GetProjectReferenceTargetFrameworkProperties; + _GetProjectReferencePlatformProperties + + + + + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + + + + + + + + + + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + + + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + + + + $(GetTargetPathDependsOn) + + + + + $(GetTargetPathDependsOn) + + + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + + + + + + %(_ApplicationManifestFinal.FullPath) + + + + + + + + + + + + + + + + + + ResolveProjectReferences; + FindInvalidProjectReferences; + GetFrameworkPaths; + GetReferenceAssemblyPaths; + PrepareForBuild; + ResolveSDKReferences; + ExpandSDKReferences; + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + + + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + + + + + true + + + + + false + true + + + + + + + + + + + + + + + + + + + + + + + %(FullPath) + + + %(ReferencePath.Identity) + + + + + + + + + + + + + + + <_NewGenerateBindingRedirectsIntermediateAppConfig Condition="Exists('$(_GenerateBindingRedirectsIntermediateAppConfig)')">true + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + + + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + + + + + GetInstalledSDKLocations + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + + + + + GetReferenceTargetPlatformMonikers + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + + + + + + + + ResolveSDKReferences + + + .winmd; + .dll + + + + + + + + + + + + + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + + + {CandidateAssemblyFiles}; + $(ReferencePath); + {HintPathFromItem}; + {TargetFrameworkDirectory}; + {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; + {RawFileName}; + $(TargetDir) + + + + + + GetFrameworkPaths; + GetReferenceAssemblyPaths; + ResolveReferences + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + + + {CandidateAssemblyFiles}; + $(ReferencePath); + {HintPathFromItem}; + {TargetFrameworkDirectory}; + {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; + {RawFileName}; + $(OutDir) + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + + + + false + + + + $(IntermediateOutputPath) + + + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + + + + + + + + $(PrepareResourcesDependsOn); + PrepareResourceNames; + ResGen; + CompileLicxFiles + + + + + + + AssignTargetPaths; + SplitResourcesByCulture; + CreateManifestResourceNames; + CreateCustomManifestResourceNames + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + + + + + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + + + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + + + + + + + + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + + + + + + + + + + + + + + ResolveReferences; + ResolveKeySource; + SetWin32ManifestProperties; + FindReferenceAssembliesForReferences; + _GenerateCompileInputs; + BeforeCompile; + _TimeStampBeforeCompile; + _GenerateCompileDependencyCache; + CoreCompile; + _TimeStampAfterCompile; + AfterCompile; + + + + + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + + + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + + + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + + + + + __NonExistentSubDir__\__NonExistentFile__ + + + + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + + + + _GenerateSatelliteAssemblyInputs; + ComputeIntermediateSatelliteAssemblies; + GenerateSatelliteAssemblies + + + + + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + + + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + + + + + CreateManifestResourceNames + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + + + + $(Win32Manifest) + + + + + + + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + + + + + SetWin32ManifestProperties; + GenerateApplicationManifest; + GenerateDeploymentManifest + + + + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + + + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + + + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + + + + + + + + + + + + + + + + + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + + + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + + + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + + + CleanPublishFolder; + GetCopyToOutputDirectoryItems; + _DeploymentGenerateTrustInfo + $(DeploymentComputeClickOnceManifestInfoDependsOn) + + + + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + + + + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + + + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + + <_ClickOnceNoneItems Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' or '%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems);@(_ClickOnceNoneItems);@(_TransitiveItemsToCopyToOutputDirectory)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + + + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + + + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + + + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + false + + + + + CopyFilesToOutputDirectory + + + + + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + false + + + + + + + + + + + + + + + + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + + true + <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> + AssignProjectConfiguration; + _SplitProjectReferencesByFileExistence + + + AssignTargetPaths; + $(_TargetsThatPrepareProjectReferences); + _GetProjectReferenceTargetFrameworkProperties; + _PopulateCommonStateForGetCopyToOutputDirectoryItems + + + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + + + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_TransitiveItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + + + + + + %(CopyToOutputDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + + + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + + + + + + + + + + + + + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + + + + + + + + + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + + + + + BeforeClean; + UnmanagedUnregistration; + CoreClean; + CleanReferencedProjects; + CleanPublishFolder; + AfterClean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SetGenerateManifests; + Build; + PublishOnly + + + _DeploymentUnpublishable + + + + + + + + + + + + + true + + + + + + SetGenerateManifests; + PublishBuild; + BeforePublish; + GenerateManifests; + CopyFilesToOutputDirectory; + _CopyFilesToPublishFolder; + _DeploymentGenerateBootstrapper; + ResolveKeySource; + _DeploymentSignClickOnceDeployment; + AfterPublish + + + + + + + + + + + BuildOnlySettings; + PrepareForBuild; + ResolveReferences; + PrepareResources; + ResolveKeySource; + GenerateSerializationAssemblies; + CreateSatelliteAssemblies; + + + + + + + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + + + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + + + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + + + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + + + + $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + + + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + + + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + + + + + + + + + + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + + + + + + + + + + + + + $(CommonOutputGroupsDependsOn); + BuildOnlySettings; + PrepareForBuild; + AssignTargetPaths; + ResolveReferences + + + + + + + + $(BuiltProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(DocumentationProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(SGenFilesOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(ReferenceCopyLocalPathsOutputGroupDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + + + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + + + + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> + $(_GenerateRestoreGraphProjectEntryInputProperties); + NuGetRestoreTargets=$(MSBuildThisFileFullPath); + RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); + CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); + CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); + + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> + $(_GenerateRestoreGraphProjectEntryInputProperties); + _RestoreSolutionFileUsed=true; + SolutionDir=$(SolutionDir); + SolutionName=$(SolutionName); + SolutionFileName=$(SolutionFileName); + SolutionPath=$(SolutionPath); + SolutionExt=$(SolutionExt); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + + + + + + + + + + + + + + + + + + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vdproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + + + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + + + + + netcoreapp1.0 + + + + + + + + + + + + + + + + + + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + + + + + true + + + + + + <_RestoreProjectFramework /> + <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + + + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + + <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> + + + + + + $(SolutionDir) + + + + + + + + + + + + + + + + + + + + + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + + + + + + $(MSBuildProjectExtensionsPath) + + + + + + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + + + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + $(NuGetAudit) + $(NuGetAuditLevel) + $(NuGetAuditMode) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + $(WindowsTargetPlatformMinVersion) + + + + + + + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + + + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + + + + + <_RestoreSourcesOverride>$(RestoreSources) + + + + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + + + + + + + + + + + + <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) + + + + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + + + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net8.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + + + + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + true + + + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + + + + + + + + + + $(AdditionalSourcesText) + namespace Microsoft.BuildSettings + [<System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName="$(TargetFrameworkMonikerDisplayName)")>] + do () + + + + + + + <_FsGeneratedTfmAttributesSource Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" /> + + + + + + <_OldRootSdkLocation>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp + $(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\FSharpSdk + <_CoreRelativeSuffix>.NETCore\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_FrameworkRelativeSuffix>.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_PortableRelativeSuffix>.NETPortable\$(TargetFSharpCoreVersion)\FSharp.Core.dll + + <_OldCoreSdkPath>$(_OldRootSdkLocation)\$(_CoreRelativeSuffix) + <_NewCoreSdkPath>$(NewFSharpSdkLocation)\$(_CoreRelativeSuffix) + + <_OldFrameworkSdkPath>$(_OldRootSdkLocation)\$(_FrameworkRelativeSuffix) + <_NewFrameworkSdkPath>$(NewFSharpSdkLocation)\$(_FrameworkRelativeSuffix) + + <_OldPortableSdkPath>$(_OldRootSdkLocation)\$(_PortableRelativeSuffix) + <_NewPortableSdkPath>$(NewFSharpSdkLocation)\$(_PortableRelativeSuffix) + + + + + $(_NewCoreSdkPath) + + + + $(_NewFrameworkSdkPath) + + + + $(_NewPortableSdkPath) + + + + + + <_OldRefAssemTPLocation>Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\Type Providers\FSharp.Data.TypeProviders.dll + <_OldSdkTPLocationPrefix>$(MSBuildProgramFiles32)\Microsoft SDKs\F# + <_OldSdkTPLocationSuffix>Framework\v4.0\FSharp.Data.TypeProviders.dll + + + + + + + + + + + + $(MSBuildProjectFullPath) + + + $(TargetsForTfmSpecificContentInPackage);PackageFSharpDesignTimeTools + + + $(RestoreAdditionalProjectSources);$(_FSharpCoreLibraryPacksFolder) + + + + + + + + + + + fsharp41 + tools + + + + + <_ResolvedOutputFiles Include="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/*" Exclude="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/FSharp.Core.dll;%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/System.ValueTuple.dll" Condition="'%(_ResolvedProjectReferencePaths.IsFSharpDesignTimeProvider)' == 'true'"> + %(_ResolvedProjectReferencePaths.NearestTargetFramework) + + <_ResolvedOutputFiles Include="@(BuiltProjectOutputGroupKeyOutput)" Condition=" '$(IsFSharpDesignTimeProvider)' == 'true' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'FSharp.Core.dll' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'System.ValueTuple.dll' "> + $(TargetFramework) + + + $(FSharpToolsDirectory)/$(FSharpDesignTimeProtocol)/%(_ResolvedOutputFiles.NearestTargetFramework)/%(_ResolvedOutputFiles.FileName)%(_ResolvedOutputFiles.Extension) + + + + + + + true + + + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + + + + true + + + + + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + + + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + + + + + + + TargetFramework + TargetFrameworks + + + true + + + + + + + + + <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath + $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);$(ProjectReferenceTargetsForBuild) + + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) + GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + + $(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForPublish) + $(ProjectReferenceTargetsForRebuild);$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + .default;$(ProjectReferenceTargetsForBuild) + + + Clean;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + + + + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tools\ + net8.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll + + Microsoft.NETCore.App;NETStandard.Library + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + + + + true + + + + + + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true + + false + + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + + + + + $(ResolveAssemblyReferencesDependsOn); + ResolvePackageDependenciesForBuild; + _HandlePackageFileConflicts; + + + ResolvePackageDependenciesForBuild; + _HandlePackageFileConflicts; + $(PrepareResourcesDependsOn) + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + + + + true + + + + + + ResolveLockFileReferences; + ResolveLockFileAnalyzers; + ResolveLockFileCopyLocalFiles; + ResolveRuntimePackAssets; + RunProduceContentAssets; + IncludeTransitiveProjectReferences + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + + + + + + + + + + + true + true + true + true + + + + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc + $(DefaultItemExcludes);**/.DS_Store + + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + + + + + 1.6.1 + + 2.0.3 + + + + + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + + + + + + + + + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + + + + true + + + + + + + + + + + $(ResolveAssemblyReferencesDependsOn); + ResolveTargetingPackAssets; + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + + + + + + + + + + + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + + + + + + true + false + + + + + + + + + + + + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + + + + + + + + + + + + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + + + + + + + + + + + + + + + + <_Parameter1>$(UserSecretsId.Trim()) + + + + + + + + + + $(_IsNETCoreOrNETStandard) + + + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json + + + + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + + + + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + + + + + Microsoft.NETCore.App + + + + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + + + true + + + + false + true + + + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + + + + _CheckForBuildWithNoBuild; + $(CoreBuildDependsOn); + GenerateBuildDependencyFile; + GenerateBuildRuntimeConfigurationFiles + + + + + _SdkBeforeClean; + $(CoreCleanDependsOn) + + + + + _SdkBeforeRebuild; + $(RebuildDependsOn) + + + + + + + + + + + + + + + + + + 1.0.0 + + + + + + + + + + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + + + + + + + + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + + + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + + + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(CompileDependsOn); + _CreateAppHost; + _CreateComHost; + _GetIjwHostPaths; + + + + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + + + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + + + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + + + + + + + + + + + + + + + + + + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + + + + + + + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + + + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + + + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + + + + + + + true + + + true + + + + + + + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + + + + + $(CreateSatelliteAssembliesDependsOn); + CoreGenerateSatelliteAssemblies + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + + + + + + + + + + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + + + + $(CommonOutputGroupsDependsOn); + + + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); + _GenerateDesignerDepsFile; + _GenerateDesignerRuntimeConfigFile; + GetCopyToOutputDirectoryItems; + _GatherDesignerShadowCopyFiles; + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + + + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + + + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(Trademark) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + %(InternalsVisibleTo.PublicKey) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + + + + + + + + $(AssemblyVersion) + $(Version) + + + + + + + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + + + + + + + + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + %(PackageReference.Identity) + %(PackageReference.Version) + + StorePackageName=%(PackageReference.Identity); + StorePackageVersion=%(PackageReference.Version); + ComposeWorkingDir=$(ComposeWorkingDir); + PublishDir=$(PublishDir); + StoreStagingDir=$(StoreStagingDir); + TargetFramework=$(TargetFramework); + RuntimeIdentifier=$(RuntimeIdentifier); + JitPath=$(JitPath); + Crossgen=$(Crossgen); + SkipUnchangedFiles=$(SkipUnchangedFiles); + PreserveStoreLayout=$(PreserveStoreLayout); + CreateProfilingSymbols=$(CreateProfilingSymbols); + StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); + DisableImplicitFrameworkReferences=false; + + + + + + + + + + + + + + + + + + + + + + + <_StoreArtifactContent> +@(ListOfPackageReference) + +]]> + + + + + + + + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + + + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + + + + + + + + + + + + + + + + + + + + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + + + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + + + + + + true + true + + + + + + + + + + + + + + + + + + + + + + true + true + false + true + false + true + 1 + + + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + + + + + + + CrossgenExe=$(Crossgen); + CrossgenJit=$(JitPath); + CrossgenInputAssembly=%(_ManagedResolvedFilesToOptimize.Fullpath); + CrossgenOutputAssembly=$(_RuntimeOptimizedDir)$(DirectorySeparatorChar)%(_ManagedResolvedFilesToOptimize.FileName)%(_ManagedResolvedFilesToOptimize.Extension); + CrossgenSubOutputPath=%(_ManagedResolvedFilesToOptimize.DestinationSubPath); + _RuntimeOptimizedDir=$(_RuntimeOptimizedDir); + PublishDir=$(StoreStagingDir); + CrossgenPlatformAssembliesPath=$(_RuntimeRefDir)$(PathSeparator)$(_NetCoreRefDir); + CreateProfilingSymbols=$(CreateProfilingSymbols); + StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); + _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) + + + + + + + + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + + + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + + + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + + + + + + + + + + + + + + + + + + + + + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + + + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + + + + + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + + + + + + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + + + + + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + + true + true + + + + Always + + + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + + + + + + + <_BeforePublishNoBuildTargets> + BuildOnlySettings; + _PreventProjectReferencesFromBuilding; + ResolveReferences; + PrepareResourceNames; + ComputeIntermediateSatelliteAssemblies; + ComputeEmbeddedApphostPaths; + + <_CorePublishTargets> + PrepareForPublish; + ComputeAndCopyFilesToPublishDirectory; + $(PublishProtocolProviderTargets); + PublishItemsOutputGroup; + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + $(PublishDir)\ + + + + + + + + + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + + + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + + + + + + + true + true + false + + + + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + + + + + + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + + + + + + + + + + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + + + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + + + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + + + + + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + + + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + + + + + + + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + + + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + + + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + + + + + + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + + + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + $(PublishItemsOutputGroupDependsOn); + ResolveReferences; + ComputeResolvedFilesToPublishList; + _ComputeFilesToBundle; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + $(TargetName) + $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) + + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + + + + + + + + + + + + + + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + + + + + + + + + + + + + + + + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(PublicSign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + + + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + + + + + + + + + + + + + + + + Microsoft.CSharp|4.4.0; + Microsoft.Win32.Primitives|4.3.0; + Microsoft.Win32.Registry|4.4.0; + runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple|4.3.0; + runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + System.AppContext|4.3.0; + System.Buffers|4.4.0; + System.Collections|4.3.0; + System.Collections.Concurrent|4.3.0; + System.Collections.Immutable|1.4.0; + System.Collections.NonGeneric|4.3.0; + System.Collections.Specialized|4.3.0; + System.ComponentModel|4.3.0; + System.ComponentModel.EventBasedAsync|4.3.0; + System.ComponentModel.Primitives|4.3.0; + System.ComponentModel.TypeConverter|4.3.0; + System.Console|4.3.0; + System.Data.Common|4.3.0; + System.Diagnostics.Contracts|4.3.0; + System.Diagnostics.Debug|4.3.0; + System.Diagnostics.DiagnosticSource|4.4.0; + System.Diagnostics.FileVersionInfo|4.3.0; + System.Diagnostics.Process|4.3.0; + System.Diagnostics.StackTrace|4.3.0; + System.Diagnostics.TextWriterTraceListener|4.3.0; + System.Diagnostics.Tools|4.3.0; + System.Diagnostics.TraceSource|4.3.0; + System.Diagnostics.Tracing|4.3.0; + System.Dynamic.Runtime|4.3.0; + System.Globalization|4.3.0; + System.Globalization.Calendars|4.3.0; + System.Globalization.Extensions|4.3.0; + System.IO|4.3.0; + System.IO.Compression|4.3.0; + System.IO.Compression.ZipFile|4.3.0; + System.IO.FileSystem|4.3.0; + System.IO.FileSystem.AccessControl|4.4.0; + System.IO.FileSystem.DriveInfo|4.3.0; + System.IO.FileSystem.Primitives|4.3.0; + System.IO.FileSystem.Watcher|4.3.0; + System.IO.IsolatedStorage|4.3.0; + System.IO.MemoryMappedFiles|4.3.0; + System.IO.Pipes|4.3.0; + System.IO.UnmanagedMemoryStream|4.3.0; + System.Linq|4.3.0; + System.Linq.Expressions|4.3.0; + System.Linq.Queryable|4.3.0; + System.Net.Http|4.3.0; + System.Net.NameResolution|4.3.0; + System.Net.Primitives|4.3.0; + System.Net.Requests|4.3.0; + System.Net.Security|4.3.0; + System.Net.Sockets|4.3.0; + System.Net.WebHeaderCollection|4.3.0; + System.ObjectModel|4.3.0; + System.Private.DataContractSerialization|4.3.0; + System.Reflection|4.3.0; + System.Reflection.Emit|4.3.0; + System.Reflection.Emit.ILGeneration|4.3.0; + System.Reflection.Emit.Lightweight|4.3.0; + System.Reflection.Extensions|4.3.0; + System.Reflection.Metadata|1.5.0; + System.Reflection.Primitives|4.3.0; + System.Reflection.TypeExtensions|4.3.0; + System.Resources.ResourceManager|4.3.0; + System.Runtime|4.3.0; + System.Runtime.Extensions|4.3.0; + System.Runtime.Handles|4.3.0; + System.Runtime.InteropServices|4.3.0; + System.Runtime.InteropServices.RuntimeInformation|4.3.0; + System.Runtime.Loader|4.3.0; + System.Runtime.Numerics|4.3.0; + System.Runtime.Serialization.Formatters|4.3.0; + System.Runtime.Serialization.Json|4.3.0; + System.Runtime.Serialization.Primitives|4.3.0; + System.Security.AccessControl|4.4.0; + System.Security.Claims|4.3.0; + System.Security.Cryptography.Algorithms|4.3.0; + System.Security.Cryptography.Cng|4.4.0; + System.Security.Cryptography.Csp|4.3.0; + System.Security.Cryptography.Encoding|4.3.0; + System.Security.Cryptography.OpenSsl|4.4.0; + System.Security.Cryptography.Primitives|4.3.0; + System.Security.Cryptography.X509Certificates|4.3.0; + System.Security.Cryptography.Xml|4.4.0; + System.Security.Principal|4.3.0; + System.Security.Principal.Windows|4.4.0; + System.Text.Encoding|4.3.0; + System.Text.Encoding.Extensions|4.3.0; + System.Text.RegularExpressions|4.3.0; + System.Threading|4.3.0; + System.Threading.Overlapped|4.3.0; + System.Threading.Tasks|4.3.0; + System.Threading.Tasks.Extensions|4.3.0; + System.Threading.Tasks.Parallel|4.3.0; + System.Threading.Thread|4.3.0; + System.Threading.ThreadPool|4.3.0; + System.Threading.Timer|4.3.0; + System.ValueTuple|4.3.0; + System.Xml.ReaderWriter|4.3.0; + System.Xml.XDocument|4.3.0; + System.Xml.XmlDocument|4.3.0; + System.Xml.XmlSerializer|4.3.0; + System.Xml.XPath|4.3.0; + System.Xml.XPath.XDocument|4.3.0; + + + + + Microsoft.Win32.Primitives|4.3.0; + System.AppContext|4.3.0; + System.Collections|4.3.0; + System.Collections.Concurrent|4.3.0; + System.Collections.Immutable|1.4.0; + System.Collections.NonGeneric|4.3.0; + System.Collections.Specialized|4.3.0; + System.ComponentModel|4.3.0; + System.ComponentModel.EventBasedAsync|4.3.0; + System.ComponentModel.Primitives|4.3.0; + System.ComponentModel.TypeConverter|4.3.0; + System.Console|4.3.0; + System.Data.Common|4.3.0; + System.Diagnostics.Contracts|4.3.0; + System.Diagnostics.Debug|4.3.0; + System.Diagnostics.FileVersionInfo|4.3.0; + System.Diagnostics.Process|4.3.0; + System.Diagnostics.StackTrace|4.3.0; + System.Diagnostics.TextWriterTraceListener|4.3.0; + System.Diagnostics.Tools|4.3.0; + System.Diagnostics.TraceSource|4.3.0; + System.Diagnostics.Tracing|4.3.0; + System.Dynamic.Runtime|4.3.0; + System.Globalization|4.3.0; + System.Globalization.Calendars|4.3.0; + System.Globalization.Extensions|4.3.0; + System.IO|4.3.0; + System.IO.Compression|4.3.0; + System.IO.Compression.ZipFile|4.3.0; + System.IO.FileSystem|4.3.0; + System.IO.FileSystem.DriveInfo|4.3.0; + System.IO.FileSystem.Primitives|4.3.0; + System.IO.FileSystem.Watcher|4.3.0; + System.IO.IsolatedStorage|4.3.0; + System.IO.MemoryMappedFiles|4.3.0; + System.IO.Pipes|4.3.0; + System.IO.UnmanagedMemoryStream|4.3.0; + System.Linq|4.3.0; + System.Linq.Expressions|4.3.0; + System.Linq.Queryable|4.3.0; + System.Net.Http|4.3.0; + System.Net.NameResolution|4.3.0; + System.Net.Primitives|4.3.0; + System.Net.Requests|4.3.0; + System.Net.Security|4.3.0; + System.Net.Sockets|4.3.0; + System.Net.WebHeaderCollection|4.3.0; + System.ObjectModel|4.3.0; + System.Private.DataContractSerialization|4.3.0; + System.Reflection|4.3.0; + System.Reflection.Emit|4.3.0; + System.Reflection.Emit.ILGeneration|4.3.0; + System.Reflection.Emit.Lightweight|4.3.0; + System.Reflection.Extensions|4.3.0; + System.Reflection.Primitives|4.3.0; + System.Reflection.TypeExtensions|4.3.0; + System.Resources.ResourceManager|4.3.0; + System.Runtime|4.3.0; + System.Runtime.Extensions|4.3.0; + System.Runtime.Handles|4.3.0; + System.Runtime.InteropServices|4.3.0; + System.Runtime.InteropServices.RuntimeInformation|4.3.0; + System.Runtime.Loader|4.3.0; + System.Runtime.Numerics|4.3.0; + System.Runtime.Serialization.Formatters|4.3.0; + System.Runtime.Serialization.Json|4.3.0; + System.Runtime.Serialization.Primitives|4.3.0; + System.Security.AccessControl|4.4.0; + System.Security.Claims|4.3.0; + System.Security.Cryptography.Algorithms|4.3.0; + System.Security.Cryptography.Csp|4.3.0; + System.Security.Cryptography.Encoding|4.3.0; + System.Security.Cryptography.Primitives|4.3.0; + System.Security.Cryptography.X509Certificates|4.3.0; + System.Security.Cryptography.Xml|4.4.0; + System.Security.Principal|4.3.0; + System.Security.Principal.Windows|4.4.0; + System.Text.Encoding|4.3.0; + System.Text.Encoding.Extensions|4.3.0; + System.Text.RegularExpressions|4.3.0; + System.Threading|4.3.0; + System.Threading.Overlapped|4.3.0; + System.Threading.Tasks|4.3.0; + System.Threading.Tasks.Extensions|4.3.0; + System.Threading.Tasks.Parallel|4.3.0; + System.Threading.Thread|4.3.0; + System.Threading.ThreadPool|4.3.0; + System.Threading.Timer|4.3.0; + System.ValueTuple|4.3.0; + System.Xml.ReaderWriter|4.3.0; + System.Xml.XDocument|4.3.0; + System.Xml.XmlDocument|4.3.0; + System.Xml.XmlSerializer|4.3.0; + System.Xml.XPath|4.3.0; + System.Xml.XPath.XDocument|4.3.0; + + + + + + + + + + + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + + + + + + + + + + + + + + + + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + + + + + + + + + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + + + + + + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + + + + + + true + + + + true + + + + 7.0 + + + + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + + + + + + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll + + + + + + + + + + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) + + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + + + + + + + + + + $(TargetPlatformMoniker) + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + + + + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + + + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + + + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + + + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + + + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + + + + \ No newline at end of file diff --git a/MSBuild.CompilerCache/TargetsExtractionUtils.cs b/MSBuild.CompilerCache/TargetsExtractionUtils.cs index bf22502..a54778a 100644 --- a/MSBuild.CompilerCache/TargetsExtractionUtils.cs +++ b/MSBuild.CompilerCache/TargetsExtractionUtils.cs @@ -142,6 +142,7 @@ private static string[] SplitItemList(string value) => public static DecomposedCompilerProps DecomposeCompilerProps(IDictionary props, TaskLoggingHelper? log = null) { + using var activity = Tracing.Source.StartActivity("DecomposeCompilerProps"); var relevant = props .Select(kvp => diff --git a/MSBuild.CompilerCache/Tracing.cs b/MSBuild.CompilerCache/Tracing.cs index e69de29..b6003de 100644 --- a/MSBuild.CompilerCache/Tracing.cs +++ b/MSBuild.CompilerCache/Tracing.cs @@ -0,0 +1,55 @@ +using System.Diagnostics; + +namespace MSBuild.CompilerCache; + +internal static class Tracing +{ + public const string ServiceName = "MSBuild.CompilerCache"; + public static readonly ActivitySource Source = new ActivitySource(ServiceName); + + public static Activity? Start(string name) => Source.StartActivity(name); + + public static ActivityWithMetrics? StartWithMetrics(string name) + { + var activity = Source.StartActivity(name); + if (activity != null) + { + return new ActivityWithMetrics(activity); + } + else + { + return null; + } + } +} + +public sealed class ActivityWithMetrics : IDisposable +{ + private readonly JitMetrics _jitStart; + private readonly GCStats _gcStart; + public Activity Activity { get; } + + public ActivityWithMetrics(Activity activity) + { + Activity = activity; + _jitStart = JitMetrics.CreateFromCurrentState(); + _gcStart = GCStats.CreateFromCurrentState(); + } + + public void Dispose() + { + var jitEnd = JitMetrics.CreateFromCurrentState(); + var jit = jitEnd.Subtract(_jitStart); + var gcEnd = GCStats.CreateFromCurrentState(); + Activity.SetTag("jit.compilationTime", jitEnd.CompilationTimeMs); + Activity.SetTag("jit.methodCount", jitEnd.MethodCount); + Activity.SetTag("jit.compiledILBytes", jitEnd.CompiledILBytes); + Activity.SetTag("gc.allocated", gcEnd.AllocatedBytes - _gcStart.AllocatedBytes); + Activity.Dispose(); + } + + public void SetTag(string key, object value) + { + Activity.SetTag(key, value); + } +} \ No newline at end of file From 535a7ecd075d82c433887f49d9a51e0a504e78db Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Fri, 17 Nov 2023 19:47:41 +0000 Subject: [PATCH 24/29] metrics... --- MSBuild.CompilerCache.Benchmarks/Program.cs | 2 +- MSBuild.CompilerCache.Tests/PerfTests.cs | 4 +- .../CacheBaseLoggingDecorator.cs | 64 +++++++++++++++++++ .../CompilationResultsCache.cs | 5 ++ MSBuild.CompilerCache/CompilerCacheLocate.cs | 58 +++++++++++++++-- .../CompilerCachePopulateCache.cs | 1 + MSBuild.CompilerCache/ICacheBase.cs | 26 ++++---- MSBuild.CompilerCache/JitGcMetrics.cs | 9 +++ MSBuild.CompilerCache/LocatorAndPopulator.cs | 52 +++++++++------ MSBuild.CompilerCache/RefCache.cs | 3 + MSBuild.CompilerCache/TimeCounter.cs | 23 +++++++ MSBuild.CompilerCache/Tracing.cs | 6 +- 12 files changed, 210 insertions(+), 43 deletions(-) create mode 100644 MSBuild.CompilerCache/CacheBaseLoggingDecorator.cs create mode 100644 MSBuild.CompilerCache/JitGcMetrics.cs create mode 100644 MSBuild.CompilerCache/TimeCounter.cs diff --git a/MSBuild.CompilerCache.Benchmarks/Program.cs b/MSBuild.CompilerCache.Benchmarks/Program.cs index cdfc1a2..82842ed 100644 --- a/MSBuild.CompilerCache.Benchmarks/Program.cs +++ b/MSBuild.CompilerCache.Benchmarks/Program.cs @@ -33,7 +33,7 @@ public void HashCalculationPerfTest() var decomposed = TargetsExtractionUtils.DecomposeCompilerProps(inputs.AllProps); var memCache = new DictionaryBasedCache(); var refCacheFileBased = new RefCache("c:/projekty/.refcache"); - var refCache = new CacheCombiner(memCache, refCacheFileBased); + var refCache = CacheCombiner.Combine(memCache, refCacheFileBased); var refTrimmingConfig = new RefTrimmingConfig(); void Act() diff --git a/MSBuild.CompilerCache.Tests/PerfTests.cs b/MSBuild.CompilerCache.Tests/PerfTests.cs index 601f465..a3a1f01 100644 --- a/MSBuild.CompilerCache.Tests/PerfTests.cs +++ b/MSBuild.CompilerCache.Tests/PerfTests.cs @@ -17,10 +17,10 @@ public void HashCalculationPerfTest() var sw = Stopwatch.StartNew(); var fileHashCache = new FileHashCache(".filehashcache", TestUtils.DefaultHasher); var inMemoryFileHashCache = new DictionaryBasedCache(); - var combinedFileHashCache = new CacheCombiner(inMemoryFileHashCache, fileHashCache); + var combinedFileHashCache = CacheCombiner.Combine(inMemoryFileHashCache, fileHashCache); var inMemoryRefCache = new InMemoryRefCache(); var refCache = new RefCache(".refcache"); - var combinedRefCache = new CacheCombiner(inMemoryRefCache, refCache); + var combinedRefCache = CacheCombiner.Combine(inMemoryRefCache, refCache); // var refCacheDir = new DisposableDir(); for (int i = 0; i < 20; i++) diff --git a/MSBuild.CompilerCache/CacheBaseLoggingDecorator.cs b/MSBuild.CompilerCache/CacheBaseLoggingDecorator.cs new file mode 100644 index 0000000..85f6851 --- /dev/null +++ b/MSBuild.CompilerCache/CacheBaseLoggingDecorator.cs @@ -0,0 +1,64 @@ +using System.Diagnostics; + +namespace MSBuild.CompilerCache; + +public class CacheBaseLoggingDecorator : ICacheBase where TValue : class +{ + private readonly ICacheBase _cache; + private readonly CacheIncStats _stats; + + // TODO synchronisation + public CacheIncStats Stats => _stats; + + public CacheBaseLoggingDecorator(ICacheBase cache) + { + _cache = cache; + _stats = new CacheIncStats(); + } + + public bool Exists(TKey key) + { + return _cache.Exists(key); + } + + public async Task GetAsync(TKey key) + { + var sw = Stopwatch.StartNew(); + var res = await _cache.GetAsync(key); + sw.Stop(); + lock (_stats) + { + _stats.Get.Count++; + if(res != null) _stats.Get.Hits++; + else _stats.Get.Misses++; + _stats.Get.Time.Add(sw.Elapsed); + } + + return res; + } + + public async Task SetAsync(TKey key, TValue value) + { + var sw = Stopwatch.StartNew(); + var didSet = await _cache.SetAsync(key, value); + sw.Stop(); + lock (_stats) + { + _stats.Set.Count++; + if(didSet) _stats.Set.Hits++; + else _stats.Set.Misses++; + _stats.Set.Time.Add(sw.Elapsed); + } + + return didSet; + } +} + +public static class CacheBaseLoggingDecoratorExtensions +{ + public static CacheBaseLoggingDecorator WithLogging(this ICacheBase cache) + where TValue : class + { + return new CacheBaseLoggingDecorator(cache); + } +} diff --git a/MSBuild.CompilerCache/CompilationResultsCache.cs b/MSBuild.CompilerCache/CompilationResultsCache.cs index fc7fa55..54a6539 100644 --- a/MSBuild.CompilerCache/CompilationResultsCache.cs +++ b/MSBuild.CompilerCache/CompilationResultsCache.cs @@ -34,6 +34,11 @@ public record FileExtract2(string? ContentHash); [JsonSourceGenerationOptions(WriteIndented = true)] public partial class FileExtractsJsonContext : JsonSerializerContext; +public class CompilationResultsCacheMetrics +{ + +} + /// /// All compilation inputs, used to generate a hash for caching. /// diff --git a/MSBuild.CompilerCache/CompilerCacheLocate.cs b/MSBuild.CompilerCache/CompilerCacheLocate.cs index 9ca3bd9..8ad1c5d 100644 --- a/MSBuild.CompilerCache/CompilerCacheLocate.cs +++ b/MSBuild.CompilerCache/CompilerCacheLocate.cs @@ -17,23 +17,65 @@ public record JitMetrics(double CompilationTimeMs, long MethodCount, long Compil public static JitMetrics CreateFromCurrentState() => new JitMetrics(JitInfo.GetCompilationTime().TotalMilliseconds, JitInfo.GetCompiledMethodCount(), JitInfo.GetCompiledILBytes()); public JitMetrics Subtract(JitMetrics other) => new JitMetrics(CompilationTimeMs - other.CompilationTimeMs, MethodCount - other.MethodCount, CompiledILBytes - other.CompiledILBytes); + + public JitMetrics Add(JitMetrics otherJit) => new JitMetrics(CompilationTimeMs + otherJit.CompilationTimeMs, MethodCount + otherJit.MethodCount, CompiledILBytes + otherJit.CompiledILBytes); } public record GCStats(long AllocatedBytes) { public static GCStats CreateFromCurrentState() => new(GC.GetTotalAllocatedBytes()); public GCStats Subtract(GCStats other) => new GCStats(AllocatedBytes - other.AllocatedBytes); + + public GCStats Add(GCStats otherGc) => new(AllocatedBytes + otherGc.AllocatedBytes); +} + +public record GenericMetrics(JitGcMetrics JitGc, StartEnd Times); + +public class GenericMetricsCreator +{ + private readonly (DateTime, Stopwatch) _start = StartEnd.Init(); + private readonly JitGcMetrics _startJitGc = JitGcMetrics.FromCurrentState(); + + public GenericMetrics Create() => new GenericMetrics(_startJitGc.DiffWithCurrentState(), StartEnd.CreateFromStart(_start)); +} + +public record StartEnd(DateTime Start, DateTime End, TimeSpan Duration) +{ + public static StartEnd CreateFromStart((DateTime start, Stopwatch sw) x) => new(x.start, DateTime.Now, x.sw.Elapsed); + public static (DateTime, Stopwatch) Init() => (DateTime.Now, Stopwatch.StartNew()); } +public record LocateMetrics(GenericMetrics Generic, LocateOutcome Outcome); +public record PopulateMetrics(GenericMetrics Generic); + /// /// Per-project metrics used for cache efficiency & efficiency analysis. /// public class CompilationMetrics { - public string ProjectFullPath { get; } - public double DurationMs { get; } - public JitMetrics JitMetrics { get; } - public GCStats GcStats { get; } + public string ProjectFullPath { get; set; } + public TimeSpan TotalTime => Locate.Generic.Times.Duration + Populate.Generic.Times.Duration; + public CacheIncStats RefCacheStats { get; set; } + public CacheIncStats FileHashCacheStats { get; set; } + public LocateMetrics Locate { get; set; } + public PopulateMetrics Populate { get; set; } +} + +public class MetricsCollector +{ + public void StartLocateTask(){} + + public void EndLocateTask(LocateResult locateResult) + { + } + + public void StartPopulateTask() + { + } + + public void EndPopulateTask(){} + + public void Collect(){} } // ReSharper disable once UnusedType.Global @@ -89,6 +131,8 @@ private InMemoryCaches GetInMemoryCaches() public override bool Execute() { + var collector = new MetricsCollector(); + collector.StartLocateTask(); using var otel = SetupOtelIfEnabled(); using var activity = Tracing.StartWithMetrics("CompilerCacheLocate"); var guid = System.Guid.NewGuid(); @@ -97,7 +141,7 @@ public override bool Execute() Log.LogWarning($"GCMode = {GCSettings.LatencyMode} Server = {GCSettings.IsServerGC} lohcm={GCSettings.LargeObjectHeapCompactionMode}"); var sw = Stopwatch.StartNew(); var (inMemoryRefCache, fileHashCache) = GetInMemoryCaches(); - var locator = new LocatorAndPopulator(inMemoryRefCache, fileHashCache); + var locator = new LocatorAndPopulator(inMemoryRefCache, fileHashCache, collector); var inputs = GatherInputs(); void LogTime(string name) => Log.LogMessage($"[{sw.ElapsedMilliseconds}ms] {name}"); @@ -108,6 +152,10 @@ public override bool Execute() BuildEngine4.RegisterTaskObject(guid.ToString(), locator, RegisteredTaskObjectLifetime.Build, false); Log.LogMessage($"Locate - registered {nameof(LocatorAndPopulator)} object at Guid key {guid}"); } + else + { + locator.Dispose(); + } RunCompilation = results.RunCompilation; PopulateCache = results.PopulateCache; LocateResult = results; diff --git a/MSBuild.CompilerCache/CompilerCachePopulateCache.cs b/MSBuild.CompilerCache/CompilerCachePopulateCache.cs index c593d76..bc45170 100644 --- a/MSBuild.CompilerCache/CompilerCachePopulateCache.cs +++ b/MSBuild.CompilerCache/CompilerCachePopulateCache.cs @@ -26,6 +26,7 @@ public override bool Execute() BuildEngine4.UnregisterTaskObject(Guid, RegisteredTaskObjectLifetime.Build) ?? throw new Exception($"Could not find registered task object for {nameof(LocatorAndPopulator)} from the Locate task, using key {Guid}"); var locator = _locator as LocatorAndPopulator ?? throw new Exception("Cached result is of unexpected type"); + locator.MetricsCollector.StartPopulateTask(); var sw = Stopwatch.StartNew(); void LogTime(string name) => Log.LogMessage($"[{sw.ElapsedMilliseconds}ms] {name}"); UseOrPopulateResult result = locator.PopulateCacheOrJustDispose(Log, LogTime, CompilationSucceeded).GetAwaiter().GetResult(); diff --git a/MSBuild.CompilerCache/ICacheBase.cs b/MSBuild.CompilerCache/ICacheBase.cs index 6a944a1..744f09e 100644 --- a/MSBuild.CompilerCache/ICacheBase.cs +++ b/MSBuild.CompilerCache/ICacheBase.cs @@ -4,17 +4,19 @@ public interface ICacheBase where TValue : class { bool Exists(TKey key); Task GetAsync(TKey key); - bool Set(TKey key, TValue value) => SetAsync(key, value).GetAwaiter().GetResult(); Task SetAsync(TKey key, TValue value); +} - sealed async Task GetOrSet(TKey key, Func creator) - { - var value = await GetAsync(key); - if (value == null) - { - value = creator(key); - await SetAsync(key, value); - } - return value; - } -} \ No newline at end of file +public class CacheIncStats +{ + public OperationStats Get { get; } = new(); + public OperationStats Set { get; } = new(); +} + +public class OperationStats +{ + public int Count { get; set; } + public int Hits { get; set; } + public int Misses { get; set; } + public TimeCounter Time { get; set; } +} diff --git a/MSBuild.CompilerCache/JitGcMetrics.cs b/MSBuild.CompilerCache/JitGcMetrics.cs new file mode 100644 index 0000000..de66b66 --- /dev/null +++ b/MSBuild.CompilerCache/JitGcMetrics.cs @@ -0,0 +1,9 @@ +namespace MSBuild.CompilerCache; + +public record JitGcMetrics(JitMetrics Jit, GCStats Gc) +{ + public static JitGcMetrics FromCurrentState() => new JitGcMetrics(JitMetrics.CreateFromCurrentState(), GCStats.CreateFromCurrentState()); + public JitGcMetrics Subtract(JitGcMetrics other) => new JitGcMetrics(Jit.Subtract(other.Jit), Gc.Subtract(other.Gc)); + public JitGcMetrics Add(JitGcMetrics other) => new JitGcMetrics(Jit.Add(other.Jit), Gc.Add(other.Gc)); + public JitGcMetrics DiffWithCurrentState() => Subtract(FromCurrentState()); +} \ No newline at end of file diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index 852d213..6ab38ce 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -55,7 +55,8 @@ public class LocatorAndPopulator : IDisposable { private readonly IRefCache _inMemoryRefCache; - private (Config config, ICompilationResultsCache Cache, IRefCache RefCache, IFileHashCache FileHashCache, IHash) + private (Config config, CompilationResultsCache cache, CacheBaseLoggingDecorator loggingRefCache, + CacheBaseLoggingDecorator combinedRefCache, CacheBaseLoggingDecorator fileHashCache, IHash hasher) CreateCaches(string configPath, Action? logTime = null) { @@ -64,16 +65,17 @@ public class LocatorAndPopulator : IDisposable //logTime?.Invoke("Config deserialized"); var cache = new CompilationResultsCache(config.CacheDir); var refCache = new RefCache(config.InferRefCacheDir()); - var combinedRefCache = CacheCombiner.Combine(_inMemoryRefCache, refCache); + var loggingRefCache = refCache.WithLogging(); + var combinedRefCache = CacheCombiner.Combine(_inMemoryRefCache, loggingRefCache).WithLogging(); //logTime?.Invoke("Finish"); var hasher = HasherFactory.CreateHash(config.Hasher); var fileBasedFileHashCache = new FileHashCache(config.InferFileHashCacheDir(), hasher); - var fileHashCache = new CacheCombiner(_inMemoryFileHashCache, fileBasedFileHashCache); - return (config, cache, combinedRefCache, fileHashCache, hasher); + var fileHashCache = CacheCombiner.Combine(_inMemoryFileHashCache, fileBasedFileHashCache).WithLogging(); + return (config, cache, loggingRefCache, combinedRefCache, fileHashCache, hasher); } // These fields are populated in the 'Locate' call and used in a subsequent 'Populate' call - private IRefCache _refCache; + private CacheBaseLoggingDecorator _refCache; private ICompilationResultsCache _cache; private Config _config; private DecomposedCompilerProps _decomposed; @@ -83,13 +85,17 @@ public class LocatorAndPopulator : IDisposable private CacheKey _cacheKey; private LocalInputs _localInputs; private readonly IFileHashCache _inMemoryFileHashCache; - private ICacheBase _fileHashCache; + private CacheBaseLoggingDecorator _fileHashCache; private IHash _hasher; + private CacheBaseLoggingDecorator _loggingRefCache; + public MetricsCollector MetricsCollector { get; } - public LocatorAndPopulator(IRefCache? inMemoryRefCache = null, IFileHashCache? inMemoryFileHashCache = null) + public LocatorAndPopulator(IRefCache inMemoryRefCache, IFileHashCache inMemoryFileHashCache, + MetricsCollector metricsMetricsCollector) { - _inMemoryRefCache = inMemoryRefCache ?? new DictionaryBasedCache(); - _inMemoryFileHashCache = inMemoryFileHashCache ?? new DictionaryBasedCache(); + _inMemoryRefCache = inMemoryRefCache; + _inMemoryFileHashCache = inMemoryFileHashCache; + MetricsCollector = metricsMetricsCollector; } public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, Action logTime = null) @@ -109,12 +115,12 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A return _locateResult; } - (_config, _cache, _refCache, _fileHashCache, _hasher) = CreateCaches(inputs.ConfigPath, logTime); + (_config, _cache, _loggingRefCache, _refCache, _fileHashCache, _hasher) = CreateCaches(inputs.ConfigPath, logTime); + _assemblyName = inputs.AssemblyName; _localInputs = CalculateLocalInputs(logTime); _extract = _localInputs.ToSlim().ToFullExtract(); var extractBytes = JsonSerializer.SerializeToUtf8Bytes(_extract, FullExtractJsonContext.Default.FullExtract); - File.WriteAllBytes("c:/projekty/dwa.json", extractBytes); var hashString = Utils.BytesToHash(extractBytes, _hasher); _cacheKey = GenerateKey(inputs, hashString); @@ -162,11 +168,14 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A DecomposedCompilerProps: _decomposed ); //logTime?.Invoke("end"); + + MetricsCollector.EndLocateTask(_locateResult); + return _locateResult; } private LocalInputs CalculateLocalInputs(Action? logTime = null) => - CalculateLocalInputs(_decomposed, _refCache, _assemblyName, _config.RefTrimming, _fileHashCache, _hasher, + CalculateLocalInputs(_decomposed, _loggingRefCache, _assemblyName, _config.RefTrimming, _fileHashCache, _hasher, logTime); public static async Task ProcessSourceFile(string relativePath, IFileHashCache fileHashCache, @@ -257,18 +266,18 @@ internal static LocalInputs CalculateLocalInputs(DecomposedCompilerProps decompo } var fileTasks = - fileInputs.Select(f => (Func>)(() => ProcessSourceFile(f, fileHashCache, hasher))); - var refTasks = references.Select(r => (Func>)(() => - ProcessReference(r, compilingAssemblyName, fileHashCache, refCache, trimmingConfig, hasher))); + fileInputs.Select(f => (Func)(() => ProcessSourceFile(f, fileHashCache, hasher).GetAwaiter().GetResult())); + var refTasks = references.Select(r => (Func)(() => + ProcessReference(r, compilingAssemblyName, fileHashCache, refCache, trimmingConfig, hasher).GetAwaiter().GetResult())); var allTaskFuncs = fileTasks.Concat(refTasks).ToArray(); - var allTasks = + var allItems = allTaskFuncs - .Chunk(20) + .Chunk(50) .AsParallel() .AsOrdered() - .SelectMany(taskFuncs => taskFuncs.Select(tf => tf())) + .WithDegreeOfParallelism(3) + .SelectMany(taskFuncs => taskFuncs.Select(t => t()).ToArray()) .ToArray(); - var allItems = Task.WhenAll(allTasks).GetAwaiter().GetResult(); //logTime?.Invoke("ref extracts done"); @@ -463,7 +472,6 @@ public static async Task BuildOutputsZip(DirectoryInfo baseTmpDir, Out var objectToHash = metadata.LocalInputs.ToFullExtract(); var extractBytes = JsonSerializer.SerializeToUtf8Bytes(objectToHash, FullExtractJsonContext.Default.FullExtract); - File.WriteAllBytes("c:/projekty/raz.json", extractBytes); var hashForFileName = Utils.BytesToHash(extractBytes, hasher); var outputExtracts = items.Select(i => new FileExtract(i.Item.Name, i.BytesHashString, i.Length)).ToArray(); @@ -515,6 +523,7 @@ public async Task PopulateCacheOrJustDispose(TaskLoggingHel finally { Dispose(); + MetricsCollector.EndPopulateTask(); } } @@ -534,6 +543,9 @@ public void Dispose() // This is a best effort attempt to clean up files. } } + _localInputs = null; } + + MetricsCollector.Collect(); } } diff --git a/MSBuild.CompilerCache/RefCache.cs b/MSBuild.CompilerCache/RefCache.cs index 7cb457e..e936a58 100644 --- a/MSBuild.CompilerCache/RefCache.cs +++ b/MSBuild.CompilerCache/RefCache.cs @@ -1,9 +1,12 @@ using System.Text.Json; +using Microsoft.Build.Framework; namespace MSBuild.CompilerCache; using IRefCache = ICacheBase; + + /// /// File-based implementation of for storing information about trimmed dlls and their hashes. /// Stores all entries in a single directory, one .json file per entry. diff --git a/MSBuild.CompilerCache/TimeCounter.cs b/MSBuild.CompilerCache/TimeCounter.cs new file mode 100644 index 0000000..5426281 --- /dev/null +++ b/MSBuild.CompilerCache/TimeCounter.cs @@ -0,0 +1,23 @@ +namespace MSBuild.CompilerCache; + +public class TimeCounter +{ + private double _totalMilliseconds = 0; + private readonly object _lock = new object(); + + public void Add(TimeSpan ts) + { + lock (_lock) + { + _totalMilliseconds += ts.TotalMilliseconds; + } + } + + public TimeSpan Total() + { + lock(_lock) + { + return TimeSpan.FromMilliseconds(_totalMilliseconds); + } + } +} \ No newline at end of file diff --git a/MSBuild.CompilerCache/Tracing.cs b/MSBuild.CompilerCache/Tracing.cs index b6003de..72f8265 100644 --- a/MSBuild.CompilerCache/Tracing.cs +++ b/MSBuild.CompilerCache/Tracing.cs @@ -41,9 +41,9 @@ public void Dispose() var jitEnd = JitMetrics.CreateFromCurrentState(); var jit = jitEnd.Subtract(_jitStart); var gcEnd = GCStats.CreateFromCurrentState(); - Activity.SetTag("jit.compilationTime", jitEnd.CompilationTimeMs); - Activity.SetTag("jit.methodCount", jitEnd.MethodCount); - Activity.SetTag("jit.compiledILBytes", jitEnd.CompiledILBytes); + Activity.SetTag("jit.compilationTime", jit.CompilationTimeMs); + Activity.SetTag("jit.methodCount", jit.MethodCount); + Activity.SetTag("jit.compiledILBytes", jit.CompiledILBytes); Activity.SetTag("gc.allocated", gcEnd.AllocatedBytes - _gcStart.AllocatedBytes); Activity.Dispose(); } From 665df115d33633421399e9cca38b42dcf09a2816 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sat, 18 Nov 2023 16:24:05 +0000 Subject: [PATCH 25/29] WIP --- MSBuild.CompilerCache.Benchmarks/Program.cs | 2 +- .../InMemoryTaskBasedTests.cs | 6 +- MSBuild.CompilerCache.Tests/PerfTests.cs | 2 +- .../TestOutputBuildAndCache.cs | 2 +- MSBuild.CompilerCache.Tests/TrimmingTests.cs | 2 +- MSBuild.CompilerCache/CompilerCacheLocate.cs | 14 ++- MSBuild.CompilerCache/FileHashCache.cs | 2 +- MSBuild.CompilerCache/ICacheBase.cs | 2 +- MSBuild.CompilerCache/LocatorAndPopulator.cs | 114 +++++++++++++----- MSBuild.CompilerCache/TimeCounter.cs | 3 + 10 files changed, 109 insertions(+), 40 deletions(-) diff --git a/MSBuild.CompilerCache.Benchmarks/Program.cs b/MSBuild.CompilerCache.Benchmarks/Program.cs index 82842ed..384711b 100644 --- a/MSBuild.CompilerCache.Benchmarks/Program.cs +++ b/MSBuild.CompilerCache.Benchmarks/Program.cs @@ -39,7 +39,7 @@ public void HashCalculationPerfTest() void Act() { var hasher = HasherFactory.CreateHash(HasherType.XxHash64); - var inputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, refCache, "assembly", refTrimmingConfig, new DictionaryBasedCache(), hasher); + var inputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, refCache, "assembly", refTrimmingConfig, new DictionaryBasedCache(), hasher, null); if (inputs.Files.Length == 0) throw new Exception(); } diff --git a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs index 3595e95..edc66f2 100644 --- a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs +++ b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs @@ -66,9 +66,9 @@ public static All AllFromInputs(LocateInputs inputs, IRefCache refCache) { var decomposed = TargetsExtractionUtils.DecomposeCompilerProps(inputs.AllProps); var localInputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, refCache, compilingAssemblyName: "", - trimmingConfig: new RefTrimmingConfig(), fileHashCache: new DictionaryBasedCache(), hasher: TestUtils.DefaultHasher); + trimmingConfig: new RefTrimmingConfig(), fileHashCache: new DictionaryBasedCache(), hasher: TestUtils.DefaultHasher, counters: null); var extract = localInputs.ToSlim().ToFullExtract(); - var jsonBytes = JsonSerializer.SerializeToUtf8Bytes(extract, FullExtractJsonContext.Default.FullExtract); + var jsonBytes = JsonSerializerExt.SerializeToUtf8Bytes(extract, null, FullExtractJsonContext.Default.FullExtract); var hashString = Utils.BytesToHash(jsonBytes, TestUtils.DefaultHasher); var cacheKey = LocatorAndPopulator.GenerateKey(inputs, hashString); @@ -128,7 +128,7 @@ public async Task SimpleCacheHitTest() var refCache = new RefCache(tmpDir.Dir.CombineAsDir(".refcache").FullName); var all = AllFromInputs(inputs, refCache); var hasher = TestUtils.DefaultHasher; - var outputData = await Task.WhenAll(outputItems.Select(i => LocatorAndPopulator.GatherSingleOutputData(i, hasher)).ToArray()); + var outputData = await Task.WhenAll(outputItems.Select(i => LocatorAndPopulator.GatherSingleOutputData(i, hasher, null)).ToArray()); var zip = await LocatorAndPopulator.BuildOutputsZip(tmpDir.Dir, outputData, new AllCompilationMetadata(null, all.LocalInputs.ToSlim()), hasher); diff --git a/MSBuild.CompilerCache.Tests/PerfTests.cs b/MSBuild.CompilerCache.Tests/PerfTests.cs index a3a1f01..1642b9d 100644 --- a/MSBuild.CompilerCache.Tests/PerfTests.cs +++ b/MSBuild.CompilerCache.Tests/PerfTests.cs @@ -41,7 +41,7 @@ public void HashCalculationPerfTest() var hasher = TestUtils.DefaultHasher; var localInputs = LocatorAndPopulator.CalculateLocalInputs(decomposed, combinedRefCache, "assembly", refTrimmingConfig, - combinedFileHashCache, hasher); + combinedFileHashCache, hasher, null); var extract = localInputs.ToSlim().ToFullExtract(); var hashString = Utils.ObjectToHash(extract, hasher); var cacheKey = LocatorAndPopulator.GenerateKey(inputs, hashString); diff --git a/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs b/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs index 01c13c1..9ab2d2c 100644 --- a/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs +++ b/MSBuild.CompilerCache.Tests/TestOutputBuildAndCache.cs @@ -31,7 +31,7 @@ public async Task Test() ) ); var hasher = TestUtils.DefaultHasher; - var outputData = await Task.WhenAll(items.Select(i => LocatorAndPopulator.GatherSingleOutputData(i, hasher)).ToArray()); + var outputData = await Task.WhenAll(items.Select(i => LocatorAndPopulator.GatherSingleOutputData(i, hasher, null)).ToArray()); var zipPath = await LocatorAndPopulator.BuildOutputsZip(dir, outputData, metadata, hasher); var cache = new CompilationResultsCache(dir.Dir.CombineAsDir(".cache").FullName); diff --git a/MSBuild.CompilerCache.Tests/TrimmingTests.cs b/MSBuild.CompilerCache.Tests/TrimmingTests.cs index d695f5e..f2f99d4 100644 --- a/MSBuild.CompilerCache.Tests/TrimmingTests.cs +++ b/MSBuild.CompilerCache.Tests/TrimmingTests.cs @@ -12,7 +12,7 @@ public class TrimmingTests public async Task InternalsVisibleToAreResolvedCorrectly() { var path = Assembly.GetExecutingAssembly().Location.Replace(".Tests.dll", ".dll"); - var bytes = await LocatorAndPopulator.ReadFileAsync(path); + var bytes = await LocatorAndPopulator.ReadFileAsync(path, null); var t = new RefTrimmer(TestUtils.DefaultHasher); var res = await t.GenerateRefData(bytes.ToImmutableArray()); diff --git a/MSBuild.CompilerCache/CompilerCacheLocate.cs b/MSBuild.CompilerCache/CompilerCacheLocate.cs index 8ad1c5d..bbe0483 100644 --- a/MSBuild.CompilerCache/CompilerCacheLocate.cs +++ b/MSBuild.CompilerCache/CompilerCacheLocate.cs @@ -63,10 +63,22 @@ public class CompilationMetrics public class MetricsCollector { - public void StartLocateTask(){} + private GenericMetricsCreator _locateStart; + private LocateMetrics _locate; + + public CacheIncStats RefCacheStats { get; set; } = null; + public CacheIncStats InMemoryRefCacheStats { get; set; } = null; + public CacheIncStats FileHashCacheStats { get; set; } = null; + public CacheIncStats InMemoryFileHashCacheStats { get; set; } = null; + + public void StartLocateTask() + { + _locateStart = new GenericMetricsCreator(); + } public void EndLocateTask(LocateResult locateResult) { + _locate = new LocateMetrics(_locateStart.Create(), locateResult.Outcome); } public void StartPopulateTask() diff --git a/MSBuild.CompilerCache/FileHashCache.cs b/MSBuild.CompilerCache/FileHashCache.cs index 48066b2..0921a04 100644 --- a/MSBuild.CompilerCache/FileHashCache.cs +++ b/MSBuild.CompilerCache/FileHashCache.cs @@ -23,7 +23,7 @@ public FileHashCache(string cacheDir, IHash hasher) public CacheKey ExtractKey(FileHashCacheKey key) { - var bytes = JsonSerializer.SerializeToUtf8Bytes(key); + var bytes = JsonSerializerExt.SerializeToUtf8Bytes(key); string hash = Utils.BytesToHash(bytes, _hasher); return new CacheKey(hash); } diff --git a/MSBuild.CompilerCache/ICacheBase.cs b/MSBuild.CompilerCache/ICacheBase.cs index 744f09e..d08e7d5 100644 --- a/MSBuild.CompilerCache/ICacheBase.cs +++ b/MSBuild.CompilerCache/ICacheBase.cs @@ -18,5 +18,5 @@ public class OperationStats public int Count { get; set; } public int Hits { get; set; } public int Misses { get; set; } - public TimeCounter Time { get; set; } + public TimeCounter Time { get; } = new TimeCounter(); } diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index 6ab38ce..b727922 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -1,6 +1,9 @@ using System.Collections.Immutable; +using System.Diagnostics; +using System.Diagnostics.Metrics; using System.IO.Compression; using System.Text.Json; +using System.Text.Json.Serialization.Metadata; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using Task = System.Threading.Tasks.Task; @@ -55,8 +58,15 @@ public class LocatorAndPopulator : IDisposable { private readonly IRefCache _inMemoryRefCache; - private (Config config, CompilationResultsCache cache, CacheBaseLoggingDecorator loggingRefCache, - CacheBaseLoggingDecorator combinedRefCache, CacheBaseLoggingDecorator fileHashCache, IHash hasher) + private ( + Config config, + CompilationResultsCache cache, + CacheBaseLoggingDecorator loggingRefCache, + CacheBaseLoggingDecorator combinedRefCache, + CacheBaseLoggingDecorator fileHashCache, + CacheBaseLoggingDecorator, + IHash hasher + ) CreateCaches(string configPath, Action? logTime = null) { @@ -67,11 +77,12 @@ public class LocatorAndPopulator : IDisposable var refCache = new RefCache(config.InferRefCacheDir()); var loggingRefCache = refCache.WithLogging(); var combinedRefCache = CacheCombiner.Combine(_inMemoryRefCache, loggingRefCache).WithLogging(); + //logTime?.Invoke("Finish"); var hasher = HasherFactory.CreateHash(config.Hasher); - var fileBasedFileHashCache = new FileHashCache(config.InferFileHashCacheDir(), hasher); + var fileBasedFileHashCache = new FileHashCache(config.InferFileHashCacheDir(), hasher).WithLogging(); var fileHashCache = CacheCombiner.Combine(_inMemoryFileHashCache, fileBasedFileHashCache).WithLogging(); - return (config, cache, loggingRefCache, combinedRefCache, fileHashCache, hasher); + return (config, cache, loggingRefCache, combinedRefCache, fileHashCache, fileBasedFileHashCache, hasher); } // These fields are populated in the 'Locate' call and used in a subsequent 'Populate' call @@ -88,6 +99,8 @@ public class LocatorAndPopulator : IDisposable private CacheBaseLoggingDecorator _fileHashCache; private IHash _hasher; private CacheBaseLoggingDecorator _loggingRefCache; + private CacheBaseLoggingDecorator _rawFileHashCache; + private Counters? _counters; public MetricsCollector MetricsCollector { get; } public LocatorAndPopulator(IRefCache inMemoryRefCache, IFileHashCache inMemoryFileHashCache, @@ -115,12 +128,18 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A return _locateResult; } - (_config, _cache, _loggingRefCache, _refCache, _fileHashCache, _hasher) = CreateCaches(inputs.ConfigPath, logTime); + (_config, _cache, _loggingRefCache, _refCache, _fileHashCache, _rawFileHashCache, _hasher) = CreateCaches(inputs.ConfigPath, logTime); + MetricsCollector.RefCacheStats = _refCache.Stats; + MetricsCollector.InMemoryRefCacheStats = _loggingRefCache.Stats; + MetricsCollector.FileHashCacheStats = _fileHashCache.Stats; + MetricsCollector.InMemoryFileHashCacheStats = _rawFileHashCache.Stats; + + MetricsCollector.StartLocateTask(); _assemblyName = inputs.AssemblyName; _localInputs = CalculateLocalInputs(logTime); _extract = _localInputs.ToSlim().ToFullExtract(); - var extractBytes = JsonSerializer.SerializeToUtf8Bytes(_extract, FullExtractJsonContext.Default.FullExtract); + var extractBytes = JsonSerializerExt.SerializeToUtf8Bytes(_extract, _counters.JsonSerialise, FullExtractJsonContext.Default.FullExtract); var hashString = Utils.BytesToHash(extractBytes, _hasher); _cacheKey = GenerateKey(inputs, hashString); @@ -173,14 +192,27 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A return _locateResult; } - + + private LocalInputs CalculateLocalInputs(Action? logTime = null) => - CalculateLocalInputs(_decomposed, _loggingRefCache, _assemblyName, _config.RefTrimming, _fileHashCache, _hasher, + CalculateLocalInputs(_decomposed, _loggingRefCache, _assemblyName, _config.RefTrimming, _fileHashCache, _hasher, _counters, logTime); + public sealed class Counters + { + public TimeCounter ProcessFile { get; } = new TimeCounter(); + public TimeCounter ProcessReferenceC { get; } = new TimeCounter(); + public TimeCounter ReadFile { get; } = new TimeCounter(); + public TimeCounter Refasm { get; } = new TimeCounter(); + public TimeCounter BuildOutputs { get; } = new TimeCounter(); + public TimeCounter JsonSerialise { get; } = new TimeCounter(); + public TimeCounter HashBytes { get; } = new TimeCounter(); + } + public static async Task ProcessSourceFile(string relativePath, IFileHashCache fileHashCache, - IHash hasher) + IHash hasher, Counters? counters = null) { + var sw = Stopwatch.StartNew(); using var activity = Tracing.Source.StartActivity("ProcessSourceFile"); activity?.SetTag("relativePath", relativePath); // Open the file for reading, and don't allow anyone to modify it. @@ -190,25 +222,29 @@ public static async Task ProcessSourceFile(string relativePath, IFi var hash = await fileHashCache.GetAsync(fileHashCacheKey); if (hash == null) { - var bytes = await ReadFileAsync(fileHashCacheKey.FullName); + var bytes = await ReadFileAsync(fileHashCacheKey.FullName, counters); hash = Utils.BytesToHash(bytes, hasher); await fileHashCache.SetAsync(fileHashCacheKey, hash); } var localFileExtract = new LocalFileExtract(fileHashCacheKey, hash); - + counters?.ProcessFile.Add(sw.Elapsed); return new InputResult(f, localFileExtract); } - public static Task ReadFileAsync(string path) + public static Task ReadFileAsync(string path, Counters counters) { + var sw = Stopwatch.StartNew(); using var activity = Tracing.Source.StartActivity("ReadFileAsync"); activity?.SetTag("path", path); - return File.ReadAllBytesAsync(path); + var res = File.ReadAllBytesAsync(path); + counters.ReadFile.Add(sw.Elapsed); + return res; } public static async Task ProcessReference(string relativePath, string compilingAssemblyName, - IFileHashCache fileHashCache, IRefCache refCache, RefTrimmingConfig refTrimmingConfig, IHash hasher) + IFileHashCache fileHashCache, IRefCache refCache, RefTrimmingConfig refTrimmingConfig, IHash hasher, + Counters? counters = null) { using var activity = Tracing.Source.StartActivity("ProcessReference"); activity?.SetTag("relativePath", relativePath); @@ -222,7 +258,7 @@ public static async Task ProcessReference(string relativePath, stri activity?.SetTag("hashFound", hashFound); if (!hashFound) { - bytes ??= await ReadFileAsync(fileHashCacheKey.FullName); + bytes ??= await ReadFileAsync(fileHashCacheKey.FullName, counters); hash = Utils.BytesToHash(bytes, hasher); await fileHashCache.SetAsync(fileHashCacheKey, hash); } @@ -234,7 +270,7 @@ public static async Task ProcessReference(string relativePath, stri var cached = await refCache.GetAsync(refCacheKey); if (cached == null) { - bytes ??= await ReadFileAsync(fileHashCacheKey.FullName); + bytes ??= await ReadFileAsync(fileHashCacheKey.FullName, counters); var toBeCached = await new RefTrimmer(hasher).GenerateRefData(ImmutableArray.Create(bytes)); cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: originalExtract); @@ -248,9 +284,10 @@ public static async Task ProcessReference(string relativePath, stri extract = originalExtract; // TODO Revert once bug found return new InputResult(f, extract); } - + internal static LocalInputs CalculateLocalInputs(DecomposedCompilerProps decomposed, IRefCache refCache, string compilingAssemblyName, RefTrimmingConfig trimmingConfig, IFileHashCache fileHashCache, IHash hasher, + Counters? counters = null, Action? logTime = null) { string[] fileInputs, references; @@ -268,7 +305,7 @@ internal static LocalInputs CalculateLocalInputs(DecomposedCompilerProps decompo var fileTasks = fileInputs.Select(f => (Func)(() => ProcessSourceFile(f, fileHashCache, hasher).GetAwaiter().GetResult())); var refTasks = references.Select(r => (Func)(() => - ProcessReference(r, compilingAssemblyName, fileHashCache, refCache, trimmingConfig, hasher).GetAwaiter().GetResult())); + ProcessReference(r, compilingAssemblyName, fileHashCache, refCache, trimmingConfig, hasher, counters).GetAwaiter().GetResult())); var allTaskFuncs = fileTasks.Concat(refTasks).ToArray(); var allItems = allTaskFuncs @@ -298,7 +335,7 @@ private static CompilationMetadata GetCompilationMetadata(DateTime postCompilati ); internal static async Task GetAllRefData(string filepath, IRefCache refCache, - IFileHashCache fileHashCache, IHash hasher) + IFileHashCache fileHashCache, IHash hasher, Counters? counters = null) { var fileInfo = new FileInfo(filepath); if (!fileInfo.Exists) @@ -311,7 +348,7 @@ internal static async Task GetAllRefData(string filepath, IRefCache byte[]? bytes = null; if (hashString == null) { - bytes ??= await ReadFileAsync(filepath); + bytes ??= await ReadFileAsync(filepath, counters); hashString = Utils.BytesToHash(bytes, hasher); await fileHashCache.SetAsync(fileCacheKey, hashString); } @@ -323,7 +360,7 @@ internal static async Task GetAllRefData(string filepath, IRefCache var cached = refCache.GetAsync(cacheKey).GetAwaiter().GetResult(); if (cached == null) { - bytes ??= await ReadFileAsync(filepath); + bytes ??= await ReadFileAsync(filepath, counters); var trimmer = new RefTrimmer(hasher); var toBeCached = await trimmer.GenerateRefData(ImmutableArray.Create(bytes)); cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: extract); @@ -390,7 +427,7 @@ public async Task PopulateCacheAsync(TaskLoggingHelper log, var postCompilationTimeUtc = DateTime.UtcNow; var outputs = await Task.WhenAll(_decomposed.OutputsToCache - .Select(outputItem => GatherSingleOutputData(outputItem, _hasher)).ToArray()); + .Select(outputItem => GatherSingleOutputData(outputItem, _hasher, _counters)).ToArray()); // Trigger RefTrimmer for newly-built dlls/exe files - should speed up builds of dependent projects, // and avoid any duplicate calculations due to multiple dependants redoing the same thing if timings are bad. @@ -431,10 +468,11 @@ await Parallel.ForEachAsync(outputsToRefasm, return new UseOrPopulateResult(CachePopulated: true); } - internal static async Task GatherSingleOutputData(OutputItem outputItem, IHash hasher) + internal static async Task GatherSingleOutputData(OutputItem outputItem, IHash hasher, + Counters? counters = null) { await using var f = File.Open(outputItem.LocalPath, FileMode.Open, FileAccess.Read, FileShare.Read); - byte[] bytes = await ReadFileAsync(outputItem.LocalPath); + byte[] bytes = await ReadFileAsync(outputItem.LocalPath, counters); var bytesHash = hasher.ComputeHash(bytes); var bytesHashString = Utils.BytesToHash(bytesHash, hasher); return new OutputData(outputItem, bytes, bytesHash, bytesHashString); @@ -442,6 +480,7 @@ internal static async Task GatherSingleOutputData(OutputItem outputI private async ValueTask RefasmAndPopulateCacheWithOutputDll(OutputData dll) { + var sw = Stopwatch.StartNew(); var trimmer = new RefTrimmer(_hasher); var toBeCached = await trimmer.GenerateRefData(ImmutableArray.Create(dll.Content)); var fileCacheKey = FileHashCacheKey.FromFileInfo(new FileInfo(dll.Item.LocalPath)); @@ -456,27 +495,29 @@ private async ValueTask RefasmAndPopulateCacheWithOutputDll(OutputData dll) var name = Path.GetFileNameWithoutExtension(fileCacheKey.FullName); var cacheKey = BuildRefCacheKey(name, dllHash); var cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: extract); - await _refCache.SetAsync(cacheKey, cached); + var res = await _refCache.SetAsync(cacheKey, cached); + _counters?.Refasm.Add(sw.Elapsed); } record ArchiveEntry(string Name, byte[] Bytes); public static async Task BuildOutputsZip(DirectoryInfo baseTmpDir, OutputData[] items, AllCompilationMetadata metadata, IHash hasher, - TaskLoggingHelper? log = null) + TaskLoggingHelper? log = null, Counters? counters = null) { + var sw = Stopwatch.StartNew(); // Write inputs json in parallel to the rest var saveInputsTask = Task.Run( - () => JsonSerializer.SerializeToUtf8Bytes(metadata, + () => JsonSerializerExt.SerializeToUtf8Bytes(metadata, counters.JsonSerialise, AllCompilationMetadataJsonContext.Default.AllCompilationMetadata)); var objectToHash = metadata.LocalInputs.ToFullExtract(); var extractBytes = - JsonSerializer.SerializeToUtf8Bytes(objectToHash, FullExtractJsonContext.Default.FullExtract); + JsonSerializerExt.SerializeToUtf8Bytes(objectToHash, counters.JsonSerialise, FullExtractJsonContext.Default.FullExtract); var hashForFileName = Utils.BytesToHash(extractBytes, hasher); var outputExtracts = items.Select(i => new FileExtract(i.Item.Name, i.BytesHashString, i.Length)).ToArray(); byte[] outputsJsonBytes = - JsonSerializer.SerializeToUtf8Bytes(outputExtracts, FileExtractsJsonContext.Default.FileExtractArray); + JsonSerializerExt.SerializeToUtf8Bytes(outputExtracts, counters.JsonSerialise, FileExtractsJsonContext.Default.FileExtractArray); // Make sure inputs json written before zipping the whole directory var inputsJsonBytes = await saveInputsTask; @@ -489,7 +530,9 @@ public static async Task BuildOutputsZip(DirectoryInfo baseTmpDir, Out var outputsEntries = items.Select(o => new ArchiveEntry(o.Item.CacheFileName, o.Content)).ToArray(); var archiveEntries = metaEntries.Concat(outputsEntries).ToArray(); - return await BuildZip(); + var res = await BuildZip(); + counters?.BuildOutputs.Add(sw.Elapsed); + return res; async Task BuildZip() { @@ -549,3 +592,14 @@ public void Dispose() MetricsCollector.Collect(); } } + +public static class JsonSerializerExt +{ + public static byte[] SerializeToUtf8Bytes(T value, TimeCounter? counter = null, JsonTypeInfo? options = null) + { + var sw = Stopwatch.StartNew(); + var res = JsonSerializer.SerializeToUtf8Bytes(value, options); + counter?.Add(sw.Elapsed); + return res; + } +} diff --git a/MSBuild.CompilerCache/TimeCounter.cs b/MSBuild.CompilerCache/TimeCounter.cs index 5426281..ba258b5 100644 --- a/MSBuild.CompilerCache/TimeCounter.cs +++ b/MSBuild.CompilerCache/TimeCounter.cs @@ -10,6 +10,7 @@ public void Add(TimeSpan ts) lock (_lock) { _totalMilliseconds += ts.TotalMilliseconds; + Count++; } } @@ -20,4 +21,6 @@ public TimeSpan Total() return TimeSpan.FromMilliseconds(_totalMilliseconds); } } + + public int Count { get; private set; } = 0; } \ No newline at end of file From 0f0eb817829287126c0a0df1764838cd7e039d7f Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sat, 18 Nov 2023 17:09:55 +0000 Subject: [PATCH 26/29] WIP --- MSBuild.CompilerCache.Tests/EndToEndTests.cs | 2 +- MSBuild.CompilerCache.Tests/PerfTests.cs | 2 +- MSBuild.CompilerCache/CompilerCacheLocate.cs | 61 ++++++++++++++++--- .../CompilerCachePopulateCache.cs | 2 +- MSBuild.CompilerCache/FileHashCache.cs | 8 ++- MSBuild.CompilerCache/LocatorAndPopulator.cs | 18 +++--- MSBuild.CompilerCache/RefTrimmer.cs | 4 ++ MSBuild.CompilerCache/TimeCounter.cs | 9 ++- 8 files changed, 78 insertions(+), 28 deletions(-) diff --git a/MSBuild.CompilerCache.Tests/EndToEndTests.cs b/MSBuild.CompilerCache.Tests/EndToEndTests.cs index fceafc6..dc62452 100644 --- a/MSBuild.CompilerCache.Tests/EndToEndTests.cs +++ b/MSBuild.CompilerCache.Tests/EndToEndTests.cs @@ -204,7 +204,7 @@ public static (SDKVersion, SupportedLanguage)[] SDKs() private static readonly string NugetSourcePath = Path.Combine( Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)!, - Path.Combine("..", "..", "..", "..", "MSBuild.CompilerCache", "bin", Configuration, "net7.0", "win-x64", "publish") + Path.Combine("..", "..", "..", "..", "MSBuild.CompilerCache", "bin", Configuration) ); [TestCaseSource(nameof(SDKs))] diff --git a/MSBuild.CompilerCache.Tests/PerfTests.cs b/MSBuild.CompilerCache.Tests/PerfTests.cs index 1642b9d..49288a7 100644 --- a/MSBuild.CompilerCache.Tests/PerfTests.cs +++ b/MSBuild.CompilerCache.Tests/PerfTests.cs @@ -15,7 +15,7 @@ public class PerfTests public void HashCalculationPerfTest() { var sw = Stopwatch.StartNew(); - var fileHashCache = new FileHashCache(".filehashcache", TestUtils.DefaultHasher); + var fileHashCache = new FileHashCache(".filehashcache", TestUtils.DefaultHasher, null); var inMemoryFileHashCache = new DictionaryBasedCache(); var combinedFileHashCache = CacheCombiner.Combine(inMemoryFileHashCache, fileHashCache); var inMemoryRefCache = new InMemoryRefCache(); diff --git a/MSBuild.CompilerCache/CompilerCacheLocate.cs b/MSBuild.CompilerCache/CompilerCacheLocate.cs index bbe0483..84d2f28 100644 --- a/MSBuild.CompilerCache/CompilerCacheLocate.cs +++ b/MSBuild.CompilerCache/CompilerCacheLocate.cs @@ -1,11 +1,13 @@ using System.Collections; using System.Diagnostics; using System.Runtime; +using System.Text; +using System.Text.Json.Serialization; using JetBrains.Annotations; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; -using OpenTelemetry; -using OpenTelemetry.Trace; +// using OpenTelemetry; +// using OpenTelemetry.Trace; using Task = Microsoft.Build.Utilities.Task; namespace MSBuild.CompilerCache; @@ -54,17 +56,28 @@ public record PopulateMetrics(GenericMetrics Generic); public class CompilationMetrics { public string ProjectFullPath { get; set; } - public TimeSpan TotalTime => Locate.Generic.Times.Duration + Populate.Generic.Times.Duration; + public TimeSpan TotalTime => Locate.Generic.Times.Duration + (Populate?.Generic.Times.Duration ?? TimeSpan.Zero); + public CacheIncStats InMemoryRefCacheStats { get; set; } public CacheIncStats RefCacheStats { get; set; } + public CacheIncStats InMemoryFileHashCacheStats { get; set; } public CacheIncStats FileHashCacheStats { get; set; } public LocateMetrics Locate { get; set; } public PopulateMetrics Populate { get; set; } + public LocatorAndPopulator.Counters Counters { get; set; } } +[JsonSerializable(typeof(CompilationMetrics))] +[JsonSourceGenerationOptions(WriteIndented = false)] +public partial class CompilationMetricsJsonContext : JsonSerializerContext; + public class MetricsCollector { private GenericMetricsCreator _locateStart; private LocateMetrics _locate; + private GenericMetricsCreator _populateStart; + private PopulateMetrics _populate; + private LocatorAndPopulator.Counters _counters; + private LocateResult _locateResult; public CacheIncStats RefCacheStats { get; set; } = null; public CacheIncStats InMemoryRefCacheStats { get; set; } = null; @@ -76,18 +89,46 @@ public void StartLocateTask() _locateStart = new GenericMetricsCreator(); } - public void EndLocateTask(LocateResult locateResult) + public void EndLocateTask(LocateResult locateResult, LocatorAndPopulator.Counters counters) { _locate = new LocateMetrics(_locateStart.Create(), locateResult.Outcome); + _locateResult = locateResult; + _counters = counters; } public void StartPopulateTask() { + _populateStart = new GenericMetricsCreator(); + } + + public void EndPopulateTask() + { + _populate = new PopulateMetrics(_populateStart.Create()); + } + + public void Collect() + { + var m = new CompilationMetrics + { + ProjectFullPath = _locateResult.Inputs.ProjectFullPath, + RefCacheStats = RefCacheStats, + FileHashCacheStats = FileHashCacheStats, + Counters = _counters, + InMemoryRefCacheStats = InMemoryRefCacheStats, + InMemoryFileHashCacheStats = InMemoryFileHashCacheStats, + Locate = _locate, + Populate = _populate + }; + var bytes = JsonSerializerExt.SerializeToUtf8Bytes(m, null, CompilationMetricsJsonContext.Default.CompilationMetrics); + FileHashCache.IOActionWithRetries(() => + { + using var fs = File.Open("c:/projekty/MSBuild.CompilerCache/metrics.json", FileMode.Append, FileAccess.Write, + FileShare.Read); + fs.Write(bytes); + fs.Write(Encoding.ASCII.GetBytes(Environment.NewLine)); + return 0; + }); } - - public void EndPopulateTask(){} - - public void Collect(){} } // ReSharper disable once UnusedType.Global @@ -130,7 +171,7 @@ private InMemoryCaches GetInMemoryCaches() internal static IDisposable? SetupOtelIfEnabled() { - #if DEBUG || RELEASE + #if RELEASE return Sdk.CreateTracerProviderBuilder() .AddSource(Tracing.ServiceName) .AddOtlpExporter(o => o.Endpoint = new Uri("http://localhost:4317")) @@ -145,7 +186,7 @@ public override bool Execute() { var collector = new MetricsCollector(); collector.StartLocateTask(); - using var otel = SetupOtelIfEnabled(); + // using var otel = SetupOtelIfEnabled(); using var activity = Tracing.StartWithMetrics("CompilerCacheLocate"); var guid = System.Guid.NewGuid(); activity?.SetTag("guid", guid); diff --git a/MSBuild.CompilerCache/CompilerCachePopulateCache.cs b/MSBuild.CompilerCache/CompilerCachePopulateCache.cs index bc45170..4f2349f 100644 --- a/MSBuild.CompilerCache/CompilerCachePopulateCache.cs +++ b/MSBuild.CompilerCache/CompilerCachePopulateCache.cs @@ -19,7 +19,7 @@ public class CompilerCachePopulateCache : Task public override bool Execute() { - using var otel = CompilerCacheLocate.SetupOtelIfEnabled(); + // using var otel = CompilerCacheLocate.SetupOtelIfEnabled(); using var activity = Tracing.Source.StartActivity("CompilerCacheLocate"); activity?.SetTag("guid", Guid); object _locator = diff --git a/MSBuild.CompilerCache/FileHashCache.cs b/MSBuild.CompilerCache/FileHashCache.cs index 0921a04..7903a2a 100644 --- a/MSBuild.CompilerCache/FileHashCache.cs +++ b/MSBuild.CompilerCache/FileHashCache.cs @@ -11,10 +11,12 @@ public class FileHashCache : ICacheBase { private readonly string _cacheDir; private readonly IHash _hasher; + private readonly LocatorAndPopulator.Counters _counters; - public FileHashCache(string cacheDir, IHash hasher) + public FileHashCache(string cacheDir, IHash hasher, LocatorAndPopulator.Counters counters) { _hasher = hasher; + _counters = counters; _cacheDir = cacheDir; Directory.CreateDirectory(_cacheDir); } @@ -23,7 +25,7 @@ public FileHashCache(string cacheDir, IHash hasher) public CacheKey ExtractKey(FileHashCacheKey key) { - var bytes = JsonSerializerExt.SerializeToUtf8Bytes(key); + var bytes = JsonSerializerExt.SerializeToUtf8Bytes(key, _counters.JsonSerialise, FileHashCacheKeyJsonContext.Default.FileHashCacheKey); string hash = Utils.BytesToHash(bytes, _hasher); return new CacheKey(hash); } @@ -129,4 +131,4 @@ public async Task SetAsync(FileHashCacheKey originalKey, string value) return CompilationResultsCache.AtomicCopyOrMove(tmpFile.File, entryFile, throwIfDestinationExists: false); } -} \ No newline at end of file +} diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index b727922..ad6dfb6 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -80,7 +80,7 @@ IHash hasher //logTime?.Invoke("Finish"); var hasher = HasherFactory.CreateHash(config.Hasher); - var fileBasedFileHashCache = new FileHashCache(config.InferFileHashCacheDir(), hasher).WithLogging(); + var fileBasedFileHashCache = new FileHashCache(config.InferFileHashCacheDir(), hasher, _counters).WithLogging(); var fileHashCache = CacheCombiner.Combine(_inMemoryFileHashCache, fileBasedFileHashCache).WithLogging(); return (config, cache, loggingRefCache, combinedRefCache, fileHashCache, fileBasedFileHashCache, hasher); } @@ -100,7 +100,7 @@ IHash hasher private IHash _hasher; private CacheBaseLoggingDecorator _loggingRefCache; private CacheBaseLoggingDecorator _rawFileHashCache; - private Counters? _counters; + private readonly Counters _counters = new Counters(); public MetricsCollector MetricsCollector { get; } public LocatorAndPopulator(IRefCache inMemoryRefCache, IFileHashCache inMemoryFileHashCache, @@ -139,7 +139,7 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A _assemblyName = inputs.AssemblyName; _localInputs = CalculateLocalInputs(logTime); _extract = _localInputs.ToSlim().ToFullExtract(); - var extractBytes = JsonSerializerExt.SerializeToUtf8Bytes(_extract, _counters.JsonSerialise, FullExtractJsonContext.Default.FullExtract); + var extractBytes = JsonSerializerExt.SerializeToUtf8Bytes(_extract, _counters?.JsonSerialise, FullExtractJsonContext.Default.FullExtract); var hashString = Utils.BytesToHash(extractBytes, _hasher); _cacheKey = GenerateKey(inputs, hashString); @@ -188,7 +188,7 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A ); //logTime?.Invoke("end"); - MetricsCollector.EndLocateTask(_locateResult); + MetricsCollector.EndLocateTask(_locateResult, _counters); return _locateResult; } @@ -232,13 +232,13 @@ public static async Task ProcessSourceFile(string relativePath, IFi return new InputResult(f, localFileExtract); } - public static Task ReadFileAsync(string path, Counters counters) + public static Task ReadFileAsync(string path, Counters? counters) { var sw = Stopwatch.StartNew(); using var activity = Tracing.Source.StartActivity("ReadFileAsync"); activity?.SetTag("path", path); var res = File.ReadAllBytesAsync(path); - counters.ReadFile.Add(sw.Elapsed); + counters?.ReadFile.Add(sw.Elapsed); return res; } @@ -508,16 +508,16 @@ public static async Task BuildOutputsZip(DirectoryInfo baseTmpDir, Out var sw = Stopwatch.StartNew(); // Write inputs json in parallel to the rest var saveInputsTask = Task.Run( - () => JsonSerializerExt.SerializeToUtf8Bytes(metadata, counters.JsonSerialise, + () => JsonSerializerExt.SerializeToUtf8Bytes(metadata, counters?.JsonSerialise, AllCompilationMetadataJsonContext.Default.AllCompilationMetadata)); var objectToHash = metadata.LocalInputs.ToFullExtract(); var extractBytes = - JsonSerializerExt.SerializeToUtf8Bytes(objectToHash, counters.JsonSerialise, FullExtractJsonContext.Default.FullExtract); + JsonSerializerExt.SerializeToUtf8Bytes(objectToHash, counters?.JsonSerialise, FullExtractJsonContext.Default.FullExtract); var hashForFileName = Utils.BytesToHash(extractBytes, hasher); var outputExtracts = items.Select(i => new FileExtract(i.Item.Name, i.BytesHashString, i.Length)).ToArray(); byte[] outputsJsonBytes = - JsonSerializerExt.SerializeToUtf8Bytes(outputExtracts, counters.JsonSerialise, FileExtractsJsonContext.Default.FileExtractArray); + JsonSerializerExt.SerializeToUtf8Bytes(outputExtracts, counters?.JsonSerialise, FileExtractsJsonContext.Default.FileExtractArray); // Make sure inputs json written before zipping the whole directory var inputsJsonBytes = await saveInputsTask; diff --git a/MSBuild.CompilerCache/RefTrimmer.cs b/MSBuild.CompilerCache/RefTrimmer.cs index 63e82c6..974d5e4 100644 --- a/MSBuild.CompilerCache/RefTrimmer.cs +++ b/MSBuild.CompilerCache/RefTrimmer.cs @@ -21,6 +21,10 @@ public record RefDataWithOriginalExtract(RefData Ref, LocalFileExtract Original) [JsonSourceGenerationOptions(WriteIndented = true)] public partial class RefDataWithOriginalExtractJsonContext : JsonSerializerContext; +[JsonSerializable(typeof(FileHashCacheKey))] +[JsonSourceGenerationOptions(WriteIndented = true)] +public partial class FileHashCacheKeyJsonContext : JsonSerializerContext; + public class RefTrimmer { private IHash _hasher; diff --git a/MSBuild.CompilerCache/TimeCounter.cs b/MSBuild.CompilerCache/TimeCounter.cs index ba258b5..c0b8a7d 100644 --- a/MSBuild.CompilerCache/TimeCounter.cs +++ b/MSBuild.CompilerCache/TimeCounter.cs @@ -14,11 +14,14 @@ public void Add(TimeSpan ts) } } - public TimeSpan Total() + public TimeSpan Total { - lock(_lock) + get { - return TimeSpan.FromMilliseconds(_totalMilliseconds); + lock (_lock) + { + return TimeSpan.FromMilliseconds(_totalMilliseconds); + } } } From 40a80de459beeb1cf325540bb0dc7a24b32fd74e Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sat, 18 Nov 2023 23:05:15 +0000 Subject: [PATCH 27/29] wip --- MSBuild.CompilerCache/CacheCombiner.cs | 11 ---- MSBuild.CompilerCache/CompilerCacheLocate.cs | 55 ++++++++++++++------ MSBuild.CompilerCache/LocatorAndPopulator.cs | 26 ++++----- 3 files changed, 52 insertions(+), 40 deletions(-) diff --git a/MSBuild.CompilerCache/CacheCombiner.cs b/MSBuild.CompilerCache/CacheCombiner.cs index 80c3ec8..279b7e2 100644 --- a/MSBuild.CompilerCache/CacheCombiner.cs +++ b/MSBuild.CompilerCache/CacheCombiner.cs @@ -31,17 +31,6 @@ public CacheCombiner(ICacheBase cache1, ICacheBase c return null; } - public async Task Set(TKey key, TValue value) - { - if (await _cache1.SetAsync(key, value)) - { - await _cache2.SetAsync(key, value); - return true; - } - - return false; - } - public async Task SetAsync(TKey key, TValue value) { if (await _cache1.SetAsync(key, value)) diff --git a/MSBuild.CompilerCache/CompilerCacheLocate.cs b/MSBuild.CompilerCache/CompilerCacheLocate.cs index 84d2f28..0790d30 100644 --- a/MSBuild.CompilerCache/CompilerCacheLocate.cs +++ b/MSBuild.CompilerCache/CompilerCacheLocate.cs @@ -1,4 +1,8 @@ -using System.Collections; +#if false && RELEASE +#define OTEL +#endif + +using System.Collections; using System.Diagnostics; using System.Runtime; using System.Text; @@ -6,8 +10,10 @@ using JetBrains.Annotations; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; -// using OpenTelemetry; -// using OpenTelemetry.Trace; +#if OTEL +using OpenTelemetry; +using OpenTelemetry.Trace; +#endif using Task = Microsoft.Build.Utilities.Task; namespace MSBuild.CompilerCache; @@ -17,7 +23,7 @@ namespace MSBuild.CompilerCache; public record JitMetrics(double CompilationTimeMs, long MethodCount, long CompiledILBytes) { public static JitMetrics CreateFromCurrentState() => new JitMetrics(JitInfo.GetCompilationTime().TotalMilliseconds, JitInfo.GetCompiledMethodCount(), JitInfo.GetCompiledILBytes()); - + public JitMetrics Subtract(JitMetrics other) => new JitMetrics(CompilationTimeMs - other.CompilationTimeMs, MethodCount - other.MethodCount, CompiledILBytes - other.CompiledILBytes); public JitMetrics Add(JitMetrics otherJit) => new JitMetrics(CompilationTimeMs + otherJit.CompilationTimeMs, MethodCount + otherJit.MethodCount, CompiledILBytes + otherJit.CompiledILBytes); @@ -57,19 +63,32 @@ public class CompilationMetrics { public string ProjectFullPath { get; set; } public TimeSpan TotalTime => Locate.Generic.Times.Duration + (Populate?.Generic.Times.Duration ?? TimeSpan.Zero); - public CacheIncStats InMemoryRefCacheStats { get; set; } + public CacheIncStats CombinedRefCacheStats { get; set; } public CacheIncStats RefCacheStats { get; set; } - public CacheIncStats InMemoryFileHashCacheStats { get; set; } + public CacheIncStats CombinedFileHashCacheStats { get; set; } public CacheIncStats FileHashCacheStats { get; set; } public LocateMetrics Locate { get; set; } public PopulateMetrics Populate { get; set; } public LocatorAndPopulator.Counters Counters { get; set; } + public CPUProcessMetrics CPU { get; set; } } [JsonSerializable(typeof(CompilationMetrics))] [JsonSourceGenerationOptions(WriteIndented = false)] public partial class CompilationMetricsJsonContext : JsonSerializerContext; +public record CPUProcessMetrics(TimeSpan TotalCpuTime, TimeSpan UserCpuTime, TimeSpan PrivilegedCpuTime) +{ + public static CPUProcessMetrics CreateFromCurrentState() + { + var process = Process.GetCurrentProcess(); + return new CPUProcessMetrics(process.TotalProcessorTime, process.UserProcessorTime, process.PrivilegedProcessorTime); + } + + public CPUProcessMetrics Subtract(CPUProcessMetrics other) => new CPUProcessMetrics(TotalCpuTime - other.TotalCpuTime, UserCpuTime - other.UserCpuTime, PrivilegedCpuTime - other.PrivilegedCpuTime); + public CPUProcessMetrics Add(CPUProcessMetrics otherCpu) => new CPUProcessMetrics(TotalCpuTime + otherCpu.TotalCpuTime, UserCpuTime + otherCpu.UserCpuTime, PrivilegedCpuTime + otherCpu.PrivilegedCpuTime); +} + public class MetricsCollector { private GenericMetricsCreator _locateStart; @@ -78,15 +97,17 @@ public class MetricsCollector private PopulateMetrics _populate; private LocatorAndPopulator.Counters _counters; private LocateResult _locateResult; + private CPUProcessMetrics _cpuStart; public CacheIncStats RefCacheStats { get; set; } = null; - public CacheIncStats InMemoryRefCacheStats { get; set; } = null; + public CacheIncStats CombinedRefCacheStats { get; set; } = null; public CacheIncStats FileHashCacheStats { get; set; } = null; - public CacheIncStats InMemoryFileHashCacheStats { get; set; } = null; + public CacheIncStats CombinedFileHashCacheStats { get; set; } = null; public void StartLocateTask() { _locateStart = new GenericMetricsCreator(); + _cpuStart = CPUProcessMetrics.CreateFromCurrentState(); } public void EndLocateTask(LocateResult locateResult, LocatorAndPopulator.Counters counters) @@ -114,16 +135,17 @@ public void Collect() RefCacheStats = RefCacheStats, FileHashCacheStats = FileHashCacheStats, Counters = _counters, - InMemoryRefCacheStats = InMemoryRefCacheStats, - InMemoryFileHashCacheStats = InMemoryFileHashCacheStats, + CombinedRefCacheStats = CombinedRefCacheStats, + CombinedFileHashCacheStats = CombinedFileHashCacheStats, Locate = _locate, - Populate = _populate + Populate = _populate, + CPU = CPUProcessMetrics.CreateFromCurrentState().Subtract(_cpuStart) }; var bytes = JsonSerializerExt.SerializeToUtf8Bytes(m, null, CompilationMetricsJsonContext.Default.CompilationMetrics); FileHashCache.IOActionWithRetries(() => { - using var fs = File.Open("c:/projekty/MSBuild.CompilerCache/metrics.json", FileMode.Append, FileAccess.Write, - FileShare.Read); + var path = $"c:/projekty/MSBuild.CompilerCache/metrics.jsonl"; + using var fs = File.Open(path, FileMode.Append, FileAccess.Write, FileShare.Read); fs.Write(bytes); fs.Write(Encoding.ASCII.GetBytes(Environment.NewLine)); return 0; @@ -171,7 +193,7 @@ private InMemoryCaches GetInMemoryCaches() internal static IDisposable? SetupOtelIfEnabled() { - #if RELEASE + #if OTEL return Sdk.CreateTracerProviderBuilder() .AddSource(Tracing.ServiceName) .AddOtlpExporter(o => o.Endpoint = new Uri("http://localhost:4317")) @@ -186,12 +208,13 @@ public override bool Execute() { var collector = new MetricsCollector(); collector.StartLocateTask(); - // using var otel = SetupOtelIfEnabled(); +#if OTEL + using var otel = SetupOtelIfEnabled(); +#endif using var activity = Tracing.StartWithMetrics("CompilerCacheLocate"); var guid = System.Guid.NewGuid(); activity?.SetTag("guid", guid); activity?.SetTag("assemblyName", AssemblyName); - Log.LogWarning($"GCMode = {GCSettings.LatencyMode} Server = {GCSettings.IsServerGC} lohcm={GCSettings.LargeObjectHeapCompactionMode}"); var sw = Stopwatch.StartNew(); var (inMemoryRefCache, fileHashCache) = GetInMemoryCaches(); var locator = new LocatorAndPopulator(inMemoryRefCache, fileHashCache, collector); diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index ad6dfb6..1c464e1 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -86,7 +86,7 @@ IHash hasher } // These fields are populated in the 'Locate' call and used in a subsequent 'Populate' call - private CacheBaseLoggingDecorator _refCache; + private CacheBaseLoggingDecorator _combinedRefCache; private ICompilationResultsCache _cache; private Config _config; private DecomposedCompilerProps _decomposed; @@ -96,7 +96,7 @@ IHash hasher private CacheKey _cacheKey; private LocalInputs _localInputs; private readonly IFileHashCache _inMemoryFileHashCache; - private CacheBaseLoggingDecorator _fileHashCache; + private CacheBaseLoggingDecorator _combinedFileHashCache; private IHash _hasher; private CacheBaseLoggingDecorator _loggingRefCache; private CacheBaseLoggingDecorator _rawFileHashCache; @@ -128,11 +128,11 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A return _locateResult; } - (_config, _cache, _loggingRefCache, _refCache, _fileHashCache, _rawFileHashCache, _hasher) = CreateCaches(inputs.ConfigPath, logTime); - MetricsCollector.RefCacheStats = _refCache.Stats; - MetricsCollector.InMemoryRefCacheStats = _loggingRefCache.Stats; - MetricsCollector.FileHashCacheStats = _fileHashCache.Stats; - MetricsCollector.InMemoryFileHashCacheStats = _rawFileHashCache.Stats; + (_config, _cache, _loggingRefCache, _combinedRefCache, _combinedFileHashCache, _rawFileHashCache, _hasher) = CreateCaches(inputs.ConfigPath, logTime); + MetricsCollector.RefCacheStats = _loggingRefCache.Stats; + MetricsCollector.CombinedRefCacheStats = _combinedRefCache.Stats; + MetricsCollector.FileHashCacheStats = _rawFileHashCache.Stats; + MetricsCollector.CombinedFileHashCacheStats = _combinedFileHashCache.Stats; MetricsCollector.StartLocateTask(); @@ -195,7 +195,7 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A private LocalInputs CalculateLocalInputs(Action? logTime = null) => - CalculateLocalInputs(_decomposed, _loggingRefCache, _assemblyName, _config.RefTrimming, _fileHashCache, _hasher, _counters, + CalculateLocalInputs(_decomposed, _combinedRefCache, _assemblyName, _config.RefTrimming, _combinedFileHashCache, _hasher, _counters, logTime); public sealed class Counters @@ -455,7 +455,7 @@ await Parallel.ForEachAsync(outputsToRefasm, var allCompMetadata = new AllCompilationMetadata(Metadata: meta, LocalInputs: _localInputs.ToSlim()); using var tmpDir = new DisposableDir(); - var outputZip = await BuildOutputsZip(tmpDir, outputs, allCompMetadata, _hasher, log); + var outputZip = await BuildOutputsZip(tmpDir, outputs, allCompMetadata, _hasher, log, _counters); log.LogMessage(MessageImportance.Normal, $"CompilationCache - copying {_decomposed.OutputsToCache.Length} files from output to cache"); @@ -484,18 +484,18 @@ private async ValueTask RefasmAndPopulateCacheWithOutputDll(OutputData dll) var trimmer = new RefTrimmer(_hasher); var toBeCached = await trimmer.GenerateRefData(ImmutableArray.Create(dll.Content)); var fileCacheKey = FileHashCacheKey.FromFileInfo(new FileInfo(dll.Item.LocalPath)); - var dllHash = await _fileHashCache.GetAsync(fileCacheKey); + var dllHash = await _combinedFileHashCache.GetAsync(fileCacheKey); if (dllHash == null) { dllHash = Utils.BytesToHash(dll.Content, _hasher); - await _fileHashCache.SetAsync(fileCacheKey, dllHash); + await _combinedFileHashCache.SetAsync(fileCacheKey, dllHash); } var extract = new LocalFileExtract(fileCacheKey, dllHash); var name = Path.GetFileNameWithoutExtension(fileCacheKey.FullName); var cacheKey = BuildRefCacheKey(name, dllHash); var cached = new RefDataWithOriginalExtract(Ref: toBeCached, Original: extract); - var res = await _refCache.SetAsync(cacheKey, cached); + var res = await _combinedRefCache.SetAsync(cacheKey, cached); _counters?.Refasm.Add(sw.Elapsed); } @@ -565,8 +565,8 @@ public async Task PopulateCacheOrJustDispose(TaskLoggingHel } finally { - Dispose(); MetricsCollector.EndPopulateTask(); + Dispose(); } } From 2ec6acda269d7a47bb8b611a0269f6d78c9224b3 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sun, 19 Nov 2023 13:18:55 +0000 Subject: [PATCH 28/29] Only support NET8 SDK --- .../MSBuild.CompilerCache.Benchmarks.csproj | 4 +- .../InMemoryTaskBasedTests.cs | 16 - .../MSBuild.CompilerCache.Tests.csproj | 4 +- .../TargetsExtraction.cs | 9 +- .../MSBuild.CompilerCache.csproj | 10 +- .../Cached.CoreCompile.8.0.100.CSharp.targets | 269 + .../Cached.CoreCompile.8.0.100.FSharp.targets | 249 + .../Targets/MSBuild.CompilerCache.targets | 2 +- .../CoreCompile.8.0.100.CSharp.targets | 150 + .../CoreCompile.8.0.100.FSharp.targets | 151 + .../Targets.8.0.100.CSharp.xml | 15368 ++++++++++++++++ .../Targets.8.0.100.FSharp.xml | 15192 +++++++++++++++ .../TargetsExtractionUtils.cs | 2 + 13 files changed, 31393 insertions(+), 33 deletions(-) create mode 100644 MSBuild.CompilerCache/Targets/Cached.CoreCompile.8.0.100.CSharp.targets create mode 100644 MSBuild.CompilerCache/Targets/Cached.CoreCompile.8.0.100.FSharp.targets create mode 100644 MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100.CSharp.targets create mode 100644 MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100.FSharp.targets create mode 100644 MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100.CSharp.xml create mode 100644 MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100.FSharp.xml diff --git a/MSBuild.CompilerCache.Benchmarks/MSBuild.CompilerCache.Benchmarks.csproj b/MSBuild.CompilerCache.Benchmarks/MSBuild.CompilerCache.Benchmarks.csproj index 9d49a46..338a3c8 100644 --- a/MSBuild.CompilerCache.Benchmarks/MSBuild.CompilerCache.Benchmarks.csproj +++ b/MSBuild.CompilerCache.Benchmarks/MSBuild.CompilerCache.Benchmarks.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 Benchmarks @@ -12,7 +12,7 @@ - + diff --git a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs index edc66f2..7745f2e 100644 --- a/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs +++ b/MSBuild.CompilerCache.Tests/InMemoryTaskBasedTests.cs @@ -84,22 +84,6 @@ public string SaveConfig(Config config) return CreateTmpFile(".config", json); } - [Test] - public async Task CacheFoo() - { - var extract1 = new FullExtract(Props: new[]{("a", "b")}, Files: new FileExtract[]{}, OutputFiles: new string[]{}); - var extract2 = new FullExtract(Props: new[]{("a", "c")}, Files: new FileExtract[]{}, OutputFiles: new string[]{}); - var hasher = HasherFactory.CreateHash(HasherType.XxHash64); - var hashString1 = Utils.ObjectToHash(extract1, hasher); - var hashString2 = Utils.ObjectToHash(extract2, hasher); - - await using var fs = new MemoryStream(); - var txt1 = JsonSerializer.Serialize(extract1, FullExtractJsonContext.Default.FullExtract); - var txt2 = JsonSerializer.Serialize(extract2, FullExtractJsonContext.Default.FullExtract); - - await _compilationResultsCache.SetAsync(new CacheKey("cachekey"), extract1, new FileInfo("foo")); - } - [Test] public async Task SimpleCacheHitTest() { diff --git a/MSBuild.CompilerCache.Tests/MSBuild.CompilerCache.Tests.csproj b/MSBuild.CompilerCache.Tests/MSBuild.CompilerCache.Tests.csproj index b7b0892..10c3468 100644 --- a/MSBuild.CompilerCache.Tests/MSBuild.CompilerCache.Tests.csproj +++ b/MSBuild.CompilerCache.Tests/MSBuild.CompilerCache.Tests.csproj @@ -2,7 +2,7 @@ Library - net7.0 + net8.0 @@ -10,7 +10,7 @@ - + diff --git a/MSBuild.CompilerCache.Tests/TargetsExtraction.cs b/MSBuild.CompilerCache.Tests/TargetsExtraction.cs index 47f169c..1f640df 100644 --- a/MSBuild.CompilerCache.Tests/TargetsExtraction.cs +++ b/MSBuild.CompilerCache.Tests/TargetsExtraction.cs @@ -63,14 +63,7 @@ public void GenerateAllTargets(SDKVersion sdk, SupportedLanguage language, strin internal static readonly ImmutableArray SupportedSdks = new[] { - "8.0.100-rc.2.23502.2", - "7.0.302", - "7.0.203", - "7.0.202", - "7.0.105", - "6.0.408", - "6.0.301", - "6.0.300", + "8.0.100" } .Select(sdk => new SDKVersion(sdk)) .ToImmutableArray(); diff --git a/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj b/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj index d1e7fc8..3331002 100644 --- a/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj +++ b/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj @@ -2,7 +2,7 @@ Library - net7.0 + net8.0 MSBuild.CompilerCache 0.0.2 @@ -22,7 +22,9 @@ - + + compile; build; native; contentfiles; analyzers; buildtransitive + @@ -39,8 +41,8 @@ - - + + diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.8.0.100.CSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.8.0.100.CSharp.targets new file mode 100644 index 0000000..b04d1dd --- /dev/null +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.8.0.100.CSharp.targets @@ -0,0 +1,269 @@ + + + + + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + + + + + false + true + + + + + + + + true + + + + + + + + + + <_CoreCompileResourceInputs + Remove="@(_CoreCompileResourceInputs)" /> + + + + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/Cached.CoreCompile.8.0.100.FSharp.targets b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.8.0.100.FSharp.targets new file mode 100644 index 0000000..0b0a8fa --- /dev/null +++ b/MSBuild.CompilerCache/Targets/Cached.CoreCompile.8.0.100.FSharp.targets @@ -0,0 +1,249 @@ + + + + + + + + + + + + + + + + + --simpleresolution $(OtherFlags) + $(OtherFlags) + + + + + + + + + false + true + + + + + + + + true + + + + + + + + + + <_CoreCompileResourceInputs + Remove="@(_CoreCompileResourceInputs)" /> + + + + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/MSBuild.CompilerCache.targets b/MSBuild.CompilerCache/Targets/MSBuild.CompilerCache.targets index 0f9c97a..19bae87 100644 --- a/MSBuild.CompilerCache/Targets/MSBuild.CompilerCache.targets +++ b/MSBuild.CompilerCache/Targets/MSBuild.CompilerCache.targets @@ -23,7 +23,7 @@ - $(MSBuildThisFileDirectory)..\lib\net7.0\MSBuild.CompilerCache.dll + $(MSBuildThisFileDirectory)..\lib\net8.0\MSBuild.CompilerCache.dll diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100.CSharp.targets b/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100.CSharp.targets new file mode 100644 index 0000000..40a6918 --- /dev/null +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100.CSharp.targets @@ -0,0 +1,150 @@ + + + + + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + + + + <_CoreCompileResourceInputs + Remove="@(_CoreCompileResourceInputs)" /> + + + + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100.FSharp.targets b/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100.FSharp.targets new file mode 100644 index 0000000..87f53ce --- /dev/null +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/CoreCompile.8.0.100.FSharp.targets @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + --simpleresolution $(OtherFlags) + $(OtherFlags) + + + + + + + + <_CoreCompileResourceInputs + Remove="@(_CoreCompileResourceInputs)" /> + + + + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100.CSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100.CSharp.xml new file mode 100644 index 0000000..0b851e6 --- /dev/null +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100.CSharp.xml @@ -0,0 +1,15368 @@ + + + + + + + true + + true + + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + + + $(ProjectExtensionsPathForSpecifiedProject) + + + + + + true + true + true + true + true + + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + + + + + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) + + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + + + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + + + + + + true + + + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + + + + true + true + true + true + true + true + true + true + true + true + true + true + true + + + + + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + + true + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + + + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + arm64 + + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + + + portable + + false + + true + true + + PackageReference + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.3 + false + true + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + + + + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + + + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + <_NetFrameworkHostedCompilersVersion>4.8.0-3.23524.11 + 8.0 + 8.0 + 8.0.0 + 2.1 + 2.1.0 + 8.0.0-rtm.23531.3 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 8.0.100 + win-x64 + win-x64 + <_NETCoreSdkIsPreview>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> + + + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + + + + + + + + + + + + + + + + + + + + + + + + + + 9.0 + 17.8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + <_SourceLinkPropsImported>true + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + + + + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1701;1702 + + $(WarningsAsErrors);NU1605 + + + $(DefineConstants); + $(DefineConstants)TRACE + + + + + + + + + + + + + + + + + + $(TargetsForTfmSpecificContentInPackage);PackTool + + + + + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + + + + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + + + + + + + + + + + + + + + + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + + + + + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + + + + + + + + + true + + + + + + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + + + + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + + + + + Debug + AnyCPU + $(Platform) + + + + + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) + + false + + + + + + + + + + + + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + + + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + + + + <_UnsupportedTargetFrameworkError>true + + + + + + + + + + true + true + + + + + + + + + + + + + + + + + + + + v0.0 + + + _ + + + + + true + + + + + + + + + + + <_EnableDefaultWindowsPlatform>false + false + + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion->Distinct()) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + + + + + true + true + + + + + + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ + + + + + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** + + + + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + + + + + + true + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RuntimePackInWorkloadVersionCurrent>8.0.0 + <_RuntimePackInWorkloadVersion7>7.0.14 + <_RuntimePackInWorkloadVersion6>6.0.25 + true + true + true + true + + $(WasmNativeWorkload8) + + + + + true + + + $(WasiNativeWorkloadAvailable) + + + + <_BrowserWorkloadNotSupportedForTFM Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">true + <_BrowserWorkloadDisabled>$(_BrowserWorkloadNotSupportedForTFM) + <_UsingBlazorOrWasmSdk Condition="'$(UsingMicrosoftNETSdkBlazorWebAssembly)' == 'true' or '$(UsingMicrosoftNETSdkWebAssembly)' == 'true'">true + + + + + + + + true + $(WasmNativeWorkload7) + $(WasmNativeWorkload8) + $(WasmNativeWorkload) + false + $(WasmNativeWorkloadAvailable) + + + + <_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded Condition=" '$(WasmEnableLegacyJsInterop)' == 'false' or '$(WasmEnableSIMD)' == 'false' or '$(WasmEnableExceptionHandling)' == 'false' or '$(InvariantTimezone)' == 'true' or ('$(_UsingBlazorOrWasmSdk)' != 'true' and '$(InvariantGlobalization)' == 'true') or '$(WasmNativeStrip)' == 'false'">true + + + <_WasmNativeWorkloadNeeded Condition=" '$(_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded)' == 'true' or '$(RunAOTCompilation)' == 'true' or '$(WasmBuildNative)' == 'true' or '$(WasmGenerateAppBundle)' == 'true' or '$(_UsingBlazorOrWasmSdk)' != 'true'">true + false + true + $(WasmNativeWorkloadAvailable) + + + <_IsAndroidLibraryMode Condition="'$(RuntimeIdentifier)' == 'android-arm64' or '$(RuntimeIdentifier)' == 'android-arm' or '$(RuntimeIdentifier)' == 'android-x64' or '$(RuntimeIdentifier)' == 'android-x86'">true + <_IsAppleMobileLibraryMode Condition="'$(RuntimeIdentifier)' == 'ios-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-x64' or '$(RuntimeIdentifier)' == 'maccatalyst-arm64' or '$(RuntimeIdentifier)' == 'maccatalyst-x64' or '$(RuntimeIdentifier)' == 'tvos-arm64'">true + <_IsiOSLibraryMode Condition="'$(RuntimeIdentifier)' == 'ios-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-x64'">true + <_IsMacCatalystLibraryMode Condition="'$(RuntimeIdentifier)' == 'maccatalyst-arm64' or '$(RuntimeIdentifier)' == 'maccatalyst-x64'">true + <_IstvOSLibraryMode Condition="'$(RuntimeIdentifier)' == 'tvos-arm64'">true + + + true + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersionCurrent) + <_KnownWebAssemblySdkPackVersion>$(_RuntimePackInWorkloadVersionCurrent) + + + + true + 1.0 + + + + + + + + %(RuntimePackRuntimeIdentifiers);wasi-wasm + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + + + $(_KnownWebAssemblySdkPackVersion) + + + + + + + + + + + + + + + + + + + + + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + + + + + + + + + + + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + + + + + + + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + + + + true + + + + $(PublishSelfContained) + + + + true + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + $(PublishRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + + + + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + + + + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + true + + + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + + + + + + + + + + + + + + true + true + + + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + <_MinimumNonEolSupportedNetCoreTargetFramework>net6.0 + + + + + + + + + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true + + true + + .dll + + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + + + + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + + + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> + + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + + + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets + + $(MSBuildToolsPath)\Microsoft.Common.targets + + + + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets + + + + + + + + true + + + + + + true + true + true + true + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.CSharp.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.CSharp.targets + + + + .cs + C# + Managed + true + true + true + true + true + {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Properties + + + + + File + + + BrowseObject + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + true + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + $(CoreCompileDependsOn);_ComputeNonExistentFileProperty;ResolveCodeAnalysisRuleSet + true + + + + + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + + + + + + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + false + + + + + + + true + + + + + + + + + + $(RoslynTargetsPath)\Microsoft.CSharp.Core.targets + + + + + + + + + + roslyn4.8 + + + + + + + + + + + + + + + + + false + + + + + + + + true + + + + + + + + <_SkipAnalyzers /> + <_ImplicitlySkipAnalyzers /> + + + + <_SkipAnalyzers>true + + + + <_ImplicitlySkipAnalyzers>true + <_SkipAnalyzers>true + run-nullable-analysis=never;$(Features) + + + + + + <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers + + + + + + + + + + + + + + <_AllDirectoriesAbove Include="@(Compile->GetPathsOfAllDirectoriesAbove())" Condition="'$(DiscoverEditorConfigFiles)' != 'false' or '$(DiscoverGlobalAnalyzerConfigFiles)' != 'false'" /> + + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).GeneratedMSBuildEditorConfig.editorconfig + true + <_GeneratedEditorConfigHasItems Condition="'@(CompilerVisibleItemMetadata->Count())' != '0'">true + <_GeneratedEditorConfigShouldRun Condition="'$(GenerateMSBuildEditorConfigFile)' == 'true' and ('$(_GeneratedEditorConfigHasItems)' == 'true' or '@(CompilerVisibleProperty->Count())' != '0')">true + + + + + + <_GeneratedEditorConfigProperty Include="@(CompilerVisibleProperty)"> + $(%(CompilerVisibleProperty.Identity)) + + + <_GeneratedEditorConfigMetadata Include="@(%(CompilerVisibleItemMetadata.Identity))" Condition="'$(_GeneratedEditorConfigHasItems)' == 'true'"> + %(Identity) + %(CompilerVisibleItemMetadata.MetadataName) + + + + + + + + + + + true + + + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + + + + true + + + + + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + + + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + + + + + + + + + + false + + $(IntermediateOutputPath)/generated + + + + + + + + + + + + + <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3 + + <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND '$(_MaxSupportedLangVersion)' == ''">8.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '5.0' AND '$(_MaxSupportedLangVersion)' == ''">9.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '6.0' AND '$(_MaxSupportedLangVersion)' == ''">10.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '7.0' AND '$(_MaxSupportedLangVersion)' == ''">11.0 + + <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' == '8.0' AND '$(_MaxSupportedLangVersion)' == ''">12.0 + $(_MaxSupportedLangVersion) + $(_MaxSupportedLangVersion) + + + + + $(NoWarn);1701;1702 + + + + $(NoWarn);2008 + + + + $(AppConfig) + + $(IntermediateOutputPath)$(TargetName).compile.pdb + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + + + + -langversion:$(LangVersion) + $(CommandLineArgsForDesignTimeEvaluation) -checksumalgorithm:$(ChecksumAlgorithm) + $(CommandLineArgsForDesignTimeEvaluation) -define:$(DefineConstants) + + + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets + + + + + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + + + + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + + + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + + + + + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + + + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + + + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + + + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + + + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + + + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + + + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + + + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + + + + $(PublishDir) + $(ClickOncePublishDir)\ + + + + + $(PlatformTarget) + + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + + + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + + + + false + + + + + true + true + false + + + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + + + .winmd; + .dll; + .exe + + + + .pdb; + .xml; + .pri; + .dll.config; + .exe.config + + + Full + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + + + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + + + + + true + + + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + + + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + + + + x86 + + + + + + + + + + BeforeBuild; + CoreBuild; + AfterBuild + + + + + + + + + + + BuildOnlySettings; + PrepareForBuild; + PreBuildEvent; + ResolveReferences; + PrepareResources; + ResolveKeySource; + Compile; + ExportWindowsMDFile; + UnmanagedUnregistration; + GenerateSerializationAssemblies; + CreateSatelliteAssemblies; + GenerateManifests; + GetTargetPath; + PrepareForRun; + UnmanagedRegistration; + IncrementalClean; + PostBuildEvent + + + + + + + + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + + BeforeRebuild; + Clean; + $(_ProjectDefaultTargets); + AfterRebuild; + + + BeforeRebuild; + Clean; + Build; + AfterRebuild; + + + + + + + + + + Build + + + + + + + + + + + Build + + + + + + + + + + + Build + + + + + + + + + + + + + + + + + + + + + + + false + + + + true + + + + + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + + + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + + + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + + + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + + + + + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + BeforeResolveReferences; + AssignProjectConfiguration; + ResolveProjectReferences; + FindInvalidProjectReferences; + ResolveNativeReferences; + ResolveAssemblyReferences; + GenerateBindingRedirects; + GenerateBindingRedirectsUpdateAppConfig; + ResolveComReferences; + AfterResolveReferences + + + + + + + + + + + + false + + + + + + + true + true + false + + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + + + + + + + + + + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + + + + true + + + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + + + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + + + + + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + + true + + + + + + + + + + + + + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + + + + + + + + + + + + + + + + + + + + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + + + + %(AnnotatedProjects.UndefineProperties);TargetFramework + + + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained + + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + @(_TargetFrameworkInfo->'%(IsRidAgnostic)') + + true + $(Platform) + $(Platforms) + + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) + + $(IsRidAgnostic) + true + false + + + + + + + + + AssignProjectConfiguration; + _SplitProjectReferencesByFileExistence; + _GetProjectReferenceTargetFrameworkProperties; + _GetProjectReferencePlatformProperties + + + + + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + + + + + + + + + + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + + + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + + + + $(GetTargetPathDependsOn) + + + + + $(GetTargetPathDependsOn) + + + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + + + + + + %(_ApplicationManifestFinal.FullPath) + + + + + + + + + + + + + + + + + + ResolveProjectReferences; + FindInvalidProjectReferences; + GetFrameworkPaths; + GetReferenceAssemblyPaths; + PrepareForBuild; + ResolveSDKReferences; + ExpandSDKReferences; + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + + + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + + + + + true + + + + + false + true + + + + + + + + + + + + + + + + + + + + + + + %(FullPath) + + + %(ReferencePath.Identity) + + + + + + + + + + + + + + + <_NewGenerateBindingRedirectsIntermediateAppConfig Condition="Exists('$(_GenerateBindingRedirectsIntermediateAppConfig)')">true + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + + + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + + + + + GetInstalledSDKLocations + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + + + + + GetReferenceTargetPlatformMonikers + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + + + + + + + + ResolveSDKReferences + + + .winmd; + .dll + + + + + + + + + + + + + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + + + {CandidateAssemblyFiles}; + $(ReferencePath); + {HintPathFromItem}; + {TargetFrameworkDirectory}; + {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; + {RawFileName}; + $(TargetDir) + + + + + + GetFrameworkPaths; + GetReferenceAssemblyPaths; + ResolveReferences + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + + + {CandidateAssemblyFiles}; + $(ReferencePath); + {HintPathFromItem}; + {TargetFrameworkDirectory}; + {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; + {RawFileName}; + $(OutDir) + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + + + + false + + + + $(IntermediateOutputPath) + + + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + + + + + + + + $(PrepareResourcesDependsOn); + PrepareResourceNames; + ResGen; + CompileLicxFiles + + + + + + + AssignTargetPaths; + SplitResourcesByCulture; + CreateManifestResourceNames; + CreateCustomManifestResourceNames + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + + + + + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + + + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + + + + + + + + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + + + + + + + + + + + + + + ResolveReferences; + ResolveKeySource; + SetWin32ManifestProperties; + FindReferenceAssembliesForReferences; + _GenerateCompileInputs; + BeforeCompile; + _TimeStampBeforeCompile; + _GenerateCompileDependencyCache; + CoreCompile; + _TimeStampAfterCompile; + AfterCompile; + + + + + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + + + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + + + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + + + + + __NonExistentSubDir__\__NonExistentFile__ + + + + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + + + + _GenerateSatelliteAssemblyInputs; + ComputeIntermediateSatelliteAssemblies; + GenerateSatelliteAssemblies + + + + + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + + + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + + + + + CreateManifestResourceNames + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + + + + $(Win32Manifest) + + + + + + + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + + + + + SetWin32ManifestProperties; + GenerateApplicationManifest; + GenerateDeploymentManifest + + + + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + + + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + + + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + + + + + + + + + + + + + + + + + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + + + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + + + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + + + + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + + + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + + <_ClickOnceTransitiveContentItemsTemp Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(TargetPath)')" Condition="'$(PublishProtocol)' == 'ClickOnce'"> + %(Identity) + + <_ClickOnceTransitiveContentItems Include="@(_ClickOnceTransitiveContentItemsTemp->'%(SavedIdentity)')" Condition="'%(Identity)'=='@(PublishFile)' Or '%(Extension)'=='.exe' Or '%(Extension)'=='.dll'" /> + + + <_ClickOnceNoneItemsTemp Include="@(_NoneWithTargetPath->'%(TargetPath)')" Condition="'$(PublishProtocol)'=='Clickonce' And ('%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' or '%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest')"> + %(Identity) + + <_ClickOnceNoneItems Include="@(_ClickOnceNoneItemsTemp->'%(SavedIdentity)')" Condition="'%(Identity)'=='@(PublishFile)' Or '%(Extension)'=='.exe' Or '%(Extension)'=='.dll'" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems);@(_ClickOnceNoneItems);@(_ClickOnceTransitiveContentItems)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + + + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + + + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + + + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + false + + + + + CopyFilesToOutputDirectory + + + + + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + false + + + + + + + + + + + + + + + + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + + true + <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> + AssignProjectConfiguration; + _SplitProjectReferencesByFileExistence + + + AssignTargetPaths; + $(_TargetsThatPrepareProjectReferences); + _GetProjectReferenceTargetFrameworkProperties; + _PopulateCommonStateForGetCopyToOutputDirectoryItems + + + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + + + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_CopyToOutputDirectoryTransitiveItems KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_CopyToOutputDirectoryTransitiveItems KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + + + + + + %(CopyToOutputDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + + + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + + + + + + + + + + + + + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + + + + + + + + + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + + + + + BeforeClean; + UnmanagedUnregistration; + CoreClean; + CleanReferencedProjects; + CleanPublishFolder; + AfterClean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CleanPublishFolder; + $(_RecursiveTargetForContentCopying); + _DeploymentGenerateTrustInfo + $(DeploymentComputeClickOnceManifestInfoDependsOn) + + + + + + SetGenerateManifests; + Build; + PublishOnly + + + _DeploymentUnpublishable + + + + + + + + + + + + + true + + + + + + SetGenerateManifests; + PublishBuild; + BeforePublish; + GenerateManifests; + CopyFilesToOutputDirectory; + _CopyFilesToPublishFolder; + _DeploymentGenerateBootstrapper; + ResolveKeySource; + _DeploymentSignClickOnceDeployment; + AfterPublish + + + + + + + + + + + BuildOnlySettings; + PrepareForBuild; + ResolveReferences; + PrepareResources; + ResolveKeySource; + GenerateSerializationAssemblies; + CreateSatelliteAssemblies; + + + + + + + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + + + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + + + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + + + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + + + + $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + + + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + + + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + + + + + + + + + + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + + + + + + + + + + + + + $(CommonOutputGroupsDependsOn); + BuildOnlySettings; + PrepareForBuild; + AssignTargetPaths; + ResolveReferences + + + + + + + + $(BuiltProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(DocumentationProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(SGenFilesOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(ReferenceCopyLocalPathsOutputGroupDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + + + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + + + + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> + $(_GenerateRestoreGraphProjectEntryInputProperties); + NuGetRestoreTargets=$(MSBuildThisFileFullPath); + RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); + CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); + CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); + + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> + $(_GenerateRestoreGraphProjectEntryInputProperties); + _RestoreSolutionFileUsed=true; + SolutionDir=$(SolutionDir); + SolutionName=$(SolutionName); + SolutionFileName=$(SolutionFileName); + SolutionPath=$(SolutionPath); + SolutionExt=$(SolutionExt); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + + + + + + + + + + + + + + + + + + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vdproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + + + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + + + + + netcoreapp1.0 + + + + + + + + + + + + + + + + + + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + + + + + true + + + + + + <_RestoreProjectFramework /> + <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + + + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + + <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> + + + + + + $(SolutionDir) + + + + + + + + + + + + + + + + + + + + + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + + + + + + $(MSBuildProjectExtensionsPath) + + + + + + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + + + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + $(NuGetAudit) + $(NuGetAuditLevel) + $(NuGetAuditMode) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + $(WindowsTargetPlatformMinVersion) + + + + + + + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + + + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + + + + + <_RestoreSourcesOverride>$(RestoreSources) + + + + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + + + + + + + + + + + + <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) + + + + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + + + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net8.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + + + + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + true + + + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + + + + + + + + +// <autogenerated /> +using System%3b +using System.Reflection%3b +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName = "$(TargetFrameworkMonikerDisplayName)")] + + + + + true + + true + true + + $([System.Globalization.CultureInfo]::CurrentUICulture.Name) + + + + + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> + + + + + + + + + + TargetFramework + TargetFrameworks + + + true + + + + + + + + + <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath + $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);$(ProjectReferenceTargetsForBuild) + + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) + GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + + $(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForPublish) + $(ProjectReferenceTargetsForRebuild);$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + .default;$(ProjectReferenceTargetsForBuild) + + + Clean;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + + + + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tools\ + net8.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll + + Microsoft.NETCore.App;NETStandard.Library + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + + + + true + + + + + + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true + + false + + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + + + + + $(ResolveAssemblyReferencesDependsOn); + ResolvePackageDependenciesForBuild; + _HandlePackageFileConflicts; + + + ResolvePackageDependenciesForBuild; + _HandlePackageFileConflicts; + $(PrepareResourcesDependsOn) + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + + + + true + + + + + + ResolveLockFileReferences; + ResolveLockFileAnalyzers; + ResolveLockFileCopyLocalFiles; + ResolveRuntimePackAssets; + RunProduceContentAssets; + IncludeTransitiveProjectReferences + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + + + + + + + + + + + true + true + true + true + + + + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc + $(DefaultItemExcludes);**/.DS_Store + + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + + + + + 1.6.1 + + 2.0.3 + + + + + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + + + + + + + + + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + + + + true + + + + + + + + + + + $(ResolveAssemblyReferencesDependsOn); + ResolveTargetingPackAssets; + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + + + + + + + + + + + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + + + + + + true + false + + + + + + + + + + + + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + + + + + + + + + + + + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + + + + + + + + + + + + + + + + <_Parameter1>$(UserSecretsId.Trim()) + + + + + + + + + + $(_IsNETCoreOrNETStandard) + + + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json + + + + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + + + + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + + + + + Microsoft.NETCore.App + + + + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + + + true + + + + false + true + + + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + + + + _CheckForBuildWithNoBuild; + $(CoreBuildDependsOn); + GenerateBuildDependencyFile; + GenerateBuildRuntimeConfigurationFiles + + + + + _SdkBeforeClean; + $(CoreCleanDependsOn) + + + + + _SdkBeforeRebuild; + $(RebuildDependsOn) + + + + + + + + + + + + + + + + + + 1.0.0 + + + + + + + + + + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + + + + + + + + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + + + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + + + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(CompileDependsOn); + _CreateAppHost; + _CreateComHost; + _GetIjwHostPaths; + + + + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + + + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + + + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + + + + + + + + + + + + + + + + + + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + + + + + + + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + + + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + + + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + + + + + + + true + + + true + + + + + + + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + + + + + $(CreateSatelliteAssembliesDependsOn); + CoreGenerateSatelliteAssemblies + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + + + + + + + + + + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + + + + $(CommonOutputGroupsDependsOn); + + + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); + _GenerateDesignerDepsFile; + _GenerateDesignerRuntimeConfigFile; + GetCopyToOutputDirectoryItems; + _GatherDesignerShadowCopyFiles; + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + + + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + <_DesignerShadowCopy Remove="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' != 'true'" /> + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + + + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(Trademark) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + %(InternalsVisibleTo.PublicKey) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + + + + + + + + $(AssemblyVersion) + $(Version) + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).GlobalUsings.g$(DefaultLanguageSourceExtension) + + + + + + + + + + + + + + + + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + + + + + + + + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + %(PackageReference.Identity) + %(PackageReference.Version) + + StorePackageName=%(PackageReference.Identity); + StorePackageVersion=%(PackageReference.Version); + ComposeWorkingDir=$(ComposeWorkingDir); + PublishDir=$(PublishDir); + StoreStagingDir=$(StoreStagingDir); + TargetFramework=$(TargetFramework); + RuntimeIdentifier=$(RuntimeIdentifier); + JitPath=$(JitPath); + Crossgen=$(Crossgen); + SkipUnchangedFiles=$(SkipUnchangedFiles); + PreserveStoreLayout=$(PreserveStoreLayout); + CreateProfilingSymbols=$(CreateProfilingSymbols); + StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); + DisableImplicitFrameworkReferences=false; + + + + + + + + + + + + + + + + + + + + + + + <_StoreArtifactContent> +@(ListOfPackageReference) + +]]> + + + + + + + + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + + + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + + + + + + + + + + + + + + + + + + + + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + + + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + + + + + + true + true + + + + + + + + + + + + + + + + + + + + + + true + true + false + true + false + true + 1 + + + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + + + + + + + CrossgenExe=$(Crossgen); + CrossgenJit=$(JitPath); + CrossgenInputAssembly=%(_ManagedResolvedFilesToOptimize.Fullpath); + CrossgenOutputAssembly=$(_RuntimeOptimizedDir)$(DirectorySeparatorChar)%(_ManagedResolvedFilesToOptimize.FileName)%(_ManagedResolvedFilesToOptimize.Extension); + CrossgenSubOutputPath=%(_ManagedResolvedFilesToOptimize.DestinationSubPath); + _RuntimeOptimizedDir=$(_RuntimeOptimizedDir); + PublishDir=$(StoreStagingDir); + CrossgenPlatformAssembliesPath=$(_RuntimeRefDir)$(PathSeparator)$(_NetCoreRefDir); + CreateProfilingSymbols=$(CreateProfilingSymbols); + StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); + _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) + + + + + + + + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + + + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + + + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + + + + + + + + + + + + + + + + + + + + + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + + + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + + + + + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + + + + + + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + + + + + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + + true + true + + + + Always + + + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + + + <_FirstTargetFrameworkToSupportTrimming>net6.0 + <_FirstTargetFrameworkToSupportAot>net7.0 + <_FirstTargetFrameworkToSupportSingleFile>net6.0 + + <_MinNonEolTargetFrameworkForTrimming>$(_MinimumNonEolSupportedNetCoreTargetFramework) + <_MinNonEolTargetFrameworkForSingleFile>$(_MinimumNonEolSupportedNetCoreTargetFramework) + + <_MinNonEolTargetFrameworkForAot>$(_MinimumNonEolSupportedNetCoreTargetFramework) + <_MinNonEolTargetFrameworkForAot Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(_FirstTargetFrameworkToSupportAot)', '$(_MinimumNonEolSupportedNetCoreTargetFramework)'))">$(_FirstTargetFrameworkToSupportAot) + + + <_TargetFramework Include="$(TargetFrameworks)" /> + <_DecomposedTargetFramework Include="@(_TargetFramework)"> + $([MSBuild]::IsTargetFrameworkCompatible('%(Identity)', '$(_FirstTargetFrameworkToSupportTrimming)')) + $([MSBuild]::IsTargetFrameworkCompatible('$(_MinNonEolTargetFrameworkForTrimming)', '%(Identity)')) + $([MSBuild]::IsTargetFrameworkCompatible('%(Identity)', '$(_FirstTargetFrameworkToSupportAot)')) + $([MSBuild]::IsTargetFrameworkCompatible('$(_MinNonEolTargetFrameworkForAot)', '%(Identity)')) + $([MSBuild]::IsTargetFrameworkCompatible('%(Identity)', '$(_FirstTargetFrameworkToSupportSingleFile)')) + $([MSBuild]::IsTargetFrameworkCompatible('$(_MinNonEolTargetFrameworkForSingleFile)', '%(Identity)')) + + <_TargetFrameworkToSilenceIsTrimmableUnsupportedWarning Include="@(_DecomposedTargetFramework)" Condition="'%(SupportsTrimming)' == 'true' And '%(SupportedByMinNonEolTargetFrameworkForTrimming)' == 'true'" /> + <_TargetFrameworkToSilenceIsAotCompatibleUnsupportedWarning Include="@(_DecomposedTargetFramework->'%(Identity)')" Condition="'%(SupportsAot)' == 'true' And '%(SupportedByMinNonEolTargetFrameworkForAot)' == 'true'" /> + <_TargetFrameworkToSilenceEnableSingleFileAnalyzerUnsupportedWarning Include="@(_DecomposedTargetFramework)" Condition="'%(SupportsSingleFile)' == 'true' And '%(SupportedByMinNonEolTargetFrameworkForSingleFile)' == 'true'" /> + + + + <_SilenceIsTrimmableUnsupportedWarning Condition="'$(_SilenceIsTrimmableUnsupportedWarning)' == '' And @(_TargetFrameworkToSilenceIsTrimmableUnsupportedWarning->Count()) > 0">true + <_SilenceIsAotCompatibleUnsupportedWarning Condition="'$(_SilenceIsAotCompatibleUnsupportedWarning)' == '' And @(_TargetFrameworkToSilenceIsAotCompatibleUnsupportedWarning->Count()) > 0">true + <_SilenceEnableSingleFileAnalyzerUnsupportedWarning Condition="'$(_SilenceEnableSingleFileAnalyzerUnsupportedWarning)' == '' And @(_TargetFrameworkToSilenceEnableSingleFileAnalyzerUnsupportedWarning->Count()) > 0">true + + + + + + + + <_BeforePublishNoBuildTargets> + BuildOnlySettings; + _PreventProjectReferencesFromBuilding; + ResolveReferences; + PrepareResourceNames; + ComputeIntermediateSatelliteAssemblies; + ComputeEmbeddedApphostPaths; + + <_CorePublishTargets> + PrepareForPublish; + ComputeAndCopyFilesToPublishDirectory; + $(PublishProtocolProviderTargets); + PublishItemsOutputGroup; + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + $(PublishDir)\ + + + + + + + + + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + + + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + + + + + + + true + true + false + + + + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + + + + + + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + + + + + + + + + + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + + + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + + + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + + + + + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + + + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + + + + + + + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + + + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + + + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + + + + + + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + + + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + $(PublishItemsOutputGroupDependsOn); + ResolveReferences; + ComputeResolvedFilesToPublishList; + _ComputeFilesToBundle; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + $(TargetName) + $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) + + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + + + + + + + + + + + + + + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + + + + + + + + + + + + + + + + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(PublicSign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + + + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + + + + + + + + + + + + + + + + Microsoft.CSharp|4.4.0; + Microsoft.Win32.Primitives|4.3.0; + Microsoft.Win32.Registry|4.4.0; + runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple|4.3.0; + runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + System.AppContext|4.3.0; + System.Buffers|4.4.0; + System.Collections|4.3.0; + System.Collections.Concurrent|4.3.0; + System.Collections.Immutable|1.4.0; + System.Collections.NonGeneric|4.3.0; + System.Collections.Specialized|4.3.0; + System.ComponentModel|4.3.0; + System.ComponentModel.EventBasedAsync|4.3.0; + System.ComponentModel.Primitives|4.3.0; + System.ComponentModel.TypeConverter|4.3.0; + System.Console|4.3.0; + System.Data.Common|4.3.0; + System.Diagnostics.Contracts|4.3.0; + System.Diagnostics.Debug|4.3.0; + System.Diagnostics.DiagnosticSource|4.4.0; + System.Diagnostics.FileVersionInfo|4.3.0; + System.Diagnostics.Process|4.3.0; + System.Diagnostics.StackTrace|4.3.0; + System.Diagnostics.TextWriterTraceListener|4.3.0; + System.Diagnostics.Tools|4.3.0; + System.Diagnostics.TraceSource|4.3.0; + System.Diagnostics.Tracing|4.3.0; + System.Dynamic.Runtime|4.3.0; + System.Globalization|4.3.0; + System.Globalization.Calendars|4.3.0; + System.Globalization.Extensions|4.3.0; + System.IO|4.3.0; + System.IO.Compression|4.3.0; + System.IO.Compression.ZipFile|4.3.0; + System.IO.FileSystem|4.3.0; + System.IO.FileSystem.AccessControl|4.4.0; + System.IO.FileSystem.DriveInfo|4.3.0; + System.IO.FileSystem.Primitives|4.3.0; + System.IO.FileSystem.Watcher|4.3.0; + System.IO.IsolatedStorage|4.3.0; + System.IO.MemoryMappedFiles|4.3.0; + System.IO.Pipes|4.3.0; + System.IO.UnmanagedMemoryStream|4.3.0; + System.Linq|4.3.0; + System.Linq.Expressions|4.3.0; + System.Linq.Queryable|4.3.0; + System.Net.Http|4.3.0; + System.Net.NameResolution|4.3.0; + System.Net.Primitives|4.3.0; + System.Net.Requests|4.3.0; + System.Net.Security|4.3.0; + System.Net.Sockets|4.3.0; + System.Net.WebHeaderCollection|4.3.0; + System.ObjectModel|4.3.0; + System.Private.DataContractSerialization|4.3.0; + System.Reflection|4.3.0; + System.Reflection.Emit|4.3.0; + System.Reflection.Emit.ILGeneration|4.3.0; + System.Reflection.Emit.Lightweight|4.3.0; + System.Reflection.Extensions|4.3.0; + System.Reflection.Metadata|1.5.0; + System.Reflection.Primitives|4.3.0; + System.Reflection.TypeExtensions|4.3.0; + System.Resources.ResourceManager|4.3.0; + System.Runtime|4.3.0; + System.Runtime.Extensions|4.3.0; + System.Runtime.Handles|4.3.0; + System.Runtime.InteropServices|4.3.0; + System.Runtime.InteropServices.RuntimeInformation|4.3.0; + System.Runtime.Loader|4.3.0; + System.Runtime.Numerics|4.3.0; + System.Runtime.Serialization.Formatters|4.3.0; + System.Runtime.Serialization.Json|4.3.0; + System.Runtime.Serialization.Primitives|4.3.0; + System.Security.AccessControl|4.4.0; + System.Security.Claims|4.3.0; + System.Security.Cryptography.Algorithms|4.3.0; + System.Security.Cryptography.Cng|4.4.0; + System.Security.Cryptography.Csp|4.3.0; + System.Security.Cryptography.Encoding|4.3.0; + System.Security.Cryptography.OpenSsl|4.4.0; + System.Security.Cryptography.Primitives|4.3.0; + System.Security.Cryptography.X509Certificates|4.3.0; + System.Security.Cryptography.Xml|4.4.0; + System.Security.Principal|4.3.0; + System.Security.Principal.Windows|4.4.0; + System.Text.Encoding|4.3.0; + System.Text.Encoding.Extensions|4.3.0; + System.Text.RegularExpressions|4.3.0; + System.Threading|4.3.0; + System.Threading.Overlapped|4.3.0; + System.Threading.Tasks|4.3.0; + System.Threading.Tasks.Extensions|4.3.0; + System.Threading.Tasks.Parallel|4.3.0; + System.Threading.Thread|4.3.0; + System.Threading.ThreadPool|4.3.0; + System.Threading.Timer|4.3.0; + System.ValueTuple|4.3.0; + System.Xml.ReaderWriter|4.3.0; + System.Xml.XDocument|4.3.0; + System.Xml.XmlDocument|4.3.0; + System.Xml.XmlSerializer|4.3.0; + System.Xml.XPath|4.3.0; + System.Xml.XPath.XDocument|4.3.0; + + + + + Microsoft.Win32.Primitives|4.3.0; + System.AppContext|4.3.0; + System.Collections|4.3.0; + System.Collections.Concurrent|4.3.0; + System.Collections.Immutable|1.4.0; + System.Collections.NonGeneric|4.3.0; + System.Collections.Specialized|4.3.0; + System.ComponentModel|4.3.0; + System.ComponentModel.EventBasedAsync|4.3.0; + System.ComponentModel.Primitives|4.3.0; + System.ComponentModel.TypeConverter|4.3.0; + System.Console|4.3.0; + System.Data.Common|4.3.0; + System.Diagnostics.Contracts|4.3.0; + System.Diagnostics.Debug|4.3.0; + System.Diagnostics.FileVersionInfo|4.3.0; + System.Diagnostics.Process|4.3.0; + System.Diagnostics.StackTrace|4.3.0; + System.Diagnostics.TextWriterTraceListener|4.3.0; + System.Diagnostics.Tools|4.3.0; + System.Diagnostics.TraceSource|4.3.0; + System.Diagnostics.Tracing|4.3.0; + System.Dynamic.Runtime|4.3.0; + System.Globalization|4.3.0; + System.Globalization.Calendars|4.3.0; + System.Globalization.Extensions|4.3.0; + System.IO|4.3.0; + System.IO.Compression|4.3.0; + System.IO.Compression.ZipFile|4.3.0; + System.IO.FileSystem|4.3.0; + System.IO.FileSystem.DriveInfo|4.3.0; + System.IO.FileSystem.Primitives|4.3.0; + System.IO.FileSystem.Watcher|4.3.0; + System.IO.IsolatedStorage|4.3.0; + System.IO.MemoryMappedFiles|4.3.0; + System.IO.Pipes|4.3.0; + System.IO.UnmanagedMemoryStream|4.3.0; + System.Linq|4.3.0; + System.Linq.Expressions|4.3.0; + System.Linq.Queryable|4.3.0; + System.Net.Http|4.3.0; + System.Net.NameResolution|4.3.0; + System.Net.Primitives|4.3.0; + System.Net.Requests|4.3.0; + System.Net.Security|4.3.0; + System.Net.Sockets|4.3.0; + System.Net.WebHeaderCollection|4.3.0; + System.ObjectModel|4.3.0; + System.Private.DataContractSerialization|4.3.0; + System.Reflection|4.3.0; + System.Reflection.Emit|4.3.0; + System.Reflection.Emit.ILGeneration|4.3.0; + System.Reflection.Emit.Lightweight|4.3.0; + System.Reflection.Extensions|4.3.0; + System.Reflection.Primitives|4.3.0; + System.Reflection.TypeExtensions|4.3.0; + System.Resources.ResourceManager|4.3.0; + System.Runtime|4.3.0; + System.Runtime.Extensions|4.3.0; + System.Runtime.Handles|4.3.0; + System.Runtime.InteropServices|4.3.0; + System.Runtime.InteropServices.RuntimeInformation|4.3.0; + System.Runtime.Loader|4.3.0; + System.Runtime.Numerics|4.3.0; + System.Runtime.Serialization.Formatters|4.3.0; + System.Runtime.Serialization.Json|4.3.0; + System.Runtime.Serialization.Primitives|4.3.0; + System.Security.AccessControl|4.4.0; + System.Security.Claims|4.3.0; + System.Security.Cryptography.Algorithms|4.3.0; + System.Security.Cryptography.Csp|4.3.0; + System.Security.Cryptography.Encoding|4.3.0; + System.Security.Cryptography.Primitives|4.3.0; + System.Security.Cryptography.X509Certificates|4.3.0; + System.Security.Cryptography.Xml|4.4.0; + System.Security.Principal|4.3.0; + System.Security.Principal.Windows|4.4.0; + System.Text.Encoding|4.3.0; + System.Text.Encoding.Extensions|4.3.0; + System.Text.RegularExpressions|4.3.0; + System.Threading|4.3.0; + System.Threading.Overlapped|4.3.0; + System.Threading.Tasks|4.3.0; + System.Threading.Tasks.Extensions|4.3.0; + System.Threading.Tasks.Parallel|4.3.0; + System.Threading.Thread|4.3.0; + System.Threading.ThreadPool|4.3.0; + System.Threading.Timer|4.3.0; + System.ValueTuple|4.3.0; + System.Xml.ReaderWriter|4.3.0; + System.Xml.XDocument|4.3.0; + System.Xml.XmlDocument|4.3.0; + System.Xml.XmlSerializer|4.3.0; + System.Xml.XPath|4.3.0; + System.Xml.XPath.XDocument|4.3.0; + + + + + + + + + + + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + + + + + + + + + + + + + + Properties + + + $(Configuration.ToUpperInvariant()) + + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(ImplicitConfigurationDefine.Replace(' ', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + + + + + + + + $(WarningsAsErrors);SYSLIB0011 + + + + + + + + + + + + <_NoneAnalysisLevel>4.0 + + <_LatestAnalysisLevel>8.0 + <_PreviewAnalysisLevel>9.0 + latest + $(_TargetFrameworkVersionWithoutV) + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevel), '$(AnalysisLevelPrefix)-', '')) + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + $(AnalysisLevelPrefix) + $(AnalysisLevel) + + + + 9999 + + 4 + + $(_TargetFrameworkVersionWithoutV.Substring(0, 1)) + + + + + true + + true + + true + + true + + false + + + + false + false + false + false + false + + + + + + + + <_NETAnalyzersSDKAssemblyVersion>8.0.0 + + + + CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1510;CA1511;CA1512;CA1513;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA1856;CA1857;CA1858;CA1859;CA1860;CA1861;CA1862;CA1863;CA1864;CA1865;CA1866;CA1867;CA1868;CA1869;CA1870;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2021;CA2100;CA2101;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2261;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 + $(CodeAnalysisTreatWarningsAsErrors) + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + + + + + + true + + + + true + + + + 7.0 + + + + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + + + + + + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll + + + + + + + + + + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) + + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + + + + + + + + + + $(TargetPlatformMoniker) + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + + + + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + + + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + + + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + + + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + + + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + + + + \ No newline at end of file diff --git a/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100.FSharp.xml b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100.FSharp.xml new file mode 100644 index 0000000..864a411 --- /dev/null +++ b/MSBuild.CompilerCache/Targets/ReferenceTargets/Targets.8.0.100.FSharp.xml @@ -0,0 +1,15192 @@ + + + + + + + true + + true + + + + true + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + false + + + + + true + $(MSBuildProjectName) + + + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\ + + + + <_ArtifactsPathSetEarly>true + + + $(ProjectExtensionsPathForSpecifiedProject) + + + + + + true + true + true + true + true + + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + + + + + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) + + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + + + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.props + $(MSBuildToolsPath)\NuGet.props + + + + + + true + + + + <_DirectoryPackagesPropsFile Condition="'$(_DirectoryPackagesPropsFile)' == ''">Directory.Packages.props + <_DirectoryPackagesPropsBasePath Condition="'$(_DirectoryPackagesPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', '$(_DirectoryPackagesPropsFile)')) + $([MSBuild]::NormalizePath('$(_DirectoryPackagesPropsBasePath)', '$(_DirectoryPackagesPropsFile)')) + + + + true + + + + true + true + true + true + true + true + true + true + true + true + true + true + true + + + + + + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + + true + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName.Replace(" ", "_")) + true + + + + true + false + + + true + + + + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + arm64 + + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);{RawFileName} + + + portable + + false + + true + true + + PackageReference + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + true + 1.0.3 + false + true + true + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + + + + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + + + + + $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\..\')) + $([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))packs + <_NetFrameworkHostedCompilersVersion>4.8.0-3.23524.11 + 8.0 + 8.0 + 8.0.0 + 2.1 + 2.1.0 + 8.0.0-rtm.23531.3 + $(MSBuildThisFileDirectory)RuntimeIdentifierGraph.json + 8.0.100 + win-x64 + win-x64 + <_NETCoreSdkIsPreview>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_KnownRuntimeIdentiferPlatforms Include="any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix;any;aot;freebsd;illumos;solaris;unix" /> + <_ExcludedKnownRuntimeIdentiferPlatforms Include="rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0;rhel.6;tizen.4.0.0;tizen.5.0.0" /> + + + + + false + + + <__WindowsAppSdkDefaultImageIncludes>**/*.png;**/*.bmp;**/*.jpg;**/*.dds;**/*.tif;**/*.tga;**/*.gif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildBinPath)\DisableWorkloadResolver.sentinel + <__DisableWorkloadResolverSentinelPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildBinPath)\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel + true + + + + + + + + + + + + + + + + + + + + + + + + + + + 9.0 + 17.8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + <_SourceLinkPropsImported>true + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + + + + + + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Common.dll + <_MicrosoftSourceLinkCommonAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Common.dll + + + + true + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + true + + + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.props + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.props + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + TRACE + + + + + $(DefineConstants);TRACE + + + + + false + + false + + + F# + + {F2A71F9B-5D33-465A-A702-920D77279786} + + false + false + 3 + 3239;$(WarningsAsErrors) + true + true + false + + + + $(WarningsAsErrors);SYSLIB0011 + + + true + false + false + + + false + true + true + + + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsc.dll" + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) + "$(MSBuildThisFileDirectory)fsi.dll" + + + true + true + + + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + <_FSCorePackageVersionSet>true + 8.0.100 + <_FSharpCoreLibraryPacksFolder Condition="'$(_FSharpCoreLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(MSBuildThisFileDirectory)'))library-packs + + + + + 4.4.0 + + + + contentFiles + + + contentFiles + + + + + + + + true + + + + + + + + $(TargetsForTfmSpecificContentInPackage);PackTool + + + + + + $(TargetsForTfmSpecificContentInPackage);_PackProjectToolValidation + + + + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + MSBuild:Compile + $(DefaultXamlRuntime) + Designer + + + + + + + + + + + + + + + + + + <_WpfCommonNetFxReference Include="WindowsBase" /> + <_WpfCommonNetFxReference Include="PresentationCore" /> + <_WpfCommonNetFxReference Include="PresentationFramework" /> + <_WpfCommonNetFxReference Include="System.Xaml" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'"> + 4.0 + + <_WpfCommonNetFxReference Include="UIAutomationClient" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationClientSideProviders" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationProvider" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="UIAutomationTypes" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.0'" /> + <_WpfCommonNetFxReference Include="System.Windows.Controls.Ribbon" Condition="'$(_TargetFrameworkVersionValue)' != '' And '$(_TargetFrameworkVersionValue)' >= '4.5'" /> + + + <_SDKImplicitReference Include="@(_WpfCommonNetFxReference)" Condition="'$(UseWPF)' == 'true'" /> + <_SDKImplicitReference Include="System.Windows.Forms" Condition="('$(UseWindowsForms)' == 'true') " /> + <_SDKImplicitReference Include="WindowsFormsIntegration" Condition=" ('$(UseWindowsForms)' == 'true') And ('$(UseWPF)' == 'true') " /> + + + + + + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v1.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.0" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.1" /> + <_UnsupportedNETCoreAppTargetFramework Include=".NETCoreApp,Version=v2.2" /> + + <_UnsupportedNETStandardTargetFramework Include="@(SupportedNETStandardTargetFramework)" /> + + <_UnsupportedNETFrameworkTargetFramework Include=".NETFramework,Version=v2.0" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + + + + + + + + + true + + + + + + + + + + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + + + $(_IsExecutable) + <_UsingDefaultForHasRuntimeOutput>true + + + + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + + + + + Debug + AnyCPU + $(Platform) + + + + + + + true + <_PublishProfileDesignerFolder Condition="'$(AppDesignerFolder)' != ''">$(AppDesignerFolder) + <_PublishProfileDesignerFolder Condition="'$(_PublishProfileDesignerFolder)' == ''">Properties + <_PublishProfileRootFolder Condition="'$(_PublishProfileRootFolder)' == ''">$(MSBuildProjectDirectory)\$(_PublishProfileDesignerFolder)\PublishProfiles\ + $([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile))) + $(_PublishProfileRootFolder)$(PublishProfileName).pubxml + $(PublishProfileFullPath) + + false + + + + + + + + + + + + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + + + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + + + + <_UnsupportedTargetFrameworkError>true + + + + + + + + + + true + true + + + + + + + + + + + + + + + + + + + + v0.0 + + + _ + + + + + true + + + + + + + + + + + <_EnableDefaultWindowsPlatform>false + false + + + 2.1 + + + + + + + + + + + + + + <_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + @(_ValidTargetPlatformVersion->Distinct()) + + + + + true + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' != ''">@(SdkSupportedTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(SdkSupportedTargetPlatformVersion)' == ''">None + + + + + + + true + true + + + + + + + + + true + false + true + <_PlatformToAppendToOutputPath Condition="'$(AppendPlatformToOutputPath)' == 'true'">$(PlatformName)\ + + + + + + + + <_DefaultArtifactsPathPropsImported>true + + + + true + true + <_ArtifactsPathLocationType>ExplicitlySpecified + + + + + $(_DirectoryBuildPropsBasePath)\artifacts + true + <_ArtifactsPathLocationType>DirectoryBuildPropsFolder + + + + $(MSBuildProjectDirectory)\artifacts + <_ArtifactsPathLocationType>ProjectFolder + + + + $(MSBuildProjectName) + bin + publish + package + + + $(Configuration.ToLowerInvariant()) + + $(ArtifactsPivots)_$(TargetFramework.ToLowerInvariant()) + + $(ArtifactsPivots)_$(RuntimeIdentifier.ToLowerInvariant()) + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\$(ArtifactsProjectName)\ + $(ArtifactsPath)\obj\$(ArtifactsProjectName)\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsProjectName)\$(ArtifactsPivots)\ + + + + $(ArtifactsPath)\$(ArtifactsBinOutputName)\ + $(ArtifactsPath)\obj\ + $(ArtifactsPath)\$(ArtifactsPublishOutputName)\$(ArtifactsPivots)\ + + + $(BaseOutputPath)$(ArtifactsPivots)\ + $(BaseIntermediateOutputPath)$(ArtifactsPivots)\ + + $(ArtifactsPath)\$(ArtifactsPackageOutputName)\$(Configuration.ToLowerInvariant())\ + + + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(OutputPath)\ + + + + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(_PlatformToAppendToOutputPath)$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + $(DefaultItemExcludes);$(OutputPath)/** + $(DefaultItemExcludes);$(IntermediateOutputPath)/** + + + $(DefaultItemExcludes);$(ArtifactsPath)/** + + $(DefaultItemExcludes);bin/**;obj/** + + + + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + + + + + + true + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RuntimePackInWorkloadVersionCurrent>8.0.0 + <_RuntimePackInWorkloadVersion7>7.0.14 + <_RuntimePackInWorkloadVersion6>6.0.25 + true + true + true + true + + $(WasmNativeWorkload8) + + + + + true + + + $(WasiNativeWorkloadAvailable) + + + + <_BrowserWorkloadNotSupportedForTFM Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '6.0'))">true + <_BrowserWorkloadDisabled>$(_BrowserWorkloadNotSupportedForTFM) + <_UsingBlazorOrWasmSdk Condition="'$(UsingMicrosoftNETSdkBlazorWebAssembly)' == 'true' or '$(UsingMicrosoftNETSdkWebAssembly)' == 'true'">true + + + + + + + + true + $(WasmNativeWorkload7) + $(WasmNativeWorkload8) + $(WasmNativeWorkload) + false + $(WasmNativeWorkloadAvailable) + + + + <_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded Condition=" '$(WasmEnableLegacyJsInterop)' == 'false' or '$(WasmEnableSIMD)' == 'false' or '$(WasmEnableExceptionHandling)' == 'false' or '$(InvariantTimezone)' == 'true' or ('$(_UsingBlazorOrWasmSdk)' != 'true' and '$(InvariantGlobalization)' == 'true') or '$(WasmNativeStrip)' == 'false'">true + + + <_WasmNativeWorkloadNeeded Condition=" '$(_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded)' == 'true' or '$(RunAOTCompilation)' == 'true' or '$(WasmBuildNative)' == 'true' or '$(WasmGenerateAppBundle)' == 'true' or '$(_UsingBlazorOrWasmSdk)' != 'true'">true + false + true + $(WasmNativeWorkloadAvailable) + + + <_IsAndroidLibraryMode Condition="'$(RuntimeIdentifier)' == 'android-arm64' or '$(RuntimeIdentifier)' == 'android-arm' or '$(RuntimeIdentifier)' == 'android-x64' or '$(RuntimeIdentifier)' == 'android-x86'">true + <_IsAppleMobileLibraryMode Condition="'$(RuntimeIdentifier)' == 'ios-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-x64' or '$(RuntimeIdentifier)' == 'maccatalyst-arm64' or '$(RuntimeIdentifier)' == 'maccatalyst-x64' or '$(RuntimeIdentifier)' == 'tvos-arm64'">true + <_IsiOSLibraryMode Condition="'$(RuntimeIdentifier)' == 'ios-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-arm64' or '$(RuntimeIdentifier)' == 'iossimulator-x64'">true + <_IsMacCatalystLibraryMode Condition="'$(RuntimeIdentifier)' == 'maccatalyst-arm64' or '$(RuntimeIdentifier)' == 'maccatalyst-x64'">true + <_IstvOSLibraryMode Condition="'$(RuntimeIdentifier)' == 'tvos-arm64'">true + + + true + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersionCurrent) + <_KnownWebAssemblySdkPackVersion>$(_RuntimePackInWorkloadVersionCurrent) + + + + true + 1.0 + + + + + + + + %(RuntimePackRuntimeIdentifiers);wasi-wasm + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + + + $(_KnownWebAssemblySdkPackVersion) + + + + + + + + + + + + + + + + + + + + + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + + + + + + + + + + + + true + + + <_NativeBuildNeeded Condition="'$(RunAOTCompilation)' == 'true'">true + WebAssembly workloads (required for AOT) are only supported for projects targeting net6.0+ + + + true + $(WasmNativeWorkload) + + + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion6) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MonoWorkloadTargetsMobile>true + <_MonoWorkloadRuntimePackPackageVersion>$(_RuntimePackInWorkloadVersion7) + + + + $(_MonoWorkloadRuntimePackPackageVersion) + + Microsoft.NETCore.App.Runtime.Mono.multithread.**RID** + Microsoft.NETCore.App.Runtime.Mono.perftrace.**RID** + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkload)" /> + <_ResolvedSuggestedWorkload Include="@(SuggestedWorkloadFromReference)" /> + + + + + + + + + <_UsingDefaultRuntimeIdentifier>true + win7-x64 + win7-x86 + + + + true + + + + $(PublishSelfContained) + + + + true + + + $(NETCoreSdkPortableRuntimeIdentifier) + + + $(PublishRuntimeIdentifier) + + + <_UsingDefaultPlatformTarget>true + + + + + + + x86 + + + + + x64 + + + + + arm + + + + + arm64 + + + + + AnyCPU + + + + + + + <_SelfContainedWasSpecified Condition="'$(SelfContained)' != ''">true + + + + true + false + <_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false + <_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true + true + false + + + + $(NETCoreSdkRuntimeIdentifier) + win-x64 + win-x86 + win-arm + win-arm64 + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + $(DefaultAppHostRuntimeIdentifier.Replace("arm64", "x64")) + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + true + + + + $(IntermediateOutputPath)$(RuntimeIdentifier)\ + $(OutputPath)$(RuntimeIdentifier)\ + + + + + + + + + + + + + + + true + true + + + + <_EolNetCoreTargetFrameworkVersions Include="1.0;1.1;2.0;2.1;2.2;3.0;3.1;5.0" /> + + + <_MinimumNonEolSupportedNetCoreTargetFramework>net6.0 + + + + + + + + + + + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + <_IsNETCoreOrNETStandard Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">true + + + + true + true + true + + + true + + + + true + + true + + .dll + + false + + + + $(PreserveCompilationContext) + + + + publish + + $(OutputPath)$(RuntimeIdentifier)\$(PublishDirName)\ + $(OutputPath)$(PublishDirName)\ + + + + + + <_NugetFallbackFolder>$(MSBuildThisFileDirectory)..\..\..\..\NuGetFallbackFolder + <_IsNETCore1x Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '2.0' ">true + <_WorkloadLibraryPacksFolder Condition="'$(_WorkloadLibraryPacksFolder)' == ''">$([MSBuild]::EnsureTrailingSlash('$(NetCoreRoot)'))library-packs + + + $(RestoreAdditionalProjectSources);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFoldersExcludes);$(_NugetFallbackFolder) + $(RestoreAdditionalProjectFallbackFolders);$(_NugetFallbackFolder) + + + $(RestoreAdditionalProjectSources);$(_WorkloadLibraryPacksFolder) + + + + <_SDKImplicitReference Include="System" /> + <_SDKImplicitReference Include="System.Data" /> + <_SDKImplicitReference Include="System.Drawing" /> + <_SDKImplicitReference Include="System.Xml" /> + + + <_SDKImplicitReference Include="System.Core" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Runtime.Serialization" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + <_SDKImplicitReference Include="System.Xml.Linq" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '3.5' " /> + + <_SDKImplicitReference Include="System.Numerics" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.0' " /> + + <_SDKImplicitReference Include="System.IO.Compression.FileSystem" Condition=" '$(_TargetFrameworkVersionWithoutV)' >= '4.5' " /> + <_SDKImplicitReference Update="@(_SDKImplicitReference)" Pack="false" IsImplicitlyDefined="true" /> + + <_SDKImplicitReference Remove="@(Reference)" /> + + + + + + false + + + $(AssetTargetFallback);net461;net462;net47;net471;net472;net48;net481 + + + + <_FrameworkIdentifierForImplicitDefine>$(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ">NET + $(_FrameworkIdentifierForImplicitDefine) + <_FrameworkIdentifierForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">NET + <_FrameworkVersionForImplicitDefine>$(TargetFrameworkVersion.TrimStart('vV')) + <_FrameworkVersionForImplicitDefine>$(_FrameworkVersionForImplicitDefine.Replace('.', '_')) + <_FrameworkVersionForImplicitDefine Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">$(_FrameworkVersionForImplicitDefine.Replace('_', '')) + $(_FrameworkIdentifierForImplicitDefine)$(_FrameworkVersionForImplicitDefine) + $(TargetFrameworkIdentifier.Replace('.', '').ToUpperInvariant()) + + + + + <_PlatformIdentifierForImplicitDefine>$(TargetPlatformIdentifier.ToUpperInvariant()) + <_PlatformVersionForImplicitDefine>$(TargetPlatformVersion.Replace('.', '_')) + + + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)" /> + <_ImplicitDefineConstant Include="$(_PlatformIdentifierForImplicitDefine)$(_PlatformVersionForImplicitDefine)" /> + + + + + + <_SupportedFrameworkVersions Include="@(SupportedNETCoreAppTargetFramework->'%(Identity)'->TrimStart('.NETCoreApp,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETFrameworkTargetFramework->'%(Identity)'->TrimStart('.NETFramework,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_SupportedFrameworkVersions Include="@(SupportedNETStandardTargetFramework->'%(Identity)'->TrimStart('.NETStandard,Version=v'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_CompatibleFrameworkVersions Include="@(_SupportedFrameworkVersions)" Condition=" $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetFrameworkVersion))) " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions)" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' or '$(TargetFrameworkIdentifier)' == '.NETStandard' " /> + <_FormattedCompatibleFrameworkVersions Include="@(_CompatibleFrameworkVersions->'%(Identity)'->Replace('.', ''))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'$(_FrameworkIdentifierForImplicitDefine)%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' != '.NETCoreApp' or $([MSBuild]::VersionGreaterThanOrEquals(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + <_ImplicitDefineConstant Include="@(_FormattedCompatibleFrameworkVersions->'NETCOREAPP%(Identity)_OR_GREATER'->Replace('.', '_'))" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionLessThan(%(_FormattedCompatibleFrameworkVersions.Identity), 5.0)) " /> + + + + + + <_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(TargetPlatformVersion))) " /> + <_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(TargetPlatformIdentifier.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" /> + + + + + + <_DefineConstantsWithoutTrace Include="$(DefineConstants)" /> + <_DefineConstantsWithoutTrace Remove="TRACE" /> + + + @(_DefineConstantsWithoutTrace) + + + + + + $(DefineConstants);@(_ImplicitDefineConstant) + $(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',') + + + + + false + true + + + $(AssemblyName).xml + $(IntermediateOutputPath)$(AssemblyName).xml + + + + + + true + true + true + + + + + + + true + + + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets + + $(MSBuildToolsPath)\Microsoft.Common.targets + + + + + + + + + true + + + + Properties + + + $(Configuration.ToUpperInvariant()) + + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(DefineConstants);$(ImplicitConfigurationDefine) + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.FSharp.DesignTime.targets + + + + + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.NetSdk.targets + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + true + true + true + true + true + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" Condition=" '$(NoStdLib)' != 'true' " /> + + + mscorlib + netcore + netstandard + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildThisFileDirectory)FSharp.Build.dll + + + + + + + + + + + true + true + + + + .fs + F# + Managed + $(Optimize) + Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier) + + RootNamespace + false + $(Prefer32Bit) + + + + true + + + + false + true + + $(FSharpPrefer64BitTools) + $(Fsc_NetFramework_ToolPath) + $(Fsc_NetFramework_AnyCpu_ToolExe) + $(Fsc_NetFramework_PlatformSpecific_ToolExe) + + + + $(Fsc_Dotnet_ToolPath) + $(Fsc_Dotnet_ToolExe) + "$(Fsc_Dotnet_DotnetFscCompilerPath)" + + + + false + true + + + + + + + false + true + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)" /> + + <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')" /> + + + _ComputeNonExistentFileProperty + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --simpleresolution $(OtherFlags) + $(OtherFlags) + + + + + + + + <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" /> + + + + + + + $(MSBuildToolsPath)\Microsoft.Common.CurrentVersion.targets + + + + + + true + true + true + true + + + + + + + 10.0 + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.Microsoft.Common.targets + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ReportingServices\Microsoft.ReportingServices.targets + + + + + Managed + + + + .NETFramework + v4.0 + + + + Any CPU,x86,x64,Itanium + Any CPU,x86,x64 + + + + + + + true + + true + + + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion),Profile=$(TargetFrameworkProfile) + $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion) + + $(TargetFrameworkRootPath)$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion) + + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))) + $(MSBuildFrameworkToolsPath) + + + Windows + 7.0 + $(TargetPlatformSdkRootOverride)\ + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(TargetPlatformVersion)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default)) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + $(TargetPlatformSdkPath)Windows Metadata + $(TargetPlatformSdkPath)References\CommonConfiguration\Neutral + $(TargetPlatformSdkMetadataLocation) + true + $(WinDir)\System32\WinMetadata + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + + <_OriginalPlatform>$(Platform) + + <_OriginalConfiguration>$(Configuration) + + <_OutputPathWasMissing Condition="'$(_OriginalPlatform)' != '' and '$(_OriginalConfiguration)' != '' and '$(OutputPath)' == ''">true + + true + + + AnyCPU + $(Platform) + Debug + $(Configuration) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(TargetType) + library + exe + true + + <_DebugSymbolsProduced>false + <_DebugSymbolsProduced Condition="'$(DebugSymbols)'=='true'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='none'">false + <_DebugSymbolsProduced Condition="'$(DebugType)'=='pdbonly'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='full'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='portable'">true + <_DebugSymbolsProduced Condition="'$(DebugType)'=='embedded'">false + <_DebugSymbolsProduced Condition="'$(ProduceOnlyReferenceAssembly)'=='true'">false + + <_DocumentationFileProduced>true + <_DocumentationFileProduced Condition="'$(DocumentationFile)'==''">false + + false + + + + + <_InvalidConfigurationError Condition=" '$(SkipInvalidConfigurations)' != 'true' ">true + <_InvalidConfigurationWarning Condition=" '$(SkipInvalidConfigurations)' == 'true' ">true + + + + .exe + .exe + .exe + .dll + .netmodule + .winmdobj + + + + true + $(OutputPath) + + + $(OutDir)\ + $(MSBuildProjectName) + + + $(OutDir)$(ProjectName)\ + $(MSBuildProjectName) + $(RootNamespace) + $(AssemblyName) + + $(MSBuildProjectFile) + + $(MSBuildProjectExtension) + + $(TargetName).winmd + $(WinMDExpOutputWindowsMetadataFilename) + $(TargetName)$(TargetExt) + + + + + <_DeploymentPublishableProjectDefault Condition="'$(OutputType)'=='winexe' or '$(OutputType)'=='exe' or '$(OutputType)'=='appcontainerexe'">true + $(_DeploymentPublishableProjectDefault) + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='library'">Native.$(AssemblyName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='winexe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='exe'">$(TargetFileName).manifest + + <_DeploymentTargetApplicationManifestFileName Condition="'$(OutputType)'=='appcontainerexe'">$(TargetFileName).manifest + + $(AssemblyName).application + + $(AssemblyName).xbap + + $(GenerateManifests) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='library'">Native.$(AssemblyName) + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='winexe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='exe'">$(AssemblyName).exe + <_DeploymentApplicationManifestIdentity Condition="'$(OutputType)'=='appcontainerexe'">$(AssemblyName).exe + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' != 'true'">$(AssemblyName).application + <_DeploymentDeployManifestIdentity Condition="'$(HostInBrowser)' == 'true'">$(AssemblyName).xbap + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'=='true'">.deploy + <_DeploymentFileMappingExtension Condition="'$(MapFileExtensions)'!='true'" /> + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'=='true'">$(UpdateInterval) + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'=='true'">$(UpdateIntervalUnits) + <_DeploymentBuiltUpdateInterval Condition="'$(UpdatePeriodically)'!='true'">0 + <_DeploymentBuiltUpdateIntervalUnits Condition="'$(UpdatePeriodically)'!='true'">Days + <_DeploymentBuiltMinimumRequiredVersion Condition="'$(UpdateRequired)'=='true' and '$(Install)'=='true'">$(MinimumRequiredVersion) + <_DeploymentLauncherBased Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true + 100 + + + + * + $(UICulture) + + + + <_OutputPathItem Include="$(OutDir)" /> + <_UnmanagedRegistrationCache Include="$(BaseIntermediateOutputPath)$(MSBuildProjectFile).UnmanagedRegistration.cache" /> + <_ResolveComReferenceCache Include="$(IntermediateOutputPath)$(MSBuildProjectFile).ResolveComReference.cache" /> + + + + + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + + $(TargetDir)$(TargetFileName) + $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName))) + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(IntermediateOutputPath), 'ref', $(TargetFileName))) + + $([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory))) + + $(ProjectDir)$(ProjectFileName) + + + + + + + + *Undefined* + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + *Undefined* + + + + true + + true + + + true + false + + + $(MSBuildProjectFile).FileListAbsolute.txt + + false + + true + true + <_ResolveReferenceDependencies Condition="'$(_ResolveReferenceDependencies)' == ''">false + <_GetChildProjectCopyToOutputDirectoryItems Condition="'$(_GetChildProjectCopyToOutputDirectoryItems)' == ''">true + false + false + + + <_GenerateBindingRedirectsIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).config + + + + + + + + + + + + + + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).compile.pdb" Condition="'$(OutputType)' == 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsIntermediatePath Include="$(IntermediateOutputPath)$(TargetName).pdb" Condition="'$(OutputType)' != 'winmdobj' and '@(_DebugSymbolsIntermediatePath)' == ''" /> + <_DebugSymbolsOutputPath Include="@(_DebugSymbolsIntermediatePath->'$(OutDir)%(Filename)%(Extension)')" /> + + + $(IntermediateOutputPath)$(TargetName).pdb + <_WinMDDebugSymbolsOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDExpOutputPdb)')))) + + + $(IntermediateOutputPath)$(TargetName).xml + <_WinMDDocFileOutputPath>$([System.IO.Path]::Combine('$(OutDir)', $([System.IO.Path]::GetFileName('$(WinMDOutputDocumentationFile)')))) + + + <_IntermediateWindowsMetadataPath>$(IntermediateOutputPath)$(WinMDExpOutputWindowsMetadataFilename) + <_WindowsMetadataOutputPath>$(OutDir)$(WinMDExpOutputWindowsMetadataFilename) + + + + <_DeploymentManifestEntryPoint Include="@(IntermediateAssembly)"> + $(TargetFileName) + + + + <_DeploymentManifestIconFile Include="$(ApplicationIcon)" Condition="Exists('$(ApplicationIcon)')"> + $(ApplicationIcon) + + + + $(_DeploymentTargetApplicationManifestFileName) + + + <_ApplicationManifestFinal Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)"> + $(_DeploymentTargetApplicationManifestFileName) + + + + $(TargetDeployManifestFileName) + + + <_DeploymentIntermediateTrustInfoFile Include="$(IntermediateOutputPath)$(TargetName).TrustInfo.xml" Condition="'$(TargetZone)'!=''" /> + + + + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(UpdateUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(InstallUrl) + <_DeploymentUrl Condition="'$(_DeploymentUrl)'==''">$(PublishUrl) + <_DeploymentUrl Condition="!('$(UpdateUrl)'=='') and '$(Install)'=='false'" /> + <_DeploymentUrl Condition="'$(_DeploymentUrl)'!=''">$(_DeploymentUrl)$(TargetDeployManifestFileName) + + <_DeploymentUrl Condition="'$(UpdateUrl)'=='' and !('$(Install)'=='true' and '$(UpdateEnabled)'=='true')" /> + <_DeploymentUrl Condition="'$(ExcludeDeploymentUrl)'=='true'" /> + + + + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true'">$(InstallUrl) + <_DeploymentApplicationUrl Condition="'$(IsWebBootstrapper)'=='true' and '$(InstallUrl)'==''">$(PublishUrl) + <_DeploymentComponentsUrl Condition="'$(BootstrapperComponentsLocation)'=='Absolute'">$(BootstrapperComponentsUrl) + + + + $(PublishDir)\ + $(OutputPath)app.publish\ + + + + $(PublishDir) + $(ClickOncePublishDir)\ + + + + + $(PlatformTarget) + + msil + amd64 + ia64 + x86 + arm + + + true + + + + $(Platform) + msil + amd64 + ia64 + x86 + arm + + None + $(PROCESSOR_ARCHITECTURE) + + + + CLR2 + CLR4 + CurrentRuntime + true + false + $(PlatformTarget) + x86 + x64 + CurrentArchitecture + + + + Client + + + + false + + + + + true + true + false + + + + AssemblyFoldersEx + Software\Microsoft\$(TargetFrameworkIdentifier) + Software\Microsoft\Microsoft SDKs\$(TargetPlatformIdentifier) + $([MSBuild]::GetToolsDirectory32())\AssemblyFolders.config + {AssemblyFoldersFromConfig:$(AssemblyFoldersConfigFile),$(TargetFrameworkVersion)}; + + + .winmd; + .dll; + .exe + + + + .pdb; + .xml; + .pri; + .dll.config; + .exe.config + + + Full + + + + {CandidateAssemblyFiles} + $(AssemblySearchPaths);$(ReferencePath) + $(AssemblySearchPaths);{HintPathFromItem} + $(AssemblySearchPaths);{TargetFrameworkDirectory} + $(AssemblySearchPaths);$(AssemblyFoldersConfigFileSearchPath) + $(AssemblySearchPaths);{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)} + $(AssemblySearchPaths);{AssemblyFolders} + $(AssemblySearchPaths);{GAC} + $(AssemblySearchPaths);{RawFileName} + $(AssemblySearchPaths);$(OutDir) + + + + false + + + + $(NoWarn) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + + + + $(MSBuildThisFileDirectory)$(LangName)\ + + + + $(MSBuildThisFileDirectory)en-US\ + + + + + Project + + + BrowseObject + + + File + + + Invisible + + + File;BrowseObject + + + File;ProjectSubscriptionService + + + + $(DefineCommonItemSchemas) + + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + ;BrowseObject + + + ProjectSubscriptionService;BrowseObject + + + + + + + + + Never + + + Never + + + Never + + + Never + + + + + + true + + + + + <_GlobalPropertiesToRemoveFromProjectReferences Condition="'$(PassOutputPathToReferencedProjects)'=='false'">$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath + + + + + + <_InvalidConfigurationMessageText>The BaseOutputPath/OutputPath property is not set for project '$(MSBuildProjectFile)'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='$(_OriginalConfiguration)' Platform='$(_OriginalPlatform)'. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' == 'true'">$(_InvalidConfigurationMessageText) This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. + <_InvalidConfigurationMessageText Condition="'$(BuildingInsideVisualStudio)' != 'true'">$(_InvalidConfigurationMessageText) You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. + + + + + + + + + + + + x86 + + + + + + + + + + BeforeBuild; + CoreBuild; + AfterBuild + + + + + + + + + + + BuildOnlySettings; + PrepareForBuild; + PreBuildEvent; + ResolveReferences; + PrepareResources; + ResolveKeySource; + Compile; + ExportWindowsMDFile; + UnmanagedUnregistration; + GenerateSerializationAssemblies; + CreateSatelliteAssemblies; + GenerateManifests; + GetTargetPath; + PrepareForRun; + UnmanagedRegistration; + IncrementalClean; + PostBuildEvent + + + + + + + + + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' != ''">$(MSBuildProjectDefaultTargets) + <_ProjectDefaultTargets Condition="'$(MSBuildProjectDefaultTargets)' == ''">Build + + BeforeRebuild; + Clean; + $(_ProjectDefaultTargets); + AfterRebuild; + + + BeforeRebuild; + Clean; + Build; + AfterRebuild; + + + + + + + + + + Build + + + + + + + + + + + Build + + + + + + + + + + + Build + + + + + + + + + + + + + + + + + + + + + + + false + + + + true + + + + + + $(PrepareForBuildDependsOn);GetFrameworkPaths;GetReferenceAssemblyPaths;AssignLinkMetadata + + + + + $(TargetFileName).config + + + + + + + + + + + + + @(_TargetFramework40DirectoryItem) + @(_TargetFramework35DirectoryItem) + @(_TargetFramework30DirectoryItem) + @(_TargetFramework20DirectoryItem) + + @(_TargetFramework20DirectoryItem) + @(_TargetFramework40DirectoryItem) + @(_TargetedFrameworkDirectoryItem) + @(_TargetFrameworkSDKDirectoryItem) + + + + + + + + + + + + + + + + + + $(_TargetFrameworkDirectories);$(TargetFrameworkDirectory);$(WinFXAssemblyDirectory) + $(TargetFrameworkDirectory);$(TargetPlatformWinMDLocation) + + + + true + + + $(AssemblySearchPaths.Replace('{AssemblyFolders}', '').Split(';')) + + + + + + + $(TargetFrameworkDirectory);@(DesignTimeFacadeDirectories) + + + + + + + + + + + + + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + <_Temp Remove="@(_Temp)" /> + + + + + + + + + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + BeforeResolveReferences; + AssignProjectConfiguration; + ResolveProjectReferences; + FindInvalidProjectReferences; + ResolveNativeReferences; + ResolveAssemblyReferences; + GenerateBindingRedirects; + GenerateBindingRedirectsUpdateAppConfig; + ResolveComReferences; + AfterResolveReferences + + + + + + + + + + + + false + + + + + + + true + true + false + + false + + true + + + + + + + + + + + <_ProjectReferenceWithConfiguration> + true + true + + + true + true + + + + + + + + + + + + + <_MSBuildProjectReference Include="@(ProjectReferenceWithConfiguration)" Condition="'$(BuildingInsideVisualStudio)'!='true' and '@(ProjectReferenceWithConfiguration)'!=''" /> + + + + <_MSBuildProjectReferenceExistent Include="@(_MSBuildProjectReference)" Condition="Exists('%(Identity)')" /> + <_MSBuildProjectReferenceNonexistent Include="@(_MSBuildProjectReference)" Condition="!Exists('%(Identity)')" /> + + + + + true + + + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetPlatform)' != ''"> + true + + + + <_ProjectReferencePlatformPossibilities Include="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + + + + + <_ProjectReferencePlatformPossibilities Condition="'$(MSBuildProjectExtension)' != '.vcxproj' and '$(MSBuildProjectExtension)' != '.nativeproj' and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' == 'true'"> + + x86=Win32 + + + <_ProjectReferencePlatformPossibilities Condition="('$(MSBuildProjectExtension)' == '.vcxproj' or '$(MSBuildProjectExtension)' == '.nativeproj') and '%(_ProjectReferencePlatformPossibilities.IsVcxOrNativeProj)' != 'true'"> + Win32=x86 + + + + + + + + + + Platform=%(ProjectsWithNearestPlatform.NearestPlatform) + + + + %(ProjectsWithNearestPlatform.UndefineProperties);Platform + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetPlatformProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(ProjectsWithNearestPlatform)" /> + + + + + + + $(NuGetTargetMoniker) + $(TargetFrameworkMoniker) + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' == '' and ('%(Extension)' == '.vcxproj' or '%(Extension)' == '.nativeproj')"> + + true + %(_MSBuildProjectReferenceExistent.UndefineProperties);TargetFramework + + + + + <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.SetTargetFramework)' != ''"> + + true + + + + + + + + + + + + + <_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec Include="@(_ProjectReferenceTargetFrameworkPossibilities->'%(OriginalItemSpec)')" /> + <_ProjectReferenceTargetFrameworkPossibilities Remove="@(_ProjectReferenceTargetFrameworkPossibilities)" /> + <_ProjectReferenceTargetFrameworkPossibilities Include="@(_ProjectReferenceTargetFrameworkPossibilitiesOriginalItemSpec)" /> + + + + + + + + + + + + + + + + + + + + + + + + TargetFramework=%(AnnotatedProjects.NearestTargetFramework) + + + + %(AnnotatedProjects.UndefineProperties);TargetFramework + + + + %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier;SelfContained + + + <_MSBuildProjectReferenceExistent Remove="@(_MSBuildProjectReferenceExistent)" Condition="'%(_MSBuildProjectReferenceExistent.SkipGetTargetFrameworkProperties)' != 'true'" /> + <_MSBuildProjectReferenceExistent Include="@(AnnotatedProjects)" /> + + + + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + @(_TargetFrameworkInfo) + @(_TargetFrameworkInfo->'%(TargetFrameworkMonikers)') + @(_TargetFrameworkInfo->'%(TargetPlatformMonikers)') + $(_AdditionalPropertiesFromProject) + true + @(_TargetFrameworkInfo->'%(IsRidAgnostic)') + + true + $(Platform) + $(Platforms) + + @(ProjectConfiguration->'%(Platform)'->Distinct()) + + + + + + <_AdditionalTargetFrameworkInfoPropertyWithValue Include="@(AdditionalTargetFrameworkInfoProperty)"> + $(%(AdditionalTargetFrameworkInfoProperty.Identity)) + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="'$(_UseAttributeForTargetFrameworkInfoPropertyNames)' == ''">false + + + + + + <_TargetFrameworkInfo Include="$(TargetFramework)"> + $(TargetFramework) + $(TargetFrameworkMoniker) + $(TargetPlatformMoniker) + None + $(_AdditionalTargetFrameworkInfoProperties) + + $(IsRidAgnostic) + true + false + + + + + + + + + AssignProjectConfiguration; + _SplitProjectReferencesByFileExistence; + _GetProjectReferenceTargetFrameworkProperties; + _GetProjectReferencePlatformProperties + + + + + + + + + $(ProjectReferenceBuildTargets) + + + ProjectReference + + + + + + + + + + + + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="'%(_ResolvedProjectReferencePaths.ResolveableAssembly)' == 'false'" /> + + <_ResolvedProjectReferencePaths> + %(_ResolvedProjectReferencePaths.OriginalItemSpec) + + + + + + + + + <_ProjectReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))"> + %(ReferencePath.ProjectReferenceOriginalItemSpec) + + + + + + + $(GetTargetPathDependsOn) + + + + + $(GetTargetPathDependsOn) + + + + + + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion.TrimStart('vV')) + $(TargetRefPath) + @(CopyUpToDateMarker) + + + + + + + + %(_ApplicationManifestFinal.FullPath) + + + + + + + + + + + + + + + + + + ResolveProjectReferences; + FindInvalidProjectReferences; + GetFrameworkPaths; + GetReferenceAssemblyPaths; + PrepareForBuild; + ResolveSDKReferences; + ExpandSDKReferences; + + + + + <_ReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + <_ReferenceInstalledAssemblySubsets Include="$(TargetFrameworkSubset)" /> + + + + $(IntermediateOutputPath)$(MSBuildProjectFile).AssemblyReference.cache + + + + <_ResolveAssemblyReferencesApplicationConfigFileForExes Include="@(AppConfigWithTargetPath)" Condition="'$(AutoGenerateBindingRedirects)'=='true' or '$(AutoUnifyAssemblyReferences)'=='false'" /> + + + + <_FindDependencies Condition="'$(BuildingProject)' != 'true' and '$(_ResolveReferenceDependencies)' != 'true'">false + true + false + Warning + $(BuildingProject) + $(BuildingProject) + $(BuildingProject) + false + + + + + + true + + + + + false + true + + + + + + + + + + + + + + + + + + + + + + + %(FullPath) + + + %(ReferencePath.Identity) + + + + + + + + + + + + + + + <_NewGenerateBindingRedirectsIntermediateAppConfig Condition="Exists('$(_GenerateBindingRedirectsIntermediateAppConfig)')">true + $(_GenerateBindingRedirectsIntermediateAppConfig) + + + + + $(TargetFileName).config + + + + + + Software\Microsoft\Microsoft SDKs + $(LocalAppData)\Microsoft SDKs;$(MSBuildProgramFiles32)\Microsoft SDKs + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows Kits\10;$(MSBuildProgramFiles32)\Windows Kits\10 + + true + Windows + 8.1 + + false + WindowsPhoneApp + 8.1 + + + + + + + + + + + + + + + + + GetInstalledSDKLocations + + + + Debug + Retail + Retail + $(ProcessorArchitecture) + Neutral + + + true + + + + + + + + + + + + + + + + GetReferenceTargetPlatformMonikers + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(InvalidProjectReferences)" /> + + + + + + + + + + + + + + ResolveSDKReferences + + + .winmd; + .dll + + + + + + + + + + + + + + + + false + false + false + $(TargetFrameworkSDKToolsDirectory) + true + + + + + + + + + + + + + + + <_ReferencesFromRAR Include="@(ReferencePath->WithMetadataValue('ReferenceSourceTarget', 'ResolveAssemblyReference'))" /> + + + + + {CandidateAssemblyFiles}; + $(ReferencePath); + {HintPathFromItem}; + {TargetFrameworkDirectory}; + {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; + {RawFileName}; + $(TargetDir) + + + + + + GetFrameworkPaths; + GetReferenceAssemblyPaths; + ResolveReferences + + + + + <_DesignTimeReferenceInstalledAssemblyDirectory Include="$(TargetFrameworkDirectory)" /> + + + $(IntermediateOutputPath)$(MSBuildProjectFile)DesignTimeResolveAssemblyReferences.cache + + + + {CandidateAssemblyFiles}; + $(ReferencePath); + {HintPathFromItem}; + {TargetFrameworkDirectory}; + {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; + {RawFileName}; + $(OutDir) + + + + false + false + false + false + false + true + false + + + <_DesignTimeReferenceAssemblies Include="$(DesignTimeReference)" /> + + + <_RARResolvedReferencePath Include="@(ReferencePath)" /> + + + + + + + + + + false + + + + $(IntermediateOutputPath) + + + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + false + + + + + + + + + + + + + + + + + + + + + $(PrepareResourcesDependsOn); + PrepareResourceNames; + ResGen; + CompileLicxFiles + + + + + + + AssignTargetPaths; + SplitResourcesByCulture; + CreateManifestResourceNames; + CreateCustomManifestResourceNames + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + + + + + + + + + + + + + + + + + + + + + + <_LicxFile Include="@(EmbeddedResource)" Condition="'%(Extension)'=='.licx'" /> + + + Resx + + + Non-Resx + + + + + + + + + + + + + + + + Resx + + + Non-Resx + + + + + + + + + + + + <_MixedResourceWithNoCulture Remove="@(_MixedResourceWithNoCulture)" /> + <_MixedResourceWithCulture Remove="@(_MixedResourceWithCulture)" /> + + + + + + + + + + ResolveAssemblyReferences;SplitResourcesByCulture;BeforeResGen;CoreResGen;AfterResGen + FindReferenceAssembliesForReferences + true + false + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + $(PlatformTargetAsMSBuildArchitecture) + $(TargetFrameworkSDKToolsDirectory) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + + + + + + + + + <_Temporary Remove="@(_Temporary)" /> + + + true + + + true + + + + true + + + true + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + + + + + + + + + + + + + + ResolveReferences; + ResolveKeySource; + SetWin32ManifestProperties; + FindReferenceAssembliesForReferences; + _GenerateCompileInputs; + BeforeCompile; + _TimeStampBeforeCompile; + _GenerateCompileDependencyCache; + CoreCompile; + _TimeStampAfterCompile; + AfterCompile; + + + + + + + + + + <_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_CoreCompileResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Non-Resx' " /> + + <_CoreCompileResourceInputs Include="@(ManifestResourceWithNoCulture)" Condition="'%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"> + Resx + false + + <_CoreCompileResourceInputs Include="@(ManifestNonResxWithNoCultureOnDisk)" Condition="'%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + false + + + + + + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + true + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + <_AssemblyTimestampBeforeCompile>%(IntermediateAssembly.ModifiedTime) + + + + + + $(IntermediateOutputPath)$(MSBuildProjectFile).SuggestedBindingRedirects.cache + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_AssemblyTimestampAfterCompile>%(IntermediateAssembly.ModifiedTime) + + + + + + __NonExistentSubDir__\__NonExistentFile__ + + + + + <_SGenDllName>$(TargetName).XmlSerializers.dll + <_SGenDllCreated>false + <_SGenGenerateSerializationAssembliesConfig>$(GenerateSerializationAssemblies) + <_SGenGenerateSerializationAssembliesConfig Condition="'$(GenerateSerializationAssemblies)' == ''">Auto + <_SGenGenerateSerializationAssembliesConfig Condition="'$(ConfigurationName)'=='Debug' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto'">Off + true + false + true + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + + + + + + + _GenerateSatelliteAssemblyInputs; + ComputeIntermediateSatelliteAssemblies; + GenerateSatelliteAssemblies + + + + + + + + + + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Resx'" /> + <_SatelliteAssemblyResourceInputs Include="@(EmbeddedResource)" Condition="'%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'" /> + + <_SatelliteAssemblyResourceInputs Include="@(ManifestResourceWithCulture)" Condition="'%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'==''"> + Resx + true + + <_SatelliteAssemblyResourceInputs Include="@(ManifestNonResxWithCultureOnDisk)" Condition="'%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'==''"> + Non-Resx + true + + + + + + + <_ALExeToolPath Condition="'$(_ALExeToolPath)' == ''">$(TargetFrameworkSDKToolsDirectory) + + + + + + + + + + CreateManifestResourceNames + + + + + + %(EmbeddedResource.Culture) + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + + + + + + $(Win32Manifest) + + + + + + + <_DeploymentBaseManifest>$(ApplicationManifest) + <_DeploymentBaseManifest Condition="'$(_DeploymentBaseManifest)'==''">@(_DeploymentBaseManifestWithTargetPath) + + true + + + + + $(ApplicationManifest) + $(ApplicationManifest) + + + + + + $(_FrameworkVersion40Path)\default.win32manifest + + + + + + + SetWin32ManifestProperties; + GenerateApplicationManifest; + GenerateDeploymentManifest + + + + + + <_DeploymentPublishFileOfTypeManifestEntryPoint Include="@(PublishFile)" Condition="'%(FileType)'=='ManifestEntryPoint'" /> + + + + + + + + + + + + + + + + <_DeploymentCopyApplicationManifest>true + + + + + + <_DeploymentManifestTargetFrameworkMoniker>$(TargetFrameworkMoniker) + <_DeploymentManifestTargetFrameworkVersion>$(TargetFrameworkVersion) + + + + + + + + + + + + + + + + + + + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' == ''">v4.5 + <_DeploymentManifestTargetFrameworkVersion Condition="'$(DeploymentManifestTargetFrameworkVersionOverride)' != ''">$(DeploymentManifestTargetFrameworkVersionOverride) + <_DeploymentManifestTargetFrameworkMoniker>.NETFramework,Version=$(_DeploymentManifestTargetFrameworkVersion) + + + + + + + + + + + <_DeploymentManifestEntryPoint Remove="@(_DeploymentManifestEntryPoint)" /> + <_DeploymentManifestEntryPoint Include="@(_DeploymentManifestLauncherEntryPoint)" /> + + + + + + + + + + <_DeploymentManifestType>Native + + + + + + + <_DeploymentManifestVersion>@(_IntermediateAssemblyIdentity->'%(Version)') + + + + + + + <_SGenDllsRelatedToCurrentDll Include="@(_ReferenceSerializationAssemblyPaths->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + <_SGenDllsRelatedToCurrentDll Include="@(SerializationAssembly->'%(FullPath)')" Condition="'%(Extension)' == '.dll'" /> + + + <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" /> + <_CopyLocalFalseRefPathsWithExclusion Include="@(_CopyLocalFalseRefPaths)" Exclude="@(ReferenceCopyLocalPaths);@(_NETStandardLibraryNETFrameworkLib)" /> + + + <_ClickOnceSatelliteAssemblies Include="@(IntermediateSatelliteAssembliesWithTargetPath);@(ReferenceSatellitePaths)" /> + + + + <_DeploymentReferencePaths Include="@(ReferenceCopyLocalPaths)" Condition="('%(Extension)' == '.dll' Or '%(Extension)' == '.exe' Or '%(Extension)' == '.md') and ('%(ReferenceCopyLocalPaths.CopyToPublishDirectory)' != 'false')"> + true + + <_DeploymentReferencePaths Include="@(_CopyLocalFalseRefPathsWithExclusion)" /> + + + + <_ManifestManagedReferences Include="@(_DeploymentReferencePaths);@(ReferenceDependencyPaths);@(_SGenDllsRelatedToCurrentDll);@(SerializationAssembly);@(ReferenceCOMWrappersToCopyLocal)" Exclude="@(_ClickOnceSatelliteAssemblies);@(_ReferenceScatterPaths);@(_ExcludedAssembliesFromManifestGeneration)" /> + + + + + <_ClickOnceRuntimeCopyLocalItems Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ClickOnceRuntimeCopyLocalItems Remove="@(_DeploymentReferencePaths)" /> + + <_ClickOnceTransitiveContentItemsTemp Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(TargetPath)')" Condition="'$(PublishProtocol)' == 'ClickOnce'"> + %(Identity) + + <_ClickOnceTransitiveContentItems Include="@(_ClickOnceTransitiveContentItemsTemp->'%(SavedIdentity)')" Condition="'%(Identity)'=='@(PublishFile)' Or '%(Extension)'=='.exe' Or '%(Extension)'=='.dll'" /> + + + <_ClickOnceNoneItemsTemp Include="@(_NoneWithTargetPath->'%(TargetPath)')" Condition="'$(PublishProtocol)'=='Clickonce' And ('%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' or '%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest')"> + %(Identity) + + <_ClickOnceNoneItems Include="@(_ClickOnceNoneItemsTemp->'%(SavedIdentity)')" Condition="'%(Identity)'=='@(PublishFile)' Or '%(Extension)'=='.exe' Or '%(Extension)'=='.dll'" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath);@(_DeploymentManifestIconFile);@(AppConfigWithTargetPath);@(NetCoreRuntimeJsonFilesForClickOnce);@(_ClickOnceRuntimeCopyLocalItems);@(_ClickOnceNoneItems);@(_ClickOnceTransitiveContentItems)" /> + + + + <_ClickOnceFiles Include="$(PublishedSingleFilePath);@(_DeploymentManifestIconFile)" /> + <_ClickOnceFiles Include="@(_FilesExcludedFromBundle)" /> + + <_FileAssociationIcons Include="%(FileAssociation.DefaultIcon)" /> + <_ClickOnceFiles Include="@(ContentWithTargetPath)" Condition="'%(Identity)'=='@(_FileAssociationIcons)'" /> + + + + + + <_ManifestManagedReferences Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Remove="@(_ReadyToRunCompileList)" /> + <_ClickOnceFiles Include="@(_ReadyToRunFilesToPublish)" /> + <_ClickOnceTargetFile Include="@(_ReadyToRunFilesToPublish)" Condition="'%(Filename)%(Extension)' == '$(TargetFileName)'" /> + + + + + + + + + + + + + + + + + + + <_DeploymentManifestDependencies Include="@(_DeploymentManifestDependenciesUnfiltered)" Condition="!('%(_DeploymentManifestDependenciesUnfiltered.CopyLocal)' == 'false' And '%(_DeploymentManifestDependenciesUnfiltered.DependencyType)' != 'Install')" /> + + + <_DeploymentManifestType>ClickOnce + + + + <_DeploymentPlatformTarget Condition="'$(_DeploymentLauncherBased)' != 'true'">$(PlatformTarget) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + false + + + + + CopyFilesToOutputDirectory + + + + + + + false + false + + + + + false + false + false + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + false + + + + + + + + + + + + + + + + + <_TargetsThatPrepareProjectReferences>_SplitProjectReferencesByFileExistence + + true + <_TargetsThatPrepareProjectReferences Condition=" '$(MSBuildCopyContentTransitively)' == 'true' "> + AssignProjectConfiguration; + _SplitProjectReferencesByFileExistence + + + AssignTargetPaths; + $(_TargetsThatPrepareProjectReferences); + _GetProjectReferenceTargetFrameworkProperties; + _PopulateCommonStateForGetCopyToOutputDirectoryItems + + + <_RecursiveTargetForContentCopying>GetCopyToOutputDirectoryItems + + <_RecursiveTargetForContentCopying Condition=" '$(MSBuildCopyContentTransitively)' == 'false' ">_GetCopyToOutputDirectoryItemsFromThisProject + + + + + <_GCTODIKeepDuplicates>false + <_GCTODIKeepMetadata>CopyToOutputDirectory;TargetPath + + + + + + + + + + <_CopyToOutputDirectoryTransitiveItems KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_CopyToOutputDirectoryTransitiveItems KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_AllChildProjectItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" /> + + + + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'!=''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'!=''" /> + + + + + + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + <_CopyToOutputDirectoryTransitiveItems KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'!=''" /> + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(ContentWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='Always' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToOutputDirectory)'=='PreserveNewest' AND '%(EmbeddedResource.MSBuildSourceProjectFile)'==''" /> + + + <_CompileItemsToCopy Include="@(Compile->'%(FullPath)')" Condition="('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') AND '%(Compile.MSBuildSourceProjectFile)'==''" /> + + + + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_CompileItemsToCopyWithTargetPath)" Condition="'%(_CompileItemsToCopyWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest'" /> + + + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + <_ThisProjectItemsToCopyToOutputDirectory KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' AND '%(_NoneWithTargetPath.MSBuildSourceProjectFile)'==''" /> + + + + + + + + + + + + + <_TransitiveItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" MatchOnMetadata="TargetPath" MatchOnMetadataOptions="PathLike" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_TransitiveItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_TransitiveItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='Always'" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest KeepDuplicates=" '$(_GCTODIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTODIKeepMetadata)" Include="@(_ThisProjectItemsToCopyToOutputDirectory->'%(FullPath)')" Condition="'%(_ThisProjectItemsToCopyToOutputDirectory.CopyToOutputDirectory)'=='PreserveNewest'" /> + + <_SourceItemsToCopyToOutputDirectoryAlways Include="@(_TransitiveItemsToCopyToOutputDirectoryAlways);@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_SourceItemsToCopyToOutputDirectory Include="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest);@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + + + <_TransitiveItemsToCopyToOutputDirectoryAlways Remove="@(_TransitiveItemsToCopyToOutputDirectoryAlways)" /> + <_TransitiveItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_TransitiveItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectoryAlways Remove="@(_ThisProjectItemsToCopyToOutputDirectoryAlways)" /> + <_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest Remove="@(_ThisProjectItemsToCopyToOutputDirectoryPreserveNewest)" /> + <_ThisProjectItemsToCopyToOutputDirectory Remove="@(_ThisProjectItemsToCopyToOutputDirectory)" /> + + + + + + + %(CopyToOutputDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_DocumentationFileProduced Condition="!Exists('@(DocFileItem)')">false + + + + + + + <_DebugSymbolsProduced Condition="!Exists('@(_DebugSymbolsIntermediatePath)')">false + + + + + + + + + + <_SGenDllCreated Condition="Exists('$(IntermediateOutputPath)$(_SGenDllName)')">true + + + + + + + + + + + + + $(PlatformTargetAsMSBuildArchitecture) + + + + $(TargetFrameworkAsMSBuildRuntime) + + CurrentRuntime + + + + + + + + + + + + <_CleanOrphanFileWrites Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanCurrentFileWrites)" /> + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterIncrementalClean Include="@(_CleanPriorFileWrites);@(_CleanCurrentFileWrites)" Exclude="@(_CleanOrphanFilesDeleted)" /> + + + + + + + + + + + + + + + + + + + + + <_CleanPriorFileWrites Include="@(_CleanUnfilteredPriorFileWrites)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + + + + + + + + + + <_CleanCurrentFileWritesWithNoReferences Include="@(_CleanCurrentFileWritesInOutput);@(_CleanCurrentFileWritesInIntermediate)" Exclude="@(_ResolveAssemblyReferenceResolvedFilesAbsolute)" /> + + + + + + + + + + + BeforeClean; + UnmanagedUnregistration; + CoreClean; + CleanReferencedProjects; + CleanPublishFolder; + AfterClean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleanRemainingFileWritesAfterClean Include="@(_CleanPriorFileWrites)" Exclude="@(_CleanPriorFileWritesDeleted)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CleanPublishFolder; + $(_RecursiveTargetForContentCopying); + _DeploymentGenerateTrustInfo + $(DeploymentComputeClickOnceManifestInfoDependsOn) + + + + + + SetGenerateManifests; + Build; + PublishOnly + + + _DeploymentUnpublishable + + + + + + + + + + + + + true + + + + + + SetGenerateManifests; + PublishBuild; + BeforePublish; + GenerateManifests; + CopyFilesToOutputDirectory; + _CopyFilesToPublishFolder; + _DeploymentGenerateBootstrapper; + ResolveKeySource; + _DeploymentSignClickOnceDeployment; + AfterPublish + + + + + + + + + + + BuildOnlySettings; + PrepareForBuild; + ResolveReferences; + PrepareResources; + ResolveKeySource; + GenerateSerializationAssemblies; + CreateSatelliteAssemblies; + + + + + + + + + + + <_DeploymentApplicationFolderName>Application Files\$(AssemblyName)_$(_DeploymentApplicationVersionFragment) + <_DeploymentApplicationDir>$(ClickOncePublishDir)$(_DeploymentApplicationFolderName)\ + + + + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + $(TargetPath) + $(TargetFileName) + true + + + + + + true + $(TargetPath) + $(TargetFileName) + + + + + PrepareForBuild + true + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="@(BuiltProjectOutputGroupKeyOutput)" /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'"> + $(TargetDir)$(TargetFileName).config + $(TargetFileName).config + + $(AppConfig) + + + + <_IsolatedComReference Include="@(COMReference)" Condition=" '%(COMReference.Isolated)' == 'true' " /> + <_IsolatedComReference Include="@(COMFileReference)" Condition=" '%(COMFileReference.Isolated)' == 'true' " /> + + + + <_BuiltProjectOutputGroupOutputIntermediate Include="$(OutDir)$(_DeploymentTargetApplicationManifestFileName)" Condition="('@(NativeReference)'!='' or '@(_IsolatedComReference)'!='') And Exists('$(OutDir)$(_DeploymentTargetApplicationManifestFileName)')"> + $(_DeploymentTargetApplicationManifestFileName) + + $(OutDir)$(_DeploymentTargetApplicationManifestFileName) + + + + + + + %(_BuiltProjectOutputGroupOutputIntermediate.FullPath) + + + + + + + + + + @(_DebugSymbolsOutputPath->'%(FullPath)') + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputPdbItem->'%(FullPath)') + @(WinMDExpOutputPdbItem->'%(Filename)%(Extension)') + + + + + + + + + + @(FinalDocFile->'%(FullPath)') + true + @(DocFileItem->'%(Filename)%(Extension)') + + + + + + + @(WinMDExpFinalOutputDocItem->'%(FullPath)') + @(WinMDOutputDocumentationFileItem->'%(Filename)%(Extension)') + + + + + + $(SatelliteDllsProjectOutputGroupDependsOn);PrepareForBuild;PrepareResourceNames + + + + + %(EmbeddedResource.Culture)\$(TargetName).resources.dll + %(EmbeddedResource.Culture) + + + + + + $(TargetDir)%(SatelliteDllsProjectOutputGroupOutputIntermediate.TargetPath) + + %(SatelliteDllsProjectOutputGroupOutputIntermediate.Identity) + + + + + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + $(MSBuildProjectFullPath) + $(ProjectFileName) + + + + + + + + PrepareForBuild;AssignTargetPaths + + + + + + + + + + + + + + @(_OutputPathItem->'%(FullPath)$(_SGenDllName)') + $(_SGenDllName) + + + + + + + + + + + + + + + + + + + ResolveSDKReferences;ExpandSDKReferences + + + + + + + + + + + + + $(CommonOutputGroupsDependsOn); + BuildOnlySettings; + PrepareForBuild; + AssignTargetPaths; + ResolveReferences + + + + + + + + $(BuiltProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + $(DebugSymbolsProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(SatelliteDllsProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(DocumentationProjectOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(SGenFilesOutputGroupDependenciesDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + + + + + $(ReferenceCopyLocalPathsOutputGroupDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + + + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); + $(CommonOutputGroupsDependsOn) + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeAnalysis\Microsoft.CodeAnalysis.targets + + + + + + true + + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TeamTest\Microsoft.TeamTest.targets + + + + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\Microsoft.AppXPackage.Targets + + + + + + + $([MSBuild]::IsRunningFromVisualStudio()) + $([MSBuild]::GetToolsDirectory32())\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + + + + + + true + + NuGet.Build.Tasks.dll + + false + + true + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + true + + true + + <_CentralPackageVersionsEnabled Condition="'$(ManagePackageVersionsCentrally)' == 'true' AND '$(CentralPackageVersionsFileImported)' == 'true'">true + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> + $(_GenerateRestoreGraphProjectEntryInputProperties); + NuGetRestoreTargets=$(MSBuildThisFileFullPath); + RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); + CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); + CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); + + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> + $(_GenerateRestoreGraphProjectEntryInputProperties); + _RestoreSolutionFileUsed=true; + SolutionDir=$(SolutionDir); + SolutionName=$(SolutionName); + SolutionFileName=$(SolutionFileName); + SolutionPath=$(SolutionPath); + SolutionExt=$(SolutionExt); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + + $(ContinueOnError) + false + + + + + + + + + + + + + <_FrameworkReferenceForRestore Include="@(FrameworkReference)" Condition="'%(FrameworkReference.IsTransitiveFrameworkReference)' != 'true'" /> + + + + + + + + + + + + + + + + + + + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.proj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vdproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + + + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + + + + + netcoreapp1.0 + + + + + + + + + + + + + + + + + + + <_HasPackageReferenceItems Condition="'@(PackageReference)' != ''">true + + + <_HasPackageReferenceItems Condition="@(PackageReference->Count()) > 0">true + + + + + + + <_HasPackageReferenceItems /> + + + + + + true + + + + + + <_RestoreProjectFramework /> + <_TargetFrameworkToBeUsed Condition=" '$(_TargetFrameworkOverride)' == '' ">$(TargetFrameworks) + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + + + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + + <_RestoreTargetFrameworkItems Include="$(_TargetFrameworkOverride)" /> + + + + + + $(SolutionDir) + + + + + + + + + + + + + + + + + + + + + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + + + + + + $(MSBuildProjectExtensionsPath) + + + + + + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + + + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(WarningsNotAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + <_CentralPackageVersionsEnabled>$(_CentralPackageVersionsEnabled) + $(CentralPackageVersionOverrideEnabled) + $(CentralPackageTransitivePinningEnabled) + $(NuGetAudit) + $(NuGetAuditLevel) + $(NuGetAuditMode) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + $(MSBuildProjectDirectory)\packages.config + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + $(_OutputSources) + $(SolutionDir) + $(_OutputRepositoryPath) + $(_OutputConfigFilePaths) + $(_OutputPackagesPath) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + $(TargetFrameworkIdentifier) + $(TargetFrameworkVersion) + $(TargetFrameworkMoniker) + $(TargetFrameworkProfile) + $(TargetPlatformMoniker) + $(TargetPlatformIdentifier) + $(TargetPlatformVersion) + $(TargetPlatformMinVersion) + $(CLRSupport) + $(RuntimeIdentifierGraphPath) + $(WindowsTargetPlatformMinVersion) + + + + + + + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + + + + + <_RestorePackagesPathOverride>$(RestoreRepositoryPath) + + + + + + <_RestoreSourcesOverride>$(RestoreSources) + + + + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + + + + + + + + + + + + <_TargetFrameworkOverride Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework) + + + + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + $(MSBuildExtensionsPath)\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets + + + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + $(MSBuildThisFileDirectory)\tools\net8.0\Microsoft.NET.Build.Extensions.Tasks.dll + $(MSBuildThisFileDirectory)\tools\net472\Microsoft.NET.Build.Extensions.Tasks.dll + + true + + + + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets + + + + + + Microsoft.TestPlatform.Build.dll + $([System.IO.Path]::Combine($(MSBuildThisFileDirectory),"vstest.console.dll")) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + true + + + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + + + + + + + + + + $(AdditionalSourcesText) + namespace Microsoft.BuildSettings + [<System.Runtime.Versioning.TargetFrameworkAttribute("$(TargetFrameworkMoniker)", FrameworkDisplayName="$(TargetFrameworkMonikerDisplayName)")>] + do () + + + + + + + <_FsGeneratedTfmAttributesSource Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" /> + + + + + + <_OldRootSdkLocation>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp + $(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\FSharpSdk + <_CoreRelativeSuffix>.NETCore\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_FrameworkRelativeSuffix>.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll + <_PortableRelativeSuffix>.NETPortable\$(TargetFSharpCoreVersion)\FSharp.Core.dll + + <_OldCoreSdkPath>$(_OldRootSdkLocation)\$(_CoreRelativeSuffix) + <_NewCoreSdkPath>$(NewFSharpSdkLocation)\$(_CoreRelativeSuffix) + + <_OldFrameworkSdkPath>$(_OldRootSdkLocation)\$(_FrameworkRelativeSuffix) + <_NewFrameworkSdkPath>$(NewFSharpSdkLocation)\$(_FrameworkRelativeSuffix) + + <_OldPortableSdkPath>$(_OldRootSdkLocation)\$(_PortableRelativeSuffix) + <_NewPortableSdkPath>$(NewFSharpSdkLocation)\$(_PortableRelativeSuffix) + + + + + $(_NewCoreSdkPath) + + + + $(_NewFrameworkSdkPath) + + + + $(_NewPortableSdkPath) + + + + + + <_OldRefAssemTPLocation>Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\Type Providers\FSharp.Data.TypeProviders.dll + <_OldSdkTPLocationPrefix>$(MSBuildProgramFiles32)\Microsoft SDKs\F# + <_OldSdkTPLocationSuffix>Framework\v4.0\FSharp.Data.TypeProviders.dll + + + + + + + + + + + + $(MSBuildProjectFullPath) + + + $(TargetsForTfmSpecificContentInPackage);PackageFSharpDesignTimeTools + + + $(RestoreAdditionalProjectSources);$(_FSharpCoreLibraryPacksFolder) + + + + + + + + + + + fsharp41 + tools + + + + + <_ResolvedOutputFiles Include="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/*" Exclude="%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/FSharp.Core.dll;%(_ResolvedProjectReferencePaths.RootDir)%(_ResolvedProjectReferencePaths.Directory)/**/System.ValueTuple.dll" Condition="'%(_ResolvedProjectReferencePaths.IsFSharpDesignTimeProvider)' == 'true'"> + %(_ResolvedProjectReferencePaths.NearestTargetFramework) + + <_ResolvedOutputFiles Include="@(BuiltProjectOutputGroupKeyOutput)" Condition=" '$(IsFSharpDesignTimeProvider)' == 'true' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'FSharp.Core.dll' and '%(BuiltProjectOutputGroupKeyOutput->Filename)%(BuiltProjectOutputGroupKeyOutput->Extension)' != 'System.ValueTuple.dll' "> + $(TargetFramework) + + + $(FSharpToolsDirectory)/$(FSharpDesignTimeProtocol)/%(_ResolvedOutputFiles.NearestTargetFramework)/%(_ResolvedOutputFiles.FileName)%(_ResolvedOutputFiles.Extension) + + + + + + + true + + + + + <_MappedSourceRoot Remove="@(_MappedSourceRoot)" /> + + + + + + + + + + + + true + + + + + + + <_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"> + $([MSBuild]::ValueOrDefault('%(Identity)', '').Replace(',', ',,').Replace('=', '==')) + $([MSBuild]::ValueOrDefault('%(MappedPath)', '').Replace(',', ',,').Replace('=', '==')) + + + + + @(_TopLevelSourceRoot->'%(EscapedKey)=%(EscapedValue)', ','),$(PathMap) + + + + + + + + TargetFramework + TargetFrameworks + + + true + + + + + + + + + <_MainReferenceTargetForBuild Condition="'$(BuildProjectReferences)' == '' or '$(BuildProjectReferences)' == 'true'">.projectReferenceTargetsOrDefaultTargets + <_MainReferenceTargetForBuild Condition="'$(_MainReferenceTargetForBuild)' == ''">GetTargetPath + $(_MainReferenceTargetForBuild);GetNativeManifest;$(_RecursiveTargetForContentCopying);$(ProjectReferenceTargetsForBuild) + + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' == 'true'">GetTargetPath + <_MainReferenceTargetForPublish Condition="'$(NoBuild)' != 'true'">$(_MainReferenceTargetForBuild) + GetTargetFrameworks;$(_MainReferenceTargetForPublish);GetNativeManifest;GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForPublish) + + $(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForPublish) + $(ProjectReferenceTargetsForRebuild);$(ProjectReferenceTargetsForPublish) + GetCopyToPublishDirectoryItems;$(ProjectReferenceTargetsForGetCopyToPublishDirectoryItems) + + + .default;$(ProjectReferenceTargetsForBuild) + + + Clean;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForRebuild) + + + + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tools\ + net8.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)\ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll + + Microsoft.NETCore.App;NETStandard.Library + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp2.2 + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + Preview + + + + + + + + true + + + + + + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + false + + false + + true + $(IntermediateOutputPath)NuGet\ + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + true + + false + + true + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + + + + + $(ResolveAssemblyReferencesDependsOn); + ResolvePackageDependenciesForBuild; + _HandlePackageFileConflicts; + + + ResolvePackageDependenciesForBuild; + _HandlePackageFileConflicts; + $(PrepareResourcesDependsOn) + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + + + + true + + + + + + ResolveLockFileReferences; + ResolveLockFileAnalyzers; + ResolveLockFileCopyLocalFiles; + ResolveRuntimePackAssets; + RunProduceContentAssets; + IncludeTransitiveProjectReferences + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + false + + + true + + + true + + + + true + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'" /> + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" Exclude="@(_NativeRestoredAppHostNETCore)" Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + + + + + + + + + + + true + true + true + true + + + + + $(DefaultItemExcludes);$(BaseOutputPath)/** + + $(DefaultItemExcludes);$(BaseIntermediateOutputPath)/** + + $(DefaultItemExcludes);**/*.user + $(DefaultItemExcludes);**/*.*proj + $(DefaultItemExcludes);**/*.sln + $(DefaultItemExcludes);**/*.vssscc + $(DefaultItemExcludes);**/.DS_Store + + $(DefaultExcludesInProjectFolder);$(DefaultItemExcludesInProjectFolder);**/.*/** + + + + + 1.6.1 + + 2.0.3 + + + + + + true + false + <_TargetLatestRuntimePatchIsDefault>true + + + true + + + + + all + true + + + all + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(_TargetFrameworkVersionWithoutV) + + + + + + + + https://aka.ms/sdkimplicitrefs + + + + + + + + + + + <_PackageReferenceToAdd Remove="@(_PackageReferenceToAdd)" /> + + + + false + + + + + + https://aka.ms/sdkimplicititems + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_WindowsDesktopTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" Condition="'%(Identity)' == 'Microsoft.WindowsDesktop.App' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WPF' Or '%(Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" /> + + + + + + + + + + + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + $([MSBuild]::EnsureTrailingSlash(%(LinkBase))) + %(LinkBase)%(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + + + + + + + true + + + + + + + + + + + $(ResolveAssemblyReferencesDependsOn); + ResolveTargetingPackAssets; + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + + + <_NuGetRestoreSupported Condition="('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + $(RuntimeIdentifier) + $(DefaultAppHostRuntimeIdentifier) + + + + + + + + + + + true + true + false + + + + [%(_PackageToDownload.Version)] + + + + + + + + <_ImplicitPackageReference Remove="@(PackageReference)" /> + + + + + + + + + + + + + + + + + + %(ResolvedTargetingPack.PackageDirectory) + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ApphostsForShimRuntimeIdentifiers Include="%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PackageDirectory)\%(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.PathInPackage)"> + %(_ApphostsForShimRuntimeIdentifiersGetPackageDirectory.RuntimeIdentifier) + + + + + %(ResolvedAppHostPack.PackageDirectory)\%(ResolvedAppHostPack.PathInPackage) + + + + @(ResolvedAppHostPack->'%(Path)') + + + + %(ResolvedSingleFileHostPack.PackageDirectory)\%(ResolvedSingleFileHostPack.PathInPackage) + + + + @(ResolvedSingleFileHostPack->'%(Path)') + + + + %(ResolvedComHostPack.PackageDirectory)\%(ResolvedComHostPack.PathInPackage) + + + + @(ResolvedComHostPack->'%(Path)') + + + + %(ResolvedIjwHostPack.PackageDirectory)\%(ResolvedIjwHostPack.PathInPackage) + + + + @(ResolvedIjwHostPack->'%(Path)') + + + + + + + + + + + + + + + true + false + + + + + + + + + + + + $([MSBuild]::Unescape($(PackageConflictPreferredPackages))) + + + + + + + + + + + + + + + + + + + + + + + + + + <_ExistingReferenceAssembliesPackageReference Include="@(PackageReference)" Condition="'%(PackageReference.Identity)' == 'Microsoft.NETFramework.ReferenceAssemblies'" /> + + + + + + + + + + + + + + + + + + <_Parameter1>$(UserSecretsId.Trim()) + + + + + + + + + + $(_IsNETCoreOrNETStandard) + + + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + $(BundledRuntimeIdentifierGraphFile) + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json + + + + + + + + + + + true + + + false + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + + + + + + true + true + + + + CurrentArchitecture + CurrentRuntime + + + <_NativeLibraryPrefix Condition="'$(_NativeLibraryPrefix)' == '' and !$(RuntimeIdentifier.StartsWith('win'))">lib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('win'))">.dll + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">.dylib + <_NativeLibraryExtension Condition="'$(_NativeLibraryExtension)' == ''">.so + <_NativeExecutableExtension Condition="'$(_NativeExecutableExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.exe + <_ComHostLibraryExtension Condition="'$(_ComHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_IjwHostLibraryExtension Condition="'$(_IjwHostLibraryExtension)' == '' and ($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win')))">.dll + <_DotNetHostExecutableName>dotnet$(_NativeExecutableExtension) + <_DotNetAppHostExecutableNameWithoutExtension>apphost + <_DotNetAppHostExecutableName>$(_DotNetAppHostExecutableNameWithoutExtension)$(_NativeExecutableExtension) + <_DotNetSingleFileHostExecutableNameWithoutExtension>singlefilehost + <_DotNetComHostLibraryNameWithoutExtension>comhost + <_DotNetComHostLibraryName>$(_DotNetComHostLibraryNameWithoutExtension)$(_ComHostLibraryExtension) + <_DotNetIjwHostLibraryNameWithoutExtension>Ijwhost + <_DotNetIjwHostLibraryName>$(_DotNetIjwHostLibraryNameWithoutExtension)$(_IjwHostLibraryExtension) + <_DotNetHostPolicyLibraryName>$(_NativeLibraryPrefix)hostpolicy$(_NativeLibraryExtension) + <_DotNetHostFxrLibraryName>$(_NativeLibraryPrefix)hostfxr$(_NativeLibraryExtension) + + + + + + <_ExcludeFromPublishPackageReference Include="@(PackageReference)" Condition="('%(PackageReference.Publish)' == 'false')" /> + + + + + + Microsoft.NETCore.App + + + + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + true + + + true + + + + false + true + + + + true + + + true + + + $(AvailablePlatforms),ARM32 + + + $(AvailablePlatforms),ARM64 + + + $(AvailablePlatforms),ARM64 + + + + false + + + + true + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + + + + _CheckForBuildWithNoBuild; + $(CoreBuildDependsOn); + GenerateBuildDependencyFile; + GenerateBuildRuntimeConfigurationFiles + + + + + _SdkBeforeClean; + $(CoreCleanDependsOn) + + + + + _SdkBeforeRebuild; + $(RebuildDependsOn) + + + + + + + + + + + + + + + + + + 1.0.0 + + + + + + + + + + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)" /> + + + + + + + + + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)" /> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)" /> + + + + + + + + + + + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + + + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + <_CleaningWithoutRebuilding>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(CompileDependsOn); + _CreateAppHost; + _CreateComHost; + _GetIjwHostPaths; + + + + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + + + + + + + $(SingleFileHostSourcePath) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + + + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + + + + + + + + + + + + + + + + + + + + + + + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + + + + + + + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + + + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + + Always + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + + + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" Condition="(%(ReferencePath.FrameworkFile) == 'true' or %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') and ('%(ReferencePath.NuGetSourceType)' == '' or '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" Exclude="@(_FrameworkReferenceAssemblies)" Condition="%(ReferencePath.CopyLocal) != 'true' and %(ReferencePath.NuGetSourceType) == ''" /> + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + + + + + + + true + + + true + + + + + + + + $(StartWorkingDirectory) + + + + + $(StartProgram) + $(StartArguments) + + + + + + dotnet + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + + + + + $(CreateSatelliteAssembliesDependsOn); + CoreGenerateSatelliteAssemblies + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + + + + + + + + + + + + + + + + + + + false + + + + false + + + + false + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + true + + + + + + + + local + + + + + + + + + + + git + + + + + + + + + + + + + + + + + + + + + + + + + + $(RepositoryUrl) + $(ScmRepositoryUrl) + + + + %(SourceRoot.ScmRepositoryUrl) + + + + + + + + <_SourceLinkFilePath>$(IntermediateOutputPath)$(MSBuildProjectName).sourcelink.json + + + + + + + + + <_GenerateSourceLinkFileBeforeTargets>Link + <_GenerateSourceLinkFileDependsOnTargets>ComputeLinkSwitches + + + <_GenerateSourceLinkFileBeforeTargets>CoreCompile + <_GenerateSourceLinkFileDependsOnTargets /> + + + + + + + + + + + + + + + + %(Link.AdditionalOptions) /sourcelink:"$(SourceLink)" + + + + + + + + + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitHub.dll + <_SourceLinkGitHubAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitHub.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitHubSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitHubUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.GitLab.dll + <_SourceLinkGitLabAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.GitLab.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeGitLabSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateGitLabUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.AzureRepos.Git.dll + <_SourceLinkAzureReposGitAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeAzureReposGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateAzureReposGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.SourceLink.Bitbucket.Git.dll + <_SourceLinkBitbucketAssemblyFile Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll + + + + + $(SourceLinkUrlInitializerTargets);_InitializeBitbucketGitSourceLinkUrl + $(SourceControlManagerUrlTranslationTargets);TranslateBitbucketGitUrlsInSourceControlInformation + + + + + + + + + + + + + + + <_TranslatedSourceRoot Remove="@(_TranslatedSourceRoot)" /> + + + + + + + + + + + + + + + + + + $(CommonOutputGroupsDependsOn); + + + + + $(DesignerRuntimeImplementationProjectOutputGroupDependsOn); + _GenerateDesignerDepsFile; + _GenerateDesignerRuntimeConfigFile; + GetCopyToOutputDirectoryItems; + _GatherDesignerShadowCopyFiles; + + <_DesignerDepsFileName>$(AssemblyName).designer.deps.json + <_DesignerRuntimeConfigFileName>$(AssemblyName).designer.runtimeconfig.json + <_DesignerDepsFilePath>$(IntermediateOutputPath)$(_DesignerDepsFileName) + <_DesignerRuntimeConfigFilePath>$(IntermediateOutputPath)$(_DesignerRuntimeConfigFileName) + + + + + + + + + + + + + + <_DesignerHostConfigurationOption Include="Microsoft.NETCore.DotNetHostPolicy.SetAppPaths" Value="true" /> + + + + + + + + + + + <_DesignerShadowCopy Include="@(ReferenceCopyLocalPaths)" /> + + <_DesignerShadowCopy Remove="@(_ResolvedCopyLocalBuildAssets)" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" /> + + <_DesignerShadowCopy Remove="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' != 'true'" /> + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension) + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + + + + + + + <_InformationalVersionContainsPlus>false + <_InformationalVersionContainsPlus Condition="$(InformationalVersion.Contains('+'))">true + $(InformationalVersion)+$(SourceRevisionId) + $(InformationalVersion).$(SourceRevisionId) + + + + + + <_Parameter1>$(Company) + + + <_Parameter1>$(Configuration) + + + <_Parameter1>$(Copyright) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(FileVersion) + + + <_Parameter1>$(InformationalVersion) + + + <_Parameter1>$(Product) + + + <_Parameter1>$(Trademark) + + + <_Parameter1>$(AssemblyTitle) + + + <_Parameter1>$(AssemblyVersion) + + + <_Parameter1>RepositoryUrl + <_Parameter2 Condition="'$(RepositoryUrl)' != ''">$(RepositoryUrl) + <_Parameter2 Condition="'$(RepositoryUrl)' == ''">$(PrivateRepositoryUrl) + + + <_Parameter1>$(NeutralLanguage) + + + %(InternalsVisibleTo.PublicKey) + + + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' != ''">%(InternalsVisibleTo.Identity), PublicKey=%(InternalsVisibleTo.Key) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' != ''">%(InternalsVisibleTo.Identity), PublicKey=$(PublicKey) + <_Parameter1 Condition="'%(InternalsVisibleTo.Key)' == '' and '$(PublicKey)' == ''">%(InternalsVisibleTo.Identity) + + + <_Parameter1>%(AssemblyMetadata.Identity) + <_Parameter2>%(AssemblyMetadata.Value) + + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(TargetPlatformVersion) + + + + + <_Parameter1>$(TargetPlatformIdentifier)$(SupportedOSPlatformVersion) + + + <_Parameter1>$(TargetPlatformIdentifier) + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfoInputs.cache + + + + + + + + + + + + + + + + + + + + + + + + + + + $(AssemblyVersion) + $(Version) + + + + + + + + + + <_GenerateSupportedRuntimeIntermediateAppConfig>$(IntermediateOutputPath)$(TargetFileName).withSupportedRuntime.config + + + + + + + + + + + + + + + + + + + + + + + + + + <_AllProjects Include="$(AdditionalProjects.Split('%3B'))" /> + <_AllProjects Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + %(PackageReference.Identity) + %(PackageReference.Version) + + StorePackageName=%(PackageReference.Identity); + StorePackageVersion=%(PackageReference.Version); + ComposeWorkingDir=$(ComposeWorkingDir); + PublishDir=$(PublishDir); + StoreStagingDir=$(StoreStagingDir); + TargetFramework=$(TargetFramework); + RuntimeIdentifier=$(RuntimeIdentifier); + JitPath=$(JitPath); + Crossgen=$(Crossgen); + SkipUnchangedFiles=$(SkipUnchangedFiles); + PreserveStoreLayout=$(PreserveStoreLayout); + CreateProfilingSymbols=$(CreateProfilingSymbols); + StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); + DisableImplicitFrameworkReferences=false; + + + + + + + + + + + + + + + + + + + + + + + <_StoreArtifactContent> +@(ListOfPackageReference) + +]]> + + + + + + + + + + <_OptimizedResolvedFileToPublish Include="$(StoreStagingDir)\**\*.*" /> + <_OptimizedSymbolFileToPublish Include="$(StoreSymbolsStagingDir)\**\*.*" /> + + + + + + + + + + + + true + true + <_TFM Condition="'$(_TFM)' == ''">$(TargetFramework) + true + + + + + + $(UserProfileRuntimeStorePath) + <_ProfilingSymbolsDirectoryName>symbols + $([System.IO.Path]::Combine($(DefaultComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ComposeDir), $(_ProfilingSymbolsDirectoryName))) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(PlatformTarget))) + $(DefaultProfilingSymbolsDir) + $([System.IO.Path]::Combine($(ProfilingSymbolsDir), $(_TFM))) + $(ProfilingSymbolsDir)\ + $(DefaultComposeDir) + $([System.IO.Path]::Combine($(ComposeDir), $(PlatformTarget))) + $([System.IO.Path]::Combine($(ComposeDir), $(_TFM))) + $([System.IO.Path]::Combine($(ComposeDir),"artifact.xml")) + $([System.IO.Path]::GetFullPath($(ComposeDir))) + <_RandomFileName>$([System.IO.Path]::GetRandomFileName()) + $([System.IO.Path]::GetTempPath()) + $([System.IO.Path]::Combine($(TEMP), $(_RandomFileName))) + $([System.IO.Path]::GetFullPath($(ComposeWorkingDir))) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"StagingDir")) + + $([System.IO.Path]::Combine($(ComposeWorkingDir),"SymbolsStagingDir")) + + $(PublishDir)\ + + + + false + true + + + + + + + + $(StorePackageVersion.Replace('*','-')) + $([System.IO.Path]::Combine($(ComposeWorkingDir),"$(StorePackageName)_$(StorePackageVersionForFolderName)")) + <_PackageProjFile>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "Restore.csproj")) + $(StoreWorkerWorkingDir)\ + $(BaseIntermediateOutputPath)\project.assets.json + + + $(MicrosoftNETPlatformLibrary) + true + + + + + + + + + + + + + + + + + + + + + + + <_ManagedResolvedFileToPublishCandidates Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'=='runtime'" /> + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.AssetType)'!='runtime'" /> + + + true + + + + + + <_UnOptimizedResolvedFileToPublish Include="@(ResolvedFileToPublish)" /> + + + + + + + true + true + + + + + + + + + + + + + + + + + + + + + + true + true + false + true + false + true + 1 + + + + + + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='coreclr'" /> + <_CoreclrResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libcoreclr'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='clrjit'" /> + <_JitResolvedPath Include="@(CrossgenResolvedAssembliesToPublish)" Condition="'%(CrossgenResolvedAssembliesToPublish.Filename)'=='libclrjit'" /> + + + + + + + + <_CoreclrPath>@(_CoreclrResolvedPath) + @(_JitResolvedPath) + <_CoreclrDir>$([System.IO.Path]::GetDirectoryName($(_CoreclrPath))) + <_CoreclrPkgDir>$([System.IO.Path]::Combine($(_CoreclrDir),"..\..\..\")) + $([System.IO.Path]::Combine($(_CoreclrPkgDir),"tools")) + + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen")) + $([System.IO.Path]::Combine($(CrossgenDir),"crossgen.exe")) + + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine($(_NetCoreRefDir), $([System.IO.Path]::GetFileName($(Crossgen))))))) + + + + + + + + CrossgenExe=$(Crossgen); + CrossgenJit=$(JitPath); + CrossgenInputAssembly=%(_ManagedResolvedFilesToOptimize.Fullpath); + CrossgenOutputAssembly=$(_RuntimeOptimizedDir)$(DirectorySeparatorChar)%(_ManagedResolvedFilesToOptimize.FileName)%(_ManagedResolvedFilesToOptimize.Extension); + CrossgenSubOutputPath=%(_ManagedResolvedFilesToOptimize.DestinationSubPath); + _RuntimeOptimizedDir=$(_RuntimeOptimizedDir); + PublishDir=$(StoreStagingDir); + CrossgenPlatformAssembliesPath=$(_RuntimeRefDir)$(PathSeparator)$(_NetCoreRefDir); + CreateProfilingSymbols=$(CreateProfilingSymbols); + StoreSymbolsStagingDir=$(StoreSymbolsStagingDir); + _RuntimeSymbolsDir=$(_RuntimeSymbolsDir) + + + + + + + + + + $([System.IO.Path]::GetDirectoryName($(_RuntimeSymbolsDir)\$(CrossgenSubOutputPath))) + $([System.IO.Path]::GetDirectoryName($(StoreSymbolsStagingDir)\$(CrossgenSubOutputPath))) + $(CrossgenExe) -nologo -readytorun -in "$(CrossgenInputAssembly)" -out "$(CrossgenOutputAssembly)" -jitpath "$(CrossgenJit)" -platform_assemblies_paths "$(CrossgenPlatformAssembliesPath)" + CreatePDB + CreatePerfMap + + + + + + + + + + + + <_ProfilingSymbols Include="$(CrossgenProfilingSymbolsOutputDirectory)\*" Condition="'$(CreateProfilingSymbols)' == 'true'" /> + + + + + + + + $([System.IO.Path]::PathSeparator) + $([System.IO.Path]::DirectorySeparatorChar) + + + + + + <_CrossProjFileDir>$([System.IO.Path]::Combine($(ComposeWorkingDir),"Optimize")) + <_NetCoreRefDir>$([System.IO.Path]::Combine($(_CrossProjFileDir), "netcoreapp")) + + + + + <_CrossProjAssetsFile>$([System.IO.Path]::Combine($(_CrossProjFileDir), project.assets.json)) + + + + + + <_RuntimeRefDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimeref")) + + <_RuntimeOptimizedDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimopt")) + + <_RuntimeSymbolsDir>$([System.IO.Path]::Combine($(StoreWorkerWorkingDir), "runtimesymbols")) + + + <_ManagedResolvedFilesToOptimize Include="@(_ManagedResolvedFileToPublishCandidates)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\tasks\net7.0\Microsoft.NET.Sdk.Crossgen.dll + $(MSBuildThisFileDirectory)..\tasks\net472\Microsoft.NET.Sdk.Crossgen.dll + + + + + + + + + + + + + + + + + + + + + + + + <_ReadyToRunOutputPath>$(IntermediateOutputPath)R2R + + + + <_ReadyToRunImplementationAssemblies Include="@(ResolvedFileToPublish->WithMetadataValue('PostprocessAssembly', 'true'))" /> + + + + <_ReadyToRunImplementationAssemblies Include="@(_ManagedRuntimePackAssembly)" ReferenceOnly="true" /> + + + + + + <_ReadyToRunImplementationAssemblies Remove="@(_ReadyToRunImplementationAssemblies)" /> + <_ReadyToRunImplementationAssemblies Include="@(_ReadyToRunImplementationAssembliesWithoutConflicts)" /> + + + <_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" /> + <_ReadyToRunPgoFiles Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and '$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true'" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunCompileList)" /> + + + + + + + + + + + <_ReadyToRunCompilerHasWarnings Condition="'$(_ReadyToRunWarningsDetected)' == 'true'">true + + + <_ReadyToRunCompilationFailures Condition="'$(_ReadyToRunCompilerExitCode)' != '' And $(_ReadyToRunCompilerExitCode) != 0" Include="@(_ReadyToRunSymbolsCompileList)" /> + + + + + + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledCliTools.props + + + + + + + <_ReferenceToObsoleteDotNetCliTool Include="@(DotNetCliToolReference)" /> + + <_ReferenceToObsoleteDotNetCliTool Remove="@(DotNetCliToolReference)" /> + + + + + + + + + true + <_GetChildProjectCopyToPublishDirectoryItems Condition="'$(_GetChildProjectCopyToPublishDirectoryItems)' == ''">true + true + + + + + true + true + + + + Always + + + + + + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == '' And ( '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true' Or '$(EnableAotAnalyzer)' == 'true' Or '$(PublishTrimmed)' == 'true' Or '$(IsTrimmable)' == 'true' Or '$(EnableTrimAnalyzer)' == 'true' Or '$(EnableSingleFileAnalyzer)' == 'true')">true + <_RequiresILLinkPack Condition="'$(_RequiresILLinkPack)' == ''">false + + + + <_FirstTargetFrameworkToSupportTrimming>net6.0 + <_FirstTargetFrameworkToSupportAot>net7.0 + <_FirstTargetFrameworkToSupportSingleFile>net6.0 + + <_MinNonEolTargetFrameworkForTrimming>$(_MinimumNonEolSupportedNetCoreTargetFramework) + <_MinNonEolTargetFrameworkForSingleFile>$(_MinimumNonEolSupportedNetCoreTargetFramework) + + <_MinNonEolTargetFrameworkForAot>$(_MinimumNonEolSupportedNetCoreTargetFramework) + <_MinNonEolTargetFrameworkForAot Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(_FirstTargetFrameworkToSupportAot)', '$(_MinimumNonEolSupportedNetCoreTargetFramework)'))">$(_FirstTargetFrameworkToSupportAot) + + + <_TargetFramework Include="$(TargetFrameworks)" /> + <_DecomposedTargetFramework Include="@(_TargetFramework)"> + $([MSBuild]::IsTargetFrameworkCompatible('%(Identity)', '$(_FirstTargetFrameworkToSupportTrimming)')) + $([MSBuild]::IsTargetFrameworkCompatible('$(_MinNonEolTargetFrameworkForTrimming)', '%(Identity)')) + $([MSBuild]::IsTargetFrameworkCompatible('%(Identity)', '$(_FirstTargetFrameworkToSupportAot)')) + $([MSBuild]::IsTargetFrameworkCompatible('$(_MinNonEolTargetFrameworkForAot)', '%(Identity)')) + $([MSBuild]::IsTargetFrameworkCompatible('%(Identity)', '$(_FirstTargetFrameworkToSupportSingleFile)')) + $([MSBuild]::IsTargetFrameworkCompatible('$(_MinNonEolTargetFrameworkForSingleFile)', '%(Identity)')) + + <_TargetFrameworkToSilenceIsTrimmableUnsupportedWarning Include="@(_DecomposedTargetFramework)" Condition="'%(SupportsTrimming)' == 'true' And '%(SupportedByMinNonEolTargetFrameworkForTrimming)' == 'true'" /> + <_TargetFrameworkToSilenceIsAotCompatibleUnsupportedWarning Include="@(_DecomposedTargetFramework->'%(Identity)')" Condition="'%(SupportsAot)' == 'true' And '%(SupportedByMinNonEolTargetFrameworkForAot)' == 'true'" /> + <_TargetFrameworkToSilenceEnableSingleFileAnalyzerUnsupportedWarning Include="@(_DecomposedTargetFramework)" Condition="'%(SupportsSingleFile)' == 'true' And '%(SupportedByMinNonEolTargetFrameworkForSingleFile)' == 'true'" /> + + + + <_SilenceIsTrimmableUnsupportedWarning Condition="'$(_SilenceIsTrimmableUnsupportedWarning)' == '' And @(_TargetFrameworkToSilenceIsTrimmableUnsupportedWarning->Count()) > 0">true + <_SilenceIsAotCompatibleUnsupportedWarning Condition="'$(_SilenceIsAotCompatibleUnsupportedWarning)' == '' And @(_TargetFrameworkToSilenceIsAotCompatibleUnsupportedWarning->Count()) > 0">true + <_SilenceEnableSingleFileAnalyzerUnsupportedWarning Condition="'$(_SilenceEnableSingleFileAnalyzerUnsupportedWarning)' == '' And @(_TargetFrameworkToSilenceEnableSingleFileAnalyzerUnsupportedWarning->Count()) > 0">true + + + + + + + + <_BeforePublishNoBuildTargets> + BuildOnlySettings; + _PreventProjectReferencesFromBuilding; + ResolveReferences; + PrepareResourceNames; + ComputeIntermediateSatelliteAssemblies; + ComputeEmbeddedApphostPaths; + + <_CorePublishTargets> + PrepareForPublish; + ComputeAndCopyFilesToPublishDirectory; + $(PublishProtocolProviderTargets); + PublishItemsOutputGroup; + + <_PublishNoBuildAlternativeDependsOn>$(_BeforePublishNoBuildTargets);$(_CorePublishTargets) + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + $(PublishDir)\ + + + + + + + + + + + + <_OrphanPublishFileWrites Include="@(_PriorPublishFileWrites)" Exclude="@(_CurrentPublishFileWrites)" /> + + + + + + + + + + + + <_NormalizedPublishDir>$([MSBuild]::NormalizeDirectory($(PublishDir))) + + + + + + <_PublishCleanFile Condition="'$(PublishCleanFile)'==''">PublishOutputs.$(_NormalizedPublishDirHash.Substring(0, 10)).txt + + + + + + + + + + + + + + + + + + <_CurrentPublishFileWritesUnfiltered Include="@(ResolvedFileToPublish->'$(_NormalizedPublishDir)%(RelativePath)')" /> + <_CurrentPublishFileWritesUnfiltered Include="$(_NormalizedPublishDir)$(AssemblyName)$(_NativeExecutableExtension)" Condition="'$(UseAppHost)' == 'true'" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedFileToPublishPreserveNewest Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='PreserveNewest'" /> + <_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" /> + + + <_ResolvedUnbundledFileToPublishPreserveNewest Include="@(_ResolvedFileToPublishPreserveNewest)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" /> + <_ResolvedUnbundledFileToPublishAlways Include="@(_ResolvedFileToPublishAlways)" Condition="'$(PublishSingleFile)' != 'true' or '%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" /> + + + + + + + + true + true + false + + + + + + + + @(IntermediateAssembly->'%(Filename)%(Extension)') + PreserveNewest + + + + $(ProjectDepsFileName) + PreserveNewest + + + + $(ProjectRuntimeConfigFileName) + PreserveNewest + + + + @(AppConfigWithTargetPath->'%(TargetPath)') + PreserveNewest + + + + @(_DebugSymbolsIntermediatePath->'%(Filename)%(Extension)') + PreserveNewest + true + + + + %(IntermediateSatelliteAssembliesWithTargetPath.Culture)\%(Filename)%(Extension) + PreserveNewest + + + + %(Filename)%(Extension) + PreserveNewest + + + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssetsRemoved)" /> + + + + %(_ResolvedCopyLocalPublishAssets.DestinationSubDirectory)%(Filename)%(Extension) + PreserveNewest + + + + @(FinalDocFile->'%(Filename)%(Extension)') + PreserveNewest + + + + shims/%(_EmbeddedApphostPaths.ShimRuntimeIdentifier)/%(_EmbeddedApphostPaths.Filename)%(_EmbeddedApphostPaths.Extension) + PreserveNewest + + + <_FilesToDrop Include="@(ResolvedFileToPublish)" Condition="'$(PublishSingleFile)' == 'true' and '%(ResolvedFileToPublish.DropFromSingleFile)' == 'true'" /> + + + + + + + + + + + + <_ResolvedCopyLocalPublishAssets Include="@(RuntimePackAsset)" Condition="('$(SelfContained)' == 'true' Or '%(RuntimePackAsset.RuntimePackAlwaysCopyLocal)' == 'true') and '%(RuntimePackAsset.AssetType)' != 'pgodata'" /> + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_NativeRestoredAppHostNETCore)" /> + + + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalBuildAssets)" Condition="'%(_ResolvedCopyLocalBuildAssets.CopyToPublishDirectory)' != 'false' " /> + + + + + + + + + + + + + <_PublishSatelliteResources Include="@(_ResolvedCopyLocalPublishAssets)" Condition="'%(_ResolvedCopyLocalPublishAssets.AssetType)' == 'resources'" /> + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_PublishSatelliteResources)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_FilteredPublishSatelliteResources)" /> + + + + + + <_ResolvedCopyLocalPublishAssets Include="@(ReferenceCopyLocalPaths)" Exclude="@(_ResolvedCopyLocalBuildAssets);@(RuntimePackAsset)" Condition="('$(PublishReferencesDocumentationFiles)' == 'true' or '%(ReferenceCopyLocalPaths.Extension)' != '.xml') and '%(ReferenceCopyLocalPaths.Private)' != 'false'"> + %(ReferenceCopyLocalPaths.DestinationSubDirectory)%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension) + + + + + + + + %(_SourceItemsToCopyToPublishDirectoryAlways.TargetPath) + Always + True + + + %(_SourceItemsToCopyToPublishDirectory.TargetPath) + PreserveNewest + True + + + + + + + + <_GCTPDIKeepDuplicates>false + <_GCTPDIKeepMetadata>CopyToPublishDirectory;ExcludeFromSingleFile;TargetPath + + + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepDuplicates=" '$(_GCTPDIKeepDuplicates)' != 'false' " KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_AllChildProjectPublishItemsWithTargetPath->'%(FullPath)')" Condition="'%(_AllChildProjectPublishItemsWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + <_AllChildProjectPublishItemsWithTargetPath Remove="@(_AllChildProjectPublishItemsWithTargetPath)" /> + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(ContentWithTargetPath->'%(FullPath)')" Condition="'%(ContentWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(EmbeddedResource->'%(FullPath)')" Condition="'%(EmbeddedResource.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_CompileItemsToPublish Include="@(Compile->'%(FullPath)')" Condition="'%(Compile.CopyToPublishDirectory)'=='Always' or '%(Compile.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_CompileItemsToPublishWithTargetPath)" Condition="'%(_CompileItemsToPublishWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + <_SourceItemsToCopyToPublishDirectoryAlways KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='Always'" /> + <_SourceItemsToCopyToPublishDirectory KeepMetadata="$(_GCTPDIKeepMetadata)" Include="@(_NoneWithTargetPath->'%(FullPath)')" Condition="'%(_NoneWithTargetPath.CopyToPublishDirectory)'=='PreserveNewest'" /> + + + + + + + + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + + Always + + + PreserveNewest + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + Always + + <_NoneWithTargetPath Condition="'%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest' and '%(_NoneWithTargetPath.CopyToPublishDirectory)' == ''"> + PreserveNewest + + + + + <_ComputeManagedRuntimePackAssembliesIfSelfContained>_ComputeManagedRuntimePackAssemblies + + + + + + + <_ManagedRuntimeAssembly Include="@(RuntimeCopyLocalItems)" /> + + <_ManagedRuntimeAssembly Include="@(UserRuntimeAssembly)" /> + + <_ManagedRuntimeAssembly Include="@(IntermediateAssembly)" /> + + + + <_ManagedRuntimeAssembly Include="@(_ManagedRuntimePackAssembly)" /> + + + + + + + + + + + + + + + <_ManagedRuntimePackAssembly Include="@(RuntimePackAsset)" Condition="'%(RuntimePackAsset.AssetType)' == 'runtime' or '%(RuntimePackAsset.Filename)' == 'System.Private.Corelib'" /> + + + + + + <_TrimRuntimeAssets Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">true + <_UseBuildDependencyFile Condition="'@(_ExcludeFromPublishPackageReference)' == '' and '@(RuntimeStorePackages)' == '' and '$(PreserveStoreLayout)' != 'true' and '$(PublishTrimmed)' != 'true' and '$(_TrimRuntimeAssets)' != 'true'">true + + + + + + <_FilesToBundle Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.ExcludeFromSingleFile)' != 'true'" /> + + + + $(AssemblyName)$(_NativeExecutableExtension) + $(PublishDir)$(PublishedSingleFileName) + + + + + + + + $(PublishedSingleFileName) + + + + + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFilePath)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(TraceSingleFileBundler)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeSymbolsInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeAllContentForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(IncludeNativeLibrariesForSelfExtract)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(EnableCompressionInSingleFile)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishedSingleFileName)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(PublishDir)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="$(_TargetFrameworkVersionWithoutV)" /> + <_GenerateSingleFileBundlePropertyInputsCacheToHash Include="@(FilesToBundle)" /> + + + + + + + + + + false + false + false + $(IncludeAllContentForSelfExtract) + false + + + + + + + + + + + + + + $(PublishDepsFilePath) + $(IntermediateOutputPath)$(ProjectDepsFileName) + + + + + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(PublishSingleFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MSBuildProjectFullPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(ProjectAssetsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IntermediateDepsFilePath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetFramework)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(AssemblyName)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(TargetExt)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(Version)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeMainProjectInDepsFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifier)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(MicrosoftNETPlatformLibrary)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(SelfContained)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeFileVersionsInDependencyFile)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(RuntimeIdentifierGraphPath)" /> + <_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(IncludeProjectsNotInAssetsFileInDepsFile)" /> + + + + + + + + + + + + + + $(PublishDir)$(ProjectDepsFileName) + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' == ''">false + <_IsSingleFilePublish Condition="'$(PublishSingleFile)' != ''">$(PublishSingleFile) + + + + + + <_ResolvedNuGetFilesForPublish Include="@(NativeCopyLocalItems)" Condition="'%(NativeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Include="@(RuntimeCopyLocalItems)" Condition="'%(RuntimeCopyLocalItems.CopyToPublishDirectory)' != 'false'" /> + <_ResolvedNuGetFilesForPublish Remove="@(_PublishConflictPackageFiles)" Condition="'%(_PublishConflictPackageFiles.ConflictItemType)' != 'Reference'" /> + + + + + $(ProjectDepsFileName) + + + + + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + $(PublishItemsOutputGroupDependsOn); + ResolveReferences; + ComputeResolvedFilesToPublishList; + _ComputeFilesToBundle; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ToolsSettingsFilePath>$(BaseIntermediateOutputPath)DotnetToolSettings.xml + true + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' ">_PublishBuildAlternative + <_PackToolPublishDependency Condition=" ('$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' ">$(_PublishNoBuildAlternativeDependsOn) + + + + <_GeneratedFiles Include="$(PublishDepsFilePath)" Condition="'$(GenerateDependencyFile)' != 'true' or '$(_UseBuildDependencyFile)' == 'true'" /> + <_GeneratedFiles Include="$(PublishRuntimeConfigFilePath)" /> + <_GeneratedFiles Include="$(_ToolsSettingsFilePath)" /> + + + + + + + tools/$(_NuGetShortFolderName)/any/%(_GeneratedFiles.RecursiveDir)%(_GeneratedFiles.Filename)%(_GeneratedFiles.Extension) + + + %(_ResolvedFileToPublishWithPackagePath.PackagePath) + + + + + $(TargetName) + $(TargetFileName) + <_GenerateToolsSettingsFileCacheFile Condition="'$(_GenerateToolsSettingsFileCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).toolssettingsinput.cache + <_GenerateToolsSettingsFileCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateToolsSettingsFileCacheFile))) + + + + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateToolsSettingsFileInputCacheToHash Include="$(ToolCommandName)" /> + + + + + + + + + + + + + + + + + + + + + + <_ShimInputCacheFile Condition="'$(_ShimInputCacheFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shiminput.cache + <_ShimInputCacheFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimInputCacheFile))) + <_ShimCreatedSentinelFile Condition="'$(_ShimCreatedSentinelFile)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).shimcreated.sentinel + <_ShimCreatedSentinelFile>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_ShimCreatedSentinelFile))) + $(OutDir) + + + + + + + + + + + + + + + + + + + + + + <_GenerateShimsAssetsInput Include="$(_ShimInputCacheFile)" /> + <_GenerateShimsAssetsInput Include="@(_ApphostsForShimRuntimeIdentifiers)" /> + <_GenerateShimsAssetsInput Include="$(_ShimCreatedSentinelFile)" /> + <_GenerateShimsAssetsInput Include="$(ProjectAssetsFile)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackageId)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(Version)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(NuGetTargetMoniker)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolCommandName)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(ToolEntryPoint)" /> + <_GenerateShimsAssetsInputCacheToHash Include="$(PackAsToolShimRuntimeIdentifiers)" /> + + + + + + + + + + + + + + + + + + + + refs + $(PreserveCompilationContext) + + + + + $(DefineConstants) + $(LangVersion) + $(PlatformTarget) + $(AllowUnsafeBlocks) + $(TreatWarningsAsErrors) + $(Optimize) + $(AssemblyOriginatorKeyFile) + $(DelaySign) + $(PublicSign) + $(DebugType) + $(OutputType) + $(GenerateDocumentationFile) + + + + + + + + + + + <_RefAssembliesToExclude Include="@(_ResolvedCopyLocalPublishAssets->'%(FullPath)')" /> + + <_RefAssembliesToExclude Include="@(_RuntimeItemsInRuntimeStore)" /> + + $(RefAssembliesFolderName)\%(Filename)%(Extension) + + + + + + + + + + + + + + + + + + Microsoft.CSharp|4.4.0; + Microsoft.Win32.Primitives|4.3.0; + Microsoft.Win32.Registry|4.4.0; + runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple|4.3.0; + runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl|4.3.0; + System.AppContext|4.3.0; + System.Buffers|4.4.0; + System.Collections|4.3.0; + System.Collections.Concurrent|4.3.0; + System.Collections.Immutable|1.4.0; + System.Collections.NonGeneric|4.3.0; + System.Collections.Specialized|4.3.0; + System.ComponentModel|4.3.0; + System.ComponentModel.EventBasedAsync|4.3.0; + System.ComponentModel.Primitives|4.3.0; + System.ComponentModel.TypeConverter|4.3.0; + System.Console|4.3.0; + System.Data.Common|4.3.0; + System.Diagnostics.Contracts|4.3.0; + System.Diagnostics.Debug|4.3.0; + System.Diagnostics.DiagnosticSource|4.4.0; + System.Diagnostics.FileVersionInfo|4.3.0; + System.Diagnostics.Process|4.3.0; + System.Diagnostics.StackTrace|4.3.0; + System.Diagnostics.TextWriterTraceListener|4.3.0; + System.Diagnostics.Tools|4.3.0; + System.Diagnostics.TraceSource|4.3.0; + System.Diagnostics.Tracing|4.3.0; + System.Dynamic.Runtime|4.3.0; + System.Globalization|4.3.0; + System.Globalization.Calendars|4.3.0; + System.Globalization.Extensions|4.3.0; + System.IO|4.3.0; + System.IO.Compression|4.3.0; + System.IO.Compression.ZipFile|4.3.0; + System.IO.FileSystem|4.3.0; + System.IO.FileSystem.AccessControl|4.4.0; + System.IO.FileSystem.DriveInfo|4.3.0; + System.IO.FileSystem.Primitives|4.3.0; + System.IO.FileSystem.Watcher|4.3.0; + System.IO.IsolatedStorage|4.3.0; + System.IO.MemoryMappedFiles|4.3.0; + System.IO.Pipes|4.3.0; + System.IO.UnmanagedMemoryStream|4.3.0; + System.Linq|4.3.0; + System.Linq.Expressions|4.3.0; + System.Linq.Queryable|4.3.0; + System.Net.Http|4.3.0; + System.Net.NameResolution|4.3.0; + System.Net.Primitives|4.3.0; + System.Net.Requests|4.3.0; + System.Net.Security|4.3.0; + System.Net.Sockets|4.3.0; + System.Net.WebHeaderCollection|4.3.0; + System.ObjectModel|4.3.0; + System.Private.DataContractSerialization|4.3.0; + System.Reflection|4.3.0; + System.Reflection.Emit|4.3.0; + System.Reflection.Emit.ILGeneration|4.3.0; + System.Reflection.Emit.Lightweight|4.3.0; + System.Reflection.Extensions|4.3.0; + System.Reflection.Metadata|1.5.0; + System.Reflection.Primitives|4.3.0; + System.Reflection.TypeExtensions|4.3.0; + System.Resources.ResourceManager|4.3.0; + System.Runtime|4.3.0; + System.Runtime.Extensions|4.3.0; + System.Runtime.Handles|4.3.0; + System.Runtime.InteropServices|4.3.0; + System.Runtime.InteropServices.RuntimeInformation|4.3.0; + System.Runtime.Loader|4.3.0; + System.Runtime.Numerics|4.3.0; + System.Runtime.Serialization.Formatters|4.3.0; + System.Runtime.Serialization.Json|4.3.0; + System.Runtime.Serialization.Primitives|4.3.0; + System.Security.AccessControl|4.4.0; + System.Security.Claims|4.3.0; + System.Security.Cryptography.Algorithms|4.3.0; + System.Security.Cryptography.Cng|4.4.0; + System.Security.Cryptography.Csp|4.3.0; + System.Security.Cryptography.Encoding|4.3.0; + System.Security.Cryptography.OpenSsl|4.4.0; + System.Security.Cryptography.Primitives|4.3.0; + System.Security.Cryptography.X509Certificates|4.3.0; + System.Security.Cryptography.Xml|4.4.0; + System.Security.Principal|4.3.0; + System.Security.Principal.Windows|4.4.0; + System.Text.Encoding|4.3.0; + System.Text.Encoding.Extensions|4.3.0; + System.Text.RegularExpressions|4.3.0; + System.Threading|4.3.0; + System.Threading.Overlapped|4.3.0; + System.Threading.Tasks|4.3.0; + System.Threading.Tasks.Extensions|4.3.0; + System.Threading.Tasks.Parallel|4.3.0; + System.Threading.Thread|4.3.0; + System.Threading.ThreadPool|4.3.0; + System.Threading.Timer|4.3.0; + System.ValueTuple|4.3.0; + System.Xml.ReaderWriter|4.3.0; + System.Xml.XDocument|4.3.0; + System.Xml.XmlDocument|4.3.0; + System.Xml.XmlSerializer|4.3.0; + System.Xml.XPath|4.3.0; + System.Xml.XPath.XDocument|4.3.0; + + + + + Microsoft.Win32.Primitives|4.3.0; + System.AppContext|4.3.0; + System.Collections|4.3.0; + System.Collections.Concurrent|4.3.0; + System.Collections.Immutable|1.4.0; + System.Collections.NonGeneric|4.3.0; + System.Collections.Specialized|4.3.0; + System.ComponentModel|4.3.0; + System.ComponentModel.EventBasedAsync|4.3.0; + System.ComponentModel.Primitives|4.3.0; + System.ComponentModel.TypeConverter|4.3.0; + System.Console|4.3.0; + System.Data.Common|4.3.0; + System.Diagnostics.Contracts|4.3.0; + System.Diagnostics.Debug|4.3.0; + System.Diagnostics.FileVersionInfo|4.3.0; + System.Diagnostics.Process|4.3.0; + System.Diagnostics.StackTrace|4.3.0; + System.Diagnostics.TextWriterTraceListener|4.3.0; + System.Diagnostics.Tools|4.3.0; + System.Diagnostics.TraceSource|4.3.0; + System.Diagnostics.Tracing|4.3.0; + System.Dynamic.Runtime|4.3.0; + System.Globalization|4.3.0; + System.Globalization.Calendars|4.3.0; + System.Globalization.Extensions|4.3.0; + System.IO|4.3.0; + System.IO.Compression|4.3.0; + System.IO.Compression.ZipFile|4.3.0; + System.IO.FileSystem|4.3.0; + System.IO.FileSystem.DriveInfo|4.3.0; + System.IO.FileSystem.Primitives|4.3.0; + System.IO.FileSystem.Watcher|4.3.0; + System.IO.IsolatedStorage|4.3.0; + System.IO.MemoryMappedFiles|4.3.0; + System.IO.Pipes|4.3.0; + System.IO.UnmanagedMemoryStream|4.3.0; + System.Linq|4.3.0; + System.Linq.Expressions|4.3.0; + System.Linq.Queryable|4.3.0; + System.Net.Http|4.3.0; + System.Net.NameResolution|4.3.0; + System.Net.Primitives|4.3.0; + System.Net.Requests|4.3.0; + System.Net.Security|4.3.0; + System.Net.Sockets|4.3.0; + System.Net.WebHeaderCollection|4.3.0; + System.ObjectModel|4.3.0; + System.Private.DataContractSerialization|4.3.0; + System.Reflection|4.3.0; + System.Reflection.Emit|4.3.0; + System.Reflection.Emit.ILGeneration|4.3.0; + System.Reflection.Emit.Lightweight|4.3.0; + System.Reflection.Extensions|4.3.0; + System.Reflection.Primitives|4.3.0; + System.Reflection.TypeExtensions|4.3.0; + System.Resources.ResourceManager|4.3.0; + System.Runtime|4.3.0; + System.Runtime.Extensions|4.3.0; + System.Runtime.Handles|4.3.0; + System.Runtime.InteropServices|4.3.0; + System.Runtime.InteropServices.RuntimeInformation|4.3.0; + System.Runtime.Loader|4.3.0; + System.Runtime.Numerics|4.3.0; + System.Runtime.Serialization.Formatters|4.3.0; + System.Runtime.Serialization.Json|4.3.0; + System.Runtime.Serialization.Primitives|4.3.0; + System.Security.AccessControl|4.4.0; + System.Security.Claims|4.3.0; + System.Security.Cryptography.Algorithms|4.3.0; + System.Security.Cryptography.Csp|4.3.0; + System.Security.Cryptography.Encoding|4.3.0; + System.Security.Cryptography.Primitives|4.3.0; + System.Security.Cryptography.X509Certificates|4.3.0; + System.Security.Cryptography.Xml|4.4.0; + System.Security.Principal|4.3.0; + System.Security.Principal.Windows|4.4.0; + System.Text.Encoding|4.3.0; + System.Text.Encoding.Extensions|4.3.0; + System.Text.RegularExpressions|4.3.0; + System.Threading|4.3.0; + System.Threading.Overlapped|4.3.0; + System.Threading.Tasks|4.3.0; + System.Threading.Tasks.Extensions|4.3.0; + System.Threading.Tasks.Parallel|4.3.0; + System.Threading.Thread|4.3.0; + System.Threading.ThreadPool|4.3.0; + System.Threading.Timer|4.3.0; + System.ValueTuple|4.3.0; + System.Xml.ReaderWriter|4.3.0; + System.Xml.XDocument|4.3.0; + System.Xml.XmlDocument|4.3.0; + System.Xml.XmlSerializer|4.3.0; + System.Xml.XPath|4.3.0; + System.Xml.XPath.XDocument|4.3.0; + + + + + + + + + + + <_RuntimeAssetsForConflictResolution Include="@(RuntimeCopyLocalItems); @(NativeCopyLocalItems); @(ResourceCopyLocalItems); @(RuntimeTargetsCopyLocalItems)" Exclude="@(ReferenceCopyLocalPaths)" /> + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedCopyLocalPublishAssets Remove="@(_ResolvedCopyLocalPublishAssets)" /> + <_ResolvedCopyLocalPublishAssets Include="@(_ResolvedCopyLocalPublishAssetsWithoutConflicts)" /> + + + + + + + + + + + + + + + + + + $(MSBuildToolsPath)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + + + + + + + + + + $(DefineConstants);$(VersionlessImplicitFrameworkDefine);$(ImplicitFrameworkDefine);$(BackwardsCompatFrameworkDefine) + + + + + + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + + + + + + true + + + + true + + + + 7.0 + + + + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" /> + + + + + + + + + + + + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + $(TargetPlatformVersion) + + + + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll + $(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll + + + + + + + + + + + + + $(RoslynTargetsPath) + <_packageReferenceList>@(PackageReference) + + $([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath))) + $([System.IO.Path]::Combine('$(RoslynAssembliesPath)', bincore)) + + + + $(GenerateCompatibilitySuppressionFile) + + + + + + + <_apiCompatDefaultProjectSuppressionFile>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', 'CompatibilitySuppressions.xml')) + + $(_apiCompatDefaultProjectSuppressionFile) + + + + + + + + + + + $(IntermediateOutputPath)$(MSBuildThisFileName).semaphore + + CollectApiCompatInputs;_GetReferencePathFromInnerProjects;$(RunPackageValidationDependsOn) + + + + $(PackageId) + $([MSBuild]::NormalizePath('$(NuGetPackageRoot)', '$(PackageValidationBaselineName.ToLower())', '$(PackageValidationBaselineVersion)', '$(PackageValidationBaselineName.ToLower()).$(PackageValidationBaselineVersion).nupkg')) + <_packageValidationBaselinePath Condition="'$(DisablePackageBaselineValidation)' != 'true'">$(PackageValidationBaselinePath) + + + <_PackageTargetPath Include="@(NuGetPackOutput->WithMetadataValue('Extension', '.nupkg'))" Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg'))" /> + + + + + + + + + + $(TargetPlatformMoniker) + + + + + + + + + + + + + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + + + + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + symbols.nupkg + DeterminePortableBuildCapabilities + false + false + .dll; .exe; .winmd; .json; .pri; .xml + $(DefaultAllowedOutputExtensionsInPackageBuildOutputFolder) ;$(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + $(MSBuildProjectExtensionsPath) + $(BaseOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + + + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + + + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + <_TargetPathsToSymbolsWithTfm Include="@(TfmSpecificDebugSymbolsFile)" /> + + + + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + + + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + + + + \ No newline at end of file diff --git a/MSBuild.CompilerCache/TargetsExtractionUtils.cs b/MSBuild.CompilerCache/TargetsExtractionUtils.cs index a54778a..98fbb23 100644 --- a/MSBuild.CompilerCache/TargetsExtractionUtils.cs +++ b/MSBuild.CompilerCache/TargetsExtractionUtils.cs @@ -41,6 +41,8 @@ public static class TargetsExtractionUtils Prop("GenerateFullPaths"), Prop("HighEntropyVA"), Prop("Instrument"), + Prop("InterceptorsPreviewNamespaces"), + Prop("ReportIVTs"), Unsup("KeyContainer"), InputFiles("KeyFile"), Prop("LangVersion"), From 233bd2963cbe5e2475a6f6a5b67fc733156c3a06 Mon Sep 17 00:00:00 2001 From: Janusz Wrobel Date: Sat, 25 Nov 2023 15:02:07 +0000 Subject: [PATCH 29/29] WIP --- MSBuild.CompilerCache/CompilerCacheLocate.cs | 2 +- MSBuild.CompilerCache/LocatorAndPopulator.cs | 30 ++++++++++++++++--- .../MSBuild.CompilerCache.csproj | 6 ++-- .../TargetsExtractionUtils.cs | 3 +- 4 files changed, 31 insertions(+), 10 deletions(-) diff --git a/MSBuild.CompilerCache/CompilerCacheLocate.cs b/MSBuild.CompilerCache/CompilerCacheLocate.cs index 0790d30..b272129 100644 --- a/MSBuild.CompilerCache/CompilerCacheLocate.cs +++ b/MSBuild.CompilerCache/CompilerCacheLocate.cs @@ -131,7 +131,7 @@ public void Collect() { var m = new CompilationMetrics { - ProjectFullPath = _locateResult.Inputs.ProjectFullPath, + ProjectFullPath = _locateResult.Inputs?.ProjectFullPath, RefCacheStats = RefCacheStats, FileHashCacheStats = FileHashCacheStats, Counters = _counters, diff --git a/MSBuild.CompilerCache/LocatorAndPopulator.cs b/MSBuild.CompilerCache/LocatorAndPopulator.cs index 1c464e1..d20c9f4 100644 --- a/MSBuild.CompilerCache/LocatorAndPopulator.cs +++ b/MSBuild.CompilerCache/LocatorAndPopulator.cs @@ -125,6 +125,7 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A $"CompilationCache: Some unsupported MSBuild properties set - the cache will be disabled: {Environment.NewLine}{s}"); var notSupported = LocateResult.CreateNotSupported(inputs); _locateResult = notSupported; + MetricsCollector.EndLocateTask(_locateResult, _counters); return _locateResult; } @@ -186,13 +187,15 @@ public LocateResult Locate(LocateInputs inputs, TaskLoggingHelper? log = null, A Outcome: outcome, DecomposedCompilerProps: _decomposed ); + //logTime?.Invoke("end"); MetricsCollector.EndLocateTask(_locateResult, _counters); return _locateResult; } - + + private Task _locateRefasmWarmupTask; private LocalInputs CalculateLocalInputs(Action? logTime = null) => CalculateLocalInputs(_decomposed, _combinedRefCache, _assemblyName, _config.RefTrimming, _combinedFileHashCache, _hasher, _counters, @@ -434,8 +437,25 @@ public async Task PopulateCacheAsync(TaskLoggingHelper log, async Task RefasmCompiledDllsAsync(OutputData[] outputs) { - static bool RefasmableOutputItem(OutputData o) => Path.GetExtension(o.Item.LocalPath) is ".dll"; - var outputsToRefasm = outputs.Where(RefasmableOutputItem).ToArray(); + OutputData[] ToRefasm(OutputData[] outputs) + { + static bool IsDll(OutputData o) => Path.GetExtension(o.Item.LocalPath) is ".dll"; + bool IsRefAssemblyPath(string o) => o.ToLowerInvariant().Split(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar).Any(p => p == "refint"); + bool IsRefAssemblyItem(OutputData o) => IsRefAssemblyPath(o.Item.LocalPath); + var dlls = outputs.Where(IsDll).ToArray(); + var refints = outputs.Where(IsRefAssemblyItem).ToArray(); + if (refints.Length > 0) + { + return refints; + } + else + { + return dlls; + } + } + + var outputsToRefasm = ToRefasm(outputs); + if (outputsToRefasm.Length <= 1) { foreach (var dll in outputsToRefasm) @@ -447,7 +467,7 @@ async Task RefasmCompiledDllsAsync(OutputData[] outputs) { await Parallel.ForEachAsync(outputsToRefasm, (output, _) => RefasmAndPopulateCacheWithOutputDll(output)); - } + } } var refasmCompiledDllsTask = RefasmCompiledDllsAsync(outputs); @@ -589,6 +609,8 @@ public void Dispose() _localInputs = null; } + _locateRefasmWarmupTask?.GetAwaiter().GetResult(); + MetricsCollector.Collect(); } } diff --git a/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj b/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj index 3331002..297c8d6 100644 --- a/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj +++ b/MSBuild.CompilerCache/MSBuild.CompilerCache.csproj @@ -19,10 +19,10 @@ - + - - + + compile; build; native; contentfiles; analyzers; buildtransitive diff --git a/MSBuild.CompilerCache/TargetsExtractionUtils.cs b/MSBuild.CompilerCache/TargetsExtractionUtils.cs index 98fbb23..104a57c 100644 --- a/MSBuild.CompilerCache/TargetsExtractionUtils.cs +++ b/MSBuild.CompilerCache/TargetsExtractionUtils.cs @@ -202,8 +202,7 @@ bool ExtraConditionsMet() PropNotTrue("EmitCompilerGeneratedFiles") && PropNotTrue("ProvideCommandLineArgs") && PropNotTrue("ReportAnalyzer") && - PropNotTrue("SkipCompilerExecution") && - PropEmpty("SourceLink") + PropNotTrue("SkipCompilerExecution") ; }