@@ -27,7 +27,7 @@ internal static class Program
27
27
private static async Task < int > Main ( string [ ] args )
28
28
{
29
29
#if DEBUG
30
- args = [ @"c:\users\gewarren\desktop\Package Index 0509 " ] ;
30
+ args = [ @"c:\users\gewarren\desktop\Package Index 0521" , "preview "] ;
31
31
#endif
32
32
33
33
if ( ( args . Length == 0 ) || ( args . Length > 2 ) )
@@ -95,7 +95,7 @@ private static void GenerateCSVFiles(string indexPackagesPath, string csvPath)
95
95
// Example: pac01,[tfm=net9.0;includeXml=false]Microsoft.Extensions.Caching.Abstractions,9.0.0-preview.2.24128.5
96
96
// Generate a CSV file from each dictionary
97
97
98
- Dictionary < string , IList < CsvEntry > > csvDictionary = [ ] ;
98
+ Dictionary < string , IList < CsvEntry > > csvDictionary = [ ] ;
99
99
Dictionary < string , int > packageCounter = [ ] ; // Used for "pac" number in CSV file.
100
100
foreach ( string moniker in s_tfmToOpsMoniker . Values )
101
101
{
@@ -202,6 +202,10 @@ FrameworkEntry tfm
202
202
StringComparison . InvariantCultureIgnoreCase
203
203
) ;
204
204
205
+ // Special case for System.Formats.Cbor - include XML file.
206
+ if ( string . Equals ( packageEntry . Name , "System.Formats.Cbor" , StringComparison . InvariantCultureIgnoreCase ) )
207
+ includeXml = true ;
208
+
205
209
string squareBrackets = $ "[tfm={ tfm . FrameworkName } ;includeXml={ includeXml } ]";
206
210
207
211
// Special case for System.ServiceModel.Primitives - use reference assembly.
0 commit comments